LCOV - code coverage report
Current view: top level - lib/CodeGen - CodeGen.cpp (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 85 88 96.6 %
Date: 2018-02-21 06:32:55 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       42931 : void llvm::initializeCodeGen(PassRegistry &Registry) {
      23       42931 :   initializeAtomicExpandPass(Registry);
      24       42931 :   initializeBranchFolderPassPass(Registry);
      25       42931 :   initializeBranchRelaxationPass(Registry);
      26       42931 :   initializeCodeGenPreparePass(Registry);
      27       42931 :   initializeDeadMachineInstructionElimPass(Registry);
      28       42931 :   initializeDetectDeadLanesPass(Registry);
      29       42931 :   initializeDwarfEHPreparePass(Registry);
      30       42931 :   initializeEarlyIfConverterPass(Registry);
      31       42931 :   initializeEarlyMachineLICMPass(Registry);
      32       42931 :   initializeEarlyTailDuplicatePass(Registry);
      33       42931 :   initializeExpandISelPseudosPass(Registry);
      34       42931 :   initializeExpandMemCmpPassPass(Registry);
      35       42931 :   initializeExpandPostRAPass(Registry);
      36       42931 :   initializeFEntryInserterPass(Registry);
      37       42931 :   initializeFinalizeMachineBundlesPass(Registry);
      38       42931 :   initializeFuncletLayoutPass(Registry);
      39       42931 :   initializeGCMachineCodeAnalysisPass(Registry);
      40       42931 :   initializeGCModuleInfoPass(Registry);
      41       42931 :   initializeIfConverterPass(Registry);
      42       42931 :   initializeImplicitNullChecksPass(Registry);
      43       42931 :   initializeIndirectBrExpandPassPass(Registry);
      44       42931 :   initializeInterleavedAccessPass(Registry);
      45       42931 :   initializeLiveDebugValuesPass(Registry);
      46       42931 :   initializeLiveDebugVariablesPass(Registry);
      47       42931 :   initializeLiveIntervalsPass(Registry);
      48       42931 :   initializeLiveRangeShrinkPass(Registry);
      49       42931 :   initializeLiveStacksPass(Registry);
      50       42931 :   initializeLiveVariablesPass(Registry);
      51       42931 :   initializeLocalStackSlotPassPass(Registry);
      52       42931 :   initializeLowerIntrinsicsPass(Registry);
      53       42931 :   initializeMachineBlockFrequencyInfoPass(Registry);
      54       42931 :   initializeMachineBlockPlacementPass(Registry);
      55       42931 :   initializeMachineBlockPlacementStatsPass(Registry);
      56       42931 :   initializeMachineCSEPass(Registry);
      57       42931 :   initializeMachineCombinerPass(Registry);
      58       42931 :   initializeMachineCopyPropagationPass(Registry);
      59       42931 :   initializeMachineDominatorTreePass(Registry);
      60       42931 :   initializeMachineFunctionPrinterPassPass(Registry);
      61       42931 :   initializeMachineLICMPass(Registry);
      62       42931 :   initializeMachineLoopInfoPass(Registry);
      63       42931 :   initializeMachineModuleInfoPass(Registry);
      64       42931 :   initializeMachineOptimizationRemarkEmitterPassPass(Registry);
      65       42931 :   initializeMachineOutlinerPass(Registry);
      66       42931 :   initializeMachinePipelinerPass(Registry);
      67       42931 :   initializeMachinePostDominatorTreePass(Registry);
      68       42931 :   initializeMachineRegionInfoPassPass(Registry);
      69       42931 :   initializeMachineSchedulerPass(Registry);
      70       42931 :   initializeMachineSinkingPass(Registry);
      71       42931 :   initializeMachineVerifierPassPass(Registry);
      72       42931 :   initializeOptimizePHIsPass(Registry);
      73       42931 :   initializePEIPass(Registry);
      74       42931 :   initializePHIEliminationPass(Registry);
      75       42931 :   initializePatchableFunctionPass(Registry);
      76       42931 :   initializePeepholeOptimizerPass(Registry);
      77       42931 :   initializePostMachineSchedulerPass(Registry);
      78       42931 :   initializePostRAHazardRecognizerPass(Registry);
      79       42931 :   initializePostRASchedulerPass(Registry);
      80       42931 :   initializePreISelIntrinsicLoweringLegacyPassPass(Registry);
      81       42931 :   initializeProcessImplicitDefsPass(Registry);
      82       42931 :   initializeRABasicPass(Registry);
      83       42931 :   initializeRegAllocFastPass(Registry);
      84       42931 :   initializeRAGreedyPass(Registry);
      85       42931 :   initializeRegisterCoalescerPass(Registry);
      86       42931 :   initializeRenameIndependentSubregsPass(Registry);
      87       42931 :   initializeSafeStackLegacyPassPass(Registry);
      88       42931 :   initializeScalarizeMaskedMemIntrinPass(Registry);
      89       42931 :   initializeShrinkWrapPass(Registry);
      90       42931 :   initializeSlotIndexesPass(Registry);
      91       42931 :   initializeStackColoringPass(Registry);
      92       42931 :   initializeStackMapLivenessPass(Registry);
      93       42931 :   initializeStackProtectorPass(Registry);
      94       42931 :   initializeStackSlotColoringPass(Registry);
      95       42931 :   initializeTailDuplicatePass(Registry);
      96       42931 :   initializeTargetPassConfigPass(Registry);
      97       42931 :   initializeTwoAddressInstructionPassPass(Registry);
      98       42931 :   initializeUnpackMachineBundlesPass(Registry);
      99       42931 :   initializeUnreachableBlockElimLegacyPassPass(Registry);
     100       42931 :   initializeUnreachableMachineBlockElimPass(Registry);
     101       42931 :   initializeVirtRegMapPass(Registry);
     102       42931 :   initializeVirtRegRewriterPass(Registry);
     103       42931 :   initializeWinEHPreparePass(Registry);
     104       42931 :   initializeXRayInstrumentationPass(Registry);
     105       42931 :   initializeMIRCanonicalizerPass(Registry);
     106       42931 : }
     107             : 
     108           0 : void LLVMInitializeCodeGen(LLVMPassRegistryRef R) {
     109           0 :   initializeCodeGen(*unwrap(R));
     110           0 : }

Generated by: LCOV version 1.13