Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DIVDescriptors.h260 class InductionDescriptor {
272 InductionDescriptor() = default;
295 InductionDescriptor &D, const SCEV *Expr = nullptr,
302 InductionDescriptor &D);
312 InductionDescriptor &D, bool Assume = false);
348 InductionDescriptor(Value *Start, InductionKind K, const SCEV *Step,
DLoopInfo.h60 class InductionDescriptor; variable
722 InductionDescriptor &IndDesc) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanTransforms.cpp63 InductionDescriptor II = Inductions->lookup(Phi); in VPInstructionsToVPRecipes()
64 if (II.getKind() == InductionDescriptor::IK_IntInduction || in VPInstructionsToVPRecipes()
65 II.getKind() == InductionDescriptor::IK_FpInduction) { in VPInstructionsToVPRecipes()
DLoopVectorizationLegality.cpp492 PHINode *Phi, const InductionDescriptor &ID, in addInductionPhi()
516 if (ID.getKind() == InductionDescriptor::IK_IntInduction && in addInductionPhi()
548 InductionDescriptor ID; in setupOuterLoopInductions()
549 if (InductionDescriptor::isInductionPHI(&Phi, TheLoop, PSE, ID) && in setupOuterLoopInductions()
550 ID.getKind() == InductionDescriptor::IK_IntInduction) { in setupOuterLoopInductions()
637 InductionDescriptor ID; in canVectorizeInstrs()
638 if (InductionDescriptor::isInductionPHI(Phi, TheLoop, PSE, ID)) { in canVectorizeInstrs()
653 if (InductionDescriptor::isInductionPHI(Phi, TheLoop, PSE, ID, true)) { in canVectorizeInstrs()
DLoopVectorize.cpp520 void fixupIVUsers(PHINode *OrigPhi, const InductionDescriptor &II,
576 const InductionDescriptor &ID);
583 void createVectorIntOrFpInductionPHI(const InductionDescriptor &II,
611 void recordVectorLoopValueForInductionCast(const InductionDescriptor &ID,
650 const InductionDescriptor &ID) const;
1686 const InductionDescriptor &II, Value *Step, Instruction *EntryVal) { in createVectorIntOrFpInductionPHI()
1778 const InductionDescriptor &ID, const Instruction *EntryVal, in recordVectorLoopValueForInductionCast()
1960 const InductionDescriptor &ID) { in buildScalarSteps()
2825 const InductionDescriptor &ID) const { in emitTransformedIndex()
2862 case InductionDescriptor::IK_IntInduction: { in emitTransformedIndex()
[all …]
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp798 InductionDescriptor::InductionDescriptor(Value *Start, InductionKind K, in InductionDescriptor() function in InductionDescriptor
836 int InductionDescriptor::getConsecutiveDirection() const { in getConsecutiveDirection()
843 ConstantInt *InductionDescriptor::getConstIntStepValue() const { in getConstIntStepValue()
849 bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop, in isFPInductionPHI()
851 InductionDescriptor &D) { in isFPInductionPHI()
898 D = InductionDescriptor(StartValue, IK_FpInduction, Step, BOp); in isFPInductionPHI()
1007 bool InductionDescriptor::isInductionPHI(PHINode *Phi, const Loop *TheLoop, in isInductionPHI()
1009 InductionDescriptor &D, bool Assume) { in isInductionPHI()
1051 bool InductionDescriptor::isInductionPHI( in isInductionPHI()
1053 InductionDescriptor &D, const SCEV *Expr, in isInductionPHI()
[all …]
DLoopInfo.cpp202 InductionDescriptor IndDesc; in getBounds()
203 if (!InductionDescriptor::isInductionPHI(&IndVar, &L, &SE, IndDesc)) in getBounds()
306 InductionDescriptor IndDesc; in getInductionVariable()
307 if (!InductionDescriptor::isInductionPHI(&IndVar, this, &SE, IndDesc)) in getInductionVariable()
331 InductionDescriptor &IndDesc) const { in getInductionDescriptor()
333 return InductionDescriptor::isInductionPHI(IndVar, this, &SE, IndDesc); in getInductionDescriptor()
351 InductionDescriptor IndDesc; in isAuxiliaryInductionVariable()
352 if (!InductionDescriptor::isInductionPHI(&AuxIndVar, this, &SE, IndDesc)) in isAuxiliaryInductionVariable()
403 InductionDescriptor IndDesc; in isCanonical()
/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-10.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorizationLegality.h215 using InductionList = MapVector<PHINode *, InductionDescriptor>;
372 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-10.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp685 InductionDescriptor ID; in findInductionAndReductions()
686 if (InductionDescriptor::isInductionPHI(&PHI, L, SE, ID)) in findInductionAndReductions()