/external/llvm/unittests/IR/ |
ConstantsTest.cpp | 25 Constant* NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true); 26 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); 35 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); 39 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne)); 43 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); 47 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); 71 EXPECT_EQ(One, ConstantExpr::getMul(NegOne, One)); 75 EXPECT_EQ(One, ConstantExpr::getSDiv(NegOne, One)); 79 EXPECT_EQ(One, ConstantExpr::getSDiv(One, NegOne)); [all...] |
/external/llvm/lib/Transforms/Utils/ |
IntegerDivision.cpp | 163 ConstantInt *NegOne; 169 NegOne = ConstantInt::getSigned(DivTy, -1); 175 NegOne = ConstantInt::getSigned(DivTy, -1); 284 Value *Tmp4 = Builder.CreateAdd(Divisor, NegOne); 320 Value *SR_2 = Builder.CreateAdd(SR_3, NegOne);
|
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | [all...] |
/external/llvm/lib/Target/R600/ |
AMDGPUISelLowering.cpp | [all...] |
/external/clang/lib/CodeGen/ |
CGExprScalar.cpp | [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | [all...] |
DAGCombiner.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LoopStrengthReduce.cpp | 328 const SCEV *NegOne = SE.getSCEV(ConstantInt::getAllOnesValue( 332 Good.push_back(SE.getMulExpr(NegOne, *I)); 335 Bad.push_back(SE.getMulExpr(NegOne, *I)); [all...] |