Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp107 return cast<VPInstruction>(V)->getUnderlyingInstr(); in addCombined()
111 Type *T = cast<VPInstruction>(V)->getUnderlyingInstr()->getType(); in addCombined()
128 cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
139 cast<VPInstruction>(Operands[0])->getUnderlyingInstr(); in areVectorizable()
143 const Instruction *I = cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
190 return cast<LoadInst>(cast<VPInstruction>(Op)->getUnderlyingInstr()) in areVectorizable()
200 return cast<StoreInst>(cast<VPInstruction>(Op)->getUnderlyingInstr()) in areVectorizable()
303 << *cast<VPInstruction>(Last)->getUnderlyingInstr() << " "); in getBest()
308 LLVM_DEBUG(dbgs() << *cast<VPInstruction>(Candidate)->getUnderlyingInstr() in getBest()
345 << *cast<VPInstruction>(Best)->getUnderlyingInstr() in getBest()
[all …]
H A DVPlanAnalysis.cpp182 auto &CI = *cast<CallInst>(R->getUnderlyingInstr()); in inferScalarTypeForRecipe()
202 unsigned Opcode = R->getUnderlyingInstr()->getOpcode(); in inferScalarTypeForRecipe()
214 return R->getUnderlyingInstr()->getType(); in inferScalarTypeForRecipe()
234 return R->getUnderlyingInstr()->getType(); in inferScalarTypeForRecipe()
240 return cast<LoadInst>(R->getUnderlyingInstr())->getType(); in inferScalarTypeForRecipe()
323 if (!RepR || !match(RepR->getUnderlyingInstr(), in collectEphemeralRecipesForVPlan()
H A DVPlanUnroll.cpp487 new VPReplicateRecipe(RepR->getUnderlyingInstr(), NewOps, in cloneForLane()
514 if (isa<StoreInst>(RepR->getUnderlyingInstr()) && in replicateByVF()
540 Type *ResTy = RepR->getUnderlyingInstr()->getType(); in replicateByVF()
H A DVPlan.h582 Instruction *getUnderlyingInstr() { in getUnderlyingInstr() function
585 const Instruction *getUnderlyingInstr() const { in getUnderlyingInstr() function
1070 New->setUnderlyingValue(getUnderlyingInstr()); in VP_CLASSOF_IMPL()
1371 auto *R = new VPWidenRecipe(*getUnderlyingInstr(), operands()); in clone()
1644 return new VPWidenSelectRecipe(*cast<SelectInst>(getUnderlyingInstr()), in clone()
1707 return new VPWidenGEPRecipe(cast<GetElementPtrInst>(getUnderlyingInstr()), in clone()
2119 cast<PHINode>(getUnderlyingInstr()), getOperand(0), getOperand(1), in clone()
2203 cast<PHINode>(getUnderlyingInstr()), *getOperand(0)); in VP_CLASSOF_IMPL()
2504 getUnderlyingInstr(), getChainOp(), getVecOp(), in clone()
2581 getUnderlyingInstr()); in clone()
[all …]
H A DVPlanTransforms.cpp188 Instruction *I = SinkCandidate->getUnderlyingInstr(); in sinkScalarOperands()
336 Instruction *Instr = PredRecipe->getUnderlyingInstr(); in createReplicateRegion()
350 PredRecipe->getUnderlyingInstr(), in createReplicateRegion()
393 BasicBlock *OrigBB = RepR->getUnderlyingInstr()->getParent(); in addReplicateRegions()
537 match(RepR->getUnderlyingInstr(), m_Intrinsic<Intrinsic::assume>()); in isDeadRecipe()
655 auto *Clone = new VPReplicateRecipe(Def->getUnderlyingInstr(), in legalizeAndOptimizeInductions()
971 auto *GEP = cast<GetElementPtrInst>(RFlags.getUnderlyingInstr()); in tryToFoldLiveIns()
1248 auto *Clone = new VPReplicateRecipe(RepOrWidenR->getUnderlyingInstr(), in narrowToSingleScalarRecipes()
3274 isa<LoadInst>(RepR->getUnderlyingInstr()) && in narrowInterleaveGroups()
H A DVPlanConstruction.cpp641 !(RepR && isa<IntrinsicInst>(RepR->getUnderlyingInstr()))) in handleMaxMinNumReductions()
652 cast<IntrinsicInst>(RepR->getUnderlyingInstr())->getIntrinsicID() == in handleMaxMinNumReductions()
H A DVPlanPatternMatch.h549 if (isa<CallInst>(R->getUnderlyingInstr())) in match()
573 if (const auto *CI = dyn_cast<CallInst>(R->getUnderlyingInstr())) in match()
H A DVPlanRecipes.cpp201 return R->getUnderlyingInstr()->mayHaveSideEffects(); in mayHaveSideEffects()
2267 auto *GEP = cast<GetElementPtrInst>(getUnderlyingInstr()); in execute()
2878 Instruction *UI = getUnderlyingInstr(); in execute()
2962 if (!getUnderlyingInstr()->getType()->isVoidTy()) { in print()
2966 if (auto *CB = dyn_cast<CallBase>(getUnderlyingInstr())) { in print()
2976 O << Instruction::getOpcodeName(getUnderlyingInstr()->getOpcode()); in print()
H A DLoopVectorize.cpp6949 RepR->getUnderlyingInstr(), VF)) in planContainsAdditionalSimplifications()
8194 Instruction *Instr = R->getUnderlyingInstr(); in tryToCreateWidenRecipe()
8202 auto *Phi = cast<PHINode>(R->getUnderlyingInstr()); in tryToCreateWidenRecipe()
8950 RecipeBuilder.setRecipe(HeaderR->getUnderlyingInstr(), HeaderR); in tryToBuildVPlan()
9033 Instruction *CurrentLinkI = CurrentLink->getUnderlyingInstr(); in adjustRecipesForReductions()
9095 cast<PHINode>(PhiR->getUnderlyingInstr())); in adjustRecipesForReductions()
9127 cast<PHINode>(PhiR->getUnderlyingInstr())); in adjustRecipesForReductions()
9242 cast<VPReplicateRecipe>(U)->getUnderlyingInstr()->getOpcode() == in adjustRecipesForReductions()
9801 ResumeV = cast<PHINode>(ReductionPhi->getUnderlyingInstr()) in preparePlanForEpilogueVectorLoop()