Coverage Report

Created: 2019-03-24 22:13

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/clang-build/lib/Target/AMDGPU/AMDGPUGenMCPseudoLowering.inc
Line
Count
Source
1
/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2
|*                                                                            *|
3
|* Pseudo-instruction MC lowering Source Fragment                             *|
4
|*                                                                            *|
5
|* Automatically generated file, do not edit!                                 *|
6
|*                                                                            *|
7
\*===----------------------------------------------------------------------===*/
8
9
bool AMDGPUAsmPrinter::
10
emitPseudoExpansionLowering(MCStreamer &OutStreamer,
11
380k
                            const MachineInstr *MI) {
12
380k
  switch (MI->getOpcode()) {
13
380k
    
default: return false380k
;
14
380k
    case AMDGPU::V_MOV_B32_indirect: {
15
28
      MCInst TmpInst;
16
28
      MCOperand MCOp;
17
28
      TmpInst.setOpcode(AMDGPU::V_MOV_B32_e32_vi);
18
28
      // Operand: vdst
19
28
      lowerOperand(MI->getOperand(0), MCOp);
20
28
      TmpInst.addOperand(MCOp);
21
28
      // Operand: src0
22
28
      lowerOperand(MI->getOperand(1), MCOp);
23
28
      TmpInst.addOperand(MCOp);
24
28
      EmitToStreamer(OutStreamer, TmpInst);
25
28
      break;
26
28
    }
27
28
  }
28
28
  return true;
29
28
}
30