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

References

lib/Target/AMDGPU/R600ISelLowering.cpp
  294   MachineBasicBlock::iterator I = MI;
  297   switch (MI.getOpcode()) {
  301     if (TII->isLDSRetInstr(MI.getOpcode())) {
  302       int DstIdx = TII->getOperandIdx(MI.getOpcode(), R600::OpName::dst);
  307       if (!MRI.use_empty(MI.getOperand(DstIdx).getReg()) ||
  308           MI.getOpcode() == R600::LDS_CMPST_RET)
  312                       TII->get(R600::getLDSNoRetOp(MI.getOpcode())));
  313       for (unsigned i = 1, e = MI.getNumOperands(); i < e; ++i) {
  314         NewMI.add(MI.getOperand(i));
  317       return AMDGPUTargetLowering::EmitInstrWithCustomInserter(MI, BB);
  323         *BB, I, R600::MOV, MI.getOperand(0).getReg(),
  324         MI.getOperand(1).getReg());
  331         *BB, I, R600::MOV, MI.getOperand(0).getReg(),
  332         MI.getOperand(1).getReg());
  338     Register maskedRegister = MI.getOperand(0).getReg();
  346     TII->buildMovImm(*BB, I, MI.getOperand(0).getReg(), MI.getOperand(1)
  346     TII->buildMovImm(*BB, I, MI.getOperand(0).getReg(), MI.getOperand(1)
  354     TII->buildMovImm(*BB, I, MI.getOperand(0).getReg(),
  355                      MI.getOperand(1).getImm());
  361         *BB, MI, R600::MOV, MI.getOperand(0).getReg(), R600::ALU_LITERAL_X);
  361         *BB, MI, R600::MOV, MI.getOperand(0).getReg(), R600::ALU_LITERAL_X);
  364     MIB->getOperand(Idx) = MI.getOperand(1);
  370         *BB, MI, R600::MOV, MI.getOperand(0).getReg(), R600::ALU_CONST);
  370         *BB, MI, R600::MOV, MI.getOperand(0).getReg(), R600::ALU_CONST);
  372                        MI.getOperand(1).getImm());
  379     BuildMI(*BB, I, BB->findDebugLoc(I), TII->get(MI.getOpcode()))
  380         .add(MI.getOperand(0))
  381         .add(MI.getOperand(1))
  386     BuildMI(*BB, I, BB->findDebugLoc(I), TII->get(MI.getOpcode()))
  387         .add(MI.getOperand(0))
  388         .add(MI.getOperand(1))
  389         .add(MI.getOperand(2))
  395         .add(MI.getOperand(0));
  402             .add(MI.getOperand(1))
  407         .add(MI.getOperand(0))
  416             .add(MI.getOperand(1))
  421         .add(MI.getOperand(0))
  430     unsigned InstExportType = MI.getOperand(1).getImm();
  447     unsigned CfInst = (MI.getOpcode() == R600::EG_ExportSwz) ? 84 : 40;
  448     BuildMI(*BB, I, BB->findDebugLoc(I), TII->get(MI.getOpcode()))
  449         .add(MI.getOperand(0))
  450         .add(MI.getOperand(1))
  451         .add(MI.getOperand(2))
  452         .add(MI.getOperand(3))
  453         .add(MI.getOperand(4))
  454         .add(MI.getOperand(5))
  455         .add(MI.getOperand(6))
  465   MI.eraseFromParent();