LCOV - code coverage report
Current view: top level - lib/CodeGen - CodeGen.cpp (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 81 84 96.4 %
Date: 2017-09-14 15:23:50 Functions: 1 2 50.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===-- CodeGen.cpp -------------------------------------------------------===//
       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 common initialization routines for the
      11             : // CodeGen library.
      12             : //
      13             : //===----------------------------------------------------------------------===//
      14             : 
      15             : #include "llvm-c/Initialization.h"
      16             : #include "llvm/InitializePasses.h"
      17             : #include "llvm/PassRegistry.h"
      18             : 
      19             : using namespace llvm;
      20             : 
      21             : /// initializeCodeGen - Initialize all passes linked into the CodeGen library.
      22       36925 : void llvm::initializeCodeGen(PassRegistry &Registry) {
      23       36925 :   initializeAtomicExpandPass(Registry);
      24       36925 :   initializeBranchFolderPassPass(Registry);
      25       36925 :   initializeBranchRelaxationPass(Registry);
      26       36925 :   initializeCodeGenPreparePass(Registry);
      27       36925 :   initializeCountingFunctionInserterPass(Registry);
      28       36925 :   initializeDeadMachineInstructionElimPass(Registry);
      29       36925 :   initializeDetectDeadLanesPass(Registry);
      30       36925 :   initializeDwarfEHPreparePass(Registry);
      31       36925 :   initializeEarlyIfConverterPass(Registry);
      32       36925 :   initializeExpandISelPseudosPass(Registry);
      33       36925 :   initializeExpandPostRAPass(Registry);
      34       36925 :   initializeFEntryInserterPass(Registry);
      35       36925 :   initializeFinalizeMachineBundlesPass(Registry);
      36       36925 :   initializeFuncletLayoutPass(Registry);
      37       36925 :   initializeGCMachineCodeAnalysisPass(Registry);
      38       36925 :   initializeGCModuleInfoPass(Registry);
      39       36925 :   initializeIfConverterPass(Registry);
      40       36925 :   initializeImplicitNullChecksPass(Registry);
      41       36925 :   initializeInterleavedAccessPass(Registry);
      42       36925 :   initializeLiveDebugValuesPass(Registry);
      43       36925 :   initializeLiveDebugVariablesPass(Registry);
      44       36925 :   initializeLiveIntervalsPass(Registry);
      45       36925 :   initializeLiveRangeShrinkPass(Registry);
      46       36925 :   initializeLiveStacksPass(Registry);
      47       36925 :   initializeLiveVariablesPass(Registry);
      48       36925 :   initializeLocalStackSlotPassPass(Registry);
      49       36925 :   initializeLowerIntrinsicsPass(Registry);
      50       36925 :   initializeMachineBlockFrequencyInfoPass(Registry);
      51       36925 :   initializeMachineBlockPlacementPass(Registry);
      52       36925 :   initializeMachineBlockPlacementStatsPass(Registry);
      53       36924 :   initializeMachineCSEPass(Registry);
      54       36925 :   initializeMachineCombinerPass(Registry);
      55       36925 :   initializeMachineCopyPropagationPass(Registry);
      56       36925 :   initializeMachineDominatorTreePass(Registry);
      57       36925 :   initializeMachineFunctionPrinterPassPass(Registry);
      58       36925 :   initializeMachineLICMPass(Registry);
      59       36925 :   initializeMachineLoopInfoPass(Registry);
      60       36925 :   initializeMachineModuleInfoPass(Registry);
      61       36925 :   initializeMachineOptimizationRemarkEmitterPassPass(Registry);
      62       36925 :   initializeMachineOutlinerPass(Registry);
      63       36925 :   initializeMachinePipelinerPass(Registry);
      64       36925 :   initializeMachinePostDominatorTreePass(Registry);
      65       36925 :   initializeMachineRegionInfoPassPass(Registry);
      66       36925 :   initializeMachineSchedulerPass(Registry);
      67       36925 :   initializeMachineSinkingPass(Registry);
      68       36925 :   initializeMachineVerifierPassPass(Registry);
      69       36925 :   initializeOptimizePHIsPass(Registry);
      70       36925 :   initializePEIPass(Registry);
      71       36925 :   initializePHIEliminationPass(Registry);
      72       36925 :   initializePatchableFunctionPass(Registry);
      73       36925 :   initializePeepholeOptimizerPass(Registry);
      74       36925 :   initializePostMachineSchedulerPass(Registry);
      75       36925 :   initializePostRAHazardRecognizerPass(Registry);
      76       36925 :   initializePostRASchedulerPass(Registry);
      77       36925 :   initializePreISelIntrinsicLoweringLegacyPassPass(Registry);
      78       36925 :   initializeProcessImplicitDefsPass(Registry);
      79       36925 :   initializeRABasicPass(Registry);
      80       36925 :   initializeRegAllocFastPass(Registry);
      81       36925 :   initializeRAGreedyPass(Registry);
      82       36925 :   initializeRegisterCoalescerPass(Registry);
      83       36925 :   initializeRenameIndependentSubregsPass(Registry);
      84       36925 :   initializeSafeStackLegacyPassPass(Registry);
      85       36925 :   initializeScalarizeMaskedMemIntrinPass(Registry);
      86       36925 :   initializeShrinkWrapPass(Registry);
      87       36925 :   initializeSlotIndexesPass(Registry);
      88       36925 :   initializeStackColoringPass(Registry);
      89       36925 :   initializeStackMapLivenessPass(Registry);
      90       36925 :   initializeStackProtectorPass(Registry);
      91       36925 :   initializeStackSlotColoringPass(Registry);
      92       36925 :   initializeTailDuplicatePassPass(Registry);
      93       36925 :   initializeTargetPassConfigPass(Registry);
      94       36925 :   initializeTwoAddressInstructionPassPass(Registry);
      95       36925 :   initializeUnpackMachineBundlesPass(Registry);
      96       36925 :   initializeUnreachableBlockElimLegacyPassPass(Registry);
      97       36925 :   initializeUnreachableMachineBlockElimPass(Registry);
      98       36925 :   initializeVirtRegMapPass(Registry);
      99       36925 :   initializeVirtRegRewriterPass(Registry);
     100       36925 :   initializeWinEHPreparePass(Registry);
     101       36925 :   initializeXRayInstrumentationPass(Registry);
     102       36925 : }
     103             : 
     104           0 : void LLVMInitializeCodeGen(LLVMPassRegistryRef R) {
     105           0 :   initializeCodeGen(*unwrap(R));
     106           0 : }

Generated by: LCOV version 1.13