Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp316 if (isKnownNegation(I->getOperand(1), I->getOperand(2))) { in visitImpl()
H A DInstCombineCalls.cpp1391 if (isKnownNegation(I0, I1)) { in visitCallInst()
1400 bool IntMinIsPoison = isKnownNegation(I0, I1, /* NeedNSW */ true); in visitCallInst()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DValueTracking.h142 bool isKnownNegation(const Value *X, const Value *Y, bool NeedNSW = false);
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInstructionSimplify.cpp648 if (isKnownNegation(Op0, Op1)) in simplifyAddInst()
1192 if (isKnownNegation(Op0, Op1, /*NeedNSW=*/true)) in simplifySDivInst()
1224 if (isKnownNegation(Op0, Op1)) in simplifySRemInst()
H A DValueTracking.cpp6034 bool llvm::isKnownNegation(const Value *X, const Value *Y, bool NeedNSW) { in isKnownNegation() function in llvm
6175 if (isKnownNegation(TrueVal, FalseVal)) { in matchSelectPattern()