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

References

gen/lib/Target/AArch64/AArch64GenGlobalISel.inc
 7983           GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_TRUNC,
 8691           GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_TRUNC,
 9347           GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_TRUNC,
gen/lib/Target/Mips/MipsGenGlobalISel.inc
13013         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_TRUNC,
13262         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_TRUNC,
13491         GIM_CheckOpcode, /*MI*/1, TargetOpcode::G_TRUNC,
include/llvm/CodeGen/GlobalISel/IRTranslator.h
  391     return translateCast(TargetOpcode::G_TRUNC, U, MIRBuilder);
include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
   33     case TargetOpcode::G_TRUNC:
  162     assert(MI.getOpcode() == TargetOpcode::G_TRUNC);
  238         if (ConvertOp == TargetOpcode::G_TRUNC)
  448     case TargetOpcode::G_TRUNC: {
  465     case TargetOpcode::G_TRUNC:
include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
  115                       unsigned TruncOpcode = TargetOpcode::G_TRUNC);
include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
  280 inline UnaryOp_match<SrcTy, TargetOpcode::G_TRUNC> m_GTrunc(const SrcTy &Src) {
  281   return UnaryOp_match<SrcTy, TargetOpcode::G_TRUNC>(Src);
lib/CodeGen/GlobalISel/CSEInfo.cpp
   54   case TargetOpcode::G_TRUNC:
lib/CodeGen/GlobalISel/GISelKnownBits.cpp
  349   case TargetOpcode::G_TRUNC: {
lib/CodeGen/GlobalISel/Legalizer.cpp
   70   case TargetOpcode::G_TRUNC:
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  703   case TargetOpcode::G_TRUNC: {
 1091   auto ExtB = MIRBuilder.buildInstr(TargetOpcode::G_TRUNC, {NarrowTy},
 1902     widenScalarDst(MI, WideTy, 0, TargetOpcode::G_TRUNC);
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
  256   setScalarAction(TargetOpcode::G_TRUNC, 0, {{1, Legal}});
  257   setScalarAction(TargetOpcode::G_TRUNC, 1, {{1, Legal}});
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
  468     Opcode = TargetOpcode::G_TRUNC;
  697   return buildInstr(TargetOpcode::G_TRUNC, Res, Op);
 1008   case TargetOpcode::G_TRUNC:
lib/CodeGen/GlobalISel/Utils.cpp
  247     case TargetOpcode::G_TRUNC:
  277     case TargetOpcode::G_TRUNC:
lib/CodeGen/MachineVerifier.cpp
 1122   case TargetOpcode::G_TRUNC:
 1150     case TargetOpcode::G_TRUNC:
lib/Target/AArch64/AArch64InstructionSelector.cpp
  958   if (CCMI->getOpcode() == TargetOpcode::G_TRUNC)
 1942   case TargetOpcode::G_TRUNC: {
 1977       } else if (Opcode == TargetOpcode::G_TRUNC && DstTy == LLT::scalar(32) &&
 3410     if (Opc != TargetOpcode::COPY && Opc != TargetOpcode::G_TRUNC)
 4683   case TargetOpcode::G_TRUNC:
lib/Target/AArch64/AArch64LegalizerInfo.cpp
  375   getActionDefinitionsBuilder(G_TRUNC).alwaysLegal();
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
  638   case TargetOpcode::G_TRUNC: {
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
 1745   case TargetOpcode::G_TRUNC:
lib/Target/ARM/ARMInstructionSelector.cpp
  911   case G_TRUNC: {
  924       assert(I.getOpcode() == G_TRUNC && "Unsupported operand for G_ANYEXT");
lib/Target/ARM/ARMRegisterBankInfo.cpp
  260   case G_TRUNC: {
lib/Target/Mips/MipsLegalizerInfo.cpp
  117   getActionDefinitionsBuilder(G_TRUNC)
lib/Target/Mips/MipsRegisterBankInfo.cpp
  439   case G_TRUNC:
lib/Target/X86/X86InstructionSelector.cpp
  353   case TargetOpcode::G_TRUNC:
  707   assert((I.getOpcode() == TargetOpcode::G_TRUNC ||
 1096   while (Def->getOpcode() == TargetOpcode::G_TRUNC) {
lib/Target/X86/X86RegisterBankInfo.cpp
  239   case TargetOpcode::G_TRUNC:
  247                      Ty1.getSizeInBits() == 128 && Opc == TargetOpcode::G_TRUNC;
unittests/CodeGen/GlobalISel/CSETest.cpp
   21   auto MIBInput = B.buildInstr(TargetOpcode::G_TRUNC, {s16}, {Copies[0]});
   22   auto MIBInput1 = B.buildInstr(TargetOpcode::G_TRUNC, {s16}, {Copies[1]});
   83   auto MIBInput = B.buildInstr(TargetOpcode::G_TRUNC, {s16}, {Copies[0]});
unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
 1070       {B.buildInstr(TargetOpcode::G_TRUNC, {LLT::scalar(32)}, {Copies[0]}),
 1101       {B.buildInstr(TargetOpcode::G_TRUNC, {LLT::scalar(16)}, {Copies[0]}),
 1131       {B.buildInstr(TargetOpcode::G_TRUNC, {LLT::scalar(32)}, {Copies[0]}),
 1163       {B.buildInstr(TargetOpcode::G_TRUNC, {LLT::scalar(32)}, {Copies[0]}),