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

Generated by: LCOV version 1.13