reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
173 DPPInst.add(*Dst); 181 DPPInst.addReg(CombOldVGPR.Reg, Def ? 0 : RegState::Undef, 197 DPPInst.addImm(Mod0->getImm()); 201 DPPInst.addImm(0); 206 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src0)) { 211 DPPInst.add(*Src0); 212 DPPInst->getOperand(NumOperands).setIsKill(false); 220 DPPInst.addImm(Mod1->getImm()); 224 DPPInst.addImm(0); 228 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src1)) { 233 DPPInst.add(*Src1); 238 if (!TII->getNamedOperand(*DPPInst.getInstr(), AMDGPU::OpName::src2) || 239 !TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src2)) { 244 DPPInst.add(*Src2); 247 DPPInst.add(*TII->getNamedOperand(MovMI, AMDGPU::OpName::dpp_ctrl)); 248 DPPInst.add(*TII->getNamedOperand(MovMI, AMDGPU::OpName::row_mask)); 249 DPPInst.add(*TII->getNamedOperand(MovMI, AMDGPU::OpName::bank_mask)); 250 DPPInst.addImm(CombBCZ ? 1 : 0); 254 DPPInst.getInstr()->eraseFromParent(); 257 LLVM_DEBUG(dbgs() << " combined: " << *DPPInst.getInstr()); 258 return DPPInst.getInstr();