Lines Matching defs:ModelDef
165 // ModelDef is NULL for inferred Models. This happens when a processor defines
167 // model nor itinerary, then ModelDef remains pointing to NoModel. NoModel has
178 Record *ModelDef;
202 Index(Idx), ModelName(Name), ModelDef(MDef), ItinsDef(IDef) {}
273 Record *ModelDef = ProcDef->getValueAsDef("SchedModel");
276 assert(ModelDef->getValueAsBit("NoModel")
280 return ModelDef;
284 Record *ModelDef = getModelOrItinDef(ProcDef);
285 ProcModelMapTy::const_iterator I = ProcModelMap.find(ModelDef);
290 CodeGenProcModel &getProcModel(Record *ModelDef) {
291 ProcModelMapTy::const_iterator I = ProcModelMap.find(ModelDef);
295 const CodeGenProcModel &getProcModel(Record *ModelDef) const {
296 return const_cast<CodeGenSchedModels*>(this)->getProcModel(ModelDef);