mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-12 14:20:55 +00:00
Lift DumpAsm / -print-emitted-asm functionality into LLVMTargetMachine.
- No intended functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75848 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -413,44 +413,41 @@ public:
|
||||
|
||||
/// addCodeEmitter - This pass should be overridden by the target to add a
|
||||
/// code emitter, if supported. If this is not supported, 'true' should be
|
||||
/// returned. If DumpAsm is true, the generated assembly is printed to cerr.
|
||||
/// returned.
|
||||
virtual bool addCodeEmitter(PassManagerBase &, CodeGenOpt::Level,
|
||||
bool /*DumpAsm*/, MachineCodeEmitter &) {
|
||||
MachineCodeEmitter &) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/// addCodeEmitter - This pass should be overridden by the target to add a
|
||||
/// code emitter, if supported. If this is not supported, 'true' should be
|
||||
/// returned. If DumpAsm is true, the generated assembly is printed to cerr.
|
||||
/// returned.
|
||||
virtual bool addCodeEmitter(PassManagerBase &, CodeGenOpt::Level,
|
||||
bool /*DumpAsm*/, JITCodeEmitter &) {
|
||||
JITCodeEmitter &) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/// addSimpleCodeEmitter - This pass should be overridden by the target to add
|
||||
/// a code emitter (without setting flags), if supported. If this is not
|
||||
/// supported, 'true' should be returned. If DumpAsm is true, the generated
|
||||
/// assembly is printed to cerr.
|
||||
/// supported, 'true' should be returned.
|
||||
virtual bool addSimpleCodeEmitter(PassManagerBase &, CodeGenOpt::Level,
|
||||
bool /*DumpAsm*/, MachineCodeEmitter &) {
|
||||
MachineCodeEmitter &) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/// addSimpleCodeEmitter - This pass should be overridden by the target to add
|
||||
/// a code emitter (without setting flags), if supported. If this is not
|
||||
/// supported, 'true' should be returned. If DumpAsm is true, the generated
|
||||
/// assembly is printed to cerr.
|
||||
/// supported, 'true' should be returned.
|
||||
virtual bool addSimpleCodeEmitter(PassManagerBase &, CodeGenOpt::Level,
|
||||
bool /*DumpAsm*/, JITCodeEmitter &) {
|
||||
JITCodeEmitter &) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/// addSimpleCodeEmitter - This pass should be overridden by the target to add
|
||||
/// a code emitter (without setting flags), if supported. If this is not
|
||||
/// supported, 'true' should be returned. If DumpAsm is true, the generated
|
||||
/// assembly is printed to cerr.
|
||||
/// supported, 'true' should be returned.
|
||||
virtual bool addSimpleCodeEmitter(PassManagerBase &, CodeGenOpt::Level,
|
||||
bool /*DumpAsm*/, ObjectCodeEmitter &) {
|
||||
ObjectCodeEmitter &) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user