|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Constants.h 928 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
References
include/llvm/Analysis/TargetFolder.h 118 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
include/llvm/IR/ConstantFolder.h 126 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
include/llvm/IR/Constants.h 973 static Constant *getNSWNeg(Constant *C) { return getNeg(C, false, true); }
974 static Constant *getNUWNeg(Constant *C) { return getNeg(C, true, false); }
lib/Analysis/ScalarEvolution.cpp 3950 cast<ConstantInt>(ConstantExpr::getNeg(VC->getValue())));
lib/CodeGen/CodeGenPrepare.cpp 1202 Arg1 = ConstantExpr::getNeg(cast<Constant>(Arg1));
lib/IR/Core.cpp 1468 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal)));
lib/Transforms/InstCombine/InstCombineAddSub.cpp 1935 Value *NewMul = Builder.CreateMul(A, ConstantExpr::getNeg(C));
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 3071 return BinaryOperator::CreateSub(ConstantExpr::getNeg(AddOne(C)), X);
lib/Transforms/InstCombine/InstCombineCalls.cpp 2062 Value *NegVal = ConstantExpr::getNeg(C);
2112 Value *NegVal = ConstantExpr::getNeg(C);
lib/Transforms/InstCombine/InstCombineCompares.cpp 1750 ConstantExpr::getNeg(cast<Constant>(And->getOperand(1)));
2610 ConstantExpr::getNeg(cast<Constant>(Y)));
2617 ConstantExpr::getNeg(cast<Constant>(Y)));
3894 ConstantExpr::getNeg(RHSC));
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp 281 return BinaryOperator::CreateMul(X, ConstantExpr::getNeg(Op1C));
1456 Elts[i] = cast<ConstantInt>(ConstantExpr::getNeg(RHS));
lib/Transforms/InstCombine/InstCombineSelect.cpp 1282 auto *ThresholdLowIncl = ConstantExpr::getNeg(C1);
lib/Transforms/InstCombine/InstructionCombining.cpp 803 return ConstantExpr::getNeg(C);
807 return ConstantExpr::getNeg(C);
821 return ConstantExpr::getNeg(CV);
lib/Transforms/Scalar/Reassociate.cpp 819 ConstantExpr::getNeg(C);
lib/Transforms/Utils/LowerSwitch.cpp 363 Constant* NegLo = ConstantExpr::getNeg(Leaf.Low);
lib/Transforms/Utils/SimplifyCFG.cpp 4390 Constant *Offset = ConstantExpr::getNeg(ContiguousCases->back());
unittests/IR/ConstantsTest.cpp 231 CHECK(ConstantExpr::getNeg(P0), "sub i32 0, " P0STR);
unittests/IR/PatternMatch.cpp 512 Value *CNeg128 = ConstantExpr::getNeg(cast<Constant>(C128));
521 Value *CNegIntMin = ConstantExpr::getNeg(cast<Constant>(CIntMin));