/external/swiftshader/third_party/LLVM/unittests/Transforms/Utils/ |
Cloning.cpp | 63 EXPECT_FALSE(AddClone->hasNoSignedWrap()); 65 EXPECT_FALSE(SubClone->hasNoSignedWrap()); 67 EXPECT_FALSE(MulClone->hasNoSignedWrap()); 80 EXPECT_FALSE(AddClone->hasNoSignedWrap()); 82 EXPECT_FALSE(SubClone->hasNoSignedWrap()); 84 EXPECT_FALSE(MulClone->hasNoSignedWrap()); 97 EXPECT_TRUE(AddClone->hasNoSignedWrap()); 99 EXPECT_TRUE(SubClone->hasNoSignedWrap()); 101 EXPECT_TRUE(MulClone->hasNoSignedWrap()); 114 EXPECT_TRUE(AddClone->hasNoSignedWrap()); [all...] |
/external/llvm/unittests/Transforms/Utils/ |
Cloning.cpp | 72 EXPECT_FALSE(AddClone->hasNoSignedWrap()); 74 EXPECT_FALSE(SubClone->hasNoSignedWrap()); 76 EXPECT_FALSE(MulClone->hasNoSignedWrap()); 89 EXPECT_FALSE(AddClone->hasNoSignedWrap()); 91 EXPECT_FALSE(SubClone->hasNoSignedWrap()); 93 EXPECT_FALSE(MulClone->hasNoSignedWrap()); 106 EXPECT_TRUE(AddClone->hasNoSignedWrap()); 108 EXPECT_TRUE(SubClone->hasNoSignedWrap()); 110 EXPECT_TRUE(MulClone->hasNoSignedWrap()); 123 EXPECT_TRUE(AddClone->hasNoSignedWrap()); [all...] |
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 262 cast<BinaryOperator>(Builder.CreateNSWAdd(V, V))->hasNoSignedWrap()); 264 cast<BinaryOperator>(Builder.CreateNSWMul(V, V))->hasNoSignedWrap()); 266 cast<BinaryOperator>(Builder.CreateNSWSub(V, V))->hasNoSignedWrap()); 269 ->hasNoSignedWrap()); 284 ->hasNoSignedWrap()); 286 ->hasNoSignedWrap()); 288 ->hasNoSignedWrap()); 291 ->hasNoSignedWrap());
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
Cloning.cpp | 77 EXPECT_FALSE(AddClone->hasNoSignedWrap()); 79 EXPECT_FALSE(SubClone->hasNoSignedWrap()); 81 EXPECT_FALSE(MulClone->hasNoSignedWrap()); 94 EXPECT_FALSE(AddClone->hasNoSignedWrap()); 96 EXPECT_FALSE(SubClone->hasNoSignedWrap()); 98 EXPECT_FALSE(MulClone->hasNoSignedWrap()); 111 EXPECT_TRUE(AddClone->hasNoSignedWrap()); 113 EXPECT_TRUE(SubClone->hasNoSignedWrap()); 115 EXPECT_TRUE(MulClone->hasNoSignedWrap()); 128 EXPECT_TRUE(AddClone->hasNoSignedWrap()); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
IRBuilderTest.cpp | 346 cast<BinaryOperator>(Builder.CreateNSWAdd(V, V))->hasNoSignedWrap()); 348 cast<BinaryOperator>(Builder.CreateNSWMul(V, V))->hasNoSignedWrap()); 350 cast<BinaryOperator>(Builder.CreateNSWSub(V, V))->hasNoSignedWrap()); 353 ->hasNoSignedWrap()); 368 ->hasNoSignedWrap()); 370 ->hasNoSignedWrap()); 372 ->hasNoSignedWrap()); 375 ->hasNoSignedWrap());
|
InstructionsTest.cpp | 625 ASSERT_FALSE(AI->hasNoSignedWrap()); 631 ASSERT_TRUE(SI->hasNoSignedWrap()); 634 ASSERT_FALSE(SI->hasNoSignedWrap()); 640 ASSERT_TRUE(ShlI->hasNoSignedWrap()); 644 ASSERT_FALSE(ShlI->hasNoSignedWrap()); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
InstCombineMulDivRem.cpp | 146 if (I.hasNoSignedWrap()) 165 if (I.hasNoSignedWrap() && Mul->hasNoSignedWrap() && 179 if (I.hasNoSignedWrap()) { 241 if (I.hasNoSignedWrap() && 242 cast<OverflowingBinaryOperator>(Op0)->hasNoSignedWrap() && 243 cast<OverflowingBinaryOperator>(Op1)->hasNoSignedWrap()) 293 ShlNSW = cast<ShlOperator>(Op0)->hasNoSignedWrap(); 296 ShlNSW = cast<ShlOperator>(Op1)->hasNoSignedWrap(); 301 if (I.hasNoSignedWrap() && ShlNSW [all...] |
InstCombineAddSub.cpp | 952 if (Add.hasNoSignedWrap() || Add.hasNoUnsignedWrap()) [all...] |
/external/llvm/lib/IR/ |
Instruction.cpp | 115 bool Instruction::hasNoSignedWrap() const { 116 return cast<OverflowingBinaryOperator>(this)->hasNoSignedWrap(); 221 setHasNoSignedWrap(OB->hasNoSignedWrap()); 240 setHasNoSignedWrap(hasNoSignedWrap() & OB->hasNoSignedWrap());
|
/external/spirv-llvm/lib/SPIRV/ |
SPIRVRegularizeLLVM.cpp | 138 if (BO->hasNoSignedWrap())
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineMulDivRem.cpp | 191 if (I.hasNoSignedWrap()) 210 if (I.hasNoSignedWrap() && Mul->hasNoSignedWrap() && 232 if (I.hasNoSignedWrap()) { 296 if (I.hasNoSignedWrap() && 355 ShlNSW = cast<ShlOperator>(Op0)->hasNoSignedWrap(); 358 ShlNSW = cast<ShlOperator>(Op1)->hasNoSignedWrap(); 363 if (I.hasNoSignedWrap() && ShlNSW) 392 if (!I.hasNoSignedWrap() && WillNotOverflowSignedMul(Op0, Op1, I)) { 853 cast<OverflowingBinaryOperator>(LHS)->hasNoSignedWrap()); [all...] |
InstCombineAddSub.cpp | [all...] |
InstCombineShifts.cpp | 608 NewShl->setHasNoSignedWrap(I.hasNoSignedWrap()); 634 if (ShiftOp->hasNoSignedWrap()) { 682 if (ShiftOp->hasNoSignedWrap()) { 701 SimplifyShlInst(I.getOperand(0), I.getOperand(1), I.hasNoSignedWrap(), 721 if (!I.hasNoSignedWrap() && [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
Instruction.cpp | 117 bool Instruction::hasNoSignedWrap() const { 118 return cast<OverflowingBinaryOperator>(this)->hasNoSignedWrap(); 246 setHasNoSignedWrap(OB->hasNoSignedWrap()); 269 setHasNoSignedWrap(hasNoSignedWrap() & OB->hasNoSignedWrap());
|
/external/llvm/lib/Analysis/ |
PHITransAddr.cpp | 260 bool isNSW = cast<BinaryOperator>(Inst)->hasNoSignedWrap(); 435 Res->setHasNoSignedWrap(cast<BinaryOperator>(Inst)->hasNoSignedWrap());
|
DemandedBits.cpp | 153 if (S->hasNoSignedWrap())
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
PHITransAddr.cpp | 265 bool isNSW = cast<BinaryOperator>(Inst)->hasNoSignedWrap(); 434 Res->setHasNoSignedWrap(cast<BinaryOperator>(Inst)->hasNoSignedWrap());
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
PHITransAddr.cpp | 258 bool isNSW = cast<BinaryOperator>(Inst)->hasNoSignedWrap(); 432 Res->setHasNoSignedWrap(cast<BinaryOperator>(Inst)->hasNoSignedWrap());
|
/external/llvm/include/llvm/IR/ |
Instruction.h | 252 bool hasNoSignedWrap() const;
|
Operator.h | 102 bool hasNoSignedWrap() const {
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
Operator.h | 99 /// hasNoSignedWrap - Test whether this operation is known to never 101 bool hasNoSignedWrap() const {
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 90 if (Value *V = SimplifyAddInst(LHS, RHS, I.hasNoSignedWrap(), 153 New->setHasNoSignedWrap(I.hasNoSignedWrap()); 532 if (Value *V = SimplifySubInst(Op0, Op1, I.hasNoSignedWrap(), 543 Res->setHasNoSignedWrap(I.hasNoSignedWrap());
|
InstCombinePHI.cpp | 38 isNSW = BO->hasNoSignedWrap(); 61 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); 426 isNSW = BO->hasNoSignedWrap(); 449 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyIndVar.cpp | 495 if (BO->hasNoUnsignedWrap() && BO->hasNoSignedWrap()) 537 if (!BO->hasNoSignedWrap()) {
|
/external/llvm/lib/Target/AArch64/ |
AArch64AddressTypePromotion.cpp | 162 (BinOp->hasNoUnsignedWrap() || BinOp->hasNoSignedWrap()))
|