Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantRangeTest.cpp709 Instruction::Add, C, OBO::NoSignedWrap); in TEST()
714 Instruction::Add, C, OBO::NoSignedWrap | OBO::NoUnsignedWrap); in TEST()
754 Instruction::Sub, C, OBO::NoSignedWrap); in TEST()
759 Instruction::Sub, C, OBO::NoSignedWrap | OBO::NoUnsignedWrap); in TEST()
792 OBO::NoSignedWrap); in TEST()
798 OBO::NoSignedWrap); in TEST()
816 OBO::NoUnsignedWrap | OBO::NoSignedWrap); in TEST()
822 OBO::NoUnsignedWrap | OBO::NoSignedWrap); in TEST()
829 Instruction::Add, APInt(32, 0), OBO::NoSignedWrap).isFullSet()); in TEST()
832 OBO::NoUnsignedWrap | OBO::NoSignedWrap).isFullSet()); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DOperator.h75 NoSignedWrap = (1 << 1) enumerator
89 (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); in setHasNoSignedWrap()
102 return (SubclassOptionalData & NoSignedWrap) != 0; in hasNoSignedWrap()
/external/llvm/include/llvm/IR/
DOperator.h78 NoSignedWrap = (1 << 1) enumerator
90 (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); in setHasNoSignedWrap()
103 return (SubclassOptionalData & NoSignedWrap) != 0; in hasNoSignedWrap()
DPatternMatch.h557 if (WrapFlags & OverflowingBinaryOperator::NoSignedWrap && in match()
568 OverflowingBinaryOperator::NoSignedWrap>
571 OverflowingBinaryOperator::NoSignedWrap>( in m_NSWAdd()
576 OverflowingBinaryOperator::NoSignedWrap>
579 OverflowingBinaryOperator::NoSignedWrap>( in m_NSWSub()
584 OverflowingBinaryOperator::NoSignedWrap>
587 OverflowingBinaryOperator::NoSignedWrap>( in m_NSWMul()
592 OverflowingBinaryOperator::NoSignedWrap>
595 OverflowingBinaryOperator::NoSignedWrap>( in m_NSWShl()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DOperator.h71 NoSignedWrap = (1 << 1) enumerator
84 (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); in setHasNoSignedWrap()
97 return (SubclassOptionalData & NoSignedWrap) != 0; in hasNoSignedWrap()
DPatternMatch.h769 if (WrapFlags & OverflowingBinaryOperator::NoSignedWrap && in match()
780 OverflowingBinaryOperator::NoSignedWrap>
783 OverflowingBinaryOperator::NoSignedWrap>( in m_NSWAdd()
788 OverflowingBinaryOperator::NoSignedWrap>
791 OverflowingBinaryOperator::NoSignedWrap>( in m_NSWSub()
796 OverflowingBinaryOperator::NoSignedWrap>
799 OverflowingBinaryOperator::NoSignedWrap>( in m_NSWMul()
804 OverflowingBinaryOperator::NoSignedWrap>
807 OverflowingBinaryOperator::NoSignedWrap>( in m_NSWShl()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp625 Instruction::Add, C, OBO::NoSignedWrap); in TEST()
630 Instruction::Add, C, OBO::NoSignedWrap | OBO::NoUnsignedWrap); in TEST()
663 OBO::NoSignedWrap); in TEST()
675 OBO::NoUnsignedWrap | OBO::NoSignedWrap); in TEST()
681 Instruction::Add, OneToFive, OBO::NoSignedWrap), in TEST()
689 Instruction::Add, OneToFive, OBO::NoUnsignedWrap | OBO::NoSignedWrap), in TEST()
694 Instruction::Add, MinusFiveToMinusTwo, OBO::NoSignedWrap), in TEST()
702 OBO::NoUnsignedWrap | OBO::NoSignedWrap), in TEST()
707 Instruction::Add, MinusOneToOne, OBO::NoSignedWrap), in TEST()
715 OBO::NoUnsignedWrap | OBO::NoSignedWrap), in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp196 assert((NoWrapKind == OBO::NoSignedWrap || in makeGuaranteedNoWrapRegion()
198 NoWrapKind == (OBO::NoUnsignedWrap | OBO::NoSignedWrap)) && in makeGuaranteedNoWrapRegion()
218 if (NoWrapKind & OBO::NoSignedWrap) { in makeGuaranteedNoWrapRegion()
243 if (NoWrapKind & OBO::NoSignedWrap) { in makeGuaranteedNoWrapRegion()
259 if (NoWrapKind == (OBO::NoSignedWrap | OBO::NoUnsignedWrap)) { in makeGuaranteedNoWrapRegion()
261 makeGuaranteedNoWrapRegion(BinOp, Other, OBO::NoSignedWrap), in makeGuaranteedNoWrapRegion()
787 OverflowingBinaryOperator::NoSignedWrap); in addWithNoSignedWrap()
DConstants.cpp2189 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getAdd()
2200 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getSub()
2211 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getMul()
2260 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getShl()
2976 OverflowingBinaryOperator::NoSignedWrap); in getAsInstruction()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp998 Value *InstCombiner::Descale(Value *Val, APInt Scale, bool &NoSignedWrap) { in Descale() argument
1005 NoSignedWrap = true; in Descale()
1057 NoSignedWrap = true; in Descale()
1065 NoSignedWrap = BO->hasNoSignedWrap(); in Descale()
1066 if (RequireNoSignedWrap && !NoSignedWrap) in Descale()
1104 NoSignedWrap = BO->hasNoSignedWrap(); in Descale()
1105 if (RequireNoSignedWrap && !NoSignedWrap) in Descale()
1183 NoSignedWrap = true; in Descale()
1216 NoSignedWrap &= OpNoSignedWrap; in Descale()
1217 if (NoSignedWrap != OpNoSignedWrap) { in Descale()
[all …]
DInstCombineInternal.h575 Value *Descale(Value *Val, APInt Scale, bool &NoSignedWrap);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1114 Value *InstCombiner::Descale(Value *Val, APInt Scale, bool &NoSignedWrap) { in Descale() argument
1121 NoSignedWrap = true; in Descale()
1172 NoSignedWrap = true; in Descale()
1179 NoSignedWrap = BO->hasNoSignedWrap(); in Descale()
1180 if (RequireNoSignedWrap && !NoSignedWrap) in Descale()
1218 NoSignedWrap = BO->hasNoSignedWrap(); in Descale()
1219 if (RequireNoSignedWrap && !NoSignedWrap) in Descale()
1297 NoSignedWrap = true; in Descale()
1330 NoSignedWrap &= OpNoSignedWrap; in Descale()
1331 if (NoSignedWrap != OpNoSignedWrap) { in Descale()
[all …]
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h330 bool NoSignedWrap : 1;
343 NoSignedWrap = false;
355 void setNoSignedWrap(bool b) { NoSignedWrap = b; }
366 bool hasNoSignedWrap() const { return NoSignedWrap; }
378 return (NoUnsignedWrap << 0) | (NoSignedWrap << 1) | (Exact << 2) |
386 NoSignedWrap &= Flags->NoSignedWrap;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp425 return NoWrap(Instruction::Add, OBO::NoSignedWrap); in willNotOverflow()
429 return NoWrap(Instruction::Sub, OBO::NoSignedWrap); in willNotOverflow()
650 BinaryOperator::Add, LRange, OBO::NoSignedWrap); in processAdd()
DInductiveRangeCheckElimination.cpp917 bool NoSignedWrap = ExtendAfterOp->getStart() == ExtendedStart && in parseLoopStructure() local
920 if (NoSignedWrap) in parseLoopStructure()
/external/llvm/lib/IR/
DConstantRange.cpp186 assert((NoWrapKind == OBO::NoSignedWrap || in makeGuaranteedNoWrapRegion()
188 NoWrapKind == (OBO::NoUnsignedWrap | OBO::NoSignedWrap)) && in makeGuaranteedNoWrapRegion()
208 if (NoWrapKind & OBO::NoSignedWrap) { in makeGuaranteedNoWrapRegion()
DConstants.cpp2135 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getAdd()
2146 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getSub()
2157 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getMul()
2206 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getShl()
2904 OverflowingBinaryOperator::NoSignedWrap); in getAsInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h361 bool NoSignedWrap : 1;
375 : AnyDefined(false), NoUnsignedWrap(false), NoSignedWrap(false),
404 NoSignedWrap = b;
445 bool hasNoSignedWrap() const { return NoSignedWrap; }
467 NoSignedWrap &= Flags.NoSignedWrap;
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp1783 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getAdd()
1794 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getSub()
1805 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getMul()
1854 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getShl()
/external/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1/
Dspirv.lua402 NoSignedWrap = 4469,
Dspirv.cs427 NoSignedWrap = 4469, enumerator
/external/deqp-deps/SPIRV-Headers/include/spirv/unified1/
Dspirv.lua398 NoSignedWrap = 4469,
Dspirv.cs423 NoSignedWrap = 4469, enumerator
Dspirv.hpp11425 NoSignedWrap = 4469,
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp703 bool NoSignedWrap = ExtendAfterOp->getStart() == ExtendedStart && in parseLoopStructure() local
706 if (NoSignedWrap) in parseLoopStructure()

12