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.cpp319 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_SLE, Val, Leaf.High, in newLeafBlock()
/external/llvm/examples/Fibonacci/
Dfibonacci.cpp64 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/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()
843 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in FoldICmpAddOpCst()
1632 if (Pred == ICmpInst::ICMP_SLE) in visitICmpInstWithInstAndIntCst()
1643 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) in visitICmpInstWithInstAndIntCst()
2817 case ICmpInst::ICMP_SLE: { // icmp sle i1 A, B -> A | ~B in visitICmpInst()
2882 return new ICmpInst(ICmpInst::ICMP_SLE, A, B); in visitICmpInst()
2895 case ICmpInst::ICMP_SLE: in visitICmpInst()
3135 case ICmpInst::ICMP_SLE: in visitICmpInst()
3409 return new ICmpInst(CmpInst::ICMP_SLE, A, Op1); in visitICmpInst()
[all …]
DInstCombineAndOrXor.cpp303 ICmpInst::ICMP_SLE:ICmpInst::ICMP_ULE), Lo, Hi))->getZExtValue() && in InsertRangeTest()
863 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break; in simplifyRangeCheck()
973 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldAndOfICmps()
974 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldAndOfICmps()
1957 LHSCC == ICmpInst::ICMP_SGE || LHSCC == ICmpInst::ICMP_SLE || in FoldOrOfICmps()
1958 RHSCC == ICmpInst::ICMP_SGE || RHSCC == ICmpInst::ICMP_SLE) in FoldOrOfICmps()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1541 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps()
1692 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_SLE) in SimplifyOrOfICmps()
1694 if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps()
1698 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_SLE) in SimplifyOrOfICmps()
1700 if (Pred0 == ICmpInst::ICMP_SGT && Pred1 == ICmpInst::ICMP_SLE && isNSW) in SimplifyOrOfICmps()
2197 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2236 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2500 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2551 case ICmpInst::ICMP_SLE: in SimplifyICmpInst()
2701 if (Pred == ICmpInst::ICMP_SLE) in SimplifyICmpInst()
[all …]
DScalarEvolution.cpp3064 } else if (isKnownPredicate(ICmpInst::ICMP_SLE, Ops[i], Ops[i+1])) { in getSMaxExpr()
4006 case ICmpInst::ICMP_SLE: in createNodeForSelectOrPHI()
6909 case ICmpInst::ICMP_SLE: in SimplifyICmpOperands()
6997 case ICmpInst::ICMP_SLE: in SimplifyICmpOperands()
7184 case ICmpInst::ICMP_SLE: { in isMonotonicPredicateImpl()
7196 Increasing = Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE; in isMonotonicPredicateImpl()
7283 case ICmpInst::ICMP_SLE: { in isKnownPredicateWithRanges()
7361 case ICmpInst::ICMP_SLE: in isKnownPredicateViaNoOverflow()
8011 case ICmpInst::ICMP_SLE: in IsKnownPredicateViaMinOrMax()
8056 case ICmpInst::ICMP_SLE: in isImpliedCondOperandsHelper()
[all …]
DValueTracking.cpp930 Pred == ICmpInst::ICMP_SLE && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
3943 case ICmpInst::ICMP_SLE: return {SPF_SMIN, SPNB_NA, false}; in matchSelectPattern()
4116 case CmpInst::ICMP_SLE: { in isTruePredicate()
4175 case CmpInst::ICMP_SLE: in isImpliedCondOperands()
4176 return isTruePredicate(CmpInst::ICMP_SLE, BLHS, ALHS, DL, Depth, AC, CxtI, in isImpliedCondOperands()
4178 isTruePredicate(CmpInst::ICMP_SLE, ARHS, BRHS, DL, Depth, AC, CxtI, in isImpliedCondOperands()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp92 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp111 ICMP_SLE = 41, ///< signed less or equal enumerator
126 case ICMP_SLE: return (S)Arg1 <= (S)Arg2; in ComputeCmp()
/external/llvm/lib/IR/
DInstructions.cpp3369 case ICMP_SGT: return ICMP_SLE; in getInversePredicate()
3372 case ICMP_SLE: return ICMP_SGT; in getInversePredicate()
3399 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: in getSignedPredicate()
3404 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate()
3417 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate()
3462 case ICmpInst::ICMP_SLE: in makeConstantRange()
3491 case ICMP_SGE: return ICMP_SLE; in getSwappedPredicate()
3492 case ICMP_SLE: return ICMP_SGE; in getSwappedPredicate()
3523 return CmpInst::ICMP_SLE; in getSignedPredicate()
3542 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT: in isSigned()
[all …]
DConstantFold.cpp1564 return isSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; in evaluateICmpRelation()
1740 case ICmpInst::ICMP_SLE: return ConstantInt::get(ResultTy, V1.sle(V2)); in ConstantFoldCompareInstruction()
1892 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1910 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1918 case ICmpInst::ICMP_SLE: in ConstantFoldCompareInstruction()
1920 if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1; in ConstantFoldCompareInstruction()
DConstantRange.cpp87 case CmpInst::ICMP_SLE: { in makeAllowedICmpRegion()
/external/llvm/include/llvm/IR/
DInstrTypes.h912 ICMP_SLE = 41, ///< signed less or equal
914 LAST_ICMP_PREDICATE = ICMP_SLE,
915 BAD_ICMP_PREDICATE = ICMP_SLE + 1
DPatternMatch.h994 return Pred == CmpInst::ICMP_SLT || Pred == CmpInst::ICMP_SLE; in match()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp289 case ICmpInst::ICMP_SLE: in parseRangeCheckICmp()
911 SE.isKnownPredicate(ICmpInst::ICMP_SLE, Range.getBegin(), Smallest); in calculateSubRanges()
916 SE.isKnownPredicate(ICmpInst::ICMP_SLE, Greatest, Range.getEnd()); in calculateSubRanges()
DFloat2Int.cpp110 return CmpInst::ICMP_SLE; in INITIALIZE_PASS_DEPENDENCY()
DIndVarSimplify.cpp357 case CmpInst::FCMP_ULE: NewPred = CmpInst::ICMP_SLE; break; in handleFloatingPointIV()
384 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) { in handleFloatingPointIV()
DLoopIdiomRecognize.cpp1040 (LbBr->getSuccessor(0) == Body) ? CmpInst::ICMP_UGT : CmpInst::ICMP_SLE; in transformLoopToPopcount()
/external/llvm/lib/CodeGen/
DAnalysis.cpp204 case ICmpInst::ICMP_SLE: return ISD::SETLE; in getICmpCondCode()
/external/clang/docs/
DSanitizerCoverage.rst273 // - [31:0] the Type of comparison (one of ICMP_EQ, ... ICMP_SLE)
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp892 case ICmpInst::ICMP_SLE: Out << "SLE"; break; in printConstant()
1293 case ICmpInst::ICMP_SLE: Out << "ICmpInst::ICMP_SLE"; break; in printInstruction()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp560 ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_SLE, SignedSample), in TEST()
/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/AArch64/
DAArch64FastISel.cpp2133 case CmpInst::ICMP_SLE: in getCompareCC()
2215 case CmpInst::ICMP_SLE: in emitCompareAndBranch()
2223 IsCmpNE = Predicate == CmpInst::ICMP_SLE; in emitCompareAndBranch()

12