Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DDependenceAnalysis.cpp870 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Src); in checkSrcSubscript() local
871 if (!AddRec) in checkSrcSubscript()
873 const SCEV *Start = AddRec->getStart(); in checkSrcSubscript()
874 const SCEV *Step = AddRec->getStepRecurrence(*SE); in checkSrcSubscript()
875 const SCEV *UB = SE->getBackedgeTakenCount(AddRec->getLoop()); in checkSrcSubscript()
879 if (!AddRec->getNoWrapFlags()) in checkSrcSubscript()
885 Loops.set(mapSrcLoop(AddRec->getLoop())); in checkSrcSubscript()
895 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Dst); in checkDstSubscript() local
896 if (!AddRec) in checkDstSubscript()
898 const SCEV *Start = AddRec->getStart(); in checkDstSubscript()
[all …]
DScalarEvolution.cpp1287 if (const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Op)) { in getTruncateExpr() local
1289 for (const SCEV *Op : AddRec->operands()) in getTruncateExpr()
1291 return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap); in getTruncateExpr()
2659 const SCEVAddRecExpr *AddRec = cast<SCEVAddRecExpr>(Ops[Idx]); in getAddExpr() local
2660 const Loop *AddRecLoop = AddRec->getLoop(); in getAddExpr()
2671 LIOps.push_back(AddRec->getStart()); in getAddExpr()
2673 SmallVector<const SCEV *, 4> AddRecOps(AddRec->op_begin(), in getAddExpr()
2674 AddRec->op_end()); in getAddExpr()
2683 Flags = AddRec->getNoWrapFlags(setFlags(Flags, SCEV::FlagNW)); in getAddExpr()
2691 if (Ops[i] == AddRec) { in getAddExpr()
[all …]
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp855 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Src); in checkSrcSubscript() local
856 if (!AddRec) in checkSrcSubscript()
858 const SCEV *Start = AddRec->getStart(); in checkSrcSubscript()
859 const SCEV *Step = AddRec->getStepRecurrence(*SE); in checkSrcSubscript()
860 const SCEV *UB = SE->getBackedgeTakenCount(AddRec->getLoop()); in checkSrcSubscript()
864 if (!AddRec->getNoWrapFlags()) in checkSrcSubscript()
870 Loops.set(mapSrcLoop(AddRec->getLoop())); in checkSrcSubscript()
880 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Dst); in checkDstSubscript() local
881 if (!AddRec) in checkDstSubscript()
883 const SCEV *Start = AddRec->getStart(); in checkDstSubscript()
[all …]
DScalarEvolution.cpp1132 if (const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Op)) { in getTruncateExpr() local
1134 for (const SCEV *Op : AddRec->operands()) in getTruncateExpr()
1136 return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap); in getTruncateExpr()
2288 const SCEVAddRecExpr *AddRec = cast<SCEVAddRecExpr>(Ops[Idx]); in getAddExpr() local
2289 const Loop *AddRecLoop = AddRec->getLoop(); in getAddExpr()
2300 LIOps.push_back(AddRec->getStart()); in getAddExpr()
2302 SmallVector<const SCEV *, 4> AddRecOps(AddRec->op_begin(), in getAddExpr()
2303 AddRec->op_end()); in getAddExpr()
2312 Flags = AddRec->getNoWrapFlags(setFlags(Flags, SCEV::FlagNW)); in getAddExpr()
2320 if (Ops[i] == AddRec) { in getAddExpr()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp856 if (const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Op)) { in getTruncateExpr() local
858 for (unsigned i = 0, e = AddRec->getNumOperands(); i != e; ++i) in getTruncateExpr()
859 Operands.push_back(getTruncateExpr(AddRec->getOperand(i), Ty)); in getTruncateExpr()
860 return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap); in getTruncateExpr()
1723 const SCEVAddRecExpr *AddRec = cast<SCEVAddRecExpr>(Ops[Idx]); in getAddExpr() local
1724 const Loop *AddRecLoop = AddRec->getLoop(); in getAddExpr()
1735 LIOps.push_back(AddRec->getStart()); in getAddExpr()
1737 SmallVector<const SCEV *, 4> AddRecOps(AddRec->op_begin(), in getAddExpr()
1738 AddRec->op_end()); in getAddExpr()
1744 Flags = AddRec->getNoWrapFlags(setFlags(Flags, SCEV::FlagNW)); in getAddExpr()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp949 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>( in GetExtendedOperandRecurrence() local
953 if (!AddRec || AddRec->getLoop() != L) in GetExtendedOperandRecurrence()
955 return AddRec; in GetExtendedOperandRecurrence()
978 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(WideExpr); in GetWideRecurrence() local
979 if (!AddRec || AddRec->getLoop() != L) in GetWideRecurrence()
981 return AddRec; in GetWideRecurrence()
1104 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(OrigPhi)); in CreateWideIV() local
1105 if (!AddRec) in CreateWideIV()
1110 SE->getSignExtendExpr(AddRec, WideType) : in CreateWideIV()
1111 SE->getZeroExtendExpr(AddRec, WideType); in CreateWideIV()
[all …]
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1162 const SCEVAddRecExpr *AddRec = in getExtendedOperandRecurrence() local
1165 if (!AddRec || AddRec->getLoop() != L) in getExtendedOperandRecurrence()
1167 return AddRec; in getExtendedOperandRecurrence()
1189 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(WideExpr); in getWideRecurrence() local
1190 if (!AddRec || AddRec->getLoop() != L) in getWideRecurrence()
1192 return AddRec; in getWideRecurrence()
1398 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(OrigPhi)); in createWideIV() local
1399 if (!AddRec) in createWideIV()
1404 SE->getSignExtendExpr(AddRec, WideType) : in createWideIV()
1405 SE->getZeroExtendExpr(AddRec, WideType); in createWideIV()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1267 const SCEVAddRecExpr *AddRec = in getExtendedOperandRecurrence() local
1270 if (!AddRec || AddRec->getLoop() != L) in getExtendedOperandRecurrence()
1273 return {AddRec, ExtKind}; in getExtendedOperandRecurrence()
1310 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(WideExpr); in getWideRecurrence() local
1311 if (!AddRec || AddRec->getLoop() != L) in getWideRecurrence()
1313 return {AddRec, ExtKind}; in getWideRecurrence()
1543 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(OrigPhi)); in createWideIV() local
1544 if (!AddRec) in createWideIV()
1549 ? SE->getSignExtendExpr(AddRec, WideType) in createWideIV()
1550 : SE->getZeroExtendExpr(AddRec, WideType); in createWideIV()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/Delinearization/
Dmultidim_only_ivs_2d.ll13 ; AddRec: {{0,+,(%m * 8)}<%for.i>,+,8}<%for.j>
20 ; AddRec: {{%A,+,(8 * %m)}<%for.i>,+,8}<%for.j>
Ddivide_by_one.ll13 ; AddRec: {{(-1 + ((1 + %bs) * %stride)),+,(-1 * %stride)}<%for.cond1.preheader>,+,1}<nw><%for.body…
19 ; AddRec: {{(%stride * %bs),+,(-1 * %stride)}<%for.cond1.preheader>,+,1}<nw><%for.body3>
Dtype_mismatch.ll6 ; function tries to create an AddRec where the start and step are different
Div_times_constant_in_subscript.ll11 ; AddRec: {{((%m * %b * 8) + %A),+,(2 * %m * 8)}<%for.i>,+,(2 * 8)}<%for.j>
/external/llvm/test/Analysis/Delinearization/
Dmultidim_only_ivs_2d.ll13 ; AddRec: {{0,+,(%m * 8)}<%for.i>,+,8}<%for.j>
20 ; AddRec: {{%A,+,(8 * %m)}<%for.i>,+,8}<%for.j>
Ddivide_by_one.ll13 ; AddRec: {{(-1 + ((1 + %bs) * %stride)),+,(-1 * %stride)}<%for.cond1.preheader>,+,1}<nw><%for.body…
19 ; AddRec: {{(%stride * %bs),+,(-1 * %stride)}<%for.cond1.preheader>,+,1}<nw><%for.body3>
Dtype_mismatch.ll6 ; function tries to create an AddRec where the start and step are different
Div_times_constant_in_subscript.ll11 ; AddRec: {{((%m * %b * 8) + %A),+,(2 * %m * 8)}<%for.i>,+,(2 * 8)}<%for.j>
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopStrengthReduce/
D2012-01-02-nopreheader.ll10 ; This involves a nested AddRec, the outer AddRec's loop invariant components
/external/llvm/test/Transforms/LoopStrengthReduce/
D2012-01-02-nopreheader.ll10 ; This involves a nested AddRec, the outer AddRec's loop invariant components
Divchain.ll4 ; A sign extend feeds an IVUser and cannot be hoisted into the AddRec.
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Dpr35890.ll6 ; Check that it does not crash because SCEVAddRec's step is not an AddRec.
Dinner-loop-by-latch-cond-unknown.ll24 ; isKnownPredicate with AddRec for %i and unknown SCEV for %b.
Dscev-expander-reuse-vect.ll3 ; SCEV expansion uses existing value when the SCEV has no AddRec expr.
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/AArch64/
Dbackedge-overflow.ll5 ; icmp with one of the sides being a loop varying non-AddRec expression.
6 ; However, there is a possibility to normalize this to an AddRec expression
/external/llvm/test/Transforms/LoopVectorize/AArch64/
Dbackedge-overflow.ll5 ; icmp with one of the sides being a loop varying non-AddRec expression.
6 ; However, there is a possibility to normalize this to an AddRec expression
/external/llvm/test/Analysis/ScalarEvolution/
Dscev-expander-existing-value.ll3 ; SCEV expansion uses existing value when the SCEV has no AddRec expr.

123