/external/llvm/lib/Transforms/Utils/ |
D | CmpInstAnalysis.cpp | 51 case ICmpInst::ICMP_EQ: return 2; // 010 in getICmpCode() 79 case 2: NewICmpPred = ICmpInst::ICMP_EQ; break; in getICmpValue()
|
D | SimplifyIndVar.cpp | 221 ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ, in eliminateIVRemainder()
|
D | LowerSwitch.cpp | 308 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_EQ, Val, in newLeafBlock()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 413 return new ICmpInst(ICmpInst::ICMP_EQ, Idx, FirstTrueIdx); in FoldCmpLoadFromIndexedGlobal() 905 case ICmpInst::ICMP_EQ: in FoldICmpDivCst() 1075 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShrCst() 1088 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst() 1127 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShlCst() 1133 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShlCst() 1334 if (ICI.getPredicate() == ICmpInst::ICMP_EQ) in visitICmpInstWithInstAndIntCst() 1447 ICI.getPredicate() == ICmpInst::ICMP_EQ ? ICmpInst::ICMP_UGT in visitICmpInstWithInstAndIntCst() 1464 if (ICI.getPredicate() == ICmpInst::ICMP_EQ) in visitICmpInstWithInstAndIntCst() 1516 Pred = ICmpInst::ICMP_EQ; in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineAndOrXor.cpp | 459 bool icmp_eq = (SCC == ICmpInst::ICMP_EQ); in getTypeOfMaskedICmp() 564 Pred = ICmpInst::ICMP_EQ; in decomposeBitTestICmp() 571 Pred = ICmpInst::ICMP_EQ; in decomposeBitTestICmp() 727 ICmpInst::Predicate NEWCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps() 927 if (LHSCC == ICmpInst::ICMP_EQ && LHSCst->isZero()) { in FoldAndOfICmps() 936 if (LHSCC == ICmpInst::ICMP_EQ && LHSCC == RHSCC && in FoldAndOfICmps() 1018 case ICmpInst::ICMP_EQ: in FoldAndOfICmps() 1039 case ICmpInst::ICMP_EQ: // (X != 13 & X == 15) -> X == 15 in FoldAndOfICmps() 1060 case ICmpInst::ICMP_EQ: // (X u< 13 & X == 15) -> false in FoldAndOfICmps() 1087 case ICmpInst::ICMP_EQ: // (X u> 13 & X == 15) -> X == 15 in FoldAndOfICmps() [all …]
|
D | InstCombineSelect.cpp | 434 (Pred == ICmpInst::ICMP_EQ && OrOnTrueVal)) in foldSelectICmpAndOr() 637 if (Pred == ICmpInst::ICMP_EQ) { in visitSelectInstWithICmp() 664 if (CmpLHS == TrueVal && Pred == ICmpInst::ICMP_EQ) { in visitSelectInstWithICmp() 685 TrueWhenUnset = Pred == ICmpInst::ICMP_EQ; in visitSelectInstWithICmp()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1416 if (V1 == V2) return ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1425 ICmpInst::Predicate pred = ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1550 return ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1640 return ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1694 if (pred == ICmpInst::ICMP_EQ) in ConstantFoldCompareInstruction() 1704 if (pred == ICmpInst::ICMP_EQ) in ConstantFoldCompareInstruction() 1714 case ICmpInst::ICMP_EQ: in ConstantFoldCompareInstruction() 1730 case ICmpInst::ICMP_EQ: return ConstantInt::get(ResultTy, V1 == V2); in ConstantFoldCompareInstruction() 1870 case ICmpInst::ICMP_EQ: // We know the constants are equal! in ConstantFoldCompareInstruction() 1879 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction() [all …]
|
D | Instructions.cpp | 3092 case ICMP_EQ: return ICMP_NE; in getInversePredicate() 3093 case ICMP_NE: return ICMP_EQ; in getInversePredicate() 3125 case ICMP_EQ: case ICMP_NE: in getSignedPredicate() 3138 case ICMP_EQ: case ICMP_NE: in getUnsignedPredicate() 3157 case ICmpInst::ICMP_EQ: ++Upper; break; in makeConstantRange() 3214 case ICMP_EQ: case ICMP_NE: in getSwappedPredicate() 3278 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE: in isTrueWhenEqual()
|
D | ConstantRange.cpp | 61 case CmpInst::ICMP_EQ: in makeAllowedICmpRegion()
|
/external/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 117 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, in processPHI() 236 LazyValueInfo::Tristate Value = LVI->getPredicateOnEdge(CmpInst::ICMP_EQ, in processSwitch()
|
D | IndVarSimplify.cpp | 315 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in HandleFloatingPointIV() 361 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in HandleFloatingPointIV() 388 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in HandleFloatingPointIV() 1372 if (Pred != ICmpInst::ICMP_NE && Pred != ICmpInst::ICMP_EQ) in needsLFTR() 1675 P = ICmpInst::ICMP_EQ; in LinearFunctionTestReplace()
|
D | AlignmentFromAssumptions.cpp | 218 if (ICI->getPredicate() != ICmpInst::ICMP_EQ) in extractAlignmentInfo()
|
D | Float2Int.cpp | 93 return CmpInst::ICMP_EQ; in mapFCmpPred()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerDFSan.cpp | 92 ICMP_EQ = 32, ///< equal enumerator 107 case ICMP_EQ : return Arg1 == Arg2; in ComputeCmp()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 536 case ICmpInst::ICMP_EQ: in computeKnownBitsFromTrueCondition() 722 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume() 730 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume() 743 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume() 756 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume() 769 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume() 782 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume() 798 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume() 814 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume() 824 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume() [all …]
|
D | DependenceAnalysis.cpp | 440 if (isKnownPredicate(CmpInst::ICMP_EQ, X->getD(), Y->getD())) in intersectConstraints() 469 if (isKnownPredicate(CmpInst::ICMP_EQ, Prod1, Prod2)) { in intersectConstraints() 474 if (isKnownPredicate(CmpInst::ICMP_EQ, Prod1, Prod2)) in intersectConstraints() 555 if (isKnownPredicate(CmpInst::ICMP_EQ, Sum, Y->getC())) in intersectConstraints() 899 if (Pred == CmpInst::ICMP_EQ || in isKnownPredicate() 924 case CmpInst::ICMP_EQ: in isKnownPredicate() 984 if (isKnownPredicate(CmpInst::ICMP_EQ, Src, Dst)) { in testZIV() 1245 if (isKnownPredicate(CmpInst::ICMP_EQ, Delta, ML)) { in weakCrossingSIVtest() 1621 if (isKnownPredicate(CmpInst::ICMP_EQ, SrcConst, DstConst)) { in weakZeroSrcSIVtest() 1648 if (isKnownPredicate(CmpInst::ICMP_EQ, NewDelta, Product)) { in weakZeroSrcSIVtest() [all …]
|
D | InstructionSimplify.cpp | 1484 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck() 1957 (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE)) in computePointerICmp() 1967 case CmpInst::ICMP_EQ: in computePointerICmp() 1998 if (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE) { in computePointerICmp() 2146 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 2188 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 2417 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 2474 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 2623 if (Pred == ICmpInst::ICMP_EQ) in SimplifyICmpInst() 2650 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() [all …]
|
D | BranchProbabilityInfo.cpp | 393 case CmpInst::ICMP_EQ: in calcZeroHeuristics() 418 case CmpInst::ICMP_EQ: in calcZeroHeuristics()
|
D | LazyValueInfo.cpp | 841 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ)) in getValueFromFromCondition() 1199 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateResult() 1226 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateResult()
|
D | ScalarEvolution.cpp | 4406 case ICmpInst::ICMP_EQ: in createSCEV() 5136 case ICmpInst::ICMP_EQ: { // while (X == Y) in ComputeExitLimitFromICmp() 6301 case ICmpInst::ICMP_EQ: in SimplifyICmpOperands() 6322 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands() 6340 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands() 6358 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands() 6376 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands() 6393 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands() 6407 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands() 6421 Pred = ICmpInst::ICMP_EQ; in SimplifyICmpOperands() [all …]
|
/external/llvm/include/llvm/IR/ |
D | InstrTypes.h | 714 ICMP_EQ = 32, ///< equal 724 FIRST_ICMP_PREDICATE = ICMP_EQ,
|
/external/llvm/examples/BrainF/ |
D | BrainF.cpp | 439 ICmpInst *test_0 = new ICmpInst(*testbb, ICmpInst::ICMP_EQ, tape_0, in readloop()
|
/external/lldb/source/Expression/ |
D | IRInterpreter.cpp | 491 case CmpInst::ICMP_EQ: in CanInterpret() 1042 case CmpInst::ICMP_EQ: in Interpret()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 241 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR in TEST()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 200 case ICmpInst::ICMP_EQ: return ISD::SETEQ; in getICmpCondCode()
|