Coverage Report

Created: 2018-07-12 09:57

/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
329k
                            const MachineInstr *MI) {
12
329k
  switch (MI->getOpcode()) {
13
329k
    
default: return false329k
;
14
329k
    case AMDGPU::V_MOV_B32_indirect: {
15
24
      MCInst TmpInst;
16
24
      MCOperand MCOp;
17
24
      TmpInst.setOpcode(AMDGPU::V_MOV_B32_e32_vi);
18
24
      // Operand: vdst
19
24
      lowerOperand(MI->getOperand(0), MCOp);
20
24
      TmpInst.addOperand(MCOp);
21
24
      // Operand: src0
22
24
      lowerOperand(MI->getOperand(1), MCOp);
23
24
      TmpInst.addOperand(MCOp);
24
24
      EmitToStreamer(OutStreamer, TmpInst);
25
24
      break;
26
24
    }
27
24
  }
28
24
  return true;
29
24
}
30