Home
last modified time | relevance | path

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

12

/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.cpp318 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High, in newLeafBlock()
327 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in newLeafBlock()
/external/llvm/lib/Fuzzer/
DFuzzerDFSan.cpp97 ICMP_ULE = 37, ///< unsigned less or equal enumerator
112 case ICMP_ULE: return Arg1 <= Arg2; in ComputeCmp()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1525 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps()
1536 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in SimplifyAndOfICmps()
1692 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_ULE) in SimplifyOrOfICmps()
1695 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_ULE) in SimplifyOrOfICmps()
1976 case CmpInst::ICMP_ULE: in computePointerICmp()
2189 case ICmpInst::ICMP_ULE: in SimplifyICmpInst()
2424 case ICmpInst::ICMP_ULE: in SimplifyICmpInst()
2504 case ICmpInst::ICMP_ULE: in SimplifyICmpInst()
2592 if (Pred == ICmpInst::ICMP_ULE) in SimplifyICmpInst()
2603 if (Pred == ICmpInst::ICMP_ULE) in SimplifyICmpInst()
[all …]
DScalarEvolution.cpp3097 } else if (isKnownPredicate(ICmpInst::ICMP_ULE, Ops[i], Ops[i+1])) { in getUMaxExpr()
4368 case ICmpInst::ICMP_ULE: in createSCEV()
6332 case ICmpInst::ICMP_ULE: in SimplifyICmpOperands()
6482 case ICmpInst::ICMP_ULE: in SimplifyICmpOperands()
6636 case ICmpInst::ICMP_ULE: { in isKnownPredicateWithRanges()
7081 case ICmpInst::ICMP_ULE: in IsKnownPredicateViaMinOrMax()
7126 case ICmpInst::ICMP_ULE: in isImpliedCondOperandsHelper()
7127 if (IsKnownPredicateFull(ICmpInst::ICMP_ULE, LHS, FoundLHS) && in isImpliedCondOperandsHelper()
7134 IsKnownPredicateFull(ICmpInst::ICMP_ULE, RHS, FoundRHS)) in isImpliedCondOperandsHelper()
DValueTracking.cpp544 case ICmpInst::ICMP_ULE: in computeKnownBitsFromTrueCondition()
897 Pred == ICmpInst::ICMP_ULE && isValidAssumeForContext(I, Q)) { in computeKnownBitsFromAssume()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp751 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in FoldICmpAddOpCst()
1448 : ICmpInst::ICMP_ULE, in visitICmpInstWithInstAndIntCst()
1506 Pred = ICmpInst::ICMP_ULE; in visitICmpInstWithInstAndIntCst()
2348 case ICmpInst::ICMP_ULE: in ProcessUMulZExtIdiom()
2438 case ICmpInst::ICMP_ULE: in ProcessUMulZExtIdiom()
2716 case ICmpInst::ICMP_ULE: { // icmp ule i1 A, B -> ~A | B in visitICmpInst()
2797 case ICmpInst::ICMP_ULE: in visitICmpInst()
3057 case ICmpInst::ICMP_ULE: in visitICmpInst()
3785 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in FoldFCmp_IntToFP_Cst()
3823 Pred == ICmpInst::ICMP_ULE) in FoldFCmp_IntToFP_Cst()
[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()
973 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps()
974 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps()
1743 if ((LHSCC == ICmpInst::ICMP_ULT || LHSCC == ICmpInst::ICMP_ULE) && in FoldOrOfICmps()
1866 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
1867 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
DInstCombineSelect.cpp52 case ICmpInst::ICMP_ULE: return SPF_UMIN; in MatchSelectPattern()
67 case ICmpInst::ICMP_ULE: return SPF_UMAX; in MatchSelectPattern()
DInstructionCombining.cpp2060 if (IPred == ICmpInst::ICMP_NE || IPred == ICmpInst::ICMP_ULE || in visitBranchInst()
/external/llvm/lib/IR/
DInstructions.cpp3094 case ICMP_UGT: return ICMP_ULE; in getInversePredicate()
3097 case ICMP_ULE: return ICMP_UGT; in getInversePredicate()
3131 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate()
3139 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate()
3144 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate()
3183 case ICmpInst::ICMP_ULE: in makeConstantRange()
3222 case ICMP_UGE: return ICMP_ULE; in getSwappedPredicate()
3223 case ICMP_ULE: return ICMP_UGE; in getSwappedPredicate()
3244 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_ULE: case ICmpInst::ICMP_UGT: in isUnsigned()
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()
1738 case ICmpInst::ICMP_ULE: return ConstantInt::get(ResultTy, V1.ule(V2)); in ConstantFoldCompareInstruction()
1877 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
1895 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
1907 case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction()
1909 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction()
DConstantRange.cpp79 case CmpInst::ICMP_ULE: { in makeAllowedICmpRegion()
/external/lldb/source/Expression/
DIRInterpreter.cpp496 case CmpInst::ICMP_ULE: in CanInterpret()
1057 case CmpInst::ICMP_ULE: in Interpret()
/external/llvm/lib/CodeGen/
DAnalysis.cpp203 case ICmpInst::ICMP_ULE: return ISD::SETULE; in getICmpCondCode()
/external/llvm/include/llvm/IR/
DInstrTypes.h719 ICMP_ULE = 37, ///< unsigned less or equal
DPatternMatch.h1008 return Pred == CmpInst::ICMP_ULT || Pred == CmpInst::ICMP_ULE; in match()
DIRBuilder.h1356 return CreateICmp(ICmpInst::ICMP_ULE, LHS, RHS, Name);
/external/llvm/unittests/IR/
DConstantRangeTest.cpp540 EXPECT_EQ(ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_ULE, in TEST()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp894 case ICmpInst::ICMP_ULE: Out << "ULE"; break; in printConstant()
1293 case ICmpInst::ICMP_ULE: Out << "ICmpInst::ICMP_ULE"; break; in printInstruction()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp292 case ICmpInst::ICMP_ULE: R = executeICMP_ULE(Src1, Src2, Ty); break; in visitICmpInst()
657 case ICmpInst::ICMP_ULE: return executeICMP_ULE(Src1, Src2, Ty); in executeCmpInst()
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp535 case CmpInst::ICMP_ULE: { in emitCmp()
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp241 case CmpInst::ICMP_ULE: in getComparePred()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp2190 case CmpInst::ICMP_ULE: Predicate = CmpInst::FCMP_TRUE; break; in optimizeCmpPredicate()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp916 case ICmpInst::ICMP_ULE: in OptimizeGlobalAddressOfMalloc()

12