Searched refs:isEquality (Results 1 – 21 of 21) sorted by relevance
94 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) || in PredicatesFoldable()95 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1)); in PredicatesFoldable()
65 if (IC->isEquality()) in isOnlyUsedInZeroEqualityComparison()80 if (IC->isEquality() && IC->getOperand(1) == With) in isOnlyUsedInEqualityComparison()
560 if (ICI->isEquality() && GetConstantInt(ICI->getOperand(1), DL)) in isValueEqualityComparison()4884 if (ICI->isEquality() && isa<ConstantInt>(ICI->getOperand(1))) { in SimplifyUncondBranch()
735 assert(ICI.isEquality() && "Cannot fold non-equality comparison."); in FoldAllocaCmp()874 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned()) in FoldICmpDivCst()1028 if (!ICI.isEquality()) { in FoldICmpShrCst()1107 assert(I.isEquality() && "Cannot fold icmp gt/lt"); in FoldICmpCstShrCst()1171 assert(I.isEquality() && "Cannot fold icmp gt/lt"); in FoldICmpCstShlCst()1228 if (ICI.isEquality() && LHSI->hasOneUse()) { in visitICmpInstWithInstAndIntCst()1279 if (!ICI.isEquality() && XorCst->getValue().isSignBit()) { in visitICmpInstWithInstAndIntCst()1289 if (!ICI.isEquality() && XorCst->isMaxValue(true)) { in visitICmpInstWithInstAndIntCst()1326 if (ICI.isEquality() || in visitICmpInstWithInstAndIntCst()1343 if (ICI.isEquality() && RHSV.getActiveBits() <= Ty->getBitWidth()) { in visitICmpInstWithInstAndIntCst()[all …]
302 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) in foldSelectICmpAndOr()366 if (!ICI->isEquality() || !match(CmpRHS, m_Zero())) in foldSelectCttzCtlz()552 if (ICmpInst::isEquality(Pred) && in visitSelectInstWithICmp()759 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) in foldSelectICmpAnd()
633 if (!ICmpInst::isEquality(LHSCC)) in foldLogOpOfMaskedICmpsHelper()665 if (!ICmpInst::isEquality(RHSCC)) in foldLogOpOfMaskedICmpsHelper()710 assert(ICmpInst::isEquality(LHSCC) && ICmpInst::isEquality(RHSCC) && in foldLogOpOfMaskedICmps()994 (ICmpInst::isEquality(LHSCC) && in FoldAndOfICmps()1968 (ICmpInst::isEquality(LHSCC) && in FoldOrOfICmps()
622 ICI->isEquality()) { in transformZExtICmp()666 if (ICI->isEquality() && CI.getType() == ICI->getOperand(0)->getType()) { in transformZExtICmp()998 ICI->isEquality() && (Op1C->isZero() || Op1C->getValue().isPowerOf2())){ in transformSExtICmp()
1884 if (!ICI->isEquality() || !isa<ConstantPointerNull>(ICI->getOperand(1))) in isAllocSiteRemovable()
306 if (!CI || !CI->isEquality()) in calcPointerHeuristics()483 if (FCmp->isEquality()) { in calcFloatingPointHeuristics()
1470 !ICmpInst::isEquality(EqPred)) in simplifyUnsignedRangeCheck()2600 NoLHSWrapProblem = ICmpInst::isEquality(Pred) || in SimplifyICmpInst()2606 NoRHSWrapProblem = ICmpInst::isEquality(Pred) || in SimplifyICmpInst()3045 (ICmpInst::isEquality(Pred) || in SimplifyICmpInst()3066 if (ICmpInst::isEquality(Pred)) { in SimplifyICmpInst()3352 if (ICmpInst::isEquality(Pred) && in SimplifySelectInst()
586 if (I.isEquality() && isa<ConstantPointerNull>(I.getOperand(1)) && in visitCmpInst()
899 if (ICI->isEquality() && ICI->getOperand(0) == Val) { in getValueFromFromCondition()
4063 if (CmpI->isEquality()) in matchSelectPattern()
1192 static bool isEquality(Predicate P) {1198 bool isEquality() const {1199 return isEquality(getPredicate());1204 bool isCommutative() const { return isEquality(); }1209 return !isEquality();1215 return !isEquality(P);1314 static bool isEquality(Predicate Pred) {1321 bool isEquality() const { return isEquality(getPredicate()); }1326 return isEquality() ||1335 bool isRelational() const { return !isEquality(); }
1022 bool isEquality() const;
3353 bool CmpInst::isEquality() const { in isEquality() function in CmpInst3355 return IC->isEquality(); in isEquality()3356 return cast<FCmpInst>(this)->isEquality(); in isEquality()
1682 if (ICmpInst::isEquality(Predicate) || (isIntegerPredicate && C1 == C2)) in ConstantFoldCompareInstruction()
1432 if (cast<ICmpInst>(&I)->isEquality()) in ResolvedUndefsIn()
2982 if (CI->isEquality()) { in CollectFixupsAndInitialFormulae()
1806 if (I.isEquality()) { in visitICmpInst()
5394 if (IC->isEquality()) in IsOnlyUsedInZeroEqualityComparison()