diff options
author | Andrew Trick <atrick@apple.com> | 2012-09-18 03:55:55 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-09-18 03:55:55 +0000 |
commit | a88f1bddc6824452feac672051e432ad2ef3a1cc (patch) | |
tree | 5f80df36981600bc36ef3c5ec2a8cf4a4baaef7c /llvm/utils/TableGen/CodeGenSchedule.h | |
parent | c6c88151bbf228b7fe76c8b0980cf51117a43fcc (diff) | |
download | bcm5719-llvm-a88f1bddc6824452feac672051e432ad2ef3a1cc.tar.gz bcm5719-llvm-a88f1bddc6824452feac672051e432ad2ef3a1cc.zip |
TableGen subtarget emitter. Use getSchedClassIdx.
llvm-svn: 164096
Diffstat (limited to 'llvm/utils/TableGen/CodeGenSchedule.h')
-rw-r--r-- | llvm/utils/TableGen/CodeGenSchedule.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/utils/TableGen/CodeGenSchedule.h b/llvm/utils/TableGen/CodeGenSchedule.h index 992ae82d4c0..0c86944227d 100644 --- a/llvm/utils/TableGen/CodeGenSchedule.h +++ b/llvm/utils/TableGen/CodeGenSchedule.h @@ -304,15 +304,6 @@ public: return SchedClasses[Idx]; } - // Get an itinerary class's index. Value indices are '0' for NoItinerary up to - // and including numItineraryClasses(). - unsigned getItinClassIdx(Record *ItinDef) const { - assert(SchedClassIdxMap.count(ItinDef->getName()) && "missing ItinClass"); - unsigned Idx = SchedClassIdxMap.lookup(ItinDef->getName()); - assert(Idx <= NumItineraryClasses && "bad ItinClass index"); - return Idx; - } - // Get the SchedClass index for an instruction. Instructions with no // itinerary, no SchedReadWrites, and no InstrReadWrites references return 0 // for NoItinerary. |