Home
last modified time | relevance | path

Searched refs:AddRec (Results 1 – 19 of 19) sorted by relevance

/minix3/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp830 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 DScalarEvolution.cpp1135 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 DIndVarSimplify.cpp911 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 Dmultidim_only_ivs_2d.ll13 ; AddRec: {{0,+,(%m * sizeof(double))}<%for.i>,+,sizeof(double)}<%for.j>
20 ; AddRec: {{%A,+,(8 * %m)}<%for.i>,+,8}<%for.j>
H A Div_times_constant_in_subscript.ll11 ; AddRec: {{((%m * %b * sizeof(double)) + %A),+,(2 * %m * sizeof(double))}<%for.i>,+,(2 * sizeof(do…
H A Dmultidim_only_ivs_3d.ll11 ; AddRec: {{{%A,+,(8 * %m * %o)}<%for.i>,+,(8 * %o)}<%for.j>,+,8}<%for.k>
H A Dmultidim_ivs_and_integer_offsets_3d.ll11 ; AddRec: {{{(56 + (8 * (-4 + (3 * %m)) * %o) + %A),+,(8 * %m * %o)}<%for.i>,+,(8 * %o)}<%for.j>,+,…
H A Dmultidim_ivs_and_parameteric_offsets_3d.ll11 ; AddRec: {{{((8 * ((((%m * %p) + %q) * %o) + %r)) + %A),+,(8 * %m * %o)}<%for.i>,+,(8 * %o)}<%for.…
H A Dmultidim_only_ivs_3d_cast.ll10 ; AddRec: {{{%A,+,(8 * (zext i32 %m to i64) * (zext i32 %o to i64))}<%for.i>,+,(8 * (zext i32 %o to…
H A Da.ll10 ; AddRec: {{{(28 + (4 * (-4 + (3 * %m)) * %o) + %A),+,(8 * %m * %o)}<%for.i>,+,(12 * %o)}<%for.j>,+…
H A Dmultidim_ivs_and_integer_offsets_nts_3d.ll11 ; AddRec: {{{(56 + (8 * (-4 + (3 * %m)) * (%o + %p)) + %A),+,(8 * (%o + %p) * %m)}<%for.cond4.prehe…
H A Dhimeno_2.ll29 ; AddRec: {{{(4 + (4 * (sext i32 %a.deps to i64) * (1 + (sext i32 %a.cols to i64))) + %a.base),+,(4…
H A Dmultidim_only_ivs_2d_nested.ll18 ; AddRec: {{%vla.us,+,{8,+,8}<%for.cond7.preheader.lr.ph.split.us.us>}<%for.body9.lr.ph.us.us>,+,8}…
H A Dhimeno_1.ll29 ; 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 D2012-01-02-nopreheader.ll10 ; This involves a nested AddRec, the outer AddRec's loop invariant components
H A Divchain.ll4 ; A sign extend feeds an IVUser and cannot be hoisted into the AddRec.
/minix3/external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/
H A Dashr-crash.ll15 ; inconsistent with the AddRec.
/minix3/external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/
H A Dconsecutive-access.ll120 ; Similar to the previous tests, but now we are dealing with AddRec SCEV.
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp5913 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()