File tree 5 files changed +6
-19
lines changed
5 files changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,7 @@ using namespace llvm;
35
35
namespace {
36
36
struct LDTLSCleanup : public MachineFunctionPass {
37
37
static char ID;
38
- LDTLSCleanup () : MachineFunctionPass(ID) {
39
- initializeLDTLSCleanupPass (*PassRegistry::getPassRegistry ());
40
- }
38
+ LDTLSCleanup () : MachineFunctionPass(ID) {}
41
39
42
40
bool runOnMachineFunction (MachineFunction &MF) override {
43
41
if (skipFunction (MF.getFunction ()))
Original file line number Diff line number Diff line change @@ -81,10 +81,7 @@ class FalkorMarkStridedAccessesLegacy : public FunctionPass {
81
81
public:
82
82
static char ID; // Pass ID, replacement for typeid
83
83
84
- FalkorMarkStridedAccessesLegacy () : FunctionPass(ID) {
85
- initializeFalkorMarkStridedAccessesLegacyPass (
86
- *PassRegistry::getPassRegistry ());
87
- }
84
+ FalkorMarkStridedAccessesLegacy () : FunctionPass(ID) {}
88
85
89
86
void getAnalysisUsage (AnalysisUsage &AU) const override {
90
87
AU.addRequired <TargetPassConfig>();
@@ -180,9 +177,7 @@ class FalkorHWPFFix : public MachineFunctionPass {
180
177
public:
181
178
static char ID;
182
179
183
- FalkorHWPFFix () : MachineFunctionPass(ID) {
184
- initializeFalkorHWPFFixPass (*PassRegistry::getPassRegistry ());
185
- }
180
+ FalkorHWPFFix () : MachineFunctionPass(ID) {}
186
181
187
182
bool runOnMachineFunction (MachineFunction &Fn) override ;
188
183
Original file line number Diff line number Diff line change @@ -30,9 +30,7 @@ using namespace llvm;
30
30
namespace {
31
31
struct SMEABI : public FunctionPass {
32
32
static char ID; // Pass identification, replacement for typeid
33
- SMEABI () : FunctionPass(ID) {
34
- initializeSMEABIPass (*PassRegistry::getPassRegistry ());
35
- }
33
+ SMEABI () : FunctionPass(ID) {}
36
34
37
35
bool runOnFunction (Function &F) override ;
38
36
Original file line number Diff line number Diff line change @@ -28,9 +28,7 @@ namespace {
28
28
struct SMEPeepholeOpt : public MachineFunctionPass {
29
29
static char ID;
30
30
31
- SMEPeepholeOpt () : MachineFunctionPass(ID) {
32
- initializeSMEPeepholeOptPass (*PassRegistry::getPassRegistry ());
33
- }
31
+ SMEPeepholeOpt () : MachineFunctionPass(ID) {}
34
32
35
33
bool runOnMachineFunction (MachineFunction &MF) override ;
36
34
Original file line number Diff line number Diff line change @@ -44,9 +44,7 @@ using namespace llvm::PatternMatch;
44
44
namespace {
45
45
struct SVEIntrinsicOpts : public ModulePass {
46
46
static char ID; // Pass identification, replacement for typeid
47
- SVEIntrinsicOpts () : ModulePass(ID) {
48
- initializeSVEIntrinsicOptsPass (*PassRegistry::getPassRegistry ());
49
- }
47
+ SVEIntrinsicOpts () : ModulePass(ID) {}
50
48
51
49
bool runOnModule (Module &M) override ;
52
50
void getAnalysisUsage (AnalysisUsage &AU) const override ;
You can’t perform that action at this time.
0 commit comments