/external/llvm/unittests/IR/ |
H A D | ConstantsTest.cpp | 28 Constant* NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true); local 29 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); 38 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); 42 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne)); 46 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); 50 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); 74 EXPECT_EQ(One, ConstantExpr::getMul(NegOne, One)); 78 EXPECT_EQ(One, ConstantExpr::getSDiv(NegOne, One)); 82 EXPECT_EQ(One, ConstantExpr::getSDiv(One, NegOne)); [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 163 ConstantInt *NegOne; local 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/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.cpp | 1849 SDValue NegOne = DAG.getConstant(-1, DL, VT); local 1873 SDValue LHSign = DAG.getSelectCC(DL, LHS, Zero, NegOne, Zero, ISD::SETLT); 1874 SDValue RHSign = DAG.getSelectCC(DL, RHS, Zero, NegOne, Zero, ISD::SETLT); 2076 const SDValue NegOne = DAG.getConstant(-1, SL, MVT::i32); local 2110 SDValue ExpEqNegOne = DAG.getSetCC(SL, SetCCVT, NegOne, Exp, ISD::SETEQ); 2148 const SDValue NegOne = DAG.getConstantFP(-1.0, SL, MVT::f64); local 2157 SDValue Add = DAG.getNode(ISD::SELECT, SL, MVT::f64, And, NegOne, Zero);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 356 Constant *NegOne = Ty->isIntOrIntVectorTy() ? local 359 BinaryOperator *Res = CreateMul(Neg->getOperand(1), NegOne, "", Neg, Neg);
|
H A D | LoopStrengthReduce.cpp | 345 const SCEV *NegOne = SE.getSCEV(ConstantInt::getAllOnesValue( local 348 Good.push_back(SE.getMulExpr(NegOne, S)); 350 Bad.push_back(SE.getMulExpr(NegOne, S));
|
/external/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 2292 APInt NegOne = APInt::getAllOnesValue(Width); local 2294 Upper = NegOne.udiv(CI2->getValue()) + 1; 2342 APInt NegOne = APInt::getAllOnesValue(Width); local 2344 Upper = NegOne.lshr(CI2->getValue()) + 1;
|
/external/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 2257 llvm::Value *NegOne = llvm::ConstantInt::get(Ty, -1ULL); local 2260 llvm::Value *RHSCmp = Builder.CreateICmpNE(Ops.RHS, NegOne);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 2119 Constant *NegOne = Constant::getAllOnesValue(SrcTy); 2120 Value *Result = Builder->CreateICmpSGT(LHSCIOp, NegOne, ICI.getName());
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 1084 SDValue NegOne = local 1086 return getNode(ISD::XOR, DL, VT, Val, NegOne);
|
H A D | DAGCombiner.cpp | 6152 SDValue NegOne = local 6156 NegOne, DAG.getConstant(0, DL, VT), 6169 NegOne, DAG.getConstant(0, DL, VT));
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 6838 Constant *NegOne = local 6841 SmallVector<Constant*, 4> CV(4, NegOne);
|
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 15126 SDValue NegOne = 15132 SDValue V = DAG.getNode(ISD::VSELECT, dl, ExtVT, In, NegOne, Zero); [all...] |