diff options
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/FastISel.h | 3 | ||||
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGISel.h | 4 | ||||
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h index 33f595541c..763d7029e6 100644 --- a/include/llvm/CodeGen/FastISel.h +++ b/include/llvm/CodeGen/FastISel.h @@ -26,6 +26,7 @@ class MachineBasicBlock; class MachineConstantPool; class MachineFunction; class MachineFrameInfo; +class MachineModuleInfo; class MachineRegisterInfo; class TargetData; class TargetInstrInfo; @@ -44,6 +45,7 @@ protected: DenseMap<const BasicBlock *, MachineBasicBlock *> &MBBMap; DenseMap<const AllocaInst *, int> &StaticAllocaMap; MachineFunction &MF; + MachineModuleInfo *MMI; MachineRegisterInfo &MRI; MachineFrameInfo &MFI; MachineConstantPool &MCP; @@ -94,6 +96,7 @@ public: protected: FastISel(MachineFunction &mf, + MachineModuleInfo *mmi, DenseMap<const Value *, unsigned> &vm, DenseMap<const BasicBlock *, MachineBasicBlock *> &bm, DenseMap<const AllocaInst *, int> &am); diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h index 86274ae187..a1c6f5b79d 100644 --- a/include/llvm/CodeGen/SelectionDAGISel.h +++ b/include/llvm/CodeGen/SelectionDAGISel.h @@ -28,6 +28,7 @@ namespace llvm { class MachineBasicBlock; class MachineFunction; class MachineInstr; + class MachineModuleInfo; class TargetLowering; class FunctionLoweringInfo; class HazardRecognizer; @@ -106,7 +107,8 @@ protected: int64_t DesiredMaskS) const; private: - void SelectAllBasicBlocks(Function &Fn, MachineFunction &MF); + void SelectAllBasicBlocks(Function &Fn, MachineFunction &MF, + MachineModuleInfo *MMI); void FinishBasicBlock(); void SelectBasicBlock(BasicBlock *LLVMBB, diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index af5641674c..0a25f59db6 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -40,6 +40,7 @@ namespace llvm { class MachineFunction; class MachineFrameInfo; class MachineInstr; + class MachineModuleInfo; class SDNode; class SDValue; class SelectionDAG; @@ -1120,6 +1121,7 @@ public: /// or null if the target does not support "fast" ISel. virtual FastISel * createFastISel(MachineFunction &, + MachineModuleInfo *, DenseMap<const Value *, unsigned> &, DenseMap<const BasicBlock *, MachineBasicBlock *> &, DenseMap<const AllocaInst *, int> &) { |