Home
last modified time | relevance | path

Searched refs:NoWrapFlags (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/llvm/include/llvm/Analysis/
DScalarEvolution.h115 enum NoWrapFlags {
463 LLVM_NODISCARD static SCEV::NoWrapFlags maskFlags(SCEV::NoWrapFlags Flags,
465 return (SCEV::NoWrapFlags)(Flags & Mask);
467 LLVM_NODISCARD static SCEV::NoWrapFlags setFlags(SCEV::NoWrapFlags Flags,
468 SCEV::NoWrapFlags OnFlags) {
469 return (SCEV::NoWrapFlags)(Flags | OnFlags);
471 LLVM_NODISCARD static SCEV::NoWrapFlags
472 clearFlags(SCEV::NoWrapFlags Flags, SCEV::NoWrapFlags OffFlags) {
473 return (SCEV::NoWrapFlags)(Flags & ~OffFlags);
521 SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap,
[all …]
DScalarEvolutionExpressions.h215 NoWrapFlags getNoWrapFlags(NoWrapFlags Mask = NoWrapMask) const {
216 return (NoWrapFlags)(SubclassData & Mask);
256 void setNoWrapFlags(NoWrapFlags Flags) { in setNoWrapFlags()
394 void setNoWrapFlags(NoWrapFlags Flags) { in setNoWrapFlags()
439 setNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW)); in SCEVMinMaxExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolution.h113 enum NoWrapFlags {
461 LLVM_NODISCARD static SCEV::NoWrapFlags maskFlags(SCEV::NoWrapFlags Flags,
463 return (SCEV::NoWrapFlags)(Flags & Mask);
465 LLVM_NODISCARD static SCEV::NoWrapFlags setFlags(SCEV::NoWrapFlags Flags,
466 SCEV::NoWrapFlags OnFlags) {
467 return (SCEV::NoWrapFlags)(Flags | OnFlags);
469 LLVM_NODISCARD static SCEV::NoWrapFlags
470 clearFlags(SCEV::NoWrapFlags Flags, SCEV::NoWrapFlags OffFlags) {
471 return (SCEV::NoWrapFlags)(Flags & ~OffFlags);
518 SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap,
[all …]
DScalarEvolutionExpressions.h175 NoWrapFlags getNoWrapFlags(NoWrapFlags Mask = NoWrapMask) const {
176 return (NoWrapFlags)(SubclassData & Mask);
216 void setNoWrapFlags(NoWrapFlags Flags) { in setNoWrapFlags()
338 void setNoWrapFlags(NoWrapFlags Flags) { in setNoWrapFlags()
383 setNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW)); in SCEVMinMaxExpr()
DScalarEvolutionExpander.h333 SCEV::NoWrapFlags Flags, bool IsSafeToHoist);
/external/llvm/include/llvm/Analysis/
DScalarEvolution.h102 enum NoWrapFlags { FlagAnyWrap = 0, // No guarantee.
433 static SCEV::NoWrapFlags LLVM_ATTRIBUTE_UNUSED_RESULT
434 maskFlags(SCEV::NoWrapFlags Flags, int Mask) {
435 return (SCEV::NoWrapFlags)(Flags & Mask);
437 static SCEV::NoWrapFlags LLVM_ATTRIBUTE_UNUSED_RESULT
438 setFlags(SCEV::NoWrapFlags Flags, SCEV::NoWrapFlags OnFlags) {
439 return (SCEV::NoWrapFlags)(Flags | OnFlags);
441 static SCEV::NoWrapFlags LLVM_ATTRIBUTE_UNUSED_RESULT
442 clearFlags(SCEV::NoWrapFlags Flags, SCEV::NoWrapFlags OffFlags) {
443 return (SCEV::NoWrapFlags)(Flags & ~OffFlags);
[all …]
DScalarEvolutionExpressions.h153 NoWrapFlags getNoWrapFlags(NoWrapFlags Mask = NoWrapMask) const {
154 return (NoWrapFlags)(SubclassData & Mask);
196 void setNoWrapFlags(NoWrapFlags Flags) { in setNoWrapFlags()
322 void setNoWrapFlags(NoWrapFlags Flags) { in setNoWrapFlags()
361 setNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW)); in SCEVSMaxExpr()
380 setNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW)); in SCEVUMaxExpr()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp294 !AR->getNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW))) in print()
1289 static const SCEV::NoWrapFlags WrapType = SCEV::FlagNSW;
1305 static const SCEV::NoWrapFlags WrapType = SCEV::FlagNUW;
1723 (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW), in getZeroExtendExpr()
1777 (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW), in getZeroExtendExpr()
1910 (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW), in getSignExtendExpr()
2038 (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW), in getSignExtendExpr()
2207 static SCEV::NoWrapFlags
2210 SCEV::NoWrapFlags Flags) { in StrengthenNoWrapFlags()
2221 SCEV::NoWrapFlags SignOrUnsignWrap = in StrengthenNoWrapFlags()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp282 !AR->getNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW))) in print()
1404 static const SCEV::NoWrapFlags WrapType = SCEV::FlagNSW;
1420 static const SCEV::NoWrapFlags WrapType = SCEV::FlagNUW;
1842 (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW), in getZeroExtendExpr()
1896 (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW), in getZeroExtendExpr()
2029 (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW), in getSignExtendExpr()
2174 (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW), in getSignExtendExpr()
2343 static SCEV::NoWrapFlags
2346 SCEV::NoWrapFlags Flags) { in StrengthenNoWrapFlags()
2357 SCEV::NoWrapFlags SignOrUnsignWrap = in StrengthenNoWrapFlags()
[all …]
DScalarEvolutionExpander.cpp171 SCEV::NoWrapFlags Flags, bool IsSafeToHoist) { in InsertBinop()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp174 !AR->getNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW))) in print()
1202 static const SCEV::NoWrapFlags WrapType = SCEV::FlagNSW;
1218 static const SCEV::NoWrapFlags WrapType = SCEV::FlagNUW;
1970 static SCEV::NoWrapFlags
1973 SCEV::NoWrapFlags Flags) { in StrengthenNoWrapFlags()
1983 SCEV::NoWrapFlags SignOrUnsignWrap = in StrengthenNoWrapFlags()
1993 ScalarEvolution::setFlags(Flags, (SCEV::NoWrapFlags)SignOrUnsignMask); in StrengthenNoWrapFlags()
2023 SCEV::NoWrapFlags Flags) { in getAddExpr()
2434 SCEV::NoWrapFlags Flags) { in getMulExpr()
2865 SCEV::NoWrapFlags Flags) { in getAddRecExpr()
[all …]
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp324 const SCEV *, const SCEV *, SCEV::NoWrapFlags); in eliminateOverflowIntrinsic()
499 SCEV::NoWrapFlags); in strengthenOverflowingOperation()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DScalarEvolutionExpander.h420 SCEV::NoWrapFlags Flags, bool IsSafeToHoist);
/external/llvm-project/polly/lib/Support/
DSCEVAffinator.cpp61 static SCEV::NoWrapFlags getNoWrapFlags(const SCEV *Expr) { in getNoWrapFlags()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp408 SCEV::NoWrapFlags, unsigned); in willNotOverflow()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp410 SCEV::NoWrapFlags, unsigned); in willNotOverflow()
DScalarEvolutionExpander.cpp198 SCEV::NoWrapFlags Flags, bool IsSafeToHoist) { in InsertBinop()