Home
last modified time | relevance | path

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

12

/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()
DLowerSwitch.cpp314 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_SLE, Val, Leaf.High, in newLeafBlock()
/external/llvm/lib/Fuzzer/
DFuzzerDFSan.cpp101 ICMP_SLE = 41, ///< signed less or equal enumerator
116 case ICMP_SLE: return (S)Arg1 <= (S)Arg2; in ComputeCmp()
/external/llvm/examples/Fibonacci/
Dfibonacci.cpp63 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/llvm/include/llvm/IR/
DInstrTypes.h723 ICMP_SLE = 41, ///< signed less or equal
725 LAST_ICMP_PREDICATE = ICMP_SLE,
726 BAD_ICMP_PREDICATE = ICMP_SLE + 1
DPatternMatch.h994 return Pred == CmpInst::ICMP_SLT || Pred == CmpInst::ICMP_SLE; in match()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp126 case ICmpInst::ICMP_SLE: // True if LHS s<= RHS and RHS == -1 in isSignBitCheck()
157 pred = ICmpInst::ICMP_SLE; in isSignTest()
773 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in FoldICmpAddOpCst()
1526 if (Pred == ICmpInst::ICMP_SLE) in visitICmpInstWithInstAndIntCst()
1537 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in visitICmpInstWithInstAndIntCst()
2723 case ICmpInst::ICMP_SLE: { // icmp sle i1 A, B -> A | ~B in visitICmpInst()
2788 return new ICmpInst(ICmpInst::ICMP_SLE, A, B); in visitICmpInst()
2801 case ICmpInst::ICMP_SLE: in visitICmpInst()
3043 case ICmpInst::ICMP_SLE: in visitICmpInst()
3306 return new ICmpInst(CmpInst::ICMP_SLE, A, Op1); in visitICmpInst()
[all …]
DInstCombineAndOrXor.cpp303 ICmpInst::ICMP_SLE:ICmpInst::ICMP_ULE), Lo, Hi))->getZExtValue() && in InsertRangeTest()
865 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break; in simplifyRangeCheck()
975 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldAndOfICmps()
976 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldAndOfICmps()
1868 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldOrOfICmps()
1869 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldOrOfICmps()
DInstCombineSelect.cpp54 case ICmpInst::ICMP_SLE: return SPF_SMIN; in MatchSelectPattern()
69 case ICmpInst::ICMP_SLE: return SPF_SMAX; in MatchSelectPattern()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1527 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps()
1678 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_SLE) in SimplifyOrOfICmps()
1680 if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps()
1684 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_SLE) in SimplifyOrOfICmps()
1686 if (Pred0 == ICmpInst::ICMP_SGT && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps()
2171 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2206 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2436 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2487 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2629 if (Pred == ICmpInst::ICMP_SLE) in SimplifyICmpInst()
[all …]
DScalarEvolution.cpp2993 } else if (isKnownPredicate(ICmpInst::ICMP_SLE, Ops[i], Ops[i+1])) { in getSMaxExpr()
4344 case ICmpInst::ICMP_SLE: in createSCEV()
6368 case ICmpInst::ICMP_SLE: in SimplifyICmpOperands()
6456 case ICmpInst::ICMP_SLE: in SimplifyICmpOperands()
6614 case ICmpInst::ICMP_SLE: { in isKnownPredicateWithRanges()
7071 case ICmpInst::ICMP_SLE: in IsKnownPredicateViaMinOrMax()
7114 case ICmpInst::ICMP_SLE: in isImpliedCondOperandsHelper()
7115 if (IsKnownPredicateFull(ICmpInst::ICMP_SLE, LHS, FoundLHS) && in isImpliedCondOperandsHelper()
7122 IsKnownPredicateFull(ICmpInst::ICMP_SLE, RHS, FoundRHS)) in isImpliedCondOperandsHelper()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp91 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/llvm/lib/IR/
DInstructions.cpp3098 case ICMP_SGT: return ICMP_SLE; in getInversePredicate()
3101 case ICMP_SLE: return ICMP_SGT; in getInversePredicate()
3126 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
3131 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate()
3144 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate()
3189 case ICmpInst::ICMP_SLE: in makeConstantRange()
3218 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3219 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
3252 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned()
3278 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE: in isTrueWhenEqual()
DConstantFold.cpp1558 return isSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; in evaluateICmpRelation()
1734 case ICmpInst::ICMP_SLE: return ConstantInt::get(ResultTy, V1.sle(V2)); in ConstantFoldCompareInstruction()
1885 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1903 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1911 case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1913 if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1; in ConstantFoldCompareInstruction()
DConstantRange.cpp85 case CmpInst::ICMP_SLE: { in makeAllowedICmpRegion()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp282 case ICmpInst::ICMP_SLE: in parseRangeCheckICmp()
904 SE.isKnownPredicate(ICmpInst::ICMP_SLE, Range.getBegin(), Smallest); in calculateSubRanges()
909 SE.isKnownPredicate(ICmpInst::ICMP_SLE, Greatest, Range.getEnd()); in calculateSubRanges()
DFloat2Int.cpp105 return CmpInst::ICMP_SLE; in mapFCmpPred()
DIndVarSimplify.cpp325 case CmpInst::FCMP_ULE: NewPred = CmpInst::ICMP_SLE; break; in HandleFloatingPointIV()
352 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) { in HandleFloatingPointIV()
DLoopIdiomRecognize.cpp554 CmpInst::ICMP_UGT : CmpInst::ICMP_SLE; in transform()
/external/lldb/source/Expression/
DIRInterpreter.cpp500 case CmpInst::ICMP_SLE: in CanInterpret()
1075 case CmpInst::ICMP_SLE: in Interpret()
/external/llvm/lib/CodeGen/
DAnalysis.cpp202 case ICmpInst::ICMP_SLE: return ISD::SETLE; in getICmpCondCode()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp559 ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_SLE, SignedSample), in TEST()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp893 case ICmpInst::ICMP_SLE: Out << "SLE"; break; in printConstant()
1294 case ICmpInst::ICMP_SLE: Out << "ICmpInst::ICMP_SLE"; break; in printInstruction()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp293 case ICmpInst::ICMP_SLE: R = executeICMP_SLE(Src1, Src2, Ty); break; in visitICmpInst()
658 case ICmpInst::ICMP_SLE: return executeICMP_SLE(Src1, Src2, Ty); in executeCmpInst()
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp555 case CmpInst::ICMP_SLE: { in emitCmp()

12