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

Generated by: LCOV version 1.13