| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/ |
| H A D | DependenceAnalysis.cpp | 830 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Src); in checkSrcSubscript() local 831 if (!AddRec) in checkSrcSubscript() 833 const SCEV *Start = AddRec->getStart(); in checkSrcSubscript() 834 const SCEV *Step = AddRec->getStepRecurrence(*SE); in checkSrcSubscript() 837 Loops.set(mapSrcLoop(AddRec->getLoop())); in checkSrcSubscript() 848 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Dst); in checkDstSubscript() local 849 if (!AddRec) in checkDstSubscript() 851 const SCEV *Start = AddRec->getStart(); in checkDstSubscript() 852 const SCEV *Step = AddRec->getStepRecurrence(*SE); in checkDstSubscript() 855 Loops.set(mapDstLoop(AddRec->getLoop())); in checkDstSubscript() [all …]
|
| H A D | ScalarEvolution.cpp | 1135 if (const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Op)) { in getTruncateExpr() local 1137 for (unsigned i = 0, e = AddRec->getNumOperands(); i != e; ++i) in getTruncateExpr() 1138 Operands.push_back(getTruncateExpr(AddRec->getOperand(i), Ty)); in getTruncateExpr() 1139 return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap); in getTruncateExpr() 2036 const SCEVAddRecExpr *AddRec = cast<SCEVAddRecExpr>(Ops[Idx]); in getAddExpr() local 2037 const Loop *AddRecLoop = AddRec->getLoop(); in getAddExpr() 2048 LIOps.push_back(AddRec->getStart()); in getAddExpr() 2050 SmallVector<const SCEV *, 4> AddRecOps(AddRec->op_begin(), in getAddExpr() 2051 AddRec->op_end()); in getAddExpr() 2057 Flags = AddRec->getNoWrapFlags(setFlags(Flags, SCEV::FlagNW)); in getAddExpr() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | IndVarSimplify.cpp | 911 const SCEVAddRecExpr *AddRec = in GetExtendedOperandRecurrence() local 914 if (!AddRec || AddRec->getLoop() != L) in GetExtendedOperandRecurrence() 916 return AddRec; in GetExtendedOperandRecurrence() 939 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(WideExpr); in GetWideRecurrence() local 940 if (!AddRec || AddRec->getLoop() != L) in GetWideRecurrence() 942 return AddRec; in GetWideRecurrence() 1124 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(OrigPhi)); in CreateWideIV() local 1125 if (!AddRec) in CreateWideIV() 1130 SE->getSignExtendExpr(AddRec, WideType) : in CreateWideIV() 1131 SE->getZeroExtendExpr(AddRec, WideType); in CreateWideIV() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/ |
| H A D | multidim_only_ivs_2d.ll | 13 ; AddRec: {{0,+,(%m * sizeof(double))}<%for.i>,+,sizeof(double)}<%for.j> 20 ; AddRec: {{%A,+,(8 * %m)}<%for.i>,+,8}<%for.j>
|
| H A D | iv_times_constant_in_subscript.ll | 11 ; AddRec: {{((%m * %b * sizeof(double)) + %A),+,(2 * %m * sizeof(double))}<%for.i>,+,(2 * sizeof(do…
|
| H A D | multidim_only_ivs_3d.ll | 11 ; AddRec: {{{%A,+,(8 * %m * %o)}<%for.i>,+,(8 * %o)}<%for.j>,+,8}<%for.k>
|
| H A D | multidim_ivs_and_integer_offsets_3d.ll | 11 ; AddRec: {{{(56 + (8 * (-4 + (3 * %m)) * %o) + %A),+,(8 * %m * %o)}<%for.i>,+,(8 * %o)}<%for.j>,+,…
|
| H A D | multidim_ivs_and_parameteric_offsets_3d.ll | 11 ; AddRec: {{{((8 * ((((%m * %p) + %q) * %o) + %r)) + %A),+,(8 * %m * %o)}<%for.i>,+,(8 * %o)}<%for.…
|
| H A D | multidim_only_ivs_3d_cast.ll | 10 ; AddRec: {{{%A,+,(8 * (zext i32 %m to i64) * (zext i32 %o to i64))}<%for.i>,+,(8 * (zext i32 %o to…
|
| H A D | a.ll | 10 ; AddRec: {{{(28 + (4 * (-4 + (3 * %m)) * %o) + %A),+,(8 * %m * %o)}<%for.i>,+,(12 * %o)}<%for.j>,+…
|
| H A D | multidim_ivs_and_integer_offsets_nts_3d.ll | 11 ; AddRec: {{{(56 + (8 * (-4 + (3 * %m)) * (%o + %p)) + %A),+,(8 * (%o + %p) * %m)}<%for.cond4.prehe…
|
| H A D | himeno_2.ll | 29 ; AddRec: {{{(4 + (4 * (sext i32 %a.deps to i64) * (1 + (sext i32 %a.cols to i64))) + %a.base),+,(4…
|
| H A D | multidim_only_ivs_2d_nested.ll | 18 ; AddRec: {{%vla.us,+,{8,+,8}<%for.cond7.preheader.lr.ph.split.us.us>}<%for.body9.lr.ph.us.us>,+,8}…
|
| H A D | himeno_1.ll | 29 ; AddRec: {{{(4 + (4 * (sext i32 %a.deps to i64) * (1 + (sext i32 %a.cols to i64))) + %a.base),+,(4…
|
| /minix3/external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/ |
| H A D | 2012-01-02-nopreheader.ll | 10 ; This involves a nested AddRec, the outer AddRec's loop invariant components
|
| H A D | ivchain.ll | 4 ; A sign extend feeds an IVUser and cannot be hoisted into the AddRec.
|
| /minix3/external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/ |
| H A D | ashr-crash.ll | 15 ; inconsistent with the AddRec.
|
| /minix3/external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/ |
| H A D | consecutive-access.ll | 120 ; Similar to the previous tests, but now we are dealing with AddRec SCEV.
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 5913 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Ptr)); in isLikelyComplexAddressComputation() local 5914 if (!AddRec) in isLikelyComplexAddressComputation() 5918 const SCEV *Step = AddRec->getStepRecurrence(*SE); in isLikelyComplexAddressComputation()
|