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

References

lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  804   if (!Def)
  807   if (Def->getOpcode() == AMDGPU::G_CONSTANT) {
  809     const MachineOperand &Op = Def->getOperand(1);
  815     return std::make_tuple(Register(), Offset, Def);
  819   if (Def->getOpcode() == AMDGPU::G_ADD) {
  821     if (mi_match(Def->getOperand(1).getReg(), MRI, m_ICst(Offset)))
  822       return std::make_tuple(Def->getOperand(0).getReg(), Offset, Def);
  822       return std::make_tuple(Def->getOperand(0).getReg(), Offset, Def);
  825     if (mi_match(Def->getOperand(1).getReg(), MRI, m_Copy(m_ICst(Offset))))
  826       return std::make_tuple(Def->getOperand(0).getReg(), Offset, Def);
  826       return std::make_tuple(Def->getOperand(0).getReg(), Offset, Def);
  829   return std::make_tuple(Reg, 0, Def);