reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
73 assert(TII->isVOP1(MI) || TII->isVOP2(MI) || TII->isVOPC(MI)); 73 assert(TII->isVOP1(MI) || TII->isVOP2(MI) || TII->isVOPC(MI)); 73 assert(TII->isVOP1(MI) || TII->isVOP2(MI) || TII->isVOPC(MI)); 75 int Src0Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::src0); 78 MachineOperand &Src0 = MI.getOperand(Src0Idx); 115 if (TryToCommute && MI.isCommutable()) { 116 if (TII->commuteInstruction(MI)) { 117 if (foldImmediates(MI, TII, MRI, false)) 121 TII->commuteInstruction(MI);