OSDN Git Service

Added getTargetLowering() - returns DAG lowering info.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 13 Mar 2006 23:17:42 +0000 (23:17 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 13 Mar 2006 23:17:42 +0000 (23:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26739 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetMachine.h

index 5a58951..387d296 100644 (file)
@@ -24,6 +24,7 @@ class TargetSubtarget;
 class TargetInstrInfo;
 class TargetInstrDescriptor;
 class TargetJITInfo;
+class TargetLowering;
 class TargetSchedInfo;
 class SparcV9RegInfo;
 class TargetFrameInfo;
@@ -108,9 +109,11 @@ public:
   // -- Instruction opcode and operand information
   // -- Pipelines and scheduling information
   // -- Stack frame information
+  // -- Selection DAG lowering information
   //
   virtual const TargetInstrInfo        *getInstrInfo() const { return 0; }
   virtual const TargetFrameInfo        *getFrameInfo() const { return 0; }
+  virtual       TargetLowering    *getTargetLowering() const { return 0; }
   const TargetData &getTargetData() const { return DataLayout; }
 
   /// getSubtarget - This method returns a pointer to the specified type of