LCOV - code coverage report
Current view: top level - lib/Target/AVR - AVRSubtarget.cpp (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 5 5 100.0 %
Date: 2018-10-20 13:21:21 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===-- AVRSubtarget.cpp - AVR Subtarget Information ----------------------===//
       2             : //
       3             : //                     The LLVM Compiler Infrastructure
       4             : //
       5             : // This file is distributed under the University of Illinois Open Source
       6             : // License. See LICENSE.TXT for details.
       7             : //
       8             : //===----------------------------------------------------------------------===//
       9             : //
      10             : // This file implements the AVR specific subclass of TargetSubtargetInfo.
      11             : //
      12             : //===----------------------------------------------------------------------===//
      13             : 
      14             : #include "AVRSubtarget.h"
      15             : 
      16             : #include "llvm/BinaryFormat/ELF.h"
      17             : #include "llvm/Support/TargetRegistry.h"
      18             : 
      19             : #include "AVR.h"
      20             : #include "AVRTargetMachine.h"
      21             : #include "MCTargetDesc/AVRMCTargetDesc.h"
      22             : 
      23             : #define DEBUG_TYPE "avr-subtarget"
      24             : 
      25             : #define GET_SUBTARGETINFO_TARGET_DESC
      26             : #define GET_SUBTARGETINFO_CTOR
      27             : #include "AVRGenSubtargetInfo.inc"
      28             : 
      29             : namespace llvm {
      30             : 
      31         119 : AVRSubtarget::AVRSubtarget(const Triple &TT, const std::string &CPU,
      32         119 :                            const std::string &FS, AVRTargetMachine &TM)
      33             :     : AVRGenSubtargetInfo(TT, CPU, FS), InstrInfo(), FrameLowering(),
      34             :       TLInfo(TM), TSInfo(),
      35             : 
      36             :       // Subtarget features
      37             :       m_hasSRAM(false), m_hasJMPCALL(false), m_hasIJMPCALL(false),
      38             :       m_hasEIJMPCALL(false), m_hasADDSUBIW(false), m_hasSmallStack(false),
      39             :       m_hasMOVW(false), m_hasLPM(false), m_hasLPMX(false),  m_hasELPM(false),
      40             :       m_hasELPMX(false), m_hasSPM(false), m_hasSPMX(false), m_hasDES(false),
      41             :       m_supportsRMW(false), m_supportsMultiplication(false), m_hasBREAK(false),
      42         238 :       m_hasTinyEncoding(false), ELFArch(false), m_FeatureSetDummy(false) {
      43             :   // Parse features string.
      44         119 :   ParseSubtargetFeatures(CPU, FS);
      45         119 : }
      46             : 
      47             : } // end of namespace llvm

Generated by: LCOV version 1.13