/external/llvm/lib/Transforms/Utils/ |
D | CmpInstAnalysis.cpp | 56 case ICmpInst::ICMP_NE: return 5; // 101 in getICmpCode() 82 case 5: NewICmpPred = ICmpInst::ICMP_NE; break; in getICmpValue()
|
D | FlattenCFG.cpp | 249 if ((Predicate == CmpInst::ICMP_NE) || (Predicate == CmpInst::FCMP_ONE)) { in FlattenParallelAndOr()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 99 case ICmpInst::ICMP_NE: return 5; // 101 in getICmpCode() 152 case 5: Pred = ICmpInst::ICMP_NE; break; in getICmpValue() 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() 650 if (NEWCC == ICmpInst::ICMP_NE) in foldLogOpOfMaskedICmps() 862 case ICmpInst::ICMP_NE: // (X == 13 & X != 15) -> X == 13 in FoldAndOfICmps() 867 case ICmpInst::ICMP_NE: in FoldAndOfICmps() 882 case ICmpInst::ICMP_NE: in FoldAndOfICmps() 899 case ICmpInst::ICMP_NE: // (X u< 13 & X != 15) -> X u< 13 in FoldAndOfICmps() 911 case ICmpInst::ICMP_NE: // (X s< 13 & X != 15) -> X < 13 in FoldAndOfICmps() [all …]
|
D | InstCombineCompares.cpp | 400 return new ICmpInst(ICmpInst::ICMP_NE, Idx, FirstFalseIdx); in FoldCmpLoadFromIndexedGlobal() 453 return new ICmpInst(ICmpInst::ICMP_NE, V, ConstantInt::get(Ty, 0)); in FoldCmpLoadFromIndexedGlobal() 696 if (Pred == ICmpInst::ICMP_NE) in FoldICmpAddOpCst() 871 case ICmpInst::ICMP_NE: in FoldICmpDivCst() 965 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst() 1162 if (ICI.getPredicate() == ICmpInst::ICMP_NE) in visitICmpInstWithInstAndIntCst() 1258 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in visitICmpInstWithInstAndIntCst() 1294 return new ICmpInst(TrueIfSigned ? ICmpInst::ICMP_NE : ICmpInst::ICMP_EQ, in visitICmpInstWithInstAndIntCst() 1364 bool isICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in visitICmpInstWithInstAndIntCst() 1453 ICmpInst::ICMP_NE, LHSI, in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineSelect.cpp | 488 } else if (Pred == ICmpInst::ICMP_NE) { in visitSelectInstWithICmp() 504 } else if (CmpLHS == FalseVal && Pred == ICmpInst::ICMP_NE) { in visitSelectInstWithICmp() 639 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE; in foldSelectICmpAnd()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 437 return new ICmpInst(ICmpInst::ICMP_NE, Idx, FirstFalseIdx); in FoldCmpLoadFromIndexedGlobal() 495 return new ICmpInst(ICmpInst::ICMP_NE, V, ConstantInt::get(Ty, 0)); in FoldCmpLoadFromIndexedGlobal() 1311 case ICmpInst::ICMP_NE: in FoldICmpDivCst() 1404 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst() 1436 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst() 1442 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst() 1500 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst() 1506 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst() 1741 if (ICI.getPredicate() == ICmpInst::ICMP_NE) in visitICmpInstWithInstAndIntCst() 1829 return new ICmpInst(ICmpInst::ICMP_NE, LHSI, in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineAndOrXor.cpp | 544 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp() 565 Pred = ICmpInst::ICMP_NE; in decomposeBitTestICmp() 713 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps() 992 case ICmpInst::ICMP_NE: // (X == 13 & X != 15) -> X == 13 in FoldAndOfICmps() 997 case ICmpInst::ICMP_NE: in FoldAndOfICmps() 1014 case ICmpInst::ICMP_NE: in FoldAndOfICmps() 1036 case ICmpInst::ICMP_NE: // (X u< 13 & X != 15) -> X u< 13 in FoldAndOfICmps() 1048 case ICmpInst::ICMP_NE: // (X s< 13 & X != 15) -> X < 13 in FoldAndOfICmps() 1063 case ICmpInst::ICMP_NE: in FoldAndOfICmps() 1081 case ICmpInst::ICMP_NE: in FoldAndOfICmps() [all …]
|
D | InstCombineSelect.cpp | 351 if ((Pred == ICmpInst::ICMP_NE && OrOnFalseVal) || in foldSelectICmpAndOr() 382 if (Pred == ICmpInst::ICMP_NE) in foldSelectCttzCtlz() 549 } else if (CmpLHS == FalseVal && Pred == ICmpInst::ICMP_NE) { in visitSelectInstWithICmp() 830 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE; in foldSelectICmpAnd()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 1652 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1654 return ICmpInst::ICMP_NE; // Globals never equal labels. in evaluateICmpRelation() 1660 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1679 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1684 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1766 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1782 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1876 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction() 1886 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction() 1898 case ICmpInst::ICMP_NE: in ConstantFoldCompareInstruction() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1415 return ICmpInst::ICMP_NE; in areGlobalsPotentiallyEqual() 1482 return ICmpInst::ICMP_NE; // Globals never equal labels. in evaluateICmpRelation() 1488 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1507 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1512 return ICmpInst::ICMP_NE; in evaluateICmpRelation() 1719 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction() 1729 else if (pred == ICmpInst::ICMP_NE) in ConstantFoldCompareInstruction() 1741 case ICmpInst::ICMP_NE: in ConstantFoldCompareInstruction() 1754 case ICmpInst::ICMP_NE: return ConstantInt::get(ResultTy, V1 != V2); in ConstantFoldCompareInstruction() 1901 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() [all …]
|
D | Instructions.cpp | 3438 case ICMP_EQ: return ICMP_NE; in getInversePredicate() 3439 case ICMP_NE: return ICMP_EQ; in getInversePredicate() 3473 case ICMP_EQ: case ICMP_NE: in getSignedPredicate() 3486 case ICMP_EQ: case ICMP_NE: in getUnsignedPredicate() 3506 case ICmpInst::ICMP_NE: ++Lower; break; in makeConstantRange() 3562 case ICMP_EQ: case ICMP_NE: in getSwappedPredicate() 3650 case ICMP_NE: case ICMP_UGT: case ICMP_ULT: case ICMP_SGT: case ICMP_SLT: in isFalseWhenEqual() 3670 return Pred2 == ICMP_NE || Pred2 == ICMP_UGE; in isImpliedTrueByMatchingCmp() 3672 return Pred2 == ICMP_NE || Pred2 == ICMP_ULE; in isImpliedTrueByMatchingCmp() 3674 return Pred2 == ICMP_NE || Pred2 == ICMP_SGE; in isImpliedTrueByMatchingCmp() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | LazyValueInfo.cpp | 212 ConstantFoldCompareInstOperands(CmpInst::ICMP_NE, in mergeIn() 238 ConstantFoldCompareInstOperands(CmpInst::ICMP_NE, in mergeIn() 1081 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateOnEdge() 1104 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateOnEdge() 1108 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateOnEdge() 1110 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateOnEdge()
|
D | BranchProbabilityInfo.cpp | 248 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics() 345 case CmpInst::ICMP_NE: in calcZeroHeuristics()
|
D | InstructionSimplify.cpp | 1455 case ICmpInst::ICMP_NE: in SimplifyICmpInst() 1509 case ICmpInst::ICMP_NE: in SimplifyICmpInst() 1674 case ICmpInst::ICMP_NE: in SimplifyICmpInst() 1730 case ICmpInst::ICMP_NE: in SimplifyICmpInst() 1839 case ICmpInst::ICMP_NE: in SimplifyICmpInst() 1856 case ICmpInst::ICMP_NE: in SimplifyICmpInst() 1955 case CmpInst::ICMP_NE: in SimplifyICmpInst() 2025 case CmpInst::ICMP_NE: in SimplifyICmpInst()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 273 if (Pred == CmpInst::ICMP_NE) { in convertICmp() 364 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVLowerBool.cpp | 81 auto Cmp = new ICmpInst(&I, CmpInst::ICMP_NE, Op, Zero); in visitTruncInst()
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 332 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics() 433 case CmpInst::ICMP_NE: in calcZeroHeuristics() 458 case CmpInst::ICMP_NE: in calcZeroHeuristics()
|
D | LazyValueInfo.cpp | 232 CmpInst::ICMP_NE, getConstant(), RHS.getNotConstant(), DL))) in mergeIn() 251 CmpInst::ICMP_NE, getNotConstant(), RHS.getConstant(), DL))) in mergeIn() 985 case ICmpInst::ICMP_NE: in solveBlockValueSelect() 1558 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateResult() 1581 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateResult() 1586 } else if (Pred == ICmpInst::ICMP_NE) { in getPredicateResult() 1588 Res = ConstantFoldCompareInstOperands(ICmpInst::ICMP_NE, in getPredicateResult()
|
D | InstructionSimplify.cpp | 1481 if (UnsignedPred == ICmpInst::ICMP_ULT && EqPred == ICmpInst::ICMP_NE) in simplifyUnsignedRangeCheck() 1487 if (EqPred == ICmpInst::ICMP_NE) in simplifyUnsignedRangeCheck() 1984 (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE)) in computePointerICmp() 1995 case CmpInst::ICMP_NE: in computePointerICmp() 2025 if (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE) { in computePointerICmp() 2187 case ICmpInst::ICMP_NE: in SimplifyICmpInst() 2249 case ICmpInst::ICMP_NE: in SimplifyICmpInst() 2512 case ICmpInst::ICMP_NE: in SimplifyICmpInst() 2566 case ICmpInst::ICMP_NE: in SimplifyICmpInst() 2609 if ((Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_NE) && in SimplifyICmpInst() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 324 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; 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() 1541 SE->isLoopEntryGuardedByCond(L, ICmpInst::ICMP_NE, N, Zero)) { in LinearFunctionTestReplace() 1613 P = ICmpInst::ICMP_NE; in LinearFunctionTestReplace() 1620 << (P == ICmpInst::ICMP_NE ? "!=" : "==") << "\n" in LinearFunctionTestReplace()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 105 if (CmpI->getPredicate() != CmpInst::ICMP_NE) in handleBranchExpect()
|
D | IndVarSimplify.cpp | 315 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; 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() 1945 P = ICmpInst::ICMP_NE; in linearFunctionTestReplace() 1952 << (P == ICmpInst::ICMP_NE ? "!=" : "==") << "\n" in linearFunctionTestReplace()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerTraceState.cpp | 102 ICMP_NE = 33, ///< not equal enumerator 117 case ICMP_NE : return Arg1 != Arg2; in ComputeCmp() 430 if ((CmpType == ICMP_EQ || CmpType == ICMP_NE) && Arg1 == Arg2) in TraceCmpCallback()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LowerExpectIntrinsic.cpp | 91 if (!CmpI || CmpI->getPredicate() != CmpInst::ICMP_NE) in HandleIfExpect()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | Analysis.cpp | 187 case ICmpInst::ICMP_NE: return ISD::SETNE; in getICmpCondCode()
|