[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachine.h

Evan Cheng evan.cheng at apple.com
Mon Mar 13 15:17:54 PST 2006



Changes in directory llvm/include/llvm/Target:

TargetMachine.h updated: 1.60 -> 1.61
---
Log message:

Added getTargetLowering() - returns DAG lowering info.


---
Diffs of the changes:  (+3 -0)

 TargetMachine.h |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/include/llvm/Target/TargetMachine.h
diff -u llvm/include/llvm/Target/TargetMachine.h:1.60 llvm/include/llvm/Target/TargetMachine.h:1.61
--- llvm/include/llvm/Target/TargetMachine.h:1.60	Wed Feb 22 14:19:42 2006
+++ llvm/include/llvm/Target/TargetMachine.h	Mon Mar 13 17:17:42 2006
@@ -24,6 +24,7 @@
 class TargetInstrInfo;
 class TargetInstrDescriptor;
 class TargetJITInfo;
+class TargetLowering;
 class TargetSchedInfo;
 class SparcV9RegInfo;
 class TargetFrameInfo;
@@ -108,9 +109,11 @@
   // -- 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






More information about the llvm-commits mailing list