Home
last modified time | relevance | path

Searched refs:SCEVExpander (Results 1 – 25 of 78) sorted by relevance

1234

/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h37 class SCEVExpander : public SCEVVisitor<SCEVExpander, Value*> {
96 SCEVExpander *SE;
102 SCEVInsertPointGuard(IRBuilderBase &B, SCEVExpander *SE) in SCEVInsertPointGuard()
130 friend struct SCEVVisitor<SCEVExpander, Value*>;
134 explicit SCEVExpander(ScalarEvolution &se, const DataLayout &DL,
144 ~SCEVExpander() {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h46 class SCEVExpander : public SCEVVisitor<SCEVExpander, Value*> {
104 SCEVExpander *SE;
110 SCEVInsertPointGuard(IRBuilderBase &B, SCEVExpander *SE) in SCEVInsertPointGuard()
138 friend struct SCEVVisitor<SCEVExpander, Value*>;
142 explicit SCEVExpander(ScalarEvolution &se, const DataLayout &DL,
152 ~SCEVExpander() {
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp38 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, in ReuseOrCreateCast()
112 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { in InsertNoopCastOfTo()
171 Value *SCEVExpander::InsertBinop(Instruction::BinaryOps Opcode, in InsertBinop()
385 Value *SCEVExpander::expandAddToGEP(const SCEV *const *op_begin, in expandAddToGEP()
596 const Loop *SCEVExpander::getRelevantLoop(const SCEV *S) { in getRelevantLoop()
666 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
736 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
782 Value *SCEVExpander::visitUDivExpr(const SCEVUDivExpr *S) { in visitUDivExpr()
821 bool SCEVExpander::isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, in isNormalAddRecExprPHI()
859 Instruction *SCEVExpander::getIVIncOperand(Instruction *IncV, in getIVIncOperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp257 Value *expandCheck(SCEVExpander &Expander, IRBuilder<> &Builder,
261 Optional<Value *> widenICmpRangeCheck(ICmpInst *ICI, SCEVExpander &Expander,
265 SCEVExpander &Expander,
269 SCEVExpander &Expander,
271 bool widenGuardConditions(IntrinsicInst *II, SCEVExpander &Expander);
377 Value *LoopPredication::expandCheck(SCEVExpander &Expander, in expandCheck()
432 SCEVExpander &Expander, IRBuilder<> &Builder) { in widenICmpRangeCheckIncrementingLoop()
471 SCEVExpander &Expander, IRBuilder<> &Builder) { in widenICmpRangeCheckDecrementingLoop()
509 SCEVExpander &Expander, in widenICmpRangeCheck()
573 SCEVExpander &Expander) { in widenGuardConditions()
[all …]
DIndVarSimplify.cpp144 void simplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LoopInfo *LI);
147 void rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter);
151 PHINode *IndVar, SCEVExpander &Rewriter);
155 Value *expandSCEVIfNeeded(SCEVExpander &Rewriter, const SCEV *S, Loop *L,
524 Value *IndVarSimplify::expandSCEVIfNeeded(SCEVExpander &Rewriter, const SCEV *S, in expandSCEVIfNeeded()
552 void IndVarSimplify::rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter) { in rewriteLoopExitValues()
1002 PHINode *createWideIV(SCEVExpander &Rewriter);
1024 Instruction *widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter);
1373 Instruction *WidenIV::widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter) { in widenIVUse()
1541 PHINode *WidenIV::createWideIV(SCEVExpander &Rewriter) { in createWideIV()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp38 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, in ReuseOrCreateCast()
112 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { in InsertNoopCastOfTo()
171 Value *SCEVExpander::InsertBinop(Instruction::BinaryOps Opcode, in InsertBinop()
398 Value *SCEVExpander::expandAddToGEP(const SCEV *const *op_begin, in expandAddToGEP()
592 Value *SCEVExpander::expandAddToGEP(const SCEV *Op, PointerType *PTy, Type *Ty, in expandAddToGEP()
614 const Loop *SCEVExpander::getRelevantLoop(const SCEV *S) { in getRelevantLoop()
684 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
754 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
838 Value *SCEVExpander::visitUDivExpr(const SCEVUDivExpr *S) { in visitUDivExpr()
877 bool SCEVExpander::isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, in isNormalAddRecExprPHI()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolutionExpander.cpp30 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, in ReuseOrCreateCast()
66 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { in InsertNoopCastOfTo()
126 Value *SCEVExpander::InsertBinop(Instruction::BinaryOps Opcode, in InsertBinop()
370 Value *SCEVExpander::expandAddToGEP(const SCEV *const *op_begin, in expandAddToGEP()
621 const Loop *SCEVExpander::getRelevantLoop(const SCEV *S) { in getRelevantLoop()
696 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
767 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
809 Value *SCEVExpander::visitUDivExpr(const SCEVUDivExpr *S) { in visitUDivExpr()
849 bool SCEVExpander::isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, in isNormalAddRecExprPHI()
883 bool SCEVExpander::isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, in isExpandedAddRecExprPHI()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DScalarEvolutionExpander.h31 class SCEVExpander : public SCEVVisitor<SCEVExpander, Value*> {
79 friend struct SCEVVisitor<SCEVExpander, Value*>;
83 explicit SCEVExpander(ScalarEvolution &se, const char *name)
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DSimplifyIndVar.h29 class SCEVExpander; variable
51 SCEVExpander &Rewriter, IVVisitor *V = nullptr);
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp104 void simplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LoopInfo *LI);
107 void rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter);
111 PHINode *IndVar, SCEVExpander &Rewriter);
115 Value *expandSCEVIfNeeded(SCEVExpander &Rewriter, const SCEV *S, Loop *L,
479 Value *IndVarSimplify::expandSCEVIfNeeded(SCEVExpander &Rewriter, const SCEV *S, in expandSCEVIfNeeded()
507 void IndVarSimplify::rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter) { in rewriteLoopExitValues()
910 PHINode *createWideIV(SCEVExpander &Rewriter);
928 Instruction *widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter);
1252 Instruction *WidenIV::widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter) { in widenIVUse()
1396 PHINode *WidenIV::createWideIV(SCEVExpander &Rewriter) { in createWideIV()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp120 void SimplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LPPassManager &LPM);
122 void RewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter);
124 void RewriteIVExpressions(Loop *L, SCEVExpander &Rewriter);
127 PHINode *IndVar, SCEVExpander &Rewriter);
494 void IndVarSimplify::RewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter) { in RewriteLoopExitValues()
643 void IndVarSimplify::RewriteIVExpressions(Loop *L, SCEVExpander &Rewriter) { in RewriteIVExpressions()
834 PHINode *CreateWideIV(SCEVExpander &Rewriter);
1054 && SCEVExpander::hoistStep(WideInc, DU.NarrowUse, DT)) in WidenIVUse()
1102 PHINode *WidenIV::CreateWideIV(SCEVExpander &Rewriter) { in CreateWideIV()
1184 SCEVExpander &Rewriter, in SimplifyAndExtend()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Dexpander-replace-congruent-ivs.ll6 ; SCEVExpander would try to RAUW %val_2 with %c.lcssa, breaking "def
45 ; assertion in SCEVExpander.
Dscev-canonical-mode.ll2 ; instead of CanonicalMode is properly maintained in SCEVExpander::expand.
/external/llvm/test/Analysis/ScalarEvolution/
Dexpander-replace-congruent-ivs.ll6 ; SCEVExpander would try to RAUW %val_2 with %c.lcssa, breaking "def
45 ; assertion in SCEVExpander.
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopStrengthReduce/X86/
D2012-01-13-phielim.ll56 ; PR11782: SCEVExpander assert
58 ; Test phi reuse after LSR that requires SCEVExpander to hoist an
94 ; PR12898: SCEVExpander crash
/external/llvm/test/Transforms/LoopStrengthReduce/
D2012-01-02-nopreheader.ll4 ; <rdar://10655343> SCEVExpander segfault on simple test case
54 ; In this case, SCEVExpander simply cannot materialize the AddRecExpr
D2011-10-14-IntPtr.ll3 ; Test SCEVExpander reusing a phi->gep->phi IV when SCEV "wrongly"
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopStrengthReduce/
D2012-01-02-nopreheader.ll4 ; <rdar://10655343> SCEVExpander segfault on simple test case
54 ; In this case, SCEVExpander simply cannot materialize the AddRecExpr
D2011-10-14-IntPtr.ll3 ; Test SCEVExpander reusing a phi->gep->phi IV when SCEV "wrongly"
/external/llvm/test/Transforms/LoopStrengthReduce/X86/
D2012-01-13-phielim.ll56 ; PR11782: SCEVExpander assert
58 ; Test phi reuse after LSR that requires SCEVExpander to hoist an
94 ; PR12898: SCEVExpander crash
/external/swiftshader/third_party/LLVM/test/Transforms/LoopStrengthReduce/
D2011-10-14-IntPtr.ll3 ; Test SCEVExpander reusing a phi->gep->phi IV when SCEV "wrongly"
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dlsr-nonaffine.ll5 ; gets SCEVExpander's current expansion for them, which is suboptimal.
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dlsr-nonaffine.ll5 ; gets SCEVExpander's current expansion for them, which is suboptimal.
/external/llvm/test/CodeGen/X86/
Dlsr-nonaffine.ll5 ; gets SCEVExpander's current expansion for them, which is suboptimal.
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp57 SCEVExpander &Rewriter;
64 LoopInfo *LI, SCEVExpander &Rewriter, in SimplifyIndvar()
956 SCEVExpander &Rewriter, IVVisitor *V) { in simplifyUsersOfIV()
967 SCEVExpander Rewriter(*SE, SE->getDataLayout(), "indvars"); in simplifyLoopIVs()

1234