Home
last modified time | relevance | path

Searched refs:getNeg (Results 1 – 15 of 15) sorted by relevance

/external/llvm/include/llvm/
DConstants.h843 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
881 static Constant *getNSWNeg(Constant *C) { return getNeg(C, false, true); }
882 static Constant *getNUWNeg(Constant *C) { return getNeg(C, true, false); }
/external/llvm/include/llvm/Support/
DConstantFolder.h108 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
DTargetFolder.h120 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp588 return BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(C)); in visitSub()
619 Value *NewMul = Builder->CreateMul(A, ConstantExpr::getNeg(CI)); in visitSub()
DInstCombineAndOrXor.cpp293 Constant *NegLo = ConstantExpr::getNeg(Lo); in InsertRangeTest()
312 ConstantInt *NegLo = cast<ConstantInt>(ConstantExpr::getNeg(Lo)); in InsertRangeTest()
864 Constant *AddCST = ConstantExpr::getNeg(LHSCst); in FoldAndOfICmps()
1529 Constant *AddCST = ConstantExpr::getNeg(LHSCst); in FoldOrOfICmps()
2126 Constant *NegOp0I0C = ConstantExpr::getNeg(Op0I0C); in visitXor()
2136 Constant *NegOp0CI = ConstantExpr::getNeg(Op0CI); in visitXor()
DInstCombineMulDivRem.cpp543 ConstantExpr::getNeg(RHS)); in visitSDiv()
724 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS)); in visitSRem()
DInstCombineCompares.cpp744 return new ICmpInst(ICmpInst::ICMP_ULT, X, ConstantExpr::getNeg(CI)); in FoldICmpAddOpCst()
841 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
853 ConstantInt *DivNeg =cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
859 RangeSize = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
863 HiBound = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
1499 Constant *NegX = ConstantExpr::getNeg(BOC); in visitICmpInstWithInstAndIntCst()
DInstructionCombining.cpp500 return ConstantExpr::getNeg(C); in dyn_castNegVal()
504 return ConstantExpr::getNeg(C); in dyn_castNegVal()
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp190 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low); in newLeafBlock()
DSimplifyCFG.cpp2857 Constant *Offset = ConstantExpr::getNeg(Cases.back()); in TurnSwitchRangeIntoICmp()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp802 return ConstantExpr::getNeg(C); in NegateValue()
/external/llvm/lib/VMCore/
DConstants.cpp1903 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() function in ConstantExpr
DCore.cpp733 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNeg()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli802 See the method [llvm::ConstantExpr::getNeg]. *)
/external/llvm/lib/Analysis/
DScalarEvolution.cpp2734 cast<ConstantInt>(ConstantExpr::getNeg(VC->getValue()))); in getNegativeSCEV()