/external/llvm/include/llvm/IR/ |
D | Constants.h | 875 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); }
|
D | ConstantFolder.h | 108 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Constants.h | 929 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); }
|
D | ConstantFolder.h | 126 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 118 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 120 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1157 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()
|
D | InstCombineAndOrXor.cpp | 308 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()
|
D | InstCombineMulDivRem.cpp | 1180 auto *BO = BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(RHS)); in visitSDiv() 1512 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS)); in visitSRem()
|
D | InstCombineAddSub.cpp | 1621 return BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(C)); in visitSub() 1639 Value *NewMul = Builder->CreateMul(A, ConstantExpr::getNeg(CI)); in visitSub()
|
D | InstructionCombining.cpp | 669 return ConstantExpr::getNeg(C); in dyn_castNegVal() 673 return ConstantExpr::getNeg(C); in dyn_castNegVal()
|
/external/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 321 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low); in newLeafBlock()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIPeepholeSDWA.cpp | 159 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/ |
D | LowerSwitch.cpp | 364 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low); in newLeafBlock()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 231 CHECK(ConstantExpr::getNeg(P0), "sub i32 0, " P0STR); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 281 return BinaryOperator::CreateMul(X, ConstantExpr::getNeg(Op1C)); in visitMul() 1466 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS)); in visitSRem()
|
D | InstructionCombining.cpp | 835 return ConstantExpr::getNeg(C); in dyn_castNegVal() 839 return ConstantExpr::getNeg(C); in dyn_castNegVal() 853 return ConstantExpr::getNeg(CV); in dyn_castNegVal()
|
D | InstCombineAddSub.cpp | 1980 BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(Op11C)); in visitSub() 2020 Value *NewMul = Builder.CreateMul(A, ConstantExpr::getNeg(C)); in visitSub()
|
D | InstCombineCompares.cpp | 1750 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()
|
D | InstCombineCalls.cpp | 2068 Value *NegVal = ConstantExpr::getNeg(C); in visitCallInst() 2118 Value *NegVal = ConstantExpr::getNeg(C); in visitCallInst()
|
D | InstCombineSelect.cpp | 1296 auto *ThresholdLowIncl = ConstantExpr::getNeg(C1); in canonicalizeClampLike()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 792 return ConstantExpr::getNeg(C); in NegateValue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 820 ConstantExpr::getNeg(C); in NegateValue()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 2113 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() function in ConstantExpr
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Constants.cpp | 2299 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() function in ConstantExpr
|