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

References

lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  232   if (Op1->isImm() && Op2->isReg())
  233     std::swap(Op1, Op2);
  234   if (!Op1->isReg() || !Op2->isImm() || Op2->getImm() != 1)
  237   Register SelReg = Op1->getReg();
  238   auto *Sel = TRI->findReachingDef(SelReg, Op1->getSubReg(), *Cmp, MRI, LIS);
  246   Op1 = TII->getNamedOperand(*Sel, AMDGPU::OpName::src0);
  249   if (!Op1->isImm() || !Op2->isImm() || !CC->isReg() ||
  250       Op1->getImm() != 0 || Op2->getImm() != 1)