From a84b1c7c4efdba050cbf308eb9ac4fd8392b69d9 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 13 Mar 2006 23:17:42 +0000 Subject: [PATCH] Added getTargetLowering() - returns DAG lowering info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26739 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetMachine.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index 5a58951a75a..387d2968472 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