Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/include/llvm/
DConstants.h626 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
664 static Constant *getNSWNeg(Constant *C) { return getNeg(C, false, true); }
665 static Constant *getNUWNeg(Constant *C) { return getNeg(C, true, false); }
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstants.h925 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
970 static Constant *getNSWNeg(Constant *C) { return getNeg(C, false, true); }
971 static Constant *getNUWNeg(Constant *C) { return getNeg(C, true, false); }
DConstantFolder.h127 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
/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/include/llvm/Support/
DConstantFolder.h108 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
DTargetFolder.h120 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp356 Constant *NegLo = ConstantExpr::getNeg(Lo); in InsertRangeTest()
375 ConstantInt *NegLo = cast<ConstantInt>(ConstantExpr::getNeg(Lo)); in InsertRangeTest()
884 Constant *AddCST = ConstantExpr::getNeg(LHSCst); in FoldAndOfICmps()
1562 Constant *AddCST = ConstantExpr::getNeg(LHSCst); in FoldOrOfICmps()
2149 Constant *NegOp0I0C = ConstantExpr::getNeg(Op0I0C); in visitXor()
2159 Constant *NegOp0CI = ConstantExpr::getNeg(Op0CI); in visitXor()
DInstCombineMulDivRem.cpp530 ConstantExpr::getNeg(RHS)); in visitSDiv()
701 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS)); in visitSRem()
DInstCombineAddSub.cpp624 return BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(C)); in visitSub()
655 Value *NewMul = Builder->CreateMul(A, ConstantExpr::getNeg(CI)); in visitSub()
DInstCombineCompares.cpp716 return new ICmpInst(ICmpInst::ICMP_ULT, X, ConstantExpr::getNeg(CI)); in FoldICmpAddOpCst()
813 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
825 ConstantInt *DivNeg =cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
831 RangeSize = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
835 HiBound = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
1472 Constant *NegX = ConstantExpr::getNeg(BOC); in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h119 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerSwitch.cpp202 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low); in newLeafBlock()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp236 return BinaryOperator::CreateMul(X, ConstantExpr::getNeg(Op1C)); in visitMul()
1079 auto *BO = BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(RHS)); in visitSDiv()
1406 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS)); in visitSRem()
DInstCombineAddSub.cpp1753 return BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(C)); in visitSub()
1782 Value *NewMul = Builder.CreateMul(A, ConstantExpr::getNeg(CI)); in visitSub()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp157 bool getNeg() const { return Neg; } in getNeg() function in __anon3d5317d30111::SDWASrcOperand
254 << " abs:" << getAbs() << " neg:" << getNeg() in print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp333 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low); in newLeafBlock()
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp321 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low); in newLeafBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantsTest.cpp232 CHECK(ConstantExpr::getNeg(P0), "sub i32 0, " P0STR); in TEST()
/external/llvm/unittests/IR/
DConstantsTest.cpp231 CHECK(ConstantExpr::getNeg(P0), "sub i32 0, " P0STR); in TEST()

12