Home
last modified time | relevance | path

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

/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/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/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/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/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/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/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp703 bool NoSignedWrap = ExtendAfterOp->getStart() == ExtendedStart && in parseLoopStructure() local
706 if (NoSignedWrap) in parseLoopStructure()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.cpp1355 Flags |= OverflowingBinaryOperator::NoSignedWrap; in ParseConstants()
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp2254 if (NSW) Flags |= OverflowingBinaryOperator::NoSignedWrap; in ParseValID()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp2006 Instruction::Add, C, OBO::NoSignedWrap); in StrengthenNoWrapFlags()
3767 Instruction::Add, IncRange, OBO::NoSignedWrap); in proveNoWrapViaConstantRanges()
/external/llvm/lib/AsmParser/
DLLParser.cpp3105 if (NSW) Flags |= OverflowingBinaryOperator::NoSignedWrap; in ParseValID()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3067 Flags |= OverflowingBinaryOperator::NoSignedWrap; in parseConstants()