Searched defs:NSW (Results 1 - 5 of 5) sorted by relevance
/external/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 48 static void computeKnownBitsAddSub(bool Add, Value *Op0, Value *Op1, bool NSW, argument 111 if (NSW) { 131 static void computeKnownBitsMul(Value *Op0, Value *Op1, bool NSW, argument 142 if (NSW) { 377 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); local 378 computeKnownBitsMul(I->getOperand(0), I->getOperand(1), NSW, 521 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); local 522 computeKnownBitsAddSub(false, I->getOperand(0), I->getOperand(1), NSW, 528 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); local 529 computeKnownBitsAddSub(true, I->getOperand(0), I->getOperand(1), NSW, [all...] |
H A D | InstructionSimplify.cpp | 2367 bool NSW = LBO->hasNoSignedWrap() && RBO->hasNoSignedWrap(); local 2368 if (!NUW && !NSW) 2370 if (!NSW && ICmpInst::isSigned(Pred))
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 1457 // If the shift is NSW and we compare to 0, then it is just shifting out 3098 bool NSW = BO0->hasNoSignedWrap() && BO1->hasNoSignedWrap(); local 3099 if (!NUW && !NSW) 3101 if (!NSW && I.isSigned())
|
H A D | InstructionCombining.cpp | 498 // Check if we can add NSW flag to SimplifiedInst. If so, set NSW flag. 1609 bool NSW; local 1610 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) { 1614 Value *NewGEP = GEP.isInBounds() && NSW ? 1647 bool NSW; local 1648 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) { 1657 Value *NewGEP = GEP.isInBounds() && NSW ?
|
/external/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 968 enum { NUW = (1 << 0), NSW = (1 << 1), EXACT = (1 << 2) }; enumerator in enum:llvm::BinaryWithFlagsSDNode::__anon24665 982 SubclassData = (SubclassData & ~NSW) | (b ? NSW : 0); 988 bool hasNoSignedWrap() const { return SubclassData & NSW; }
|
Completed in 125 milliseconds