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

References

gen/lib/Target/AArch64/AArch64GenGlobalISel.inc
 5172         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
 5193         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
 5234         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
 5255         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
gen/lib/Target/Mips/MipsGenGlobalISel.inc
12669         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
gen/lib/Target/X86/X86GenGlobalISel.inc
 2910         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
 2975         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
 3285         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
 3350         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
 4456         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
 4555         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
 4869         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
 4968         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_SUB,
include/llvm/CodeGen/GlobalISel/ConstantFoldingMIRBuilder.h
   41     case TargetOpcode::G_SUB:
include/llvm/CodeGen/GlobalISel/IRTranslator.h
  357     return translateBinaryOp(TargetOpcode::G_SUB, U, MIRBuilder);
include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
  200 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_SUB> m_GSub(const LHS &L,
  202   return BinaryOp_match<LHS, RHS, TargetOpcode::G_SUB>(L, R);
include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
 1245     return buildInstr(TargetOpcode::G_SUB, {Dst}, {Src0, Src1}, Flags);
lib/CodeGen/GlobalISel/CSEInfo.cpp
   42   case TargetOpcode::G_SUB:
lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
  151   case TargetOpcode::G_SUB:
lib/CodeGen/GlobalISel/GISelKnownBits.cpp
  154   case TargetOpcode::G_SUB: {
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  754   case TargetOpcode::G_SUB: {
 1431                           : TargetOpcode::G_SUB;
 1482           TargetOpcode::G_SUB, {WideTy},
 1538   case TargetOpcode::G_SUB:
 2956   case G_SUB:
 3730     MIRBuilder.buildInstr(TargetOpcode::G_SUB, {MI.getOperand(0).getReg()},
 3774           TargetOpcode::G_SUB, {MI.getOperand(0).getReg()},
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
  972   case TargetOpcode::G_SUB:
lib/CodeGen/GlobalISel/Utils.cpp
  364     case TargetOpcode::G_SUB:
lib/Target/AArch64/AArch64InstructionSelector.cpp
 3493     if (!DefMI || DefMI->getOpcode() != TargetOpcode::G_SUB)
 3501     if (DefMI->getOpcode() != TargetOpcode::G_SUB)
lib/Target/AArch64/AArch64LegalizerInfo.cpp
   88   getActionDefinitionsBuilder({G_ADD, G_SUB, G_MUL, G_AND, G_OR, G_XOR})
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
  531   case TargetOpcode::G_SUB:
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  307   const bool Sub = I.getOpcode() == TargetOpcode::G_SUB;
 1691   case TargetOpcode::G_SUB:
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  264     getActionDefinitionsBuilder({G_ADD, G_SUB, G_MUL})
  269     getActionDefinitionsBuilder({G_ADD, G_SUB, G_MUL})
lib/Target/ARM/ARMLegalizerInfo.cpp
   94     getActionDefinitionsBuilder({G_ADD, G_SUB})
   98     getActionDefinitionsBuilder({G_ADD, G_SUB})
lib/Target/ARM/ARMRegisterBankInfo.cpp
  231   case G_SUB: {
lib/Target/Mips/MipsLegalizerInfo.cpp
   64   getActionDefinitionsBuilder({G_ADD, G_SUB, G_MUL})
  390     return MSA3OpIntrinsicToGeneric(MI, TargetOpcode::G_SUB, MIRBuilder, ST);
lib/Target/Mips/MipsRegisterBankInfo.cpp
  457   case G_SUB:
lib/Target/X86/X86LegalizerInfo.cpp
   74   for (unsigned BinOp : {G_SUB, G_MUL, G_AND, G_OR, G_XOR})
  122   for (unsigned BinOp : {G_ADD, G_SUB, G_MUL, G_AND, G_OR, G_XOR})
  219   for (unsigned BinOp : {G_ADD, G_SUB, G_MUL, G_AND, G_OR, G_XOR})
  333   for (unsigned BinOp : {G_ADD, G_SUB})
  426   for (unsigned BinOp : {G_ADD, G_SUB})
  463   for (unsigned BinOp : {G_ADD, G_SUB})
  516   for (unsigned BinOp : {G_ADD, G_SUB})
lib/Target/X86/X86RegisterBankInfo.cpp
  176   case TargetOpcode::G_SUB:
unittests/CodeGen/GlobalISel/ConstantFoldingTest.cpp
   47       CFB1.buildInstr(TargetOpcode::G_SUB, {s32},
  168       ConstantFoldBinOp(TargetOpcode::G_SUB, MIBCst1->getOperand(0).getReg(),
  173       ConstantFoldBinOp(TargetOpcode::G_SUB, MIBCst1->getOperand(0).getReg(),
unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
  538     getActionDefinitionsBuilder(G_SUB).legalFor({{s16, s16}});
unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp
   51   for (unsigned Op : {G_ADD, G_SUB}) {
   60   for (unsigned opcode : {G_ADD, G_SUB}) {