Home
last modified time | relevance | path

Searched refs:SCEVMulExpr (Results 1 – 24 of 24) sorted by relevance

/external/swiftshader/third_party/LLVM/unittests/Analysis/
DScalarEvolutionTest.cpp64 const SCEVMulExpr *M0 = cast<SCEVMulExpr>(P0); in TEST_F()
65 const SCEVMulExpr *M1 = cast<SCEVMulExpr>(P1); in TEST_F()
66 const SCEVMulExpr *M2 = cast<SCEVMulExpr>(P2); in TEST_F()
/external/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp73 const SCEVMulExpr *M0 = cast<SCEVMulExpr>(P0); in TEST_F()
74 const SCEVMulExpr *M1 = cast<SCEVMulExpr>(P1); in TEST_F()
75 const SCEVMulExpr *M2 = cast<SCEVMulExpr>(P2); in TEST_F()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DScalarEvolutionExpressions.h234 class SCEVMulExpr : public SCEVCommutativeExpr {
237 SCEVMulExpr(const FoldingSetNodeIDRef ID, in SCEVMulExpr() function
244 static inline bool classof(const SCEVMulExpr *S) { return true; } in classof()
474 return ((SC*)this)->visitMulExpr((const SCEVMulExpr*)S); in visit()
DScalarEvolutionExpander.h220 Value *visitMulExpr(const SCEVMulExpr *S);
/external/llvm/lib/Analysis/
DScalarEvolution.cpp291 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); in isNonConstantNegative()
728 if (const SCEVMulExpr *T = dyn_cast<SCEVMulExpr>(Denominator)) { in divide()
827 void visitMulExpr(const SCEVMulExpr *Numerator) { in visitMulExpr()
1117 if (const SCEVMulExpr *SM = dyn_cast<SCEVMulExpr>(Op)) { in getTruncateExpr()
1647 auto *SMul = dyn_cast<SCEVMulExpr>(SA->getOperand(1)); in getSignExtendExpr()
1923 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales()
2107 } else if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(Ops[i])) { in getAddExpr()
2168 if (Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx])) { in getAddExpr()
2207 for (; Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx]); ++Idx) { in getAddExpr()
2208 const SCEVMulExpr *Mul = cast<SCEVMulExpr>(Ops[Idx]); in getAddExpr()
[all …]
DVectorUtils.cpp190 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(V)) { in getStrideFromPointer()
DScalarEvolutionExpander.cpp263 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(S)) { in FactorOutConstant()
736 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
742 for (std::reverse_iterator<SCEVMulExpr::op_iterator> I(S->op_end()), in visitMulExpr()
1445 if (!isa<SCEVMulExpr>(Base) && !isa<SCEVUDivExpr>(Base)) { in visitAddRecExpr()
DDependenceAnalysis.cpp2224 else if (const auto *Product = dyn_cast<SCEVMulExpr>(Expr)) in getConstantPart()
2306 else if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Operand)) { in gcdMIVtest()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h227 class SCEVMulExpr : public SCEVCommutativeExpr {
230 SCEVMulExpr(const FoldingSetNodeIDRef ID, in SCEVMulExpr() function
453 return ((SC*)this)->visitMulExpr((const SCEVMulExpr*)S); in visit()
574 const SCEV *visitMulExpr(const SCEVMulExpr *Expr) { in visitMulExpr()
DScalarEvolutionExpander.h337 Value *visitMulExpr(const SCEVMulExpr *S);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h239 class SCEVMulExpr : public SCEVCommutativeExpr {
242 SCEVMulExpr(const FoldingSetNodeIDRef ID, in SCEVMulExpr() function
460 return ((SC*)this)->visitMulExpr((const SCEVMulExpr*)S); in visit()
635 const SCEV *visitMulExpr(const SCEVMulExpr *Expr) { in visitMulExpr()
DScalarEvolutionExpander.h361 Value *visitMulExpr(const SCEVMulExpr *S);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolution.cpp378 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); in isNonConstantNegative()
886 if (const SCEVMulExpr *T = dyn_cast<SCEVMulExpr>(Denominator)) { in divide()
985 void visitMulExpr(const SCEVMulExpr *Numerator) { in visitMulExpr()
1260 if (isa<SCEVAddExpr>(Op) || isa<SCEVMulExpr>(Op)) { in getTruncateExpr()
1274 else if (isa<SCEVMulExpr>(Op)) in getTruncateExpr()
1857 if (auto *SM = dyn_cast<SCEVMulExpr>(Op)) { in getZeroExtendExpr()
2251 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales()
2448 if (const auto *Mul = dyn_cast<SCEVMulExpr>(Ops[Idx])) { in getAddExpr()
2469 } else if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(Ops[i])) { in getAddExpr()
2533 if (Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx])) { in getAddExpr()
[all …]
DVectorUtils.cpp192 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(V)) { in getStrideFromPointer()
DScalarEvolutionExpander.cpp276 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(S)) { in FactorOutConstant()
754 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
760 for (std::reverse_iterator<SCEVMulExpr::op_iterator> I(S->op_end()), in visitMulExpr()
1513 if (!isa<SCEVMulExpr>(Base) && !isa<SCEVUDivExpr>(Base)) { in visitAddRecExpr()
DDependenceAnalysis.cpp2290 else if (const auto *Product = dyn_cast<SCEVMulExpr>(Expr)) in getConstantPart()
2372 else if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Operand)) { in gcdMIVtest()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp842 if (const SCEVMulExpr *SM = dyn_cast<SCEVMulExpr>(Op)) { in getTruncateExpr()
1391 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales()
1545 } else if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(Ops[i])) { in getAddExpr()
1607 if (Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx])) { in getAddExpr()
1642 for (; Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx]); ++Idx) { in getAddExpr()
1643 const SCEVMulExpr *Mul = cast<SCEVMulExpr>(Ops[Idx]); in getAddExpr()
1677 OtherMulIdx < Ops.size() && isa<SCEVMulExpr>(Ops[OtherMulIdx]); in getAddExpr()
1679 const SCEVMulExpr *OtherMul = cast<SCEVMulExpr>(Ops[OtherMulIdx]); in getAddExpr()
1921 if (!isa<SCEVMulExpr>(Mul)) AnyFolded = true; in getMulExpr()
1952 while (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[Idx])) { in getMulExpr()
[all …]
DScalarEvolutionExpander.cpp228 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(S)) { in FactorOutConstant()
594 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(F); in isNonConstantNegative()
767 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
773 for (std::reverse_iterator<SCEVMulExpr::op_iterator> I(S->op_end()), in visitMulExpr()
1211 if (!isa<SCEVMulExpr>(Base) && !isa<SCEVUDivExpr>(Base)) { in visitAddRecExpr()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp87 const SCEVMulExpr *M0 = cast<SCEVMulExpr>(P0); in TEST_F()
88 const SCEVMulExpr *M1 = cast<SCEVMulExpr>(P1); in TEST_F()
89 const SCEVMulExpr *M2 = cast<SCEVMulExpr>(P2); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/IndVarSimplify/
Dhuge_muls.ll7 ; SCEVMulExpr's (with ~1000 ops) due to non-linear analysis cost.
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp283 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) in DoInitialMatch()
430 static bool isMulSExtable(const SCEVMulExpr *M, ScalarEvolution &SE) { in isMulSExtable()
434 return isa<SCEVMulExpr>(SE.getSignExtendExpr(M, WideTy)); in isMulSExtable()
508 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) { in getExactSDiv()
512 for (SCEVMulExpr::op_iterator I = Mul->op_begin(), E = Mul->op_end(); in getExactSDiv()
789 NumIVMuls += isa<SCEVMulExpr>(Reg) && in RateRegister()
2323 } else if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in CollectSubexprs()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp337 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) in DoInitialMatch()
525 static bool isMulSExtable(const SCEVMulExpr *M, ScalarEvolution &SE) { in isMulSExtable()
529 return isa<SCEVMulExpr>(SE.getSignExtendExpr(M, WideTy)); in isMulSExtable()
600 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) { in getExactSDiv()
766 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in isHighCostExpansion()
950 NumIVMuls += isa<SCEVMulExpr>(Reg) && in RateRegister()
3198 } else if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in CollectSubexprs()
DLoopRerollPass.cpp474 const SCEVMulExpr *MulSCEV = dyn_cast<SCEVMulExpr>(SCEVExpr); in getIncrmentFactorSCEV()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp406 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) in DoInitialMatch()
633 static bool isMulSExtable(const SCEVMulExpr *M, ScalarEvolution &SE) { in isMulSExtable()
637 return isa<SCEVMulExpr>(SE.getSignExtendExpr(M, WideTy)); in isMulSExtable()
708 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) { in getExactSDiv()
920 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in isHighCostExpansion()
1270 C.NumIVMuls += isa<SCEVMulExpr>(Reg) && in RateRegister()
3483 } else if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in CollectSubexprs()