| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A 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); }
|
| H A D | ConstantFolder.h | 127 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 119 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 235 return BinaryOperator::CreateMul(X, ConstantExpr::getNeg(Op1C)); in visitMul() 1014 auto *BO = BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(RHS)); in visitSDiv() 1342 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS)); in visitSRem()
|
| H A D | InstCombineAddSub.cpp | 1631 return BinaryOperator::CreateSDiv(X, ConstantExpr::getNeg(C)); in visitSub() 1659 Value *NewMul = Builder.CreateMul(A, ConstantExpr::getNeg(C)); in visitSub()
|
| H A D | InstructionCombining.cpp | 763 return ConstantExpr::getNeg(C); in dyn_castNegVal() 767 return ConstantExpr::getNeg(C); in dyn_castNegVal() 781 return ConstantExpr::getNeg(CV); in dyn_castNegVal()
|
| H A D | InstCombineCompares.cpp | 2413 ConstantExpr::getNeg(cast<Constant>(Y))); in foldICmpAddConstant() 2420 ConstantExpr::getNeg(cast<Constant>(Y))); in foldICmpAddConstant() 2728 Constant *NegBOC = ConstantExpr::getNeg(cast<Constant>(BOp1)); in foldICmpBinOpEqualityWithConstant() 3320 ConstantExpr::getNeg(RHSC)); in foldICmpBinOp()
|
| H A D | InstCombineAndOrXor.cpp | 2767 return BinaryOperator::CreateSub(ConstantExpr::getNeg(AddOne(C)), X); in visitXor()
|
| H A D | InstCombineCalls.cpp | 2089 Value *NegVal = ConstantExpr::getNeg(C); in visitCallInst()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 333 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low); in newLeafBlock()
|
| H A D | SimplifyCFG.cpp | 4330 Constant *Offset = ConstantExpr::getNeg(ContiguousCases->back()); in TurnSwitchRangeIntoICmp()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | SIPeepholeSDWA.cpp | 159 bool getNeg() const { return Neg; } in getNeg() function in __anon536d3cb50111::SDWASrcOperand 256 << " abs:" << getAbs() << " neg:" << getNeg() in print()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 814 ConstantExpr::getNeg(C); in NegateValue()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Constants.cpp | 2219 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() function in ConstantExpr
|
| H A D | Core.cpp | 1444 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNeg()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 3965 cast<ConstantInt>(ConstantExpr::getNeg(VC->getValue()))); in getNegativeSCEV()
|