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()
72 if (IC->isEquality()) in isOnlyUsedInZeroEqualityComparison()87 if (IC->isEquality() && IC->getOperand(1) == With) in isOnlyUsedInEqualityComparison()
535 if (ICI->isEquality() && GetConstantInt(ICI->getOperand(1), DL)) in isValueEqualityComparison()4443 if (ICI->isEquality() && isa<ConstantInt>(ICI->getOperand(1))) { in SimplifyUncondBranch()
804 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned()) in FoldICmpDivCst()959 if (!ICI.isEquality()) { in FoldICmpShrCst()1039 assert(I.isEquality() && "Cannot fold icmp gt/lt"); in FoldICmpCstShrCst()1099 assert(I.isEquality() && "Cannot fold icmp gt/lt"); in FoldICmpCstShlCst()1148 if (ICI.isEquality() && LHSI->hasOneUse()) { in visitICmpInstWithInstAndIntCst()1199 if (!ICI.isEquality() && XorCst->getValue().isSignBit()) { in visitICmpInstWithInstAndIntCst()1209 if (!ICI.isEquality() && XorCst->isMaxValue(true)) { in visitICmpInstWithInstAndIntCst()1246 if (ICI.isEquality() || in visitICmpInstWithInstAndIntCst()1263 if (ICI.isEquality() && RHSV.getActiveBits() <= Ty->getBitWidth()) { in visitICmpInstWithInstAndIntCst()1357 ICI.isEquality() && !Shift->isArithmeticShift() && in visitICmpInstWithInstAndIntCst()[all …]
395 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) in foldSelectICmpAndOr()459 if (!ICI->isEquality() || !match(CmpRHS, m_Zero())) in foldSelectCttzCtlz()681 if (ICmpInst::isEquality(Pred) && in visitSelectInstWithICmp()843 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) in foldSelectICmpAnd()
635 if (!ICmpInst::isEquality(LHSCC)) in foldLogOpOfMaskedICmpsHelper()667 if (!ICmpInst::isEquality(RHSCC)) in foldLogOpOfMaskedICmpsHelper()712 assert(ICmpInst::isEquality(LHSCC) && ICmpInst::isEquality(RHSCC) && in foldLogOpOfMaskedICmps()996 (ICmpInst::isEquality(LHSCC) && in FoldAndOfICmps()1879 (ICmpInst::isEquality(LHSCC) && in FoldOrOfICmps()
547 ICI->isEquality()) { in transformZExtICmp()591 if (ICI->isEquality() && CI.getType() == ICI->getOperand(0)->getType()) { in transformZExtICmp()924 ICI->isEquality() && (Op1C->isZero() || Op1C->getValue().isPowerOf2())){ in transformSExtICmp()
1819 if (!ICI->isEquality() || !isa<ConstantPointerNull>(ICI->getOperand(1))) in isAllocSiteRemovable()
1107 static bool isEquality(Predicate P) {1113 bool isEquality() const {1114 return isEquality(getPredicate());1119 bool isCommutative() const { return isEquality(); }1124 return !isEquality();1130 return !isEquality(P);1227 static bool isEquality(Predicate Pred) {1234 bool isEquality() const { return isEquality(getPredicate()); }1239 return isEquality() ||1248 bool isRelational() const { return !isEquality(); }
818 bool isEquality() const;
284 if (!CI || !CI->isEquality()) in calcPointerHeuristics()460 if (FCmp->isEquality()) { in calcFloatingPointHeuristics()
1456 !ICmpInst::isEquality(EqPred)) in simplifyUnsignedRangeCheck()2528 NoLHSWrapProblem = ICmpInst::isEquality(Pred) || in SimplifyICmpInst()2534 NoRHSWrapProblem = ICmpInst::isEquality(Pred) || in SimplifyICmpInst()2973 (ICmpInst::isEquality(Pred) || in SimplifyICmpInst()2994 if (ICmpInst::isEquality(Pred)) { in SimplifyICmpInst()3186 if (ICmpInst::isEquality(Pred) && in SimplifySelectInst()
838 if (ICI->isEquality() && ICI->getOperand(0) == Val) { in getValueFromFromCondition()
541 if (I.isEquality() && isa<ConstantPointerNull>(I.getOperand(1))) in visitCmpInst()
3082 bool CmpInst::isEquality() const { in isEquality() function in CmpInst3084 return IC->isEquality(); in isEquality()3085 return cast<FCmpInst>(this)->isEquality(); in isEquality()
1676 if (ICmpInst::isEquality(Predicate) || (isIntegerPredicate && C1 == C2)) in ConstantFoldCompareInstruction()
1618 if (!Compare || !Compare->isEquality()) in findCleanupHandlers()
1424 if (cast<ICmpInst>(I)->isEquality()) in ResolvedUndefsIn()
3007 if (CI->isEquality()) { in CollectFixupsAndInitialFormulae()
1740 if (I.isEquality()) { in visitICmpInst()
5580 if (IC->isEquality()) in IsOnlyUsedInZeroEqualityComparison()