Home
last modified time | relevance | path

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

12

/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/llvm-project/llvm/lib/Analysis/
DScalarEvolutionDivision.cpp86 if (const SCEVMulExpr *T = dyn_cast<SCEVMulExpr>(Denominator)) { in divide()
174 void SCEVDivision::visitMulExpr(const SCEVMulExpr *Numerator) { in visitMulExpr()
DScalarEvolution.cpp428 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); in isNonConstantNegative()
1118 const SCEV *visitMulExpr(const SCEVMulExpr *Expr) { in getPtrToIntExpr()
1189 if (isa<SCEVAddExpr>(Op) || isa<SCEVMulExpr>(Op)) { in getTruncateExpr()
1204 else if (isa<SCEVMulExpr>(Op)) in getTruncateExpr()
1783 if (auto *SM = dyn_cast<SCEVMulExpr>(Op)) { in getZeroExtendExpr()
2160 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales()
2368 if (const auto *Mul = dyn_cast<SCEVMulExpr>(Ops[Idx])) { in getAddExpr()
2389 } else if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(Ops[i])) { in getAddExpr()
2453 if (Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx])) { in getAddExpr()
2494 for (; Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx]); ++Idx) { in getAddExpr()
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DScalarEvolutionDivision.h54 void visitMulExpr(const SCEVMulExpr *Numerator);
DScalarEvolutionExpressions.h288 class SCEVMulExpr : public SCEVCommutativeExpr {
291 SCEVMulExpr(const FoldingSetNodeIDRef ID, in SCEVMulExpr() function
584 return ((SC*)this)->visitMulExpr((const SCEVMulExpr*)S); in visit()
771 const SCEV *visitMulExpr(const SCEVMulExpr *Expr) { in visitMulExpr()
/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/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVETailPredication.cpp337 auto VisitAdd = [&](const SCEVAddExpr *S) -> const SCEVMulExpr* { in ComputeElements()
343 return dyn_cast<SCEVMulExpr>(S->getOperand(1)); in ComputeElements()
346 auto VisitMul = [&](const SCEVMulExpr *S) -> const SCEVUDivExpr* { in ComputeElements()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h244 class SCEVMulExpr : public SCEVCommutativeExpr {
247 SCEVMulExpr(const FoldingSetNodeIDRef ID, in SCEVMulExpr() function
526 return ((SC*)this)->visitMulExpr((const SCEVMulExpr*)S); in visit()
707 const SCEV *visitMulExpr(const SCEVMulExpr *Expr) { in visitMulExpr()
DScalarEvolutionExpander.h374 Value *visitMulExpr(const SCEVMulExpr *S);
/external/llvm-project/polly/include/polly/Support/
DSCEVAffinator.h107 PWACtx visitMulExpr(const llvm::SCEVMulExpr *E);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp409 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); in isNonConstantNegative()
921 if (const SCEVMulExpr *T = dyn_cast<SCEVMulExpr>(Denominator)) { in divide()
1022 void visitMulExpr(const SCEVMulExpr *Numerator) { in visitMulExpr()
1305 if (isa<SCEVAddExpr>(Op) || isa<SCEVMulExpr>(Op)) { in getTruncateExpr()
1319 else if (isa<SCEVMulExpr>(Op)) in getTruncateExpr()
1902 if (auto *SM = dyn_cast<SCEVMulExpr>(Op)) { in getZeroExtendExpr()
2296 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales()
2493 if (const auto *Mul = dyn_cast<SCEVMulExpr>(Ops[Idx])) { in getAddExpr()
2514 } else if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(Ops[i])) { in getAddExpr()
2578 if (Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx])) { in getAddExpr()
[all …]
DScalarEvolutionExpander.cpp280 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(S)) { in FactorOutConstant()
760 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
766 for (std::reverse_iterator<SCEVMulExpr::op_iterator> I(S->op_end()), in visitMulExpr()
1543 if (!isa<SCEVMulExpr>(Base) && !isa<SCEVUDivExpr>(Base)) { in visitAddRecExpr()
DVectorUtils.cpp218 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(V)) { in getStrideFromPointer()
/external/llvm-project/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp96 const SCEVMulExpr *M0 = cast<SCEVMulExpr>(P0); in TEST_F()
97 const SCEVMulExpr *M1 = cast<SCEVMulExpr>(P1); in TEST_F()
98 const SCEVMulExpr *M2 = cast<SCEVMulExpr>(P2); in TEST_F()
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/X86/
Dhuge_muls.ll7 ; SCEVMulExpr's (with ~1000 ops) due to non-linear analysis cost.
/external/llvm-project/polly/lib/Support/
DSCEVValidator.cpp195 class ValidatorResult visitMulExpr(const SCEVMulExpr *Expr) { in visitMulExpr()
760 auto *Mul = dyn_cast<SCEVMulExpr>(S); in extractConstantFactor()
/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()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DScalarEvolutionExpander.h459 Value *visitMulExpr(const SCEVMulExpr *S);
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp424 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) in DoInitialMatch()
651 static bool isMulSExtable(const SCEVMulExpr *M, ScalarEvolution &SE) { in isMulSExtable()
655 return isa<SCEVMulExpr>(SE.getSignExtendExpr(M, WideTy)); in isMulSExtable()
726 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) { in getExactSDiv()
954 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in isHighCostExpansion()
1295 C.NumIVMuls += isa<SCEVMulExpr>(Reg) && in RateRegister()
3529 } else if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in CollectSubexprs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp420 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) in DoInitialMatch()
647 static bool isMulSExtable(const SCEVMulExpr *M, ScalarEvolution &SE) { in isMulSExtable()
651 return isa<SCEVMulExpr>(SE.getSignExtendExpr(M, WideTy)); in isMulSExtable()
722 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) { in getExactSDiv()
934 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in isHighCostExpansion()
1302 C.NumIVMuls += isa<SCEVMulExpr>(Reg) && in RateRegister()
3525 } else if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in CollectSubexprs()
/external/llvm-project/llvm/lib/Transforms/Utils/
DScalarEvolutionExpander.cpp306 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(S)) { in FactorOutConstant()
787 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
793 for (std::reverse_iterator<SCEVMulExpr::op_iterator> I(S->op_end()), in visitMulExpr()
1575 if (!isa<SCEVMulExpr>(Base) && !isa<SCEVUDivExpr>(Base)) { in visitAddRecExpr()

12