Home
last modified time | relevance | path

Searched refs:ICMP_SLE (Results 1 – 25 of 75) sorted by relevance

123

/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp58 case ICmpInst::ICMP_SLE: return 6; // 110 in getICmpCode()
83 case 6: NewICmpPred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break; in getICmpValue()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp220 case naclbitc::ICMP_SLE: in DecodeIcmpPredicate()
221 LLVMPredicate = CmpInst::ICMP_SLE; in DecodeIcmpPredicate()
/external/llvm/examples/Fibonacci/
Dfibonacci.cpp77 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/swiftshader/third_party/LLVM/examples/Fibonacci/
Dfibonacci.cpp64 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClLLVMBitCodes.h303 ICMP_SLE = 41 ///< signed less or equal enumerator
/external/swiftshader/third_party/LLVM/include/llvm/
DInstrTypes.h676 ICMP_SLE = 41, ///< signed less or equal
678 LAST_ICMP_PREDICATE = ICMP_SLE,
679 BAD_ICMP_PREDICATE = ICMP_SLE + 1
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp135 case ICmpInst::ICMP_SLE: // True if LHS s<= RHS and RHS == -1 in isSignBitCheck()
166 Pred = ICmpInst::ICMP_SLE; in isSignTest()
1169 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in FoldICmpAddOpCst()
1957 if (Pred == ICmpInst::ICMP_SLE) in visitICmpInstWithInstAndIntCst()
1968 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in visitICmpInstWithInstAndIntCst()
3101 if (Pred != ICmpInst::ICMP_SLE && Pred != ICmpInst::ICMP_SGE && in canonicalizeCmpWithConstant()
3117 bool IsLE = (Pred == ICmpInst::ICMP_SLE || Pred == ICmpInst::ICMP_ULE); in canonicalizeCmpWithConstant()
3227 case ICmpInst::ICMP_SLE: { // icmp sle i1 A, B -> A | ~B in visitICmpInst()
3308 return new ICmpInst(ICmpInst::ICMP_SLE, A, B); in visitICmpInst()
3573 case ICmpInst::ICMP_SLE: 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()
956 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldAndOfICmps()
957 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldAndOfICmps()
1856 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldOrOfICmps()
1857 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldOrOfICmps()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp1475 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1521 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1688 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1741 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1834 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1861 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
1925 EqP = CmpInst::ICMP_SLE; // "A == smin(A, B)" iff "A sle B". in SimplifyICmpInst()
1932 EqP = CmpInst::ICMP_SLE; // "A == smin(A, B)" iff "A sle B". in SimplifyICmpInst()
1943 case CmpInst::ICMP_SLE: in SimplifyICmpInst()
2065 if (Pred == CmpInst::ICMP_SLE) in SimplifyICmpInst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1545 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps()
1711 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_SLE) in SimplifyOrOfICmps()
1713 if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps()
1717 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_SLE) in SimplifyOrOfICmps()
1719 if (Pred0 == ICmpInst::ICMP_SGT && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps()
2222 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2262 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2526 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2577 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2708 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SLE) { in SimplifyICmpInst()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp122 case ICmpInst::ICMP_SLE: // True if LHS s<= RHS and RHS == -1 in isSignBitCheck()
728 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in FoldICmpAddOpCst()
1827 case ICmpInst::ICMP_SLE: { // icmp sle i1 A, B -> A | ~B in visitICmpInst()
1883 case ICmpInst::ICMP_SLE: in visitICmpInst()
2094 case ICmpInst::ICMP_SLE: in visitICmpInst()
2362 case ICmpInst::ICMP_SLE: in visitICmpInst()
2629 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in FoldFCmp_IntToFP_Cst()
2657 Pred == ICmpInst::ICMP_SLE) in FoldFCmp_IntToFP_Cst()
2715 case ICmpInst::ICMP_SLE: in FoldFCmp_IntToFP_Cst()
2732 Pred = ICmpInst::ICMP_SLE; in FoldFCmp_IntToFP_Cst()
DInstCombineAndOrXor.cpp101 case ICmpInst::ICMP_SLE: 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()
816 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldAndOfICmps()
817 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldAndOfICmps()
1523 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldOrOfICmps()
1524 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldOrOfICmps()
DInstCombineSelect.cpp47 case ICmpInst::ICMP_SLE: return SPF_SMIN; in MatchSelectPattern()
63 case ICmpInst::ICMP_SLE: return SPF_SMAX; in MatchSelectPattern()
/external/llvm/lib/IR/
DInstructions.cpp3444 case ICMP_SGT: return ICMP_SLE; in getInversePredicate()
3447 case ICMP_SLE: return ICMP_SGT; in getInversePredicate()
3474 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
3479 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate()
3492 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate()
3537 case ICmpInst::ICMP_SLE: in makeConstantRange()
3566 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3567 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
3598 return CmpInst::ICMP_SLE; in getSignedPredicate()
3617 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned()
[all …]
DConstantFold.cpp1581 return isSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; in evaluateICmpRelation()
1757 case ICmpInst::ICMP_SLE: return ConstantInt::get(ResultTy, V1.sle(V2)); in ConstantFoldCompareInstruction()
1909 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1927 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1935 case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1937 if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1; in ConstantFoldCompareInstruction()
/external/swiftshader/third_party/LLVM/examples/ParallelJIT/
DParallelJIT.cpp91 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp108 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2900 case ICMP_SGT: return ICMP_SLE; in getInversePredicate()
2903 case ICMP_SLE: return ICMP_SGT; in getInversePredicate()
2928 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
2933 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate()
2946 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate()
2991 case ICmpInst::ICMP_SLE: in makeConstantRange()
3020 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3021 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
3054 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned()
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()
1914 case ICmpInst::ICMP_SLE: return ConstantInt::get(ResultTy, V1.sle(V2)); in ConstantFoldCompareInstruction()
2061 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
2079 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
2087 case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
2089 if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1; in ConstantFoldCompareInstruction()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp110 ICMP_SLE = 41, ///< signed less or equal enumerator
125 case ICMP_SLE: return (S)Arg1 <= (S)Arg2; in ComputeCmp()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DAnalysis.cpp188 case ICmpInst::ICMP_SLE: return ISD::SETLE; in getICmpCondCode()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerSwitch.cpp194 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_SLE, Val, Leaf.High, in newLeafBlock()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp277 case ICmpInst::ICMP_SLE: in parseRangeCheckICmp()
882 SE.isKnownPredicate(ICmpInst::ICMP_SLE, Range.getBegin(), Smallest); in calculateSubRanges()
887 SE.isKnownPredicate(ICmpInst::ICMP_SLE, Greatest, Range.getEnd()); in calculateSubRanges()
DFloat2Int.cpp98 return CmpInst::ICMP_SLE; in mapFCmpPred()
/external/llvm/include/llvm/IR/
DInstrTypes.h896 ICMP_SLE = 41, ///< signed less or equal
898 LAST_ICMP_PREDICATE = ICMP_SLE,
899 BAD_ICMP_PREDICATE = ICMP_SLE + 1

123