Searched refs:StartSymbol (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/pseudo/benchmarks/ |
| H A D | Benchmark.cpp | 120 SymbolID StartSymbol = *Lang->G.findNonterminal("translation-unit"); in glrParse() local 125 pseudo::glrParse(ParseParams{Stream, Forest, GSS}, StartSymbol, *Lang); in glrParse() 133 SymbolID StartSymbol = *Lang->G.findNonterminal("translation-unit"); in full() local 138 pseudo::glrParse(ParseParams{Stream, Forest, GSS}, StartSymbol, *Lang); in full()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/ |
| H A D | GLR.cpp | 592 const ForestNode &glrParse(const ParseParams &Params, SymbolID StartSymbol, in glrParse() argument 595 assert(isNonterminal(StartSymbol) && "Start symbol must be a nonterminal"); in glrParse() 599 StateID StartState = Lang.Table.getStartState(StartSymbol); in glrParse() 632 return Params.Forest.createOpaque(StartSymbol, /*Token::Index=*/0); in glrParse() 648 auto AcceptState = Lang.Table.getGoToState(StartState, StartSymbol); in glrParse() 654 assert(Head->Payload->symbol() == StartSymbol); in glrParse() 677 return Params.Forest.createOpaque(StartSymbol, /*Token::Index=*/0); in glrParse()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryEmitter.cpp | 304 MCSymbol *StartSymbol = nullptr; in emitFunction() local 308 StartSymbol = Function.getSymbol(); in emitFunction() 314 StartSymbol = Function.getColdSymbol(); in emitFunction() 315 Streamer.emitSymbolAttribute(StartSymbol, MCSA_ELF_TypeFunction); in emitFunction() 316 Streamer.emitLabel(StartSymbol); in emitFunction() 378 MCSymbolRefExpr::create(StartSymbol, Context), Context); in emitFunction() 379 Streamer.emitELFSize(StartSymbol, SizeExpr); in emitFunction() 894 const MCSymbol *StartSymbol = in emitLSDA() local 932 Streamer.emitAbsoluteSymbolDiff(LPSymbol, StartSymbol, 4); in emitLSDA() 976 Streamer.emitAbsoluteSymbolDiff(BeginLabel, StartSymbol, 4); in emitLSDA()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/tool/ |
| H A D | ClangPseudo.cpp | 54 static opt<std::string> StartSymbol("start-symbol", variable 150 Lang.G.findNonterminal(StartSymbol); in main() 153 "The start symbol {0} doesn't exit in the grammar!\n", StartSymbol); in main()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCDwarf.cpp | 882 const MCSymbol *StartSymbol = Sec->getBeginSymbol(); in EmitGenDwarfAranges() local 884 assert(StartSymbol && "StartSymbol must not be NULL"); in EmitGenDwarfAranges() 888 StartSymbol, MCSymbolRefExpr::VK_None, context); in EmitGenDwarfAranges() 890 makeEndMinusStartExpr(context, *StartSymbol, *EndSymbol, 0); in EmitGenDwarfAranges() 983 MCSymbol *StartSymbol = (*TextSection)->getBeginSymbol(); in EmitGenDwarfInfo() local 985 assert(StartSymbol && "StartSymbol must not be NULL"); in EmitGenDwarfInfo() 990 StartSymbol, MCSymbolRefExpr::VK_None, context); in EmitGenDwarfInfo() 1093 const MCSymbol *StartSymbol = Sec->getBeginSymbol(); in emitGenDwarfRanges() local 1096 StartSymbol, MCSymbolRefExpr::VK_None, context); in emitGenDwarfRanges() 1110 const MCSymbol *StartSymbol = Sec->getBeginSymbol(); in emitGenDwarfRanges() local [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/ |
| H A D | GLR.h | 131 const ForestNode &glrParse(const ParseParams &Params, SymbolID StartSymbol,
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/ |
| H A D | GrammarBNF.cpp | 23 static const llvm::StringRef StartSymbol = "_"; variable 342 if (UseCounts[SID] == 0 && T.Nonterminals[SID].Name != StartSymbol) in diagnoseGrammar()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/grammar/ |
| H A D | LRTable.h | 127 StateID getStartState(SymbolID StartSymbol) const;
|