reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/BasicTTIImpl.h
 1154         Cost += ConcreteTTI->getCmpSelInstrCost(BinaryOperator::ICmp, RetTy,
 1339       Cost += ConcreteTTI->getCmpSelInstrCost(BinaryOperator::ICmp, RetTy,
 1401       Cost += 3 * ConcreteTTI->getCmpSelInstrCost(BinaryOperator::ICmp, SumTy,
 1404                       BinaryOperator::ICmp, OverflowTy, OverflowTy, nullptr);
 1419       Cost += ConcreteTTI->getCmpSelInstrCost(BinaryOperator::ICmp, SumTy,
 1447       Cost += ConcreteTTI->getCmpSelInstrCost(BinaryOperator::ICmp, MulTy,
 1658       CmpOpcode = Instruction::ICmp;
include/llvm/IR/InstrTypes.h
  967     return I->getOpcode() == Instruction::ICmp ||
include/llvm/IR/Instructions.h
 1180               Instruction::ICmp, pred, LHS, RHS, NameStr,
 1195               Instruction::ICmp, pred, LHS, RHS, NameStr,
 1209               Instruction::ICmp, pred, LHS, RHS, NameStr) {
 1279     return I->getOpcode() == Instruction::ICmp;
lib/Analysis/CFLGraph.h
  185       return CE->getOpcode() != Instruction::ICmp &&
  579       case Instruction::ICmp:
lib/Analysis/CaptureTracking.cpp
  349     case Instruction::ICmp: {
lib/Analysis/ConstantFolding.cpp
 1044   case Instruction::ICmp:
lib/Analysis/IVDescriptors.cpp
  589   case Instruction::ICmp:
  768     return Instruction::ICmp;
lib/Analysis/InstructionSimplify.cpp
 5320   case Instruction::ICmp:
lib/Analysis/ObjCARCInstKind.cpp
  286     case Instruction::ICmp:
lib/Analysis/TargetTransformInfo.cpp
 1195   case Instruction::ICmp:
lib/Analysis/ValueTracking.cpp
 4343   case Instruction::ICmp:
lib/AsmParser/LLLexer.cpp
  848   INSTKEYWORD(icmp,  ICmp); INSTKEYWORD(fcmp,  FCmp);
lib/AsmParser/LLParser.cpp
 3405       assert(Opc == Instruction::ICmp && "Unexpected opcode for CmpInst!");
 6527     assert(Opc == Instruction::ICmp && "Unknown opcode for CmpInst!");
lib/Bitcode/Writer/BitcodeWriter.cpp
 2507       case Instruction::ICmp:
 2694   case Instruction::ICmp:
lib/CodeGen/ExpandReductions.cpp
   50     return Instruction::ICmp;
lib/CodeGen/TargetLoweringBase.cpp
 1630   case ICmp:           return ISD::SETCC;
lib/ExecutionEngine/Interpreter/Execution.cpp
 2052   case Instruction::ICmp:
lib/FuzzMutate/Operations.cpp
   33   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_EQ));
   34   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_NE));
   35   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_UGT));
   36   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_UGE));
   37   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULT));
   38   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULE));
   39   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGT));
   40   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGE));
   41   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLT));
   42   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLE));
  131   case Instruction::ICmp:
lib/IR/ConstantFold.cpp
 1195         case Instruction::ICmp:
lib/IR/Constants.cpp
 1181   return getOpcode() == Instruction::ICmp || getOpcode() == Instruction::FCmp;
 1283   case Instruction::ICmp:
 2080   const ConstantExprKeyType Key(Instruction::ICmp, ArgVec, pred);
 3026   case Instruction::ICmp:
lib/IR/ConstantsContext.h
  287     return CE->getOpcode() == Instruction::ICmp ||
  560     case Instruction::ICmp:
  561       return new CompareConstantExpr(Ty, Instruction::ICmp, SubclassData,
lib/IR/Core.cpp
 2739     if (CE->getOpcode() == Instruction::ICmp)
lib/IR/Instruction.cpp
  355   case ICmp:           return "icmp";
lib/IR/Instructions.cpp
 3491   if (Op == Instruction::ICmp) {
 3511   if (Op == Instruction::ICmp) {
lib/Target/AArch64/AArch64FastISel.cpp
 5212   case Instruction::ICmp:
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  115   case Instruction::ICmp:
  909   case Instruction::ICmp:
lib/Target/ARM/ARMCodeGenPrepare.cpp
  824     case Instruction::ICmp:
lib/Target/ARM/ARMFastISel.cpp
 2829     case Instruction::ICmp:
lib/Target/ARM/ARMTargetTransformInfo.cpp
  130   if (Opcode == Instruction::ICmp && Imm.isNegative() &&
 1091   case Instruction::ICmp:
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  990     case Instruction::ICmp:
 1241     case Instruction::ICmp:
 1275       case Instruction::ICmp:
lib/Target/Mips/MipsFastISel.cpp
 2086   case Instruction::ICmp:
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
  258   case Instruction::ICmp:
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  160   case Instruction::ICmp:
lib/Target/SystemZ/SystemZTDC.cpp
  320     else if (I.getOpcode() == Instruction::ICmp)
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
   98   case Instruction::ICmp:
  815     if (Opcode == Instruction::ICmp || Opcode == Instruction::FCmp) {
  862     case Instruction::ICmp: {
  945   case Instruction::ICmp:
  950     if (UserI->getOpcode() != Instruction::ICmp) {
  978     if (UserI->getOpcode() == Instruction::ICmp)
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
 1374   case Instruction::ICmp:
lib/Target/X86/X86FastISel.cpp
 3611   case Instruction::ICmp:
lib/Target/X86/X86TargetTransformInfo.cpp
 1705   if (I && (Opcode == Instruction::ICmp || Opcode == Instruction::FCmp)) {
 2471         Instruction::ICmp, Type::getInt8Ty(SrcVTy->getContext()), nullptr);
 2984   case Instruction::ICmp:
 3190       getCmpSelInstrCost(Instruction::ICmp, Type::getInt1Ty(SrcVTy->getContext()),
lib/Transforms/IPO/FunctionAttrs.cpp
  559     case Instruction::ICmp:
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1356   return ICmpInst::Create(Instruction::ICmp, Pred, Masked, Zero);
 1385   return ICmpInst::Create(Instruction::ICmp,
 3096       return ICmpInst::Create(Instruction::ICmp, NewPred,
 3123       return CmpInst::Create(Instruction::ICmp, ICmpInst::ICMP_ULT,
 3132       return CmpInst::Create(Instruction::ICmp, ICmpInst::ICMP_UGT,
 3145       return CmpInst::Create(Instruction::ICmp, ICmpInst::ICMP_EQ,
 3154       return CmpInst::Create(Instruction::ICmp, ICmpInst::ICMP_NE,
 5354   return CmpInst::Create(Instruction::ICmp, NewPred, NewX, Zero);
 5405           return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1);
 5409           return CmpInst::Create(Instruction::ICmp, I.getPredicate(), V, Op1);
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1167     case Instruction::ICmp:
 1251     case Instruction::ICmp:
 1333     case Instruction::ICmp:
lib/Transforms/InstCombine/InstructionCombining.cpp
 2294       case Instruction::ICmp: {
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  848       case Instruction::ICmp:
lib/Transforms/Scalar/GVN.cpp
  311   assert((Opcode == Instruction::ICmp || Opcode == Instruction::FCmp) &&
  515     case Instruction::ICmp:
 1677       if (Opcode == Instruction::ICmp || Opcode == Instruction::FCmp)
lib/Transforms/Scalar/GVNSink.cpp
  463     case Instruction::ICmp:
lib/Transforms/Scalar/NewGVN.cpp
 1995     case Instruction::ICmp:
lib/Transforms/Scalar/SCCP.cpp
 1646       case Instruction::ICmp:
lib/Transforms/Scalar/SpeculativeExecution.cpp
  244     case Instruction::ICmp:
lib/Transforms/Utils/LoopUtils.cpp
  802     if (Op != Instruction::ICmp && Op != Instruction::FCmp) {
  844     if (Op != Instruction::ICmp && Op != Instruction::FCmp) {
  902   case Instruction::ICmp:
  968     return createSimpleTargetReduction(B, TTI, Instruction::ICmp, Src, Flags);
lib/Transforms/Vectorize/LoopVectorize.cpp
 3054         CmpInst::Create(Instruction::ICmp, CmpInst::ICMP_EQ, Count,
 3785     if (Op != Instruction::ICmp && Op != Instruction::FCmp)
 4204   case Instruction::ICmp:
 6236   case Instruction::ICmp:
 6861     case Instruction::ICmp:
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2518     case Instruction::ICmp:
 3067     case Instruction::ICmp:
 3892     case Instruction::ICmp: {
 5781               ((Opcode == Instruction::ICmp || Opcode == Instruction::FCmp) &&
 5783               (Opcode == Instruction::ICmp &&
 5797         Cmp = Opcode == Instruction::ICmp ? Builder.CreateICmpSLT(LHS, RHS)
 5801         Cmp = Opcode == Instruction::ICmp ? Builder.CreateICmpSGT(LHS, RHS)
 5805         assert(Opcode == Instruction::ICmp && "Expected integer types.");
 5809         assert(Opcode == Instruction::ICmp && "Expected integer types.");
 5963         return Opcode == Instruction::ICmp ||
 5967         assert(Opcode == Instruction::ICmp &&
 6080         Flags.IsSigned = Opcode == Instruction::ICmp;
 6084         Flags.IsSigned = Opcode == Instruction::ICmp;
 6147         return OperationData(Instruction::ICmp, LHS, RHS, RK_UMin);
 6149         return OperationData(Instruction::ICmp, LHS, RHS, RK_Min);
 6156         return OperationData(Instruction::ICmp, LHS, RHS, RK_UMax);
 6158         return OperationData(Instruction::ICmp, LHS, RHS, RK_Max);
 6207           return OperationData(Instruction::ICmp, LHS, RHS, RK_UMin);
 6211           return OperationData(Instruction::ICmp, LHS, RHS, RK_Min);
 6222           return OperationData(Instruction::ICmp, LHS, RHS, RK_UMax);
 6226           return OperationData(Instruction::ICmp, LHS, RHS, RK_Max);
tools/lldb/source/Expression/IRInterpreter.cpp
  543       case Instruction::ICmp: {
 1078     case Instruction::ICmp: {
tools/llvm-diff/DifferenceEngine.cpp
  433     case Instruction::ICmp:
tools/llvm-stress/llvm-stress.cpp
  662     Value *V = CmpInst::Create(fp ? Instruction::FCmp : Instruction::ICmp,
unittests/Analysis/ScalarEvolutionTest.cpp
  186   CmpInst *Cmp = CmpInst::Create(Instruction::ICmp, CmpInst::ICMP_ULT,
  696     auto *Cmp = CmpInst::Create(Instruction::ICmp, CmpInst::ICMP_SGT, PN,
unittests/Transforms/Utils/IntegerDivisionTest.cpp
   76   EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
  136   EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
  197   EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
  257   EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
   85   EXPECT_EQ(Instruction::ICmp, ICmp->getOpcode());