Home
last modified time | relevance | path

Searched refs:isEquality (Results 1 – 19 of 19) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp94 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) || in PredicatesFoldable()
95 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1)); in PredicatesFoldable()
DSimplifyCFG.cpp2753 if (ICI->isEquality() && isa<ConstantInt>(ICI->getOperand(1))) { in SimplifyUncondBranch()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp786 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 …]
DInstCombineAndOrXor.cpp570 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()
DInstCombineCasts.cpp540 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()
DInstCombineSelect.cpp589 if (!IC || !IC->isEquality()) in foldSelectICmpAnd()
DInstructionCombining.cpp1119 if (ICI->isEquality() && isa<ConstantPointerNull>(ICI->getOperand(1))) { in IsOnlyNullComparedAndFreed()
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp191 if (!CI || !CI->isEquality()) in calcPointerHeuristics()
348 if (FCmp->isEquality()) { in calcFloatingPointHeuristics()
DInlineCost.cpp522 if (I.isEquality() && isa<ConstantPointerNull>(I.getOperand(1))) in visitICmp()
DLazyValueInfo.cpp801 if (ICI->isEquality() && ICI->getOperand(0) == Val) { in getEdgeValue()
DInstructionSimplify.cpp2033 NoLHSWrapProblem = ICmpInst::isEquality(Pred) || in SimplifyICmpInst()
2039 NoRHSWrapProblem = ICmpInst::isEquality(Pred) || in SimplifyICmpInst()
2363 (ICmpInst::isEquality(Pred) || in SimplifyICmpInst()
/external/llvm/include/llvm/
DInstructions.h991 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(); }
DInstrTypes.h772 bool isEquality() const;
/external/llvm/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp94 if (IC->isEquality()) in IsOnlyUsedInZeroEqualityComparison()
119 if (IC->isEquality() && IC->getOperand(1) == With) in IsOnlyUsedInEqualityComparison()
DSCCP.cpp1429 if (cast<ICmpInst>(I)->isEquality()) in ResolvedUndefsIn()
DLoopStrengthReduce.cpp2794 if (CI->isEquality()) { in CollectFixupsAndInitialFormulae()
/external/llvm/lib/VMCore/
DInstructions.cpp2906 bool CmpInst::isEquality() const { in isEquality() function in CmpInst
2908 return IC->isEquality(); in isEquality()
2909 return cast<FCmpInst>(this)->isEquality(); in isEquality()
DConstantFold.cpp1589 if (ICmpInst::isEquality(ICmpInst::Predicate(pred)) || in ConstantFoldCompareInstruction()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp5352 if (IC->isEquality()) in IsOnlyUsedInZeroEqualityComparison()