[llvm-commits] [llvm] r55009 - /llvm/trunk/include/llvm/Target/TargetLowering.h
Dan Gohman
gohman at apple.com
Tue Aug 19 14:26:30 PDT 2008
Author: djg
Date: Tue Aug 19 16:26:29 2008
New Revision: 55009
URL: http://llvm.org/viewvc/llvm-project?rev=55009&view=rev
Log:
Add a TargetLowering hook for creating a FastISel object.
Modified:
llvm/trunk/include/llvm/Target/TargetLowering.h
Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=55009&r1=55008&r2=55009&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Tue Aug 19 16:26:29 2008
@@ -33,13 +33,16 @@
namespace llvm {
class Function;
+ class FastISel;
class MachineBasicBlock;
+ class MachineFunction;
class MachineFrameInfo;
class MachineInstr;
class SDNode;
class SDValue;
class SelectionDAG;
class TargetData;
+ class TargetInstrInfo;
class TargetMachine;
class TargetRegisterClass;
class TargetSubtarget;
@@ -1111,6 +1114,12 @@
/// DAG node.
virtual const char *getTargetNodeName(unsigned Opcode) const;
+ /// createFastISel - This method returns a target specific FastISel object,
+ /// or null if the target does not support "fast" ISel.
+ virtual FastISel *createFastISel(MachineBasicBlock *,
+ MachineFunction *,
+ const TargetInstrInfo *) { return 0; }
+
//===--------------------------------------------------------------------===//
// Inline Asm Support hooks
//
More information about the llvm-commits
mailing list