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

Generated by: LCOV version 1.13