mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-07 16:42:07 +00:00
simplify various getAnalysisUsage implementations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
505e86832a
commit
8e680482c1
@ -277,8 +277,6 @@ namespace {
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AsmPrinter::getAnalysisUsage(AU);
|
||||
AU.setPreservesAll();
|
||||
AU.addRequired<MachineModuleInfo>();
|
||||
AU.addRequired<DwarfWriter>();
|
||||
}
|
||||
};
|
||||
|
@ -60,11 +60,6 @@ namespace {
|
||||
unsigned OpNo, unsigned AsmVariant,
|
||||
const char *ExtraCode, raw_ostream &O);
|
||||
void EmitInstruction(const MachineInstr *MI);
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AsmPrinter::getAnalysisUsage(AU);
|
||||
AU.setPreservesAll();
|
||||
}
|
||||
};
|
||||
} // end of anonymous namespace
|
||||
|
||||
|
@ -344,8 +344,6 @@ namespace {
|
||||
virtual void EmitFunctionEntryLabel();
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.setPreservesAll();
|
||||
AU.addRequired<MachineModuleInfo>();
|
||||
AU.addRequired<DwarfWriter>();
|
||||
PPCAsmPrinter::getAnalysisUsage(AU);
|
||||
}
|
||||
|
@ -64,11 +64,6 @@ namespace {
|
||||
static const char *getRegisterName(unsigned RegNo);
|
||||
|
||||
void EmitInstruction(const MachineInstr *MI);
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AsmPrinter::getAnalysisUsage(AU);
|
||||
AU.setPreservesAll();
|
||||
}
|
||||
};
|
||||
} // end of anonymous namespace
|
||||
|
||||
|
@ -47,8 +47,6 @@ class VISIBILITY_HIDDEN X86AsmPrinter : public AsmPrinter {
|
||||
const X86Subtarget &getSubtarget() const { return *Subtarget; }
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.setPreservesAll();
|
||||
AU.addRequired<MachineModuleInfo>();
|
||||
AU.addRequired<DwarfWriter>();
|
||||
AsmPrinter::getAnalysisUsage(AU);
|
||||
}
|
||||
|
@ -85,8 +85,6 @@ namespace {
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AsmPrinter::getAnalysisUsage(AU);
|
||||
AU.setPreservesAll();
|
||||
AU.addRequired<MachineModuleInfo>();
|
||||
AU.addRequired<DwarfWriter>();
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user