Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DVPlanHCFGTransforms.cpp50 InductionDescriptor II = Inductions->lookup(Phi); in VPInstructionsToVPRecipes()
51 if (II.getKind() == InductionDescriptor::IK_IntInduction || in VPInstructionsToVPRecipes()
52 II.getKind() == InductionDescriptor::IK_FpInduction) { in VPInstructionsToVPRecipes()
DLoopVectorizationLegality.cpp523 PHINode *Phi, const InductionDescriptor &ID, in addInductionPhi()
547 if (ID.getKind() == InductionDescriptor::IK_IntInduction && in addInductionPhi()
628 InductionDescriptor ID; in canVectorizeInstrs()
629 if (InductionDescriptor::isInductionPHI(Phi, TheLoop, PSE, ID)) { in canVectorizeInstrs()
644 if (InductionDescriptor::isInductionPHI(Phi, TheLoop, PSE, ID, true)) { in canVectorizeInstrs()
DLoopVectorize.cpp464 void fixupIVUsers(PHINode *OrigPhi, const InductionDescriptor &II,
521 const InductionDescriptor &ID);
528 void createVectorIntOrFpInductionPHI(const InductionDescriptor &II,
556 void recordVectorLoopValueForInductionCast(const InductionDescriptor &ID,
1774 const InductionDescriptor &II, Value *Step, Instruction *EntryVal) { in createVectorIntOrFpInductionPHI()
1866 const InductionDescriptor &ID, const Instruction *EntryVal, in recordVectorLoopValueForInductionCast()
2048 const InductionDescriptor &ID) { in buildScalarSteps()
2912 InductionDescriptor II = InductionEntry.second; in createVectorizedLoopSkeleton()
2984 const InductionDescriptor &II, in fixupIVUsers()
3822 InductionDescriptor II = Legal->getInductionVars()->lookup(P); in widenPHIInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DLoopUtils.h254 class InductionDescriptor {
266 InductionDescriptor() = default;
297 InductionDescriptor &D, const SCEV *Expr = nullptr,
304 ScalarEvolution *SE, InductionDescriptor &D);
314 InductionDescriptor &D, bool Assume = false);
346 InductionDescriptor(Value *Start, InductionKind K, const SCEV *Step,
/external/llvm/include/llvm/Transforms/Utils/
DLoopUtils.h260 class InductionDescriptor {
271 InductionDescriptor() in InductionDescriptor() function
300 InductionDescriptor &D,
309 InductionDescriptor &D, bool Assume = false);
313 InductionDescriptor(Value *Start, InductionKind K, const SCEV *Step);
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp656 InductionDescriptor::InductionDescriptor(Value *Start, InductionKind K, in InductionDescriptor() function in InductionDescriptor
678 int InductionDescriptor::getConsecutiveDirection() const { in getConsecutiveDirection()
685 ConstantInt *InductionDescriptor::getConstIntStepValue() const { in getConstIntStepValue()
691 Value *InductionDescriptor::transform(IRBuilder<> &B, Value *Index, in transform()
734 bool InductionDescriptor::isInductionPHI(PHINode *Phi, in isInductionPHI()
736 InductionDescriptor &D, in isInductionPHI()
758 bool InductionDescriptor::isInductionPHI(PHINode *Phi, in isInductionPHI()
760 InductionDescriptor &D, in isInductionPHI()
788 D = InductionDescriptor(StartValue, IK_IntInduction, Step); in isInductionPHI()
814 D = InductionDescriptor(StartValue, IK_PtrInduction, StepValue); in isInductionPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp755 InductionDescriptor::InductionDescriptor(Value *Start, InductionKind K, in InductionDescriptor() function in InductionDescriptor
792 int InductionDescriptor::getConsecutiveDirection() const { in getConsecutiveDirection()
799 ConstantInt *InductionDescriptor::getConstIntStepValue() const { in getConstIntStepValue()
805 Value *InductionDescriptor::transform(IRBuilder<> &B, Value *Index, in transform()
873 bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop, in isFPInductionPHI()
875 InductionDescriptor &D) { in isFPInductionPHI()
922 D = InductionDescriptor(StartValue, IK_FpInduction, Step, BOp); in isFPInductionPHI()
1031 bool InductionDescriptor::isInductionPHI(PHINode *Phi, const Loop *TheLoop, in isInductionPHI()
1033 InductionDescriptor &D, in isInductionPHI()
1076 bool InductionDescriptor::isInductionPHI( in isInductionPHI()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorizationLegality.h229 using InductionList = MapVector<PHINode *, InductionDescriptor>;
370 void addInductionPhi(PHINode *Phi, const InductionDescriptor &ID,
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp341 void fixupIVUsers(PHINode *OrigPhi, const InductionDescriptor &II,
417 void createVectorIntInductionPHI(const InductionDescriptor &II,
1365 typedef MapVector<PHINode *, InductionDescriptor> InductionList;
1507 void addInductionPhi(PHINode *Phi, const InductionDescriptor &ID,
1874 const InductionDescriptor &II, VectorParts &Entry, IntegerType *TruncType) { in createVectorIntInductionPHI()
2037 InductionDescriptor II = Inductions[Phi]; in isConsecutivePtr()
2062 InductionDescriptor II = Inductions[Phi]; in isConsecutivePtr()
3066 InductionDescriptor II = InductionEntry.second; in createEmptyLoop()
3135 const InductionDescriptor &II, in fixupIVUsers()
4015 InductionDescriptor II = Legal->getInductionVars()->lookup(P); in widenPHIInstruction()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp704 InductionDescriptor ID; in findInductionAndReductions()
706 if (InductionDescriptor::isInductionPHI(PHI, SE, ID)) in findInductionAndReductions()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp712 InductionDescriptor ID; in findInductionAndReductions()
713 if (InductionDescriptor::isInductionPHI(&PHI, L, SE, ID)) in findInductionAndReductions()