diff options
author | Jim Laskey <jlaskey@mac.com> | 2005-11-01 20:06:59 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2005-11-01 20:06:59 +0000 |
commit | 6cee630070b1a7183ed56a8404e812629f5ca538 (patch) | |
tree | d5e1227dd79a99caa34d1d68b6170b9b15ddbaf8 /include/llvm/Target/TargetMachine.h | |
parent | cb366d980a389e5b9c3fc2b9aae373c0ba2903c6 (diff) | |
download | external_llvm-6cee630070b1a7183ed56a8404e812629f5ca538.zip external_llvm-6cee630070b1a7183ed56a8404e812629f5ca538.tar.gz external_llvm-6cee630070b1a7183ed56a8404e812629f5ca538.tar.bz2 |
Allow itineraries to be passed through the Target Machine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24139 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetMachine.h')
-rw-r--r-- | include/llvm/Target/TargetMachine.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index 9c026cc4..aae7d90 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -15,6 +15,7 @@ #define LLVM_TARGET_TARGETMACHINE_H #include "llvm/Target/TargetData.h" +#include "llvm/Target/TargetInstrItineraries.h" #include <cassert> namespace llvm { @@ -122,6 +123,13 @@ public: /// otherwise return null. /// virtual TargetJITInfo *getJITInfo() { return 0; } + + /// getInstrItineraryData - Returns instruction itinerary data for the target + /// or specific subtarget. + /// + virtual const InstrItineraryData getInstrItineraryData() const { + return InstrItineraryData(); + } // These are deprecated interfaces. virtual const TargetSchedInfo *getSchedInfo() const { return 0; } |