Home
last modified time | relevance | path

Searched refs:getUnderlyingValue (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp62 return cast<Instruction>(getVPSingleValue()->getUnderlyingValue()) in mayWriteToMemory()
91 dyn_cast_or_null<Instruction>(getVPSingleValue()->getUnderlyingValue()); in mayWriteToMemory()
112 return cast<Instruction>(getVPSingleValue()->getUnderlyingValue()) in mayReadFromMemory()
139 dyn_cast_or_null<Instruction>(getVPSingleValue()->getUnderlyingValue()); in mayReadFromMemory()
181 dyn_cast_or_null<Instruction>(getVPSingleValue()->getUnderlyingValue()); in mayHaveSideEffects()
258 UI = dyn_cast_or_null<Instruction>(S->getUnderlyingValue()); in cost()
742 auto *OrigPhi = cast<PHINode>(PhiR->getUnderlyingValue()); in generate()
906 if (!getUnderlyingValue()) { in computeCost()
976 assert(!getUnderlyingValue() && in computeCost()
1432 auto *CI = cast_or_null<CallInst>(getUnderlyingValue()); in execute()
[all …]
H A DVPlanValue.h85 Value *getUnderlyingValue() const { return UnderlyingVal; } in getUnderlyingValue() function
177 return getUnderlyingValue(); in getLiveInIRValue()
H A DVPlanUtils.cpp114 (isa<LoadInst, StoreInst>(R->getUnderlyingValue())) && in isUniformAcrossVFsAndUFs()
H A DVPlan.h583 return cast<Instruction>(getUnderlyingValue()); in getUnderlyingInstr()
586 return cast<Instruction>(getUnderlyingValue()); in getUnderlyingInstr()
1069 if (getUnderlyingValue()) in VP_CLASSOF_IMPL()
1178 New->setUnderlyingValue(getUnderlyingValue()); in clone()
1423 if (auto *UV = getUnderlyingValue()) in clone()
1496 if (Value *CI = getUnderlyingValue()) in clone()
1561 return new VPWidenCallRecipe(getUnderlyingValue(), Variant, operands(), in clone()
1975 PHINode *getPHINode() const { return cast<PHINode>(getUnderlyingValue()); } in getPHINode()
2171 auto *C = new VPWidenPHIRecipe(cast<PHINode>(getUnderlyingValue()), in clone()
2258 dyn_cast_or_null<PHINode>(getUnderlyingValue()), getRecurrenceKind(), in clone()
[all …]
H A DVPlanTransforms.cpp60 if (!VPV->getUnderlyingValue()) in tryToConvertVPInstructionsToVPRecipes()
63 Instruction *Inst = cast<Instruction>(VPV->getUnderlyingValue()); in tryToConvertVPInstructionsToVPRecipes()
67 auto *Phi = cast<PHINode>(VPPhi->getUnderlyingValue()); in tryToConvertVPInstructionsToVPRecipes()
481 if (UserCast && UserCast->getUnderlyingValue() == IRCast) { in removeRedundantInductionCasts()
647 Def->getNumUsers() == 0 || !Def->getUnderlyingValue() || in legalizeAndOptimizeInductions()
1036 if (auto *UnderlyingExt = R.getOperand(0)->getUnderlyingValue()) { in simplifyRecipe()
1311 cast<PHINode>(Blend->getUnderlyingValue()), OperandsWithMask); in simplifyBlends()
1348 Plan.getTripCount()->getUnderlyingValue()); in optimizeVectorInductionWidthForTCAndVFUF()
1811 auto *UI = cast_or_null<Instruction>(ResultVPV->getUnderlyingValue()); in truncateToMinimalBitwidths()
2410 New->setUnderlyingValue(RecWithFlags->getUnderlyingValue()); in dropPoisonGeneratingRecipes()
[all …]
H A DVPlanAnalysis.cpp298 return V->getUnderlyingValue()->getType(); in inferScalarType()
530 cast<VPSingleDefRecipe>(R)->getUnderlyingValue())) in calculateRegisterUsageForPlan()
H A DVPlanUnroll.cpp270 if (isa<StoreInst>(RepR->getUnderlyingValue()) && in unrollRecipeByUF()
276 if (auto *II = dyn_cast<IntrinsicInst>(RepR->getUnderlyingValue())) { in unrollRecipeByUF()
H A DVPlanPredicator.cpp255 PHINode *IRPhi = cast<PHINode>(PhiR->getUnderlyingValue()); in convertPhisToBlends()
H A DVPlanSLP.cpp64 auto *Inst = dyn_cast_or_null<Instruction>(VPInst->getUnderlyingValue()); in visitBlock()
H A DVPlan.cpp1506 auto *UV = V->getUnderlyingValue(); in assignName()
1608 if (auto *UV = V->getUnderlyingValue()) { in getOrCreateName()
H A DLoopVectorize.cpp6909 return dyn_cast_or_null<Instruction>(S->getUnderlyingValue()); in planContainsAdditionalSimplifications()
7168 MainResumeValue = VPI->getOperand(0)->getUnderlyingValue(); in fixReductionScalarResumeWhenVectorizingEpilog()
7170 MainResumeValue = EpiRedHeaderPhi->getStartValue()->getUnderlyingValue(); in fixReductionScalarResumeWhenVectorizingEpilog()
7666 Ptr->getUnderlyingValue()->stripPointerCasts()); in tryToWidenMemory()
7928 Value *V = Op->getUnderlyingValue(); in tryToWiden()
8718 auto *UnderlyingValue = SingleDef->getUnderlyingValue(); in tryToBuildVPlanWithVPRecipes()
9128 Type *PhiTy = PhiR->getUnderlyingValue()->getType(); in adjustRecipesForReductions()
9675 cast<PHINode>(R.getVPSingleValue()->getUnderlyingValue())); in preparePlanForMainVectorLoop()