projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correctly handle a one-word struct passed byval on x86_64.
[oota-llvm.git]
/
lib
/
Target
/
X86
/
X86MCInstLower.h
diff --git
a/lib/Target/X86/X86MCInstLower.h
b/lib/Target/X86/X86MCInstLower.h
index 2dd65046131e86cd7738ff187f308b27917eb150..021007239128efdee73b44b8ef5b3bc4659cf21b 100644
(file)
--- a/
lib/Target/X86/X86MCInstLower.h
+++ b/
lib/Target/X86/X86MCInstLower.h
@@
-13,6
+13,7
@@
#include "llvm/Support/Compiler.h"
namespace llvm {
#include "llvm/Support/Compiler.h"
namespace llvm {
+ class MCAsmInfo;
class MCContext;
class MCInst;
class MCOperand;
class MCContext;
class MCInst;
class MCOperand;
@@
-22,21
+23,23
@@
namespace llvm {
class MachineModuleInfoMachO;
class MachineOperand;
class Mangler;
class MachineModuleInfoMachO;
class MachineOperand;
class Mangler;
+ class TargetMachine;
class X86AsmPrinter;
/// X86MCInstLower - This class is used to lower an MachineInstr into an MCInst.
class LLVM_LIBRARY_VISIBILITY X86MCInstLower {
MCContext &Ctx;
Mangler *Mang;
class X86AsmPrinter;
/// X86MCInstLower - This class is used to lower an MachineInstr into an MCInst.
class LLVM_LIBRARY_VISIBILITY X86MCInstLower {
MCContext &Ctx;
Mangler *Mang;
- X86AsmPrinter &AsmPrinter;
const MachineFunction &MF;
const MachineFunction &MF;
+ const TargetMachine &TM;
+ const MCAsmInfo &MAI;
+ X86AsmPrinter &AsmPrinter;
public:
public:
- X86MCInstLower(MCContext &ctx, Mangler *mang, X86AsmPrinter &asmprinter);
+ X86MCInstLower(Mangler *mang, const MachineFunction &MF,
+ X86AsmPrinter &asmprinter);
void Lower(const MachineInstr *MI, MCInst &OutMI) const;
void Lower(const MachineInstr *MI, MCInst &OutMI) const;
- MCSymbol *GetPICBaseSymbol() const;
-
MCSymbol *GetSymbolFromOperand(const MachineOperand &MO) const;
MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
MCSymbol *GetSymbolFromOperand(const MachineOperand &MO) const;
MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;