Searched refs:getNeg (Results 1 – 15 of 15) sorted by relevance
/external/llvm/include/llvm/ |
D | Constants.h | 843 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/ |
D | ConstantFolder.h | 108 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
|
D | TargetFolder.h | 120 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 588 return BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(C)); in visitSub() 619 Value *NewMul = Builder->CreateMul(A, ConstantExpr::getNeg(CI)); in visitSub()
|
D | InstCombineAndOrXor.cpp | 293 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()
|
D | InstCombineMulDivRem.cpp | 543 ConstantExpr::getNeg(RHS)); in visitSDiv() 724 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS)); in visitSRem()
|
D | InstCombineCompares.cpp | 744 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()
|
D | InstructionCombining.cpp | 500 return ConstantExpr::getNeg(C); in dyn_castNegVal() 504 return ConstantExpr::getNeg(C); in dyn_castNegVal()
|
/external/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 190 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low); in newLeafBlock()
|
D | SimplifyCFG.cpp | 2857 Constant *Offset = ConstantExpr::getNeg(Cases.back()); in TurnSwitchRangeIntoICmp()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 802 return ConstantExpr::getNeg(C); in NegateValue()
|
/external/llvm/lib/VMCore/ |
D | Constants.cpp | 1903 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() function in ConstantExpr
|
D | Core.cpp | 733 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNeg()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 802 See the method [llvm::ConstantExpr::getNeg]. *)
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 2734 cast<ConstantInt>(ConstantExpr::getNeg(VC->getValue()))); in getNegativeSCEV()
|