Home
last modified time | relevance | path

Searched refs:isKnownNegation (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp327 if (isKnownNegation(I->getOperand(1), I->getOperand(2), /*NeedNSW=*/false, in visitImpl()
H A DInstCombineCalls.cpp2113 if (isKnownNegation(I0, I1)) { in visitCallInst()
2122 bool IntMinIsPoison = isKnownNegation(I0, I1, /* NeedNSW */ true); in visitCallInst()
H A DInstCombineMulDivRem.cpp1881 if (isKnownNegation(Op0, Op1)) { in visitSDiv()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h158 LLVM_ABI bool isKnownNegation(const Value *X, const Value *Y,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp610 if (isKnownNegation(Op0, Op1)) in simplifyAddInst()
1211 if (isKnownNegation(Op0, Op1, /*NeedNSW=*/true)) in simplifySDivInst()
1245 if (isKnownNegation(Op0, Op1)) in simplifySRemInst()
H A DValueTracking.cpp8449 bool llvm::isKnownNegation(const Value *X, const Value *Y, bool NeedNSW, in isKnownNegation() function in llvm
8726 if (isKnownNegation(TrueVal, FalseVal)) { in matchSelectPattern()