Home
last modified time | relevance | path

Searched refs:ICMP_NE (Results 1 – 25 of 87) sorted by relevance

1234

/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp56 case ICmpInst::ICMP_NE: return 5; // 101 in getICmpCode()
82 case 5: NewICmpPred = ICmpInst::ICMP_NE; break; in getICmpValue()
DFlattenCFG.cpp249 if ((Predicate == CmpInst::ICMP_NE) || (Predicate == CmpInst::FCMP_ONE)) { in FlattenParallelAndOr()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp99 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 …]
DInstCombineCompares.cpp400 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 …]
DInstCombineSelect.cpp488 } 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/
DInstCombineCompares.cpp437 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 …]
DInstCombineAndOrXor.cpp544 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 …]
DInstCombineSelect.cpp351 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/
DConstantFold.cpp1652 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/
DConstantFold.cpp1415 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 …]
DInstructions.cpp3438 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/
DLazyValueInfo.cpp212 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()
DBranchProbabilityInfo.cpp248 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
345 case CmpInst::ICMP_NE: in calcZeroHeuristics()
DInstructionSimplify.cpp1455 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/
DSystemZTDC.cpp273 if (Pred == CmpInst::ICMP_NE) { in convertICmp()
364 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction()
/external/spirv-llvm/lib/SPIRV/
DSPIRVLowerBool.cpp81 auto Cmp = new ICmpInst(&I, CmpInst::ICMP_NE, Op, Zero); in visitTruncInst()
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp332 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
433 case CmpInst::ICMP_NE: in calcZeroHeuristics()
458 case CmpInst::ICMP_NE: in calcZeroHeuristics()
DLazyValueInfo.cpp232 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()
DInstructionSimplify.cpp1481 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/
DIndVarSimplify.cpp324 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/
DLowerExpectIntrinsic.cpp105 if (CmpI->getPredicate() != CmpInst::ICMP_NE) in handleBranchExpect()
DIndVarSimplify.cpp315 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/
DFuzzerTraceState.cpp102 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/
DLowerExpectIntrinsic.cpp91 if (!CmpI || CmpI->getPredicate() != CmpInst::ICMP_NE) in HandleIfExpect()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DAnalysis.cpp187 case ICmpInst::ICMP_NE: return ISD::SETNE; in getICmpCondCode()

1234