Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp51 return cast<VPInstruction>(V)->getUnderlyingInstr(); in addCombined()
55 Type *T = cast<VPInstruction>(V)->getUnderlyingInstr()->getType(); in addCombined()
72 cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
83 cast<VPInstruction>(Operands[0])->getUnderlyingInstr(); in areVectorizable()
87 const Instruction *I = cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
134 return cast<LoadInst>(cast<VPInstruction>(Op)->getUnderlyingInstr()) in areVectorizable()
144 return cast<StoreInst>(cast<VPInstruction>(Op)->getUnderlyingInstr()) in areVectorizable()
247 << *cast<VPInstruction>(Last)->getUnderlyingInstr() << " "); in getBest()
252 LLVM_DEBUG(dbgs() << *cast<VPInstruction>(Candidate)->getUnderlyingInstr() in getBest()
289 << *cast<VPInstruction>(Best)->getUnderlyingInstr() in getBest()
[all …]
H A DVPlanAnalysis.cpp135 auto &CI = *cast<CallInst>(R->getUnderlyingInstr()); in inferScalarTypeForRecipe()
155 switch (R->getUnderlyingInstr()->getOpcode()) { in inferScalarTypeForRecipe()
210 return R->getUnderlyingInstr()->getType(); in inferScalarTypeForRecipe()
216 return cast<LoadInst>(R->getUnderlyingInstr())->getType(); in inferScalarTypeForRecipe()
295 if (!RepR || !match(RepR->getUnderlyingInstr(), in collectEphemeralRecipesForVPlan()
H A DVPlan.h955 Instruction *getUnderlyingInstr() { in getUnderlyingInstr() function
958 const Instruction *getUnderlyingInstr() const { in getUnderlyingInstr() function
1418 auto *R = new VPWidenRecipe(*getUnderlyingInstr(), operands()); in clone()
1588 return new VPWidenSelectRecipe(*cast<SelectInst>(getUnderlyingInstr()), in clone()
1636 return new VPWidenGEPRecipe(cast<GetElementPtrInst>(getUnderlyingInstr()), in clone()
1869 cast<PHINode>(getUnderlyingInstr()), getOperand(0), getOperand(1), in clone()
1951 cast<PHINode>(getUnderlyingInstr()), *getOperand(0)); in clone()
1991 new VPReductionPHIRecipe(cast<PHINode>(getUnderlyingInstr()), RdxDesc, in clone()
2202 return new VPReductionRecipe(RdxDesc, getUnderlyingInstr(), getChainOp(), in clone()
2309 new VPReplicateRecipe(getUnderlyingInstr(), operands(), IsUniform, in clone()
[all …]
H A DVPlanRecipes.cpp188 return R->getUnderlyingInstr()->mayHaveSideEffects(); in mayHaveSideEffects()
917 auto *CI = cast_or_null<CallInst>(getUnderlyingInstr()); in execute()
1500 auto *GEP = cast<GetElementPtrInst>(getUnderlyingInstr()); in execute()
1798 if (isa<FPMathOperator>(getUnderlyingInstr())) in print()
1799 O << getUnderlyingInstr()->getFastMathFlags(); in print()
1820 if (isa<FPMathOperator>(getUnderlyingInstr())) in print()
1821 O << getUnderlyingInstr()->getFastMathFlags(); in print()
1854 if (!getUnderlyingInstr()->getType()->isVoidTy()) { in print()
1858 if (auto *CB = dyn_cast<CallBase>(getUnderlyingInstr())) { in print()
1868 O << Instruction::getOpcodeName(getUnderlyingInstr()->getOpcode()); in print()
H A DVPlanTransforms.cpp163 Instruction *I = SinkCandidate->getUnderlyingInstr(); in sinkScalarOperands()
305 Instruction *Instr = PredRecipe->getUnderlyingInstr(); in createReplicateRegion()
316 PredRecipe->getUnderlyingInstr(), in createReplicateRegion()
355 BasicBlock *OrigBB = RepR->getUnderlyingInstr()->getParent(); in addReplicateRegions()
496 match(RepR->getUnderlyingInstr(), m_Intrinsic<Intrinsic::assume>()); in isDeadRecipe()
H A DLoopVectorize.cpp8448 Plan.addLiveOut(cast<PHINode>(FOR->getUnderlyingInstr()), ResumePhiRecipe); in addLiveOutsForFirstOrderRecurrences()
8845 Instruction *CurrentLinkI = CurrentLink->getUnderlyingInstr(); in adjustRecipesForReductions()
8953 cast<VPReplicateRecipe>(U)->getUnderlyingInstr()->getOpcode() == in adjustRecipesForReductions()
9057 assert(cast<PHINode>(getUnderlyingInstr())->getType()->isPointerTy() && in execute()
9138 Instruction *UI = getUnderlyingInstr(); in execute()