/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpander.h | 37 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/ |
D | ScalarEvolutionExpander.h | 46 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/ |
D | ScalarEvolutionExpander.cpp | 38 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/ |
D | LoopPredication.cpp | 257 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 …]
|
D | IndVarSimplify.cpp | 144 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/ |
D | ScalarEvolutionExpander.cpp | 38 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/ |
D | ScalarEvolutionExpander.cpp | 30 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/ |
D | ScalarEvolutionExpander.h | 31 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/ |
D | SimplifyIndVar.h | 29 class SCEVExpander; variable 51 SCEVExpander &Rewriter, IVVisitor *V = nullptr);
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 104 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/ |
D | IndVarSimplify.cpp | 120 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/ |
D | expander-replace-congruent-ivs.ll | 6 ; SCEVExpander would try to RAUW %val_2 with %c.lcssa, breaking "def 45 ; assertion in SCEVExpander.
|
D | scev-canonical-mode.ll | 2 ; instead of CanonicalMode is properly maintained in SCEVExpander::expand.
|
/external/llvm/test/Analysis/ScalarEvolution/ |
D | expander-replace-congruent-ivs.ll | 6 ; 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/ |
D | 2012-01-13-phielim.ll | 56 ; PR11782: SCEVExpander assert 58 ; Test phi reuse after LSR that requires SCEVExpander to hoist an 94 ; PR12898: SCEVExpander crash
|
/external/llvm/test/Transforms/LoopStrengthReduce/ |
D | 2012-01-02-nopreheader.ll | 4 ; <rdar://10655343> SCEVExpander segfault on simple test case 54 ; In this case, SCEVExpander simply cannot materialize the AddRecExpr
|
D | 2011-10-14-IntPtr.ll | 3 ; Test SCEVExpander reusing a phi->gep->phi IV when SCEV "wrongly"
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopStrengthReduce/ |
D | 2012-01-02-nopreheader.ll | 4 ; <rdar://10655343> SCEVExpander segfault on simple test case 54 ; In this case, SCEVExpander simply cannot materialize the AddRecExpr
|
D | 2011-10-14-IntPtr.ll | 3 ; Test SCEVExpander reusing a phi->gep->phi IV when SCEV "wrongly"
|
/external/llvm/test/Transforms/LoopStrengthReduce/X86/ |
D | 2012-01-13-phielim.ll | 56 ; 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/ |
D | 2011-10-14-IntPtr.ll | 3 ; Test SCEVExpander reusing a phi->gep->phi IV when SCEV "wrongly"
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | lsr-nonaffine.ll | 5 ; gets SCEVExpander's current expansion for them, which is suboptimal.
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | lsr-nonaffine.ll | 5 ; gets SCEVExpander's current expansion for them, which is suboptimal.
|
/external/llvm/test/CodeGen/X86/ |
D | lsr-nonaffine.ll | 5 ; gets SCEVExpander's current expansion for them, which is suboptimal.
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 57 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()
|