diff options
author | Chris Lattner <sabre@nondot.org> | 2002-12-02 21:24:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-12-02 21:24:12 +0000 |
commit | 40ead9592888c345d6514dff427ae67dfcf23805 (patch) | |
tree | 8a298aa0060de7a9f460becf66cbc94d6e5aeeef /lib/Target/X86/X86TargetMachine.h | |
parent | 18a171f34c5033d360f3c7e8a9813f09a04d6ed8 (diff) | |
download | llvm-40ead9592888c345d6514dff427ae67dfcf23805.tar.gz llvm-40ead9592888c345d6514dff427ae67dfcf23805.tar.bz2 llvm-40ead9592888c345d6514dff427ae67dfcf23805.tar.xz |
Initial support for machine code emission
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.h')
-rw-r--r-- | lib/Target/X86/X86TargetMachine.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Target/X86/X86TargetMachine.h b/lib/Target/X86/X86TargetMachine.h index 9db8375d8d..065fd368a2 100644 --- a/lib/Target/X86/X86TargetMachine.h +++ b/lib/Target/X86/X86TargetMachine.h @@ -30,6 +30,15 @@ public: /// not supported for this target. /// virtual bool addPassesToJITCompile(PassManager &PM); + + /// addPassesToEmitMachineCode - Add passes to the specified pass manager to + /// get machine code emitted. This uses a MAchineCodeEmitter object to handle + /// actually outputting the machine code and resolving things like the address + /// of functions. This method should returns true if machine code emission is + /// not supported. + /// + virtual bool addPassesToEmitMachineCode(PassManager &PM, + MachineCodeEmitter &MCE); }; #endif |