Searched refs:isEquality (Results 1 – 19 of 19) sorted by relevance
94 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) || in PredicatesFoldable()95 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1)); in PredicatesFoldable()
2753 if (ICI->isEquality() && isa<ConstantInt>(ICI->getOperand(1))) { in SimplifyUncondBranch()
786 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned()) in FoldICmpDivCst()941 if (!ICI.isEquality()) { in FoldICmpShrCst()1026 if (ICI.isEquality() && LHSI->hasOneUse()) { in visitICmpInstWithInstAndIntCst()1077 if (!ICI.isEquality() && XorCST->getValue().isSignBit()) { in visitICmpInstWithInstAndIntCst()1088 if (!ICI.isEquality() && XorCST->isMaxValue(true)) { in visitICmpInstWithInstAndIntCst()1114 if (ICI.isEquality() || in visitICmpInstWithInstAndIntCst()1131 if (ICI.isEquality() && RHSV.getActiveBits() <= Ty->getBitWidth()) { in visitICmpInstWithInstAndIntCst()1210 ICI.isEquality() && !Shift->isArithmeticShift() && in visitICmpInstWithInstAndIntCst()1245 if (!ICI.isEquality() || !RHS->isNullValue() || !LHSI->hasOneUse()) in visitICmpInstWithInstAndIntCst()1277 if (ICI.isEquality()) { in visitICmpInstWithInstAndIntCst()[all …]
570 if (!ICmpInst::isEquality(LHSCC)) in foldLogOpOfMaskedICmpsHelper()595 if (!ICmpInst::isEquality(RHSCC)) in foldLogOpOfMaskedICmpsHelper()639 assert(ICmpInst::isEquality(LHSCC) && ICmpInst::isEquality(RHSCC) && in foldLogOpOfMaskedICmps()817 (ICmpInst::isEquality(LHSCC) && in FoldAndOfICmps()1497 (ICmpInst::isEquality(LHSCC) && in FoldOrOfICmps()
540 ICI->isEquality()) { in transformZExtICmp()584 if (ICI->isEquality() && CI.getType() == ICI->getOperand(0)->getType()) { in transformZExtICmp()909 ICI->isEquality() && (Op1C->isZero() || Op1C->getValue().isPowerOf2())){ in transformSExtICmp()
589 if (!IC || !IC->isEquality()) in foldSelectICmpAnd()
1119 if (ICI->isEquality() && isa<ConstantPointerNull>(ICI->getOperand(1))) { in IsOnlyNullComparedAndFreed()
191 if (!CI || !CI->isEquality()) in calcPointerHeuristics()348 if (FCmp->isEquality()) { in calcFloatingPointHeuristics()
522 if (I.isEquality() && isa<ConstantPointerNull>(I.getOperand(1))) in visitICmp()
801 if (ICI->isEquality() && ICI->getOperand(0) == Val) { in getEdgeValue()
2033 NoLHSWrapProblem = ICmpInst::isEquality(Pred) || in SimplifyICmpInst()2039 NoRHSWrapProblem = ICmpInst::isEquality(Pred) || in SimplifyICmpInst()2363 (ICmpInst::isEquality(Pred) || in SimplifyICmpInst()
991 static bool isEquality(Predicate P) {997 bool isEquality() const {998 return isEquality(getPredicate());1003 bool isCommutative() const { return isEquality(); }1008 return !isEquality();1014 return !isEquality(P);1112 bool isEquality() const {1120 return isEquality() ||1129 bool isRelational() const { return !isEquality(); }
772 bool isEquality() const;
94 if (IC->isEquality()) in IsOnlyUsedInZeroEqualityComparison()119 if (IC->isEquality() && IC->getOperand(1) == With) in IsOnlyUsedInEqualityComparison()
1429 if (cast<ICmpInst>(I)->isEquality()) in ResolvedUndefsIn()
2794 if (CI->isEquality()) { in CollectFixupsAndInitialFormulae()
2906 bool CmpInst::isEquality() const { in isEquality() function in CmpInst2908 return IC->isEquality(); in isEquality()2909 return cast<FCmpInst>(this)->isEquality(); in isEquality()
1589 if (ICmpInst::isEquality(ICmpInst::Predicate(pred)) || in ConstantFoldCompareInstruction()
5352 if (IC->isEquality()) in IsOnlyUsedInZeroEqualityComparison()