|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
examples/Fibonacci/fibonacci.cpp 76 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond");
examples/ParallelJIT/ParallelJIT.cpp 106 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond");
gen/lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc15884 GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
16029 GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
16088 GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
gen/lib/Target/Mips/MipsGenGlobalISel.inc13918 GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
14089 GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
14285 GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
14494 GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
15919 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
16123 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
16327 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
16531 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
16783 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
16967 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
17171 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
17375 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
18203 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
18339 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
18611 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
18815 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
18951 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
19223 GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
gen/lib/Target/RISCV/RISCVGenGlobalISel.inc10645 GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
10666 GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
10982 GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SLE,
include/llvm/IR/IRBuilder.h 2156 return CreateICmp(ICmpInst::ICMP_SLE, LHS, RHS, Name);
include/llvm/IR/InstrTypes.h 764 LAST_ICMP_PREDICATE = ICMP_SLE,
765 BAD_ICMP_PREDICATE = ICMP_SLE + 1
include/llvm/IR/PatternMatch.h 484 case ICmpInst::Predicate::ICMP_SLE:
1477 return Pred == CmpInst::ICMP_SLT || Pred == CmpInst::ICMP_SLE;
lib/Analysis/CmpInstAnalysis.cpp 35 case ICmpInst::ICMP_SLE: return 6; // 110
53 case 6: Pred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break;
85 case ICmpInst::ICMP_SLE:
lib/Analysis/DependenceAnalysis.cpp 1000 case CmpInst::ICMP_SLE:
3244 if (!isKnownPredicate(CmpInst::ICMP_SLE,
lib/Analysis/InstructionSimplify.cpp 1526 (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGE) ||
1641 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && isNSW)
1706 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_SLE)
1708 if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW)
1712 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_SLE)
1714 if (Pred0 == ICmpInst::ICMP_SGT && Pred1 == ICmpInst::ICMP_SLE && isNSW)
2509 case CmpInst::ICMP_SLE: // X <=s 0 -> true
2518 case CmpInst::ICMP_SLE: // X <=s -1 -> X
2592 case ICmpInst::ICMP_SLE: {
2764 if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SLE) {
2804 if (Pred == ICmpInst::ICMP_SLE)
2829 case ICmpInst::ICMP_SLE: {
2859 case ICmpInst::ICMP_SLE: {
3004 EqP = CmpInst::ICMP_SLE; // "A == smin(A, B)" iff "A sle B".
3012 EqP = CmpInst::ICMP_SLE; // "A == smin(A, B)" iff "A sle B".
3023 case CmpInst::ICMP_SLE:
3149 if (Pred == CmpInst::ICMP_SLE)
3320 case ICmpInst::ICMP_SLE:
3371 case ICmpInst::ICMP_SLE:
lib/Analysis/ScalarEvolution.cpp 3639 IsSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
5345 case ICmpInst::ICMP_SLE:
9006 case ICmpInst::ICMP_SLE:
9027 case ICmpInst::ICMP_SLE:
9247 case ICmpInst::ICMP_SLE: {
9259 Increasing = Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE;
9380 case ICmpInst::ICMP_SLE:
10187 case ICmpInst::ICMP_SLE:
10365 case ICmpInst::ICMP_SLE: {
10413 case ICmpInst::ICMP_SLE:
10414 if (isKnownViaNonRecursiveReasoning(ICmpInst::ICMP_SLE, LHS, FoundLHS) &&
10421 isKnownViaNonRecursiveReasoning(ICmpInst::ICMP_SLE, RHS, FoundRHS))
lib/Analysis/ValueTracking.cpp 800 case ICmpInst::ICMP_SLE:
4599 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE)
4603 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE) {
4869 case ICmpInst::ICMP_SLE: return {SPF_SMIN, SPNB_NA, false};
5145 case CmpInst::ICMP_SLE: {
5203 case CmpInst::ICMP_SLE:
5204 if (isTruePredicate(CmpInst::ICMP_SLE, BLHS, ALHS, DL, Depth) &&
5205 isTruePredicate(CmpInst::ICMP_SLE, ARHS, BRHS, DL, Depth))
lib/AsmParser/LLParser.cpp 5874 case lltok::kw_sle: P = CmpInst::ICMP_SLE; break;
lib/CodeGen/Analysis.cpp 242 case ICmpInst::ICMP_SLE: return ISD::SETLE;
lib/CodeGen/GlobalISel/IRTranslator.cpp 593 assert(CB.PredInfo.Pred == CmpInst::ICMP_SLE &&
603 MIB.buildICmp(CmpInst::ICMP_SLE, i1Ty, CmpOpReg, CondRHS).getReg(0);
733 Pred = CmpInst::ICMP_SLE;
lib/CodeGen/MIRParser/MIParser.cpp 2273 .Case("sle", CmpInst::ICMP_SLE)
lib/CodeGen/SelectionDAG/FastISel.cpp 2471 case CmpInst::ICMP_SLE: Predicate = CmpInst::FCMP_TRUE; break;
lib/ExecutionEngine/Interpreter/Execution.cpp 346 case ICmpInst::ICMP_SLE: R = executeICMP_SLE(Src1, Src2, Ty); break;
711 case ICmpInst::ICMP_SLE: return executeICMP_SLE(Src1, Src2, Ty);
lib/FuzzMutate/Operations.cpp 42 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLE));
lib/IR/AutoUpgrade.cpp 1151 Pred = IsSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
1347 case 2: Pred = Signed ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break;
lib/IR/ConstantFold.cpp 1689 return isSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
1870 case ICmpInst::ICMP_SLE: return ConstantInt::get(ResultTy, V1.sle(V2));
2028 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SLE:
2046 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SLE:
2054 case ICmpInst::ICMP_SLE:
2056 if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1;
lib/IR/ConstantRange.cpp 106 case CmpInst::ICMP_SLE:
lib/IR/Constants.cpp 1985 case CmpInst::ICMP_SLE:
lib/IR/Instructions.cpp 3547 case ICMP_SGT: return ICMP_SLE;
3550 case ICMP_SLE: return ICMP_SGT;
3595 case ICmpInst::ICMP_SLE: return "sle";
3607 case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE:
3612 case ICMP_ULE: return ICMP_SLE;
3625 case ICMP_SLE: return ICMP_ULE;
3633 case ICMP_SLT: return ICMP_SLE;
3635 case ICMP_SLE: return ICMP_SLT;
3659 case ICMP_SGE: return ICMP_SLE;
3660 case ICMP_SLE: return ICMP_SGE;
3685 case ICMP_SLT: return ICMP_SLE;
3705 return CmpInst::ICMP_SLE;
3724 case ICmpInst::ICMP_SLT: case ICmpInst::ICMP_SLE: case ICmpInst::ICMP_SGT:
3750 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE:
3775 Pred2 == ICMP_SLE;
3783 return Pred2 == ICMP_NE || Pred2 == ICMP_SLE;
lib/Target/AArch64/AArch64FastISel.cpp 2279 case CmpInst::ICMP_SLE:
2368 case CmpInst::ICMP_SLE:
2376 IsCmpNE = Predicate == CmpInst::ICMP_SLE;
lib/Target/AArch64/AArch64InstructionSelector.cpp 885 case CmpInst::ICMP_SLE:
2573 case CmpInst::ICMP_SLE:
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp 658 case CmpInst::ICMP_SLE:
701 case CmpInst::ICMP_SLE:
lib/Target/ARM/ARMFastISel.cpp 1224 case CmpInst::ICMP_SLE:
lib/Target/ARM/ARMInstructionSelector.cpp 436 case CmpInst::ICMP_SLE:
lib/Target/ARM/ARMLegalizerInfo.cpp 316 FCmp32Libcalls[CmpInst::FCMP_OLE] = {{RTLIB::OLE_F32, CmpInst::ICMP_SLE}};
321 FCmp32Libcalls[CmpInst::FCMP_ULE] = {{RTLIB::OGT_F32, CmpInst::ICMP_SLE}};
334 FCmp64Libcalls[CmpInst::FCMP_OLE] = {{RTLIB::OLE_F64, CmpInst::ICMP_SLE}};
339 FCmp64Libcalls[CmpInst::FCMP_ULE] = {{RTLIB::OGT_F64, CmpInst::ICMP_SLE}};
lib/Target/Mips/MipsFastISel.cpp 694 case CmpInst::ICMP_SLE: {
lib/Target/Mips/MipsInstructionSelector.cpp 681 case CmpInst::ICMP_SLE: // LHS <= RHS -> !(RHS < LHS)
lib/Target/PowerPC/PPCFastISel.cpp 256 case CmpInst::ICMP_SLE:
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp 824 case CmpInst::Predicate::ICMP_SLE:
lib/Target/WebAssembly/WebAssemblyFastISel.cpp 1036 case ICmpInst::ICMP_SLE:
lib/Target/X86/X86InstrInfo.cpp 2290 case CmpInst::ICMP_SLE: CC = X86::COND_LE; break;
lib/Target/X86/X86TargetTransformInfo.cpp 1717 case CmpInst::Predicate::ICMP_SLE:
lib/Transforms/IPO/GlobalOpt.cpp 923 case ICmpInst::ICMP_SLE:
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 788 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break;
1260 PredL == ICmpInst::ICMP_SGE || PredL == ICmpInst::ICMP_SLE ||
1261 PredR == ICmpInst::ICMP_SGE || PredR == ICmpInst::ICMP_SLE)
2352 PredL == ICmpInst::ICMP_SGE || PredL == ICmpInst::ICMP_SLE ||
2353 PredR == ICmpInst::ICMP_SGE || PredR == ICmpInst::ICMP_SLE)
lib/Transforms/InstCombine/InstCombineCompares.cpp 85 Pred = ICmpInst::ICMP_SLE;
1133 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE)
1998 if (Pred == ICmpInst::ICMP_SLE)
2007 if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SLE)
2535 return new ICmpInst(ICmpInst::ICMP_SLE, X, Y);
3341 DstPred = ICmpInst::Predicate::ICMP_SLE;
3353 case ICmpInst::Predicate::ICMP_SLE:
3361 DstPred = ICmpInst::Predicate::ICMP_SLE;
3755 return new ICmpInst(CmpInst::ICMP_SLE, A, Op1);
3763 if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SLE && match(B, m_One()))
3776 if (C && NoOp1WrapProblem && Pred == CmpInst::ICMP_SLE &&
3786 return new ICmpInst(CmpInst::ICMP_SLE, Op0, C);
3920 case ICmpInst::ICMP_SLE:
4054 return new ICmpInst(ICmpInst::ICMP_SLE, X, Y);
4070 if (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_SLE)
5112 case ICmpInst::ICMP_SLE:
5294 case ICmpInst::ICMP_SLE:
5694 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE;
5720 Pred == ICmpInst::ICMP_SLE)
5789 case ICmpInst::ICMP_SLE:
5806 Pred = ICmpInst::ICMP_SLE;
lib/Transforms/InstCombine/InstCombineInternal.h 103 case CmpInst::ICMP_SLE:
125 case ICmpInst::ICMP_SLE: // True if LHS s<= -1
lib/Transforms/InstCombine/InstCombineSelect.cpp 1257 case ICmpInst::Predicate::ICMP_SLE:
1291 auto *Precond2 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SLE, C2,
lib/Transforms/Instrumentation/MemorySanitizer.cpp 2333 (pre == CmpInst::ICMP_SGT || pre == CmpInst::ICMP_SLE))) {
lib/Transforms/Scalar/Float2Int.cpp 99 return CmpInst::ICMP_SLE;
lib/Transforms/Scalar/IndVarSimplify.cpp 383 case CmpInst::FCMP_ULE: NewPred = CmpInst::ICMP_SLE; break;
410 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) {
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 291 case ICmpInst::ICMP_SLE:
1111 IsSignedPredicate ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 1873 (LbBr->getSuccessor(0) == Body) ? CmpInst::ICMP_UGT : CmpInst::ICMP_SLE;
lib/Transforms/Scalar/LoopPredication.cpp 883 Pred != ICmpInst::ICMP_ULE && Pred != ICmpInst::ICMP_SLE;
lib/Transforms/Scalar/LoopStrengthReduce.cpp 2271 Pred = ICmpInst::ICMP_SLE;
lib/Transforms/Utils/LowerSwitch.cpp 351 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_SLE, Val, Leaf.High,
lib/Transforms/Vectorize/SLPVectorizer.cpp 6210 case CmpInst::ICMP_SLE:
tools/clang/lib/CodeGen/CGBuiltin.cpp 5335 ICmpInst::ICMP_SLE, "vclez");
7757 ICmpInst::FCMP_OLE, ICmpInst::ICMP_SLE, "vclez");
7864 case NEON::BI__builtin_neon_vcled_s64:P = llvm::ICmpInst::ICMP_SLE;break;
9628 Pred = IsSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
9725 case 2: Pred = Signed ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break;
tools/clang/lib/CodeGen/CGExprScalar.cpp 805 VISITCOMP(LE, ICMP_ULE, ICMP_SLE, FCMP_OLE)
tools/lldb/source/Expression/IRInterpreter.cpp 570 case CmpInst::ICMP_SLE:
1158 case CmpInst::ICMP_SLE:
tools/polly/lib/Analysis/ScopBuilder.cpp 273 case ICmpInst::ICMP_SLE:
440 ConsequenceCondSet = buildConditionSet(ICmpInst::ICMP_SLE, isl::manage(LHS),
tools/polly/lib/CodeGen/IslExprBuilder.cpp 529 {CmpInst::ICMP_SLE, CmpInst::ICMP_ULE},
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 121 Predicate = ICmpInst::ICMP_SLE;
tools/polly/lib/CodeGen/LoopGeneratorsGOMP.cpp 157 createLoop(LB, UB, Stride, Builder, LI, DT, AfterBB, ICmpInst::ICMP_SLE,
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp 240 llvm::CmpInst::Predicate::ICMP_SLE, LB, UB, "polly.hasIteration");
255 ICmpInst::ICMP_SLE, nullptr, true,
unittests/Analysis/ValueLatticeTest.cpp 99 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV1)->isOneValue());
108 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV2)->isOneValue());
118 EXPECT_EQ(LV2.getCompare(CmpInst::ICMP_SLE, I1Ty, LV3), nullptr);
128 EXPECT_EQ(LV3.getCompare(CmpInst::ICMP_SLE, I1Ty, LV4), nullptr);
169 EXPECT_TRUE(isa<UndefValue>(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV2)));
unittests/IR/ConstantRangeTest.cpp 1364 ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_SLE, SignedSample),
unittests/IR/PatternMatch.cpp 428 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLE, APInt(BitWidth, 0))
431 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLE, APInt(BitWidth, 0))
434 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLE, APInt(BitWidth, 0))
438 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLE, APInt(BitWidth, 1))
441 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLE, APInt(BitWidth, 1))
444 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLE, APInt(BitWidth, 1))
448 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLE, APInt(BitWidth, -1))
451 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLE, APInt(BitWidth, -1))
454 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SLE, APInt(BitWidth, -1))