Lines Matching refs:cls
45 def is_bp_class(cls):
51 return issubclass(cls, m5.objects.BranchPredictor) and \
52 not cls.abstract
71 for name, cls in _bp_classes.items():
76 doc = inspect.getdoc(cls)
86 for name, cls in inspect.getmembers(m5.objects, is_bp_class):
87 _bp_classes[name] = cls
95 def is_indirect_bp_class(cls):
102 return issubclass(cls, m5.objects.IndirectPredictor) and \
103 not cls.abstract
122 for name, cls in _indirect_bp_classes.items():
127 doc = inspect.getdoc(cls)
137 for name, cls in inspect.getmembers(m5.objects, is_indirect_bp_class):
138 _indirect_bp_classes[name] = cls