Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DConstants.h875 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
920 static Constant *getNSWNeg(Constant *C) { return getNeg(C, false, true); }
921 static Constant *getNUWNeg(Constant *C) { return getNeg(C, true, false); }
DConstantFolder.h108 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h929 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
974 static Constant *getNSWNeg(Constant *C) { return getNeg(C, false, true); }
975 static Constant *getNUWNeg(Constant *C) { return getNeg(C, true, false); }
DConstantFolder.h126 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h118 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
/external/llvm/include/llvm/Analysis/
DTargetFolder.h120 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1157 return new ICmpInst(ICmpInst::ICMP_ULT, X, ConstantExpr::getNeg(CI)); in FoldICmpAddOpCst()
1253 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
1265 ConstantInt *DivNeg =cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
1271 RangeSize = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
1275 HiBound = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
2185 ConstantExpr::getNeg(LHSC)); in visitICmpInstWithInstAndIntCst()
2194 ConstantExpr::getNeg(LHSC)); in visitICmpInstWithInstAndIntCst()
2317 Constant *NegX = ConstantExpr::getNeg(BOC); in visitICmpInstWithInstAndIntCst()
3818 return new ICmpInst(Pred, A, ConstantExpr::getNeg(RHSC)); in visitICmpInst()
3969 ConstantExpr::getNeg(RHSC)); in visitICmpInst()
DInstCombineAndOrXor.cpp308 Constant *NegLo = ConstantExpr::getNeg(Lo); in InsertRangeTest()
327 ConstantInt *NegLo = cast<ConstantInt>(ConstantExpr::getNeg(Lo)); in InsertRangeTest()
1020 Constant *AddCST = ConstantExpr::getNeg(LHSCst); in FoldAndOfICmps()
1908 Constant *AddCST = ConstantExpr::getNeg(LHSCst); in FoldOrOfICmps()
2567 Constant *NegOp0I0C = ConstantExpr::getNeg(Op0I0C); in visitXor()
2577 Constant *NegOp0CI = ConstantExpr::getNeg(Op0CI); in visitXor()
DInstCombineMulDivRem.cpp1180 auto *BO = BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(RHS)); in visitSDiv()
1512 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS)); in visitSRem()
DInstCombineAddSub.cpp1621 return BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(C)); in visitSub()
1639 Value *NewMul = Builder->CreateMul(A, ConstantExpr::getNeg(CI)); in visitSub()
DInstructionCombining.cpp669 return ConstantExpr::getNeg(C); in dyn_castNegVal()
673 return ConstantExpr::getNeg(C); in dyn_castNegVal()
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp321 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low); in newLeafBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp159 bool getNeg() const { return Neg; } in getNeg() function in __anon4eaec4190111::SDWASrcOperand
251 << " abs:" << getAbs() << " neg:" << getNeg() in print()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp364 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low); in newLeafBlock()
/external/llvm/unittests/IR/
DConstantsTest.cpp231 CHECK(ConstantExpr::getNeg(P0), "sub i32 0, " P0STR); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp281 return BinaryOperator::CreateMul(X, ConstantExpr::getNeg(Op1C)); in visitMul()
1466 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS)); in visitSRem()
DInstructionCombining.cpp835 return ConstantExpr::getNeg(C); in dyn_castNegVal()
839 return ConstantExpr::getNeg(C); in dyn_castNegVal()
853 return ConstantExpr::getNeg(CV); in dyn_castNegVal()
DInstCombineAddSub.cpp1980 BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(Op11C)); in visitSub()
2020 Value *NewMul = Builder.CreateMul(A, ConstantExpr::getNeg(C)); in visitSub()
DInstCombineCompares.cpp1750 ConstantExpr::getNeg(cast<Constant>(And->getOperand(1))); in foldICmpAndConstConst()
2610 ConstantExpr::getNeg(cast<Constant>(Y))); in foldICmpAddConstant()
2617 ConstantExpr::getNeg(cast<Constant>(Y))); in foldICmpAddConstant()
3929 ConstantExpr::getNeg(RHSC)); in foldICmpBinOp()
DInstCombineCalls.cpp2068 Value *NegVal = ConstantExpr::getNeg(C); in visitCallInst()
2118 Value *NegVal = ConstantExpr::getNeg(C); in visitCallInst()
DInstCombineSelect.cpp1296 auto *ThresholdLowIncl = ConstantExpr::getNeg(C1); in canonicalizeClampLike()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp792 return ConstantExpr::getNeg(C); in NegateValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp820 ConstantExpr::getNeg(C); in NegateValue()
/external/llvm/lib/IR/
DConstants.cpp2113 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() function in ConstantExpr
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp2299 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() function in ConstantExpr

12