/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()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 191 LLVMPredicate = CmpInst::ICMP_EQ; in DecodeIcmpPredicate() 193 case naclbitc::ICMP_EQ: in DecodeIcmpPredicate() 194 LLVMPredicate = CmpInst::ICMP_EQ; in DecodeIcmpPredicate()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 94 case ICmpInst::ICMP_EQ: return 2; // 010 in getICmpCode() 149 case 2: Pred = ICmpInst::ICMP_EQ; break; in getICmpValue() 497 bool icmp_eq = (SCC == ICmpInst::ICMP_EQ); in getTypeOfMaskedICmp() 570 if (LHSCC != ICmpInst::ICMP_EQ && LHSCC != ICmpInst::ICMP_NE) return 0; in foldLogOpOfMaskedICmpsHelper() 571 if (RHSCC != ICmpInst::ICMP_EQ && RHSCC != ICmpInst::ICMP_NE) return 0; in foldLogOpOfMaskedICmpsHelper() 736 if (Value *V = foldLogOpOfMaskedICmps(LHS, RHS, ICmpInst::ICMP_EQ, Builder)) in FoldAndOfICmps() 755 if (LHSCC == ICmpInst::ICMP_EQ && LHSCst->isZero()) { in FoldAndOfICmps() 859 case ICmpInst::ICMP_EQ: in FoldAndOfICmps() 878 case ICmpInst::ICMP_EQ: // (X != 13 & X == 15) -> X == 15 in FoldAndOfICmps() 894 case ICmpInst::ICMP_EQ: // (X u< 13 & X == 15) -> false in FoldAndOfICmps() [all …]
|
D | InstCombineCompares.cpp | 380 return new ICmpInst(ICmpInst::ICMP_EQ, Idx, FirstTrueIdx); in FoldCmpLoadFromIndexedGlobal() 692 if (Pred == ICmpInst::ICMP_EQ) in FoldICmpAddOpCst() 860 case ICmpInst::ICMP_EQ: in FoldICmpDivCst() 1159 if (ICI.getPredicate() == ICmpInst::ICMP_EQ) in visitICmpInstWithInstAndIntCst() 1230 if (ICI.getPredicate() == ICmpInst::ICMP_EQ) in visitICmpInstWithInstAndIntCst() 1294 return new ICmpInst(TrueIfSigned ? ICmpInst::ICMP_NE : ICmpInst::ICMP_EQ, in visitICmpInstWithInstAndIntCst() 1452 return new ICmpInst(isICMP_NE ? ICmpInst::ICMP_EQ : in visitICmpInstWithInstAndIntCst() 1796 case ICmpInst::ICMP_EQ: { // icmp eq i1 A, B -> ~(A^B) in visitICmpInst() 1949 case ICmpInst::ICMP_EQ: { in visitICmpInst() 2007 return new ICmpInst(ICmpInst::ICMP_EQ, X, in visitICmpInst() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 448 bool icmp_eq = (SCC == ICmpInst::ICMP_EQ); in getTypeOfMaskedICmp() 551 Pred = ICmpInst::ICMP_EQ; in decomposeBitTestICmp() 558 Pred = ICmpInst::ICMP_EQ; in decomposeBitTestICmp() 713 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps() 908 (LHSCC == ICmpInst::ICMP_EQ && LHSCst->isZero())) { in FoldAndOfICmps() 917 if (LHSCC == ICmpInst::ICMP_EQ && LHSCC == RHSCC && in FoldAndOfICmps() 989 case ICmpInst::ICMP_EQ: in FoldAndOfICmps() 1010 case ICmpInst::ICMP_EQ: // (X != 13 & X == 15) -> X == 15 in FoldAndOfICmps() 1031 case ICmpInst::ICMP_EQ: // (X u< 13 & X == 15) -> false in FoldAndOfICmps() 1058 case ICmpInst::ICMP_EQ: // (X u> 13 & X == 15) -> X == 15 in FoldAndOfICmps() [all …]
|
D | InstCombineCompares.cpp | 417 return new ICmpInst(ICmpInst::ICMP_EQ, Idx, FirstTrueIdx); in FoldCmpLoadFromIndexedGlobal() 1300 case ICmpInst::ICMP_EQ: in FoldICmpDivCst() 1469 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShrCst() 1483 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst() 1485 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst() 1525 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShlCst() 1531 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShlCst() 1739 if (ICI.getPredicate() == ICmpInst::ICMP_EQ) in visitICmpInstWithInstAndIntCst() 1852 ICI.getPredicate() == ICmpInst::ICMP_EQ ? ICmpInst::ICMP_UGT in visitICmpInstWithInstAndIntCst() 1865 return new ICmpInst(ICI.getPredicate() == ICmpInst::ICMP_EQ in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineSelect.cpp | 352 (Pred == ICmpInst::ICMP_EQ && OrOnTrueVal)) in foldSelectICmpAndOr() 545 if (CmpLHS == TrueVal && Pred == ICmpInst::ICMP_EQ) { in visitSelectInstWithICmp() 567 TrueWhenUnset = Pred == ICmpInst::ICMP_EQ; in visitSelectInstWithICmp()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1435 if (V1 == V2) return ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1444 ICmpInst::Predicate pred = ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1573 return ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1663 return ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1717 if (pred == ICmpInst::ICMP_EQ) in ConstantFoldCompareInstruction() 1727 if (pred == ICmpInst::ICMP_EQ) in ConstantFoldCompareInstruction() 1737 case ICmpInst::ICMP_EQ: in ConstantFoldCompareInstruction() 1753 case ICmpInst::ICMP_EQ: return ConstantInt::get(ResultTy, V1 == V2); in ConstantFoldCompareInstruction() 1894 case ICmpInst::ICMP_EQ: // We know the constants are equal! in ConstantFoldCompareInstruction() 1903 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 134 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, in processPHI() 243 LazyValueInfo::Tristate Value = LVI->getPredicateOnEdge(CmpInst::ICMP_EQ, in processSwitch() 309 LVI->getPredicateAt(ICmpInst::ICMP_EQ, V, in processCallSite()
|
D | IndVarSimplify.cpp | 313 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in handleFloatingPointIV() 359 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV() 386 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV() 1645 if (Pred != ICmpInst::ICMP_NE && Pred != ICmpInst::ICMP_EQ) in needsLFTR() 1947 P = ICmpInst::ICMP_EQ; in linearFunctionTestReplace()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 1604 if (V1 == V2) return ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1613 ICmpInst::Predicate pred = ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1740 return ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1824 return ICmpInst::ICMP_EQ; in evaluateICmpRelation() 1874 if (pred == ICmpInst::ICMP_EQ) in ConstantFoldCompareInstruction() 1884 if (pred == ICmpInst::ICMP_EQ) in ConstantFoldCompareInstruction() 1894 case ICmpInst::ICMP_EQ: in ConstantFoldCompareInstruction() 1910 case ICmpInst::ICMP_EQ: return ConstantInt::get(ResultTy, V1 == V2); in ConstantFoldCompareInstruction() 2046 case ICmpInst::ICMP_EQ: // We know the constants are equal! in ConstantFoldCompareInstruction() 2055 case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE: in ConstantFoldCompareInstruction() [all …]
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerTraceState.cpp | 101 ICMP_EQ = 32, ///< equal enumerator 116 case ICMP_EQ : return Arg1 == Arg2; in ComputeCmp() 138 if (CmpType == ICMP_EQ) return Arg1 == Arg2; in ComputeCmp() 430 if ((CmpType == ICMP_EQ || CmpType == ICMP_NE) && Arg1 == Arg2) in TraceCmpCallback()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClLLVMBitCodes.h | 294 ICMP_EQ = 32, ///< equal enumerator
|
/external/llvm/lib/Analysis/ |
D | DependenceAnalysis.cpp | 436 if (isKnownPredicate(CmpInst::ICMP_EQ, X->getD(), Y->getD())) in intersectConstraints() 465 if (isKnownPredicate(CmpInst::ICMP_EQ, Prod1, Prod2)) { in intersectConstraints() 470 if (isKnownPredicate(CmpInst::ICMP_EQ, Prod1, Prod2)) in intersectConstraints() 551 if (isKnownPredicate(CmpInst::ICMP_EQ, Sum, Y->getC())) in intersectConstraints() 940 if (Pred == CmpInst::ICMP_EQ || in isKnownPredicate() 965 case CmpInst::ICMP_EQ: in isKnownPredicate() 1024 if (isKnownPredicate(CmpInst::ICMP_EQ, Src, Dst)) { in testZIV() 1276 if (isKnownPredicate(CmpInst::ICMP_EQ, Delta, ML)) { in weakCrossingSIVtest() 1643 if (isKnownPredicate(CmpInst::ICMP_EQ, SrcConst, DstConst)) { in weakZeroSrcSIVtest() 1670 if (isKnownPredicate(CmpInst::ICMP_EQ, NewDelta, Product)) { in weakZeroSrcSIVtest() [all …]
|
D | InstructionSimplify.cpp | 1493 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_EQ && in simplifyUnsignedRangeCheck() 1984 (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE)) in computePointerICmp() 1994 case CmpInst::ICMP_EQ: in computePointerICmp() 2025 if (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE) { in computePointerICmp() 2182 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 2244 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 2507 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 2564 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 2609 if ((Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_NE) && in SimplifyICmpInst() 2748 if (Pred == ICmpInst::ICMP_EQ) in SimplifyICmpInst() [all …]
|
D | ValueTracking.cpp | 567 Pred == ICmpInst::ICMP_EQ && isValidAssumeForContext(I, Q.CxtI, Q.DT)) { in computeKnownBitsFromAssume() 575 Pred == ICmpInst::ICMP_EQ && in computeKnownBitsFromAssume() 589 Pred == ICmpInst::ICMP_EQ && in computeKnownBitsFromAssume() 603 Pred == ICmpInst::ICMP_EQ && in computeKnownBitsFromAssume() 617 Pred == ICmpInst::ICMP_EQ && in computeKnownBitsFromAssume() 631 Pred == ICmpInst::ICMP_EQ && in computeKnownBitsFromAssume() 648 Pred == ICmpInst::ICMP_EQ && in computeKnownBitsFromAssume() 665 Pred == ICmpInst::ICMP_EQ && in computeKnownBitsFromAssume() 676 Pred == ICmpInst::ICMP_EQ && in computeKnownBitsFromAssume() 689 Pred == ICmpInst::ICMP_EQ && in computeKnownBitsFromAssume() [all …]
|
D | BranchProbabilityInfo.cpp | 429 case CmpInst::ICMP_EQ: in calcZeroHeuristics() 454 case CmpInst::ICMP_EQ: in calcZeroHeuristics()
|
D | LazyValueInfo.cpp | 977 case ICmpInst::ICMP_EQ: in solveBlockValueSelect() 1175 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ)) in getValueFromFromCondition() 1552 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateResult() 1579 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateResult()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | StackProtector.cpp | 235 ICmpInst *Cmp = new ICmpInst(*BB, CmpInst::ICMP_EQ, LI1, LI2, ""); in InsertStackProtectors()
|
D | Analysis.cpp | 186 case ICmpInst::ICMP_EQ: return ISD::SETEQ; in getICmpCondCode()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 322 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in HandleFloatingPointIV() 368 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in HandleFloatingPointIV() 395 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in HandleFloatingPointIV() 1388 if (Pred != ICmpInst::ICMP_NE && Pred != ICmpInst::ICMP_EQ) in needsLFTR() 1615 P = ICmpInst::ICMP_EQ; in LinearFunctionTestReplace()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 1450 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 1504 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 1669 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 1728 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 1829 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 1866 case ICmpInst::ICMP_EQ: in SimplifyICmpInst() 1942 case CmpInst::ICMP_EQ: in SimplifyICmpInst() 2012 case CmpInst::ICMP_EQ: in SimplifyICmpInst()
|
D | LazyValueInfo.cpp | 831 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ)) in getEdgeValue() 1075 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateOnEdge() 1102 if (Pred == ICmpInst::ICMP_EQ) { in getPredicateOnEdge()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | InstrTypes.h | 667 ICMP_EQ = 32, ///< equal 677 FIRST_ICMP_PREDICATE = ICMP_EQ,
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 275 } else if (Pred == CmpInst::ICMP_EQ) { in convertICmp()
|