Home
last modified time | relevance | path

Searched refs:ICMP_ULE (Results 1 – 25 of 56) sorted by relevance

123

/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp57 case ICmpInst::ICMP_ULE: return 6; // 110 in getICmpCode()
83 case 6: NewICmpPred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break; in getICmpValue()
DLowerSwitch.cpp317 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High, in newLeafBlock()
326 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in newLeafBlock()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerSwitch.cpp198 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High, in newLeafBlock()
207 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in newLeafBlock()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1543 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps()
1554 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in SimplifyAndOfICmps()
1725 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_ULE) in SimplifyOrOfICmps()
1728 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_ULE) in SimplifyOrOfICmps()
2003 case CmpInst::ICMP_ULE: in computePointerICmp()
2227 case ICmpInst::ICMP_ULE: { in SimplifyICmpInst()
2245 case ICmpInst::ICMP_ULE: in SimplifyICmpInst()
2514 case ICmpInst::ICMP_ULE: in SimplifyICmpInst()
2594 case ICmpInst::ICMP_ULE: in SimplifyICmpInst()
2703 if (Pred == ICmpInst::ICMP_ULE) in SimplifyICmpInst()
[all …]
DValueTracking.cpp756 Pred == ICmpInst::ICMP_ULE && in computeKnownBitsFromAssume()
3790 case ICmpInst::ICMP_ULE: return {SPF_UMIN, SPNB_NA, false}; in matchSelectPattern()
3979 case CmpInst::ICMP_ULE: { in isTruePredicate()
4037 case CmpInst::ICMP_ULE: in isImpliedCondOperands()
4038 if (isTruePredicate(CmpInst::ICMP_ULE, BLHS, ALHS, DL, Depth, AC, CxtI, in isImpliedCondOperands()
4040 isTruePredicate(CmpInst::ICMP_ULE, ARHS, BRHS, DL, Depth, AC, CxtI, DT)) in isImpliedCondOperands()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp1505 case ICmpInst::ICMP_ULE: in SimplifyICmpInst()
1676 case ICmpInst::ICMP_ULE: in SimplifyICmpInst()
1758 case ICmpInst::ICMP_ULE: in SimplifyICmpInst()
1841 case ICmpInst::ICMP_ULE: in SimplifyICmpInst()
1868 case ICmpInst::ICMP_ULE: in SimplifyICmpInst()
1995 EqP = CmpInst::ICMP_ULE; // "A == umin(A, B)" iff "A ule B". in SimplifyICmpInst()
2002 EqP = CmpInst::ICMP_ULE; // "A == umin(A, B)" iff "A ule B". in SimplifyICmpInst()
2013 case CmpInst::ICMP_ULE: in SimplifyICmpInst()
2085 if (Pred == CmpInst::ICMP_ULE) in SimplifyICmpInst()
DScalarEvolution.cpp2537 } else if (isKnownPredicate(ICmpInst::ICMP_ULE, Ops[i], Ops[i+1])) { in getUMaxExpr()
3847 case ICmpInst::ICMP_ULE: in createSCEV()
5495 case ICmpInst::ICMP_ULE: in SimplifyICmpOperands()
5645 case ICmpInst::ICMP_ULE: in SimplifyICmpOperands()
5785 Pred = ICmpInst::ICMP_ULE; in isKnownPredicateWithRanges()
5787 case ICmpInst::ICMP_ULE: { in isKnownPredicateWithRanges()
6021 case ICmpInst::ICMP_ULE: in isImpliedCondOperandsHelper()
6022 if (isKnownPredicateWithRanges(ICmpInst::ICMP_ULE, LHS, FoundLHS) && in isImpliedCondOperandsHelper()
6029 isKnownPredicateWithRanges(ICmpInst::ICMP_ULE, RHS, FoundRHS)) in isImpliedCondOperandsHelper()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1147 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in FoldICmpAddOpCst()
1853 : ICmpInst::ICMP_ULE, in visitICmpInstWithInstAndIntCst()
1937 Pred = ICmpInst::ICMP_ULE; in visitICmpInstWithInstAndIntCst()
2102 return new ICmpInst(ICmpInst::ICMP_ULE, X, in visitICmpInstWithInstAndIntCst()
2801 case ICmpInst::ICMP_ULE: in ProcessUMulZExtIdiom()
2890 case ICmpInst::ICMP_ULE: in ProcessUMulZExtIdiom()
3102 Pred != ICmpInst::ICMP_ULE && Pred != ICmpInst::ICMP_UGE) in canonicalizeCmpWithConstant()
3117 bool IsLE = (Pred == ICmpInst::ICMP_SLE || Pred == ICmpInst::ICMP_ULE); in canonicalizeCmpWithConstant()
3220 case ICmpInst::ICMP_ULE: { // icmp ule i1 A, B -> ~A | B in visitICmpInst()
3587 case ICmpInst::ICMP_ULE: in visitICmpInst()
[all …]
DInstCombineAndOrXor.cpp293 ICmpInst::ICMP_SLE:ICmpInst::ICMP_ULE), Lo, Hi))->getZExtValue() && in InsertRangeTest()
851 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break; in simplifyRangeCheck()
954 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps()
955 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps()
1731 if ((LHSCC == ICmpInst::ICMP_ULT || LHSCC == ICmpInst::ICMP_ULE) && in FoldOrOfICmps()
1854 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
1855 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
/external/llvm/lib/IR/
DInstructions.cpp3440 case ICMP_UGT: return ICMP_ULE; in getInversePredicate()
3443 case ICMP_ULE: return ICMP_UGT; in getInversePredicate()
3479 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate()
3487 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate()
3492 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate()
3531 case ICmpInst::ICMP_ULE: in makeConstantRange()
3570 case ICMP_UGE: return ICMP_ULE; in getSwappedPredicate()
3571 case ICMP_ULE: return ICMP_UGE; in getSwappedPredicate()
3597 case CmpInst::ICMP_ULE: in getSignedPredicate()
3609 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_ULE: case ICmpInst::ICMP_UGT: in isUnsigned()
[all …]
DConstantFold.cpp1581 return isSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; in evaluateICmpRelation()
1761 case ICmpInst::ICMP_ULE: return ConstantInt::get(ResultTy, V1.ule(V2)); in ConstantFoldCompareInstruction()
1901 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
1919 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
1931 case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
1933 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction()
DConstantRange.cpp81 case CmpInst::ICMP_ULE: { in makeAllowedICmpRegion()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2896 case ICMP_UGT: return ICMP_ULE; in getInversePredicate()
2899 case ICMP_ULE: return ICMP_UGT; in getInversePredicate()
2933 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate()
2941 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate()
2946 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate()
2985 case ICmpInst::ICMP_ULE: in makeConstantRange()
3024 case ICMP_UGE: return ICMP_ULE; in getSwappedPredicate()
3025 case ICMP_ULE: return ICMP_UGE; in getSwappedPredicate()
3046 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_ULE: case ICmpInst::ICMP_UGT: in isUnsigned()
3080 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE: in isTrueWhenEqual()
DConstantFold.cpp1748 return isSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; in evaluateICmpRelation()
1918 case ICmpInst::ICMP_ULE: return ConstantInt::get(ResultTy, V1.ule(V2)); in ConstantFoldCompareInstruction()
2053 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
2071 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
2083 case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
2085 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp100 case ICmpInst::ICMP_ULE: return 6; // 110 in getICmpCode()
153 case 6: Pred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break; in getICmpValue()
341 ICmpInst::ICMP_SLE:ICmpInst::ICMP_ULE), Lo, Hi))->getZExtValue() && in InsertRangeTest()
814 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps()
815 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps()
1521 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
1522 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
DInstCombineCompares.cpp706 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in FoldICmpAddOpCst()
1820 case ICmpInst::ICMP_ULE: { // icmp ule i1 A, B -> ~A | B in visitICmpInst()
1879 case ICmpInst::ICMP_ULE: in visitICmpInst()
2108 case ICmpInst::ICMP_ULE: in visitICmpInst()
2629 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in FoldFCmp_IntToFP_Cst()
2669 Pred == ICmpInst::ICMP_ULE) in FoldFCmp_IntToFP_Cst()
2709 case ICmpInst::ICMP_ULE: in FoldFCmp_IntToFP_Cst()
2726 Pred = ICmpInst::ICMP_ULE; in FoldFCmp_IntToFP_Cst()
DInstCombineSelect.cpp45 case ICmpInst::ICMP_ULE: return SPF_UMIN; in MatchSelectPattern()
61 case ICmpInst::ICMP_ULE: return SPF_UMAX; in MatchSelectPattern()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp106 ICMP_ULE = 37, ///< unsigned less or equal enumerator
121 case ICMP_ULE: return Arg1 <= Arg2; in ComputeCmp()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DAnalysis.cpp189 case ICmpInst::ICMP_ULE: return ISD::SETULE; in getICmpCondCode()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstrTypes.h672 ICMP_ULE = 37, ///< unsigned less or equal
/external/llvm/lib/CodeGen/
DAnalysis.cpp204 case ICmpInst::ICMP_ULE: return ISD::SETULE; in getICmpCondCode()
/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp77 case CmpInst::ICMP_ULE: { in makeICmpRegion()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DExecution.cpp271 case ICmpInst::ICMP_ULE: R = executeICMP_ULE(Src1, Src2, Ty); break; in visitICmpInst()
489 case ICmpInst::ICMP_ULE: return executeICMP_ULE(Src1, Src2, Ty); in executeCmpInst()
/external/spirv-llvm/lib/SPIRV/
DSPIRVInternal.h150 _SPIRV_OP(ICMP_ULE, ULessThanEqual) in init()
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/
DCPPBackend.cpp829 case ICmpInst::ICMP_ULE: Out << "ULE"; break; in printConstant()
1204 case ICmpInst::ICMP_ULE: Out << "ICmpInst::ICMP_ULE"; break; in printInstruction()

123