Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp288 if (isKnownNegation(I->getOperand(1), I->getOperand(2))) { in visitImpl()
H A DInstCombineCalls.cpp1000 if (isKnownNegation(I0, I1)) { in visitCallInst()
1009 bool IntMinIsPoison = isKnownNegation(I0, I1, /* NeedNSW */ true); in visitCallInst()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DValueTracking.h143 bool isKnownNegation(const Value *X, const Value *Y, bool NeedNSW = false);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInstructionSimplify.cpp626 if (isKnownNegation(Op0, Op1)) in SimplifyAddInst()
1150 if (isKnownNegation(Op0, Op1, /*NeedNSW=*/true)) in SimplifySDivInst()
1182 if (isKnownNegation(Op0, Op1)) in SimplifySRemInst()
H A DValueTracking.cpp5795 bool llvm::isKnownNegation(const Value *X, const Value *Y, bool NeedNSW) { in isKnownNegation() function in llvm
5936 if (isKnownNegation(TrueVal, FalseVal)) { in matchSelectPattern()