Home
last modified time | relevance | path

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

12

/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp38 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, in ReuseOrCreateCast()
114 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { in InsertNoopCastOfTo()
173 Value *SCEVExpander::InsertBinop(Instruction::BinaryOps Opcode, in InsertBinop()
387 Value *SCEVExpander::expandAddToGEP(const SCEV *const *op_begin, in expandAddToGEP()
600 const Loop *SCEVExpander::getRelevantLoop(const SCEV *S) { in getRelevantLoop()
670 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
740 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
786 Value *SCEVExpander::visitUDivExpr(const SCEVUDivExpr *S) { in visitUDivExpr()
825 bool SCEVExpander::isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, in isNormalAddRecExprPHI()
863 Instruction *SCEVExpander::getIVIncOperand(Instruction *IncV, in getIVIncOperand()
[all …]
DLoopAccessAnalysis.cpp1631 Instruction *Loc, SCEVExpander &Exp, ScalarEvolution *SE, in expandBounds()
1660 Loop *L, Instruction *Loc, ScalarEvolution *SE, SCEVExpander &Exp, in expandBounds()
1684 SCEVExpander Exp(*SE, DL, "induction"); in addRuntimeChecks()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h37 class SCEVExpander : public SCEVVisitor<SCEVExpander, Value*> {
90 friend struct SCEVVisitor<SCEVExpander, Value*>;
94 explicit SCEVExpander(ScalarEvolution &se, const DataLayout &DL,
DScalarEvolution.h54 class SCEVExpander; variable
361 friend class SCEVExpander;
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp132 void simplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LoopInfo *LI);
135 void rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter);
138 PHINode *IndVar, SCEVExpander &Rewriter);
142 Value *expandSCEVIfNeeded(SCEVExpander &Rewriter, const SCEV *S, Loop *L,
514 Value *IndVarSimplify::expandSCEVIfNeeded(SCEVExpander &Rewriter, const SCEV *S, in expandSCEVIfNeeded()
542 void IndVarSimplify::rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter) { in rewriteLoopExitValues()
890 PHINode *createWideIV(SCEVExpander &Rewriter);
908 Instruction *widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter);
1232 Instruction *WidenIV::widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter) { in widenIVUse()
1372 PHINode *WidenIV::createWideIV(SCEVExpander &Rewriter) { in createWideIV()
[all …]
DLoopLoadElimination.cpp357 SCEVExpander &SEE) { in propagateStoredValueToLoadUsers()
479 SCEVExpander SEE(*PSE.getSE(), L->getHeader()->getModule()->getDataLayout(), in processLoop()
DLoopStrengthReduce.cpp1691 void GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter,
1769 SCEVExpander &Rewriter) const;
1774 SCEVExpander &Rewriter,
1778 SCEVExpander &Rewriter,
1782 SCEVExpander &Rewriter,
2848 void LSRInstance::GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter, in GenerateIVChain()
4384 SCEVExpander &Rewriter) const { in AdjustInsertPositionForExpand()
4448 SCEVExpander &Rewriter, in Expand()
4633 SCEVExpander &Rewriter, in RewriteForPHI()
4707 SCEVExpander &Rewriter, in Rewrite()
[all …]
DLoopIdiomRecognize.cpp532 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStridedStore()
640 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStoreOfLoopLoad()
DInductiveRangeCheckElimination.cpp835 SCEVExpander(SE, DL, "irce") in parseLoopStructure()
1198 SCEVExpander Expander(SE, F.getParent()->getDataLayout(), "irce"); in run()
/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"
Daddrec-gep.ll10 ; same address instead of having it computed twice, and SCEVExpander should
Daddrec-gep-address-space.ll16 ; same address instead of having it computed twice, and SCEVExpander should
/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
Dno_superflous_induction_vars.ll9 ; SCEVExpander used to create induction variables in the loop %for.cond while
/external/llvm/test/CodeGen/X86/
Dlsr-nonaffine.ll5 ; gets SCEVExpander's current expansion for them, which is suboptimal.
/external/llvm/lib/Transforms/Utils/
DLoopVersioning.cpp62 SCEVExpander Exp(*SE, RuntimeCheckBB->getModule()->getDataLayout(), in versionLoop()
DLoopUnrollRuntime.cpp315 SCEVExpander Expander(*SE, DL, "loop-unroll"); in UnrollRuntimeLoopProlog()
/external/llvm/test/Transforms/LoopVectorize/
Dvalue-ptr-bug.ll9 ; SCEVExpander::expandCodeFor would change a value (the start value of an
/external/llvm/test/Transforms/IndVarSimplify/
D2014-06-21-congruent-constant.ll3 ; This used to crash in SCEVExpander when there were congruent phis with and
Dlftr-reuse.ll41 ; This test checks that SCEVExpander can handle an outer loop that has been
81 ; Force SCEVExpander to look for an existing well-formed phi.
/external/llvm/lib/Target/PowerPC/
DPPCLoopDataPrefetch.cpp214 SCEVExpander SCEVE(*SE, J->getModule()->getDataLayout(), "prefaddr"); in runOnLoop()
DPPCLoopPreIncPrep.cpp336 SCEVExpander SCEVE(*SE, Header->getModule()->getDataLayout(), "pistart"); in runOnLoop()
DPPCCTRLoops.cpp552 SCEVExpander SCEVE(*SE, Preheader->getModule()->getDataLayout(), "loopcnt"); in convertToCTRLoop()
/external/llvm/test/Transforms/LoopDistribute/
Dbounds-expansion-bug.ll13 ; redundancy. However, due to logic in SCEVExpander::ReuseOrCreateCast, we

12