Lines Matching refs:InsnClass
107 bool canAddInsnClass(unsigned InsnClass) const;
112 void AddInsnClass(unsigned InsnClass, std::set<unsigned> &PossibleStates) const;
116 void addTransition(unsigned InsnClass, const State *To) const;
121 bool hasTransition(unsigned InsnClass) const;
163 void State::addTransition(unsigned InsnClass, const State *To) const { in addTransition() argument
164 assert(!Transitions.count(InsnClass) && in addTransition()
166 Transitions[InsnClass] = To; in addTransition()
173 bool State::hasTransition(unsigned InsnClass) const { in hasTransition()
174 return Transitions.count(InsnClass) > 0; in hasTransition()
181 void State::AddInsnClass(unsigned InsnClass, in AddInsnClass() argument
197 for (unsigned int j = 0; j < sizeof(InsnClass) * 8; ++j) { in AddInsnClass()
198 if ((0x1 << j) & InsnClass) { in AddInsnClass()
231 bool State::canAddInsnClass(unsigned InsnClass) const { in canAddInsnClass()
234 if (~*SI & InsnClass) in canAddInsnClass()
464 unsigned InsnClass = *CI; in run() local
471 if (!current->hasTransition(InsnClass) && in run()
472 current->canAddInsnClass(InsnClass)) { in run()
474 current->AddInsnClass(InsnClass, NewStateResources); in run()
491 current->addTransition(InsnClass, NewState); in run()