Searched refs:NumStates (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/ |
| H A D | LRTableBuild.cpp | 30 unsigned NumStates = MaxState + 1; in build() local 39 Shifts.try_emplace(shiftIndex(E.first.first, E.first.second, NumStates), in build() 42 Gotos.try_emplace(gotoIndex(E.first.first, E.first.second, NumStates), in build() 45 Table.Shifts = TransitionTable(Shifts, NumStates * NumTerminals); in build() 46 Table.Gotos = TransitionTable(Gotos, NumStates * NumNonterminals); in build() 55 Table.ReduceOffset.reserve(NumStates + 1); in build() 57 for (StateID S = 0; S < NumStates; ++S) { in build() 77 Table.RecoveryOffset = std::vector<uint32_t>(NumStates + 1, 0); in build() 79 for (StateID State = 0; State < NumStates; ++State) { in build() 85 Table.RecoveryOffset[NumStates] = SortedIndex; in build()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/grammar/ |
| H A D | LRTable.h | 242 unsigned NumStates) { in shiftIndex() argument 243 return NumStates * symbolToToken(Terminal) + State; in shiftIndex() 246 unsigned NumStates) { in gotoIndex() argument 248 return NumStates * Nonterminal + State; in gotoIndex()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | TTYState.h | 50 uint32_t NumStates() const { return sizeof(m_ttystates) / sizeof(TTYState); } in NumStates() function 51 bool ValidStateIndex(uint32_t idx) const { return idx < NumStates(); } in ValidStateIndex()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | WinException.cpp | 1142 int NumStates = FuncInfo.ClrEHUnwindMap.size(); in emitCLRExceptionTable() local 1143 assert(NumStates > 0 && "Don't need exception table!"); in emitCLRExceptionTable() 1145 for (int State = 0; State < NumStates; ++State) { in emitCLRExceptionTable() 1162 OS.emitInt32(NumStates); in emitCLRExceptionTable() 1181 std::unique_ptr<MCSymbol *[]> EndSymbolMap(new MCSymbol *[NumStates]); in emitCLRExceptionTable() 1182 SmallVector<int, 4> MinClauseMap((size_t)NumStates, NumStates); in emitCLRExceptionTable()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Z3Solver.cpp | 886 void pop(unsigned NumStates = 1) override { in pop() argument 887 assert(Z3_solver_get_num_scopes(Context.Context, Solver) >= NumStates); in pop() 888 return Z3_solver_pop(Context.Context, Solver, NumStates); in pop()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | SMTAPI.h | 428 virtual void pop(unsigned NumStates = 1) = 0;
|