Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantRangeTest.cpp704 Instruction::Add, C, OBO::NoUnsignedWrap); in TEST()
714 Instruction::Add, C, OBO::NoSignedWrap | OBO::NoUnsignedWrap); in TEST()
749 Instruction::Sub, C, OBO::NoUnsignedWrap); in TEST()
759 Instruction::Sub, C, OBO::NoSignedWrap | OBO::NoUnsignedWrap); in TEST()
804 OBO::NoUnsignedWrap); in TEST()
810 OBO::NoUnsignedWrap); in TEST()
816 OBO::NoUnsignedWrap | OBO::NoSignedWrap); in TEST()
822 OBO::NoUnsignedWrap | OBO::NoSignedWrap); in TEST()
827 Instruction::Add, APInt(32, 0), OBO::NoUnsignedWrap).isFullSet()); in TEST()
832 OBO::NoUnsignedWrap | OBO::NoSignedWrap).isFullSet()); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DOperator.h74 NoUnsignedWrap = (1 << 0), enumerator
85 (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); in setHasNoUnsignedWrap()
96 return SubclassOptionalData & NoUnsignedWrap; in hasNoUnsignedWrap()
/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/swiftshader/third_party/llvm-7.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.h766 if (WrapFlags & OverflowingBinaryOperator::NoUnsignedWrap && in match()
813 OverflowingBinaryOperator::NoUnsignedWrap>
816 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWAdd()
821 OverflowingBinaryOperator::NoUnsignedWrap>
824 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWSub()
829 OverflowingBinaryOperator::NoUnsignedWrap>
832 OverflowingBinaryOperator::NoUnsignedWrap>( in m_NUWMul()
837 OverflowingBinaryOperator::NoUnsignedWrap>
840 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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp197 NoWrapKind == OBO::NoUnsignedWrap || in makeGuaranteedNoWrapRegion()
198 NoWrapKind == (OBO::NoUnsignedWrap | OBO::NoSignedWrap)) && in makeGuaranteedNoWrapRegion()
214 if (NoWrapKind & OBO::NoUnsignedWrap) in makeGuaranteedNoWrapRegion()
239 if (NoWrapKind & OBO::NoUnsignedWrap) in makeGuaranteedNoWrapRegion()
259 if (NoWrapKind == (OBO::NoSignedWrap | OBO::NoUnsignedWrap)) { in makeGuaranteedNoWrapRegion()
262 makeGuaranteedNoWrapRegion(BinOp, Other, OBO::NoUnsignedWrap)); in makeGuaranteedNoWrapRegion()
266 const bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap; in makeGuaranteedNoWrapRegion()
DConstants.cpp2188 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd()
2199 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub()
2210 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul()
2259 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getShl()
2974 OverflowingBinaryOperator::NoUnsignedWrap); in getAsInstruction()
/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-7.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp423 return NoWrap(Instruction::Add, OBO::NoUnsignedWrap); in willNotOverflow()
427 return NoWrap(Instruction::Sub, OBO::NoUnsignedWrap); in willNotOverflow()
641 BinaryOperator::Add, LRange, OBO::NoUnsignedWrap); in processAdd()
/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()
DConstants.cpp2134 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd()
2145 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub()
2156 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul()
2205 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getShl()
2902 OverflowingBinaryOperator::NoUnsignedWrap); in getAsInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h360 bool NoUnsignedWrap : 1;
375 : AnyDefined(false), NoUnsignedWrap(false), NoSignedWrap(false),
400 NoUnsignedWrap = b;
444 bool hasNoUnsignedWrap() const { return NoUnsignedWrap; }
466 NoUnsignedWrap &= Flags.NoUnsignedWrap;
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp1782 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd()
1793 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub()
1804 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul()
1853 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getShl()
/external/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1/
Dspirv.lua403 NoUnsignedWrap = 4470,
Dspirv.cs428 NoUnsignedWrap = 4470, enumerator
Dspirv.hpp11430 NoUnsignedWrap = 4470,
/external/deqp-deps/SPIRV-Headers/include/spirv/unified1/
Dspirv.lua399 NoUnsignedWrap = 4470,
Dspirv.cs424 NoUnsignedWrap = 4470, enumerator
Dspirv.hpp11426 NoUnsignedWrap = 4470,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrMemory.td25 // precision, so we need to check for NoUnsignedWrap so that we don't fold an
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrMemory.td25 // precision, so we need to check for NoUnsignedWrap so that we don't fold an
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.cpp1357 Flags |= OverflowingBinaryOperator::NoUnsignedWrap; in ParseConstants()
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp2253 if (NUW) Flags |= OverflowingBinaryOperator::NoUnsignedWrap; in ParseValID()

12