Added getTargetLowering() - returns DAG lowering info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26739 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-03-13 23:17:42 +00:00
parent d277f2c669
commit a84b1c7c4e

View File

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