aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-03-13 23:17:42 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-03-13 23:17:42 +0000
commita84b1c7c4efdba050cbf308eb9ac4fd8392b69d9 (patch)
tree6c8dd2753772e5a59f1f1452829e719a9f5b9fe6
parentd277f2c66914aecb619c12855f6afae4c7ef883b (diff)
Added getTargetLowering() - returns DAG lowering info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26739 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetMachine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h
index 5a58951a75..387d296847 100644
--- a/include/llvm/Target/TargetMachine.h
+++ b/include/llvm/Target/TargetMachine.h
@@ -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