Searched refs:NegOne (Results 1 - 12 of 12) sorted by relevance

/external/llvm/unittests/IR/
H A DConstantsTest.cpp28 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 DIntegerDivision.cpp163 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 DAMDGPUISelLowering.cpp1849 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 DReassociate.cpp356 Constant *NegOne = Ty->isIntOrIntVectorTy() ? local
359 BinaryOperator *Res = CreateMul(Neg->getOperand(1), NegOne, "", Neg, Neg);
H A DLoopStrengthReduce.cpp345 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 DInstructionSimplify.cpp2292 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 DCGExprScalar.cpp2257 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 DInstCombineCompares.cpp2119 Constant *NegOne = Constant::getAllOnesValue(SrcTy);
2120 Value *Result = Builder->CreateICmpSGT(LHSCIOp, NegOne, ICI.getName());
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1084 SDValue NegOne = local
1086 return getNode(ISD::XOR, DL, VT, Val, NegOne);
H A DDAGCombiner.cpp6152 SDValue NegOne = local
6156 NegOne, DAG.getConstant(0, DL, VT),
6169 NegOne, DAG.getConstant(0, DL, VT));
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp6838 Constant *NegOne = local
6841 SmallVector<Constant*, 4> CV(4, NegOne);
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp15126 SDValue NegOne =
15132 SDValue V = DAG.getNode(ISD::VSELECT, dl, ExtVT, In, NegOne, Zero);
[all...]

Completed in 479 milliseconds