LCOV - code coverage report
Current view: top level - build-llvm/lib/Target/AMDGPU - AMDGPUGenMCPseudoLowering.inc (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 12 12 100.0 %
Date: 2017-09-14 15:23:50 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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      382172 : bool AMDGPUAsmPrinter::
      10             : emitPseudoExpansionLowering(MCStreamer &OutStreamer,
      11             :                             const MachineInstr *MI) {
      12      764344 :   switch (MI->getOpcode()) {
      13             :     default: return false;
      14          30 :     case AMDGPU::V_MOV_B32_indirect: {
      15          60 :       MCInst TmpInst;
      16          30 :       MCOperand MCOp;
      17          60 :       TmpInst.setOpcode(AMDGPU::V_MOV_B32_e32_vi);
      18             :       // Operand: vdst
      19          30 :       lowerOperand(MI->getOperand(0), MCOp);
      20          30 :       TmpInst.addOperand(MCOp);
      21             :       // Operand: src0
      22          60 :       lowerOperand(MI->getOperand(1), MCOp);
      23          30 :       TmpInst.addOperand(MCOp);
      24          30 :       EmitToStreamer(OutStreamer, TmpInst);
      25             :       break;
      26             :     }
      27             :   }
      28          30 :   return true;
      29             : }
      30             : 

Generated by: LCOV version 1.13