/external/llvm-project/polly/lib/Support/ |
D | SCEVAffinator.cpp | 61 static SCEV::NoWrapFlags getNoWrapFlags(const SCEV *Expr) { in getNoWrapFlags() function 63 return NAry->getNoWrapFlags(); in getNoWrapFlags() 139 if (IgnoreIntegerWrapping || (getNoWrapFlags(Expr) & SCEV::FlagNSW)) in checkForWrapping() 180 if (AddRec->getNoWrapFlags() & SCEV::FlagNSW) in hasNSWAddRecForLoop() 191 if (NAry->getNoWrapFlags() & SCEV::FlagNSW) in computeModuloForExpr() 400 auto Flags = Expr->getNoWrapFlags(); in visitAddRecExpr()
|
D | SCEVValidator.cpp | 277 Expr->getStepRecurrence(SE), Expr->getLoop(), Expr->getNoWrapFlags()); in visitAddRecExpr() 728 AddRec->getNoWrapFlags()); in extractConstantFactor() 756 auto *NewAdd = SE.getAddExpr(LeftOvers, Add->getNoWrapFlags()); in extractConstantFactor()
|
D | ScopHelper.cpp | 402 return SE.getAddRecExpr(NewOps, E->getLoop(), E->getNoWrapFlags()); in visitAddRecExpr()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 153 NoWrapFlags getNoWrapFlags(NoWrapFlags Mask = NoWrapMask) const { 158 return getNoWrapFlags(FlagNUW) != FlagAnyWrap; in hasNoUnsignedWrap() 162 return getNoWrapFlags(FlagNSW) != FlagAnyWrap; in hasNoSignedWrap() 166 return getNoWrapFlags(FlagNW) != FlagAnyWrap; in hasNoSelfWrap() 591 Expr->getNoWrapFlags()); in visitAddRecExpr() 671 const SCEV *Res = SE.getAddRecExpr(Operands, L, Expr->getNoWrapFlags()); in visitAddRecExpr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 175 NoWrapFlags getNoWrapFlags(NoWrapFlags Mask = NoWrapMask) const { 180 return getNoWrapFlags(FlagNUW) != FlagAnyWrap; in hasNoUnsignedWrap() 184 return getNoWrapFlags(FlagNSW) != FlagAnyWrap; in hasNoSignedWrap() 188 return getNoWrapFlags(FlagNW) != FlagAnyWrap; in hasNoSelfWrap() 733 Expr->getNoWrapFlags()); in visitAddRecExpr() 839 const SCEV *Res = SE.getAddRecExpr(Operands, L, Expr->getNoWrapFlags()); in visitAddRecExpr()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 215 NoWrapFlags getNoWrapFlags(NoWrapFlags Mask = NoWrapMask) const { 220 return getNoWrapFlags(FlagNUW) != FlagAnyWrap; in hasNoUnsignedWrap() 224 return getNoWrapFlags(FlagNSW) != FlagAnyWrap; in hasNoSignedWrap() 228 return getNoWrapFlags(FlagNW) != FlagAnyWrap; in hasNoSelfWrap() 797 Expr->getNoWrapFlags()); in visitAddRecExpr() 898 const SCEV *Res = SE.getAddRecExpr(Operands, L, Expr->getNoWrapFlags()); in visitAddRecExpr()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ScalarEvolutionDivision.cpp | 143 Numerator->getNoWrapFlags()); in visitAddRecExpr() 145 Numerator->getNoWrapFlags()); in visitAddRecExpr()
|
D | ScalarEvolution.cpp | 294 !AR->getNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW))) in print() 1115 return !Changed ? Expr : SE.getAddExpr(Operands, Expr->getNoWrapFlags()); in getPtrToIntExpr() 1125 return !Changed ? Expr : SE.getMulExpr(Operands, Expr->getNoWrapFlags()); in getPtrToIntExpr() 1359 ScalarEvolution::maskFlags(SA->getNoWrapFlags(), SCEV::FlagNUW); in getPreStartForExtend() 1369 if (PreAR && PreAR->getNoWrapFlags(WrapType) && in getPreStartForExtend() 1380 if (PreAR && AR->getNoWrapFlags(WrapType)) { in getPreStartForExtend() 1479 if (PreAR && PreAR->getNoWrapFlags(WrapType)) { // proves (2) in proveNoWrapByVaryingStart() 1596 getZeroExtendExpr(Step, Ty, Depth + 1), L, AR->getNoWrapFlags()); in getZeroExtendExpr() 1642 AR->getNoWrapFlags()); in getZeroExtendExpr() 1661 AR->getNoWrapFlags()); in getZeroExtendExpr() [all …]
|
D | LoopCacheAnalysis.cpp | 376 AccessFnAR->getNoWrapFlags()); in delinearize()
|
D | LoopAccessAnalysis.cpp | 973 if (AR->getNoWrapFlags(SCEV::NoWrapMask)) in isNoWrapAddRec() 1010 return OpAR->getLoop() == L && OpAR->getNoWrapFlags(SCEV::FlagNSW); in isNoWrapAddRec()
|
D | DependenceAnalysis.cpp | 900 if (!AddRec->getNoWrapFlags()) in checkSubscript() 3007 AddRec->getNoWrapFlags()); in zeroCoefficient() 3032 AddRec->getNoWrapFlags()); in addToCoefficient() 3039 AddRec->getNoWrapFlags()); in addToCoefficient()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 305 A->getNoWrapFlags(SCEV::FlagNW)); in FactorOutConstant() 358 A->getNoWrapFlags(SCEV::FlagNW))); in SplitAddRecs() 751 Sum = InsertBinop(Instruction::Add, Sum, W, S->getNoWrapFlags(), in visitAddExpr() 838 auto NWFlags = S->getNoWrapFlags(); in visitMulExpr() 846 Prod = InsertBinop(Instruction::Mul, Prod, W, S->getNoWrapFlags(), in visitMulExpr() 883 A->getNoWrapFlags(SCEV::FlagNW))); in ExposePointerBase() 1360 Normalized->getNoWrapFlags(SCEV::FlagNW))); in expandAddRecExprLiterally() 1379 Normalized->getNoWrapFlags(SCEV::FlagNW))); in expandAddRecExprLiterally() 1517 S->getNoWrapFlags(SCEV::FlagNW))); in visitAddRecExpr() 1530 S->getNoWrapFlags(SCEV::FlagNW)); in visitAddRecExpr()
|
D | ScalarEvolution.cpp | 282 !AR->getNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW))) in print() 991 Numerator->getNoWrapFlags()); in visitAddRecExpr() 993 Numerator->getNoWrapFlags()); in visitAddRecExpr() 1474 ScalarEvolution::maskFlags(SA->getNoWrapFlags(), SCEV::FlagNUW); in getPreStartForExtend() 1484 if (PreAR && PreAR->getNoWrapFlags(WrapType) && in getPreStartForExtend() 1495 if (PreAR && AR->getNoWrapFlags(WrapType)) { in getPreStartForExtend() 1594 if (PreAR && PreAR->getNoWrapFlags(WrapType)) { // proves (2) in proveNoWrapByVaryingStart() 1711 getZeroExtendExpr(Step, Ty, Depth + 1), L, AR->getNoWrapFlags()); in getZeroExtendExpr() 1758 AR->getNoWrapFlags()); in getZeroExtendExpr() 1777 AR->getNoWrapFlags()); in getZeroExtendExpr() [all …]
|
D | DependenceAnalysis.cpp | 898 if (!AddRec->getNoWrapFlags()) in checkSubscript() 3018 AddRec->getNoWrapFlags()); in zeroCoefficient() 3043 AddRec->getNoWrapFlags()); in addToCoefficient() 3050 AddRec->getNoWrapFlags()); in addToCoefficient()
|
D | LoopAccessAnalysis.cpp | 947 if (AR->getNoWrapFlags(SCEV::NoWrapMask)) in isNoWrapAddRec() 984 return OpAR->getLoop() == L && OpAR->getNoWrapFlags(SCEV::FlagNSW); in isNoWrapAddRec()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 174 !AR->getNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW))) in print() 796 Numerator->getNoWrapFlags()); in visitAddRecExpr() 798 Numerator->getNoWrapFlags()); in visitAddRecExpr() 1271 ScalarEvolution::maskFlags(SA->getNoWrapFlags(), SCEV::FlagNUW); in getPreStartForExtend() 1281 if (PreAR && PreAR->getNoWrapFlags(WrapType) && in getPreStartForExtend() 1292 if (PreAR && AR->getNoWrapFlags(WrapType)) { in getPreStartForExtend() 1391 if (PreAR && PreAR->getNoWrapFlags(WrapType)) { // proves (2) in proveNoWrapByVaryingStart() 1464 getZeroExtendExpr(Step, Ty), L, AR->getNoWrapFlags()); in getZeroExtendExpr() 1503 getZeroExtendExpr(Step, Ty), L, AR->getNoWrapFlags()); in getZeroExtendExpr() 1518 getSignExtendExpr(Step, Ty), L, AR->getNoWrapFlags()); in getZeroExtendExpr() [all …]
|
D | ScalarEvolutionExpander.cpp | 288 A->getNoWrapFlags(SCEV::FlagNW)); in FactorOutConstant() 341 A->getNoWrapFlags(SCEV::FlagNW))); in SplitAddRecs() 808 A->getNoWrapFlags(SCEV::FlagNW))); in ExposePointerBase() 1282 Normalized->getNoWrapFlags(SCEV::FlagNW))); in expandAddRecExprLiterally() 1301 Normalized->getNoWrapFlags(SCEV::FlagNW))); in expandAddRecExprLiterally() 1419 S->getNoWrapFlags(SCEV::FlagNW))); in visitAddRecExpr() 1432 S->getNoWrapFlags(SCEV::FlagNW)); in visitAddRecExpr()
|
D | DependenceAnalysis.cpp | 864 if (!AddRec->getNoWrapFlags()) in checkSrcSubscript() 889 if (!AddRec->getNoWrapFlags()) in checkDstSubscript() 2935 AddRec->getNoWrapFlags()); in zeroCoefficient() 2960 AddRec->getNoWrapFlags()); in addToCoefficient() 2967 AddRec->getNoWrapFlags()); in addToCoefficient()
|
D | LoopAccessAnalysis.cpp | 825 if (AR->getNoWrapFlags(SCEV::NoWrapMask)) in isNoWrapAddRec() 862 return OpAR->getLoop() == L && OpAR->getNoWrapFlags(SCEV::FlagNSW); in isNoWrapAddRec()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | ScalarEvolutionExpander.cpp | 331 A->getNoWrapFlags(SCEV::FlagNW)); in FactorOutConstant() 384 A->getNoWrapFlags(SCEV::FlagNW))); in SplitAddRecs() 778 Sum = InsertBinop(Instruction::Add, Sum, W, S->getNoWrapFlags(), in visitAddExpr() 865 auto NWFlags = S->getNoWrapFlags(); in visitMulExpr() 873 Prod = InsertBinop(Instruction::Mul, Prod, W, S->getNoWrapFlags(), in visitMulExpr() 910 A->getNoWrapFlags(SCEV::FlagNW))); in ExposePointerBase() 1396 Normalized->getNoWrapFlags(SCEV::FlagNW))); in expandAddRecExprLiterally() 1415 Normalized->getNoWrapFlags(SCEV::FlagNW))); in expandAddRecExprLiterally() 1549 S->getNoWrapFlags(SCEV::FlagNW))); in visitAddRecExpr() 1562 S->getNoWrapFlags(SCEV::FlagNW)); in visitAddRecExpr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 816 if (AR->getNoWrapFlags(SCEV::FlagNSW)) in parseLoopStructure() 838 return AR->getNoWrapFlags(SCEV::FlagNSW) != SCEV::FlagAnyWrap; in parseLoopStructure() 892 if (IndVarBase->getNoWrapFlags(SCEV::FlagNUW) && in parseLoopStructure() 957 if (IndVarBase->getNoWrapFlags(SCEV::FlagNUW) && in parseLoopStructure()
|
D | LoopFuse.cpp | 845 return SE.getAddRecExpr(Operands, &NewL, Expr->getNoWrapFlags()); in visitAddRecExpr() 859 return SE.getAddRecExpr(Operands, ExprL, Expr->getNoWrapFlags()); in visitAddRecExpr()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 821 if (AR->getNoWrapFlags(SCEV::FlagNSW)) in parseLoopStructure() 843 return AR->getNoWrapFlags(SCEV::FlagNSW) != SCEV::FlagAnyWrap; in parseLoopStructure() 904 if (IndVarBase->getNoWrapFlags(SCEV::FlagNUW) && in parseLoopStructure() 968 if (IndVarBase->getNoWrapFlags(SCEV::FlagNUW) && in parseLoopStructure()
|
D | LoopFuse.cpp | 1026 return SE.getAddRecExpr(Operands, &NewL, Expr->getNoWrapFlags()); in visitAddRecExpr() 1040 return SE.getAddRecExpr(Operands, ExprL, Expr->getNoWrapFlags()); in visitAddRecExpr()
|
/external/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 689 if (AR->getNoWrapFlags(SCEV::FlagNSW)) in parseLoopStructure() 711 return AR->getNoWrapFlags(SCEV::FlagNSW) != SCEV::FlagAnyWrap; in parseLoopStructure()
|