Home
last modified time | relevance | path

Searched refs:NoUnsignedWrap (Results 1 – 25 of 57) sorted by relevance

123

/external/llvm-project/llvm/unittests/IR/
DConstantRangeTest.cpp913 EXPECT_EQ(Empty.addWithNoWrap(Some, OBO::NoUnsignedWrap), Empty); in TEST_F()
914 EXPECT_EQ(Some.addWithNoWrap(Empty, OBO::NoUnsignedWrap), Empty); in TEST_F()
915 EXPECT_EQ(Full.addWithNoWrap(Full, OBO::NoUnsignedWrap), Full); in TEST_F()
916 EXPECT_NE(Full.addWithNoWrap(Some, OBO::NoUnsignedWrap), Full); in TEST_F()
917 EXPECT_NE(Some.addWithNoWrap(Full, OBO::NoUnsignedWrap), Full); in TEST_F()
919 OBO::NoUnsignedWrap), in TEST_F()
922 .addWithNoWrap(Full, OBO::NoUnsignedWrap), in TEST_F()
926 OBO::NoUnsignedWrap), in TEST_F()
930 OBO::NoUnsignedWrap), in TEST_F()
934 OBO::NoUnsignedWrap), in TEST_F()
[all …]
/external/llvm/include/llvm/IR/
DOperator.h77 NoUnsignedWrap = (1 << 0), enumerator
86 (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); in setHasNoUnsignedWrap()
97 return SubclassOptionalData & NoUnsignedWrap; in hasNoUnsignedWrap()
DPatternMatch.h554 if (WrapFlags & OverflowingBinaryOperator::NoUnsignedWrap && in match()
601 OverflowingBinaryOperator::NoUnsignedWrap>
604 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWAdd()
609 OverflowingBinaryOperator::NoUnsignedWrap>
612 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWSub()
617 OverflowingBinaryOperator::NoUnsignedWrap>
620 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWMul()
625 OverflowingBinaryOperator::NoUnsignedWrap>
628 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWShl()
/external/llvm-project/llvm/include/llvm/IR/
DOperator.h70 NoUnsignedWrap = (1 << 0), enumerator
80 (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); in setHasNoUnsignedWrap()
91 return SubclassOptionalData & NoUnsignedWrap; in hasNoUnsignedWrap()
DPatternMatch.h1091 if (WrapFlags & OverflowingBinaryOperator::NoUnsignedWrap && in match()
1138 OverflowingBinaryOperator::NoUnsignedWrap>
1141 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWAdd()
1146 OverflowingBinaryOperator::NoUnsignedWrap>
1149 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWSub()
1154 OverflowingBinaryOperator::NoUnsignedWrap>
1157 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWMul()
1162 OverflowingBinaryOperator::NoUnsignedWrap>
1165 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWShl()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DOperator.h70 NoUnsignedWrap = (1 << 0), enumerator
80 (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); in setHasNoUnsignedWrap()
91 return SubclassOptionalData & NoUnsignedWrap; in hasNoUnsignedWrap()
DPatternMatch.h947 if (WrapFlags & OverflowingBinaryOperator::NoUnsignedWrap && in match()
994 OverflowingBinaryOperator::NoUnsignedWrap>
997 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWAdd()
1002 OverflowingBinaryOperator::NoUnsignedWrap>
1005 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWSub()
1010 OverflowingBinaryOperator::NoUnsignedWrap>
1013 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWMul()
1018 OverflowingBinaryOperator::NoUnsignedWrap>
1021 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWShl()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp620 Instruction::Add, C, OBO::NoUnsignedWrap); in TEST()
630 Instruction::Add, C, OBO::NoSignedWrap | OBO::NoUnsignedWrap); in TEST()
669 OBO::NoUnsignedWrap); in TEST()
675 OBO::NoUnsignedWrap | OBO::NoSignedWrap); in TEST()
685 Instruction::Add, OneToFive, OBO::NoUnsignedWrap), in TEST()
689 Instruction::Add, OneToFive, OBO::NoUnsignedWrap | OBO::NoSignedWrap), in TEST()
698 Instruction::Add, MinusFiveToMinusTwo, OBO::NoUnsignedWrap), in TEST()
702 OBO::NoUnsignedWrap | OBO::NoSignedWrap), in TEST()
711 Instruction::Add, MinusOneToOne, OBO::NoUnsignedWrap), in TEST()
715 OBO::NoUnsignedWrap | OBO::NoSignedWrap), in TEST()
/external/deqp/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/wrap/
Dno_unsigned_wrap.amber17 OpDecorate %out_int NoUnsignedWrap
/external/OpenCL-CTS/test_conformance/spirv_new/spirv_asm/
Dext_cl_khr_spirv_no_integer_wrap_decoration_fmul_uint.spvasm3223 OpDecorate %8 NoUnsignedWrap
Dext_cl_khr_spirv_no_integer_wrap_decoration_fsub_uint.spvasm3224 OpDecorate %8 NoUnsignedWrap
Dext_cl_khr_spirv_no_integer_wrap_decoration_fadd_uint.spvasm3223 OpDecorate %8 NoUnsignedWrap
Dext_cl_khr_spirv_no_integer_wrap_decoration_fshiftleft_uint.spvasm3223 OpDecorate %8 NoUnsignedWrap
Dext_cl_khr_spirv_no_integer_wrap_decoration_fadd_uint.spvasm6424 OpDecorate %8 NoUnsignedWrap
Dext_cl_khr_spirv_no_integer_wrap_decoration_fsub_uint.spvasm6425 OpDecorate %8 NoUnsignedWrap
Dext_cl_khr_spirv_no_integer_wrap_decoration_fmul_uint.spvasm6424 OpDecorate %8 NoUnsignedWrap
Dext_cl_khr_spirv_no_integer_wrap_decoration_fshiftleft_uint.spvasm6424 OpDecorate %8 NoUnsignedWrap
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h329 bool NoUnsignedWrap : 1;
342 NoUnsignedWrap = false;
354 void setNoUnsignedWrap(bool b) { NoUnsignedWrap = b; }
365 bool hasNoUnsignedWrap() const { return NoUnsignedWrap; }
378 return (NoUnsignedWrap << 0) | (NoSignedWrap << 1) | (Exact << 2) |
385 NoUnsignedWrap &= Flags->NoUnsignedWrap;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIntrinsicInst.cpp218 return OverflowingBinaryOperator::NoUnsignedWrap; in getNoWrapKind()
DConstantRange.cpp233 NoWrapKind == OBO::NoUnsignedWrap) && in makeGuaranteedNoWrapRegion()
236 bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap; in makeGuaranteedNoWrapRegion()
877 if (NoWrapKind & OBO::NoUnsignedWrap) in addWithNoWrap()
924 if (NoWrapKind & OBO::NoUnsignedWrap) { in subWithNoWrap()
/external/llvm/lib/IR/
DConstantRange.cpp187 NoWrapKind == OBO::NoUnsignedWrap || in makeGuaranteedNoWrapRegion()
188 NoWrapKind == (OBO::NoUnsignedWrap | OBO::NoSignedWrap)) && in makeGuaranteedNoWrapRegion()
203 if (NoWrapKind & OBO::NoUnsignedWrap) in makeGuaranteedNoWrapRegion()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h364 bool NoUnsignedWrap : 1;
386 : AnyDefined(false), NoUnsignedWrap(false), NoSignedWrap(false),
411 NoUnsignedWrap = b;
459 bool hasNoUnsignedWrap() const { return NoUnsignedWrap; }
482 NoUnsignedWrap &= Flags.NoUnsignedWrap;
/external/llvm-project/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h359 bool NoUnsignedWrap : 1;
380 : NoUnsignedWrap(false), NoSignedWrap(false), Exact(false), NoNaNs(false),
397 void setNoUnsignedWrap(bool b) { NoUnsignedWrap = b; }
410 bool hasNoUnsignedWrap() const { return NoUnsignedWrap; }
425 NoUnsignedWrap &= Flags.NoUnsignedWrap;
/external/llvm-project/llvm/lib/IR/
DIntrinsicInst.cpp348 return OverflowingBinaryOperator::NoUnsignedWrap; in getNoWrapKind()
DConstantRange.cpp234 NoWrapKind == OBO::NoUnsignedWrap) && in makeGuaranteedNoWrapRegion()
237 bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap; in makeGuaranteedNoWrapRegion()
943 if (NoWrapKind & OBO::NoUnsignedWrap) in addWithNoWrap()
990 if (NoWrapKind & OBO::NoUnsignedWrap) { in subWithNoWrap()

123