Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/lib/CodeGen/CodeGen.cpp
Line
Count
Source (jump to first uncovered line)
1
//===-- CodeGen.cpp -------------------------------------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file implements the common initialization routines for the
10
// CodeGen library.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#include "llvm-c/Initialization.h"
15
#include "llvm/InitializePasses.h"
16
#include "llvm/PassRegistry.h"
17
18
using namespace llvm;
19
20
/// initializeCodeGen - Initialize all passes linked into the CodeGen library.
21
67.6k
void llvm::initializeCodeGen(PassRegistry &Registry) {
22
67.6k
  initializeAtomicExpandPass(Registry);
23
67.6k
  initializeBranchFolderPassPass(Registry);
24
67.6k
  initializeBranchRelaxationPass(Registry);
25
67.6k
  initializeCFIInstrInserterPass(Registry);
26
67.6k
  initializeCodeGenPreparePass(Registry);
27
67.6k
  initializeDeadMachineInstructionElimPass(Registry);
28
67.6k
  initializeDetectDeadLanesPass(Registry);
29
67.6k
  initializeDwarfEHPreparePass(Registry);
30
67.6k
  initializeEarlyIfConverterPass(Registry);
31
67.6k
  initializeEarlyMachineLICMPass(Registry);
32
67.6k
  initializeEarlyTailDuplicatePass(Registry);
33
67.6k
  initializeExpandMemCmpPassPass(Registry);
34
67.6k
  initializeExpandPostRAPass(Registry);
35
67.6k
  initializeFEntryInserterPass(Registry);
36
67.6k
  initializeFinalizeISelPass(Registry);
37
67.6k
  initializeFinalizeMachineBundlesPass(Registry);
38
67.6k
  initializeFuncletLayoutPass(Registry);
39
67.6k
  initializeGCMachineCodeAnalysisPass(Registry);
40
67.6k
  initializeGCModuleInfoPass(Registry);
41
67.6k
  initializeHardwareLoopsPass(Registry);
42
67.6k
  initializeIfConverterPass(Registry);
43
67.6k
  initializeImplicitNullChecksPass(Registry);
44
67.6k
  initializeIndirectBrExpandPassPass(Registry);
45
67.6k
  initializeInterleavedLoadCombinePass(Registry);
46
67.6k
  initializeInterleavedAccessPass(Registry);
47
67.6k
  initializeLiveDebugValuesPass(Registry);
48
67.6k
  initializeLiveDebugVariablesPass(Registry);
49
67.6k
  initializeLiveIntervalsPass(Registry);
50
67.6k
  initializeLiveRangeShrinkPass(Registry);
51
67.6k
  initializeLiveStacksPass(Registry);
52
67.6k
  initializeLiveVariablesPass(Registry);
53
67.6k
  initializeLocalStackSlotPassPass(Registry);
54
67.6k
  initializeLowerIntrinsicsPass(Registry);
55
67.6k
  initializeMIRCanonicalizerPass(Registry);
56
67.6k
  initializeMachineBlockFrequencyInfoPass(Registry);
57
67.6k
  initializeMachineBlockPlacementPass(Registry);
58
67.6k
  initializeMachineBlockPlacementStatsPass(Registry);
59
67.6k
  initializeMachineCSEPass(Registry);
60
67.6k
  initializeMachineCombinerPass(Registry);
61
67.6k
  initializeMachineCopyPropagationPass(Registry);
62
67.6k
  initializeMachineDominatorTreePass(Registry);
63
67.6k
  initializeMachineFunctionPrinterPassPass(Registry);
64
67.6k
  initializeMachineLICMPass(Registry);
65
67.6k
  initializeMachineLoopInfoPass(Registry);
66
67.6k
  initializeMachineModuleInfoPass(Registry);
67
67.6k
  initializeMachineOptimizationRemarkEmitterPassPass(Registry);
68
67.6k
  initializeMachineOutlinerPass(Registry);
69
67.6k
  initializeMachinePipelinerPass(Registry);
70
67.6k
  initializeMachinePostDominatorTreePass(Registry);
71
67.6k
  initializeMachineRegionInfoPassPass(Registry);
72
67.6k
  initializeMachineSchedulerPass(Registry);
73
67.6k
  initializeMachineSinkingPass(Registry);
74
67.6k
  initializeMachineVerifierPassPass(Registry);
75
67.6k
  initializeOptimizePHIsPass(Registry);
76
67.6k
  initializePEIPass(Registry);
77
67.6k
  initializePHIEliminationPass(Registry);
78
67.6k
  initializePatchableFunctionPass(Registry);
79
67.6k
  initializePeepholeOptimizerPass(Registry);
80
67.6k
  initializePostMachineSchedulerPass(Registry);
81
67.6k
  initializePostRAHazardRecognizerPass(Registry);
82
67.6k
  initializePostRAMachineSinkingPass(Registry);
83
67.6k
  initializePostRASchedulerPass(Registry);
84
67.6k
  initializePreISelIntrinsicLoweringLegacyPassPass(Registry);
85
67.6k
  initializeProcessImplicitDefsPass(Registry);
86
67.6k
  initializeRABasicPass(Registry);
87
67.6k
  initializeRAGreedyPass(Registry);
88
67.6k
  initializeRegAllocFastPass(Registry);
89
67.6k
  initializeRegUsageInfoCollectorPass(Registry);
90
67.6k
  initializeRegUsageInfoPropagationPass(Registry);
91
67.6k
  initializeRegisterCoalescerPass(Registry);
92
67.6k
  initializeRenameIndependentSubregsPass(Registry);
93
67.6k
  initializeSafeStackLegacyPassPass(Registry);
94
67.6k
  initializeScalarizeMaskedMemIntrinPass(Registry);
95
67.6k
  initializeShrinkWrapPass(Registry);
96
67.6k
  initializeSlotIndexesPass(Registry);
97
67.6k
  initializeStackColoringPass(Registry);
98
67.6k
  initializeStackMapLivenessPass(Registry);
99
67.6k
  initializeStackProtectorPass(Registry);
100
67.6k
  initializeStackSlotColoringPass(Registry);
101
67.6k
  initializeTailDuplicatePass(Registry);
102
67.6k
  initializeTargetPassConfigPass(Registry);
103
67.6k
  initializeTwoAddressInstructionPassPass(Registry);
104
67.6k
  initializeUnpackMachineBundlesPass(Registry);
105
67.6k
  initializeUnreachableBlockElimLegacyPassPass(Registry);
106
67.6k
  initializeUnreachableMachineBlockElimPass(Registry);
107
67.6k
  initializeVirtRegMapPass(Registry);
108
67.6k
  initializeVirtRegRewriterPass(Registry);
109
67.6k
  initializeWasmEHPreparePass(Registry);
110
67.6k
  initializeWinEHPreparePass(Registry);
111
67.6k
  initializeXRayInstrumentationPass(Registry);
112
67.6k
}
113
114
0
void LLVMInitializeCodeGen(LLVMPassRegistryRef R) {
115
0
  initializeCodeGen(*unwrap(R));
116
0
}