diff options
author | Andrew Trick <atrick@apple.com> | 2012-09-17 22:19:01 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-09-17 22:19:01 +0000 |
commit | 36e07eb83eda3ddb73aee3d62f0206a7dcf7e366 (patch) | |
tree | 9f1c4f05935540cd0c0e1b40b9f58654b691f403 /llvm/utils/TableGen/CodeGenSchedule.h | |
parent | 7a1faa2c8a7e9c3d24e004c21de09acea7b7b242 (diff) | |
download | bcm5719-llvm-36e07eb83eda3ddb73aee3d62f0206a7dcf7e366.tar.gz bcm5719-llvm-36e07eb83eda3ddb73aee3d62f0206a7dcf7e366.zip |
TableGen subtarget emitter. Use getSchedClassIdx.
llvm-svn: 164063
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. |