Searched refs:isKnownNegation (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineNegator.cpp | 316 if (isKnownNegation(I->getOperand(1), I->getOperand(2))) { in visitImpl()
|
| H A D | InstCombineCalls.cpp | 1391 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 D | ValueTracking.h | 142 bool isKnownNegation(const Value *X, const Value *Y, bool NeedNSW = false);
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 648 if (isKnownNegation(Op0, Op1)) in simplifyAddInst() 1192 if (isKnownNegation(Op0, Op1, /*NeedNSW=*/true)) in simplifySDivInst() 1224 if (isKnownNegation(Op0, Op1)) in simplifySRemInst()
|
| H A D | ValueTracking.cpp | 6034 bool llvm::isKnownNegation(const Value *X, const Value *Y, bool NeedNSW) { in isKnownNegation() function in llvm 6175 if (isKnownNegation(TrueVal, FalseVal)) { in matchSelectPattern()
|