Home
last modified time | relevance | path

Searched refs:getUnderlyingInstr (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVPlanSLP.cpp59 return cast<VPInstruction>(V)->getUnderlyingInstr(); in addCombined()
63 Type *T = cast<VPInstruction>(V)->getUnderlyingInstr()->getType(); in addCombined()
80 cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
91 cast<VPInstruction>(Operands[0])->getUnderlyingInstr(); in areVectorizable()
95 const Instruction *I = cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
140 return cast<LoadInst>(cast<VPInstruction>(Op)->getUnderlyingInstr()) in areVectorizable()
150 return cast<StoreInst>(cast<VPInstruction>(Op)->getUnderlyingInstr()) in areVectorizable()
253 << *cast<VPInstruction>(Last)->getUnderlyingInstr() << " "); in getBest()
258 LLVM_DEBUG(dbgs() << *cast<VPInstruction>(Candidate)->getUnderlyingInstr() in getBest()
295 << *cast<VPInstruction>(Best)->getUnderlyingInstr() in getBest()
[all …]
DVPlan.cpp869 auto *CI = cast<CallInst>(getUnderlyingInstr()); in print()
899 O << " = " << getUnderlyingInstr()->getOpcodeName() << " "; in print()
973 if (!getUnderlyingInstr()->getType()->isVoidTy()) { in print()
977 O << Instruction::getOpcodeName(getUnderlyingInstr()->getOpcode()) << " "; in print()
998 O << Instruction::getOpcodeName(getUnderlyingInstr()->getOpcode()) << " "; in print()
DVPlan.h711 Instruction *getUnderlyingInstr() { in getUnderlyingInstr() function
716 const Instruction *getUnderlyingInstr() const { in getUnderlyingInstr() function
1314 bool isStore() const { return isa<StoreInst>(getUnderlyingInstr()); } in isStore()
DLoopVectorize.cpp8626 State.ILV->widenCallInstruction(*cast<CallInst>(getUnderlyingInstr()), this, in execute()
8631 State.ILV->widenSelectInstruction(*cast<SelectInst>(getUnderlyingInstr()), in execute()
8636 State.ILV->widenInstruction(*getUnderlyingInstr(), this, *this, State); in execute()
8640 State.ILV->widenGEP(cast<GetElementPtrInst>(getUnderlyingInstr()), this, in execute()
8725 (Instruction::BinaryOps)getUnderlyingInstr()->getOpcode(), NewRed, in execute()
8728 State.set(this, getUnderlyingInstr(), NextInChain, Part); in execute()
8735 State.ILV->scalarizeInstruction(getUnderlyingInstr(), *this, in execute()
8744 State.ValueMap.setVectorValue(getUnderlyingInstr(), in execute()
8747 State.ILV->packScalarIntoVectorValue(getUnderlyingInstr(), in execute()
8761 State.ILV->scalarizeInstruction(getUnderlyingInstr(), *this, {Part, Lane}, in execute()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanSLP.cpp59 return cast<VPInstruction>(V)->getUnderlyingInstr(); in addCombined()
63 Type *T = cast<VPInstruction>(V)->getUnderlyingInstr()->getType(); in addCombined()
80 cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
91 cast<VPInstruction>(Operands[0])->getUnderlyingInstr(); in areVectorizable()
95 const Instruction *I = cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
140 return cast<LoadInst>(cast<VPInstruction>(Op)->getUnderlyingInstr()) in areVectorizable()
150 return cast<StoreInst>(cast<VPInstruction>(Op)->getUnderlyingInstr()) in areVectorizable()
250 << *cast<VPInstruction>(Last)->getUnderlyingInstr() << " "); in getBest()
255 LLVM_DEBUG(dbgs() << *cast<VPInstruction>(Candidate)->getUnderlyingInstr() in getBest()
292 << *cast<VPInstruction>(Best)->getUnderlyingInstr() in getBest()
[all …]
DVPlan.h673 Instruction *getUnderlyingInstr() { in getUnderlyingInstr() function