Home
last modified time | relevance | path

Searched refs:IdentifierStr (Results 1 – 23 of 23) sorted by relevance

/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp60 IdentifierStr = LastChar; in gettok()
62 IdentifierStr += LastChar; in gettok()
64 if (IdentifierStr == "def") return tok_def; in gettok()
66 if (IdentifierStr == "if") return tok_if; in gettok()
69 if (IdentifierStr == "for") return tok_for; in gettok()
70 if (IdentifierStr == "in") return tok_in; in gettok()
273 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
355 std::string IdName = IdentifierStr; in ParseForExpr()
402 std::string Name = IdentifierStr; in ParseVarExpr()
527 FnName = IdentifierStr; in ParsePrototype()
[all …]
H A Dtoy.cpp61 IdentifierStr = LastChar; in gettok()
63 IdentifierStr += LastChar; in gettok()
65 if (IdentifierStr == "def") return tok_def; in gettok()
67 if (IdentifierStr == "if") return tok_if; in gettok()
70 if (IdentifierStr == "for") return tok_for; in gettok()
71 if (IdentifierStr == "in") return tok_in; in gettok()
274 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
356 std::string IdName = IdentifierStr; in ParseForExpr()
403 std::string Name = IdentifierStr; in ParseVarExpr()
528 FnName = IdentifierStr; in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp75 IdentifierStr = LastChar; in gettok()
77 IdentifierStr += LastChar; in gettok()
79 if (IdentifierStr == "def") return tok_def; in gettok()
81 if (IdentifierStr == "if") return tok_if; in gettok()
84 if (IdentifierStr == "for") return tok_for; in gettok()
85 if (IdentifierStr == "in") return tok_in; in gettok()
288 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
370 std::string IdName = IdentifierStr; in ParseForExpr()
417 std::string Name = IdentifierStr; in ParseVarExpr()
542 FnName = IdentifierStr; in ParsePrototype()
[all …]
H A Dtoy.cpp82 IdentifierStr = LastChar; in gettok()
84 IdentifierStr += LastChar; in gettok()
86 if (IdentifierStr == "def") return tok_def; in gettok()
88 if (IdentifierStr == "if") return tok_if; in gettok()
91 if (IdentifierStr == "for") return tok_for; in gettok()
92 if (IdentifierStr == "in") return tok_in; in gettok()
295 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
377 std::string IdName = IdentifierStr; in ParseForExpr()
424 std::string Name = IdentifierStr; in ParseVarExpr()
549 FnName = IdentifierStr; in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp28 static std::string IdentifierStr; // Filled in if tok_identifier variable
40 IdentifierStr = LastChar; in gettok()
42 IdentifierStr += LastChar; in gettok()
44 if (IdentifierStr == "def") in gettok()
46 if (IdentifierStr == "extern") in gettok()
221 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
324 std::string FnName = IdentifierStr; in ParsePrototype()
332 ArgNames.push_back(IdentifierStr); in ParsePrototype()
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp75 IdentifierStr = LastChar; in gettok()
77 IdentifierStr += LastChar; in gettok()
79 if (IdentifierStr == "def") in gettok()
81 if (IdentifierStr == "extern") in gettok()
83 if (IdentifierStr == "if") in gettok()
85 if (IdentifierStr == "then") in gettok()
87 if (IdentifierStr == "else") in gettok()
89 if (IdentifierStr == "for") in gettok()
91 if (IdentifierStr == "in") in gettok()
95 if (IdentifierStr == "unary") in gettok()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp75 IdentifierStr = LastChar; in gettok()
77 IdentifierStr += LastChar; in gettok()
79 if (IdentifierStr == "def") in gettok()
83 if (IdentifierStr == "if") in gettok()
85 if (IdentifierStr == "then") in gettok()
87 if (IdentifierStr == "else") in gettok()
89 if (IdentifierStr == "for") in gettok()
91 if (IdentifierStr == "in") in gettok()
95 if (IdentifierStr == "unary") in gettok()
97 if (IdentifierStr == "var") in gettok()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp75 IdentifierStr = LastChar; in gettok()
77 IdentifierStr += LastChar; in gettok()
79 if (IdentifierStr == "def") in gettok()
83 if (IdentifierStr == "if") in gettok()
85 if (IdentifierStr == "then") in gettok()
87 if (IdentifierStr == "else") in gettok()
89 if (IdentifierStr == "for") in gettok()
91 if (IdentifierStr == "in") in gettok()
95 if (IdentifierStr == "unary") in gettok()
97 if (IdentifierStr == "var") in gettok()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp75 IdentifierStr = LastChar; in gettok()
77 IdentifierStr += LastChar; in gettok()
79 if (IdentifierStr == "def") in gettok()
83 if (IdentifierStr == "if") in gettok()
85 if (IdentifierStr == "then") in gettok()
87 if (IdentifierStr == "else") in gettok()
89 if (IdentifierStr == "for") in gettok()
91 if (IdentifierStr == "in") in gettok()
95 if (IdentifierStr == "unary") in gettok()
97 if (IdentifierStr == "var") in gettok()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp81 IdentifierStr = LastChar; in gettok()
83 IdentifierStr += LastChar; in gettok()
85 if (IdentifierStr == "def") in gettok()
89 if (IdentifierStr == "if") in gettok()
91 if (IdentifierStr == "then") in gettok()
93 if (IdentifierStr == "else") in gettok()
95 if (IdentifierStr == "for") in gettok()
97 if (IdentifierStr == "in") in gettok()
101 if (IdentifierStr == "unary") in gettok()
103 if (IdentifierStr == "var") in gettok()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp75 IdentifierStr = LastChar; in gettok()
77 IdentifierStr += LastChar; in gettok()
79 if (IdentifierStr == "def") in gettok()
83 if (IdentifierStr == "if") in gettok()
85 if (IdentifierStr == "then") in gettok()
87 if (IdentifierStr == "else") in gettok()
89 if (IdentifierStr == "for") in gettok()
91 if (IdentifierStr == "in") in gettok()
95 if (IdentifierStr == "unary") in gettok()
97 if (IdentifierStr == "var") in gettok()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp80 IdentifierStr = LastChar; in gettok()
82 IdentifierStr += LastChar; in gettok()
84 if (IdentifierStr == "def") in gettok()
88 if (IdentifierStr == "if") in gettok()
90 if (IdentifierStr == "then") in gettok()
92 if (IdentifierStr == "else") in gettok()
94 if (IdentifierStr == "for") in gettok()
96 if (IdentifierStr == "in") in gettok()
100 if (IdentifierStr == "unary") in gettok()
102 if (IdentifierStr == "var") in gettok()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp71 IdentifierStr = LastChar; in gettok()
73 IdentifierStr += LastChar; in gettok()
75 if (IdentifierStr == "def") in gettok()
77 if (IdentifierStr == "extern") in gettok()
79 if (IdentifierStr == "if") in gettok()
81 if (IdentifierStr == "then") in gettok()
83 if (IdentifierStr == "else") in gettok()
85 if (IdentifierStr == "for") in gettok()
87 if (IdentifierStr == "in") in gettok()
303 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp59 IdentifierStr = LastChar; in gettok()
61 IdentifierStr += LastChar; in gettok()
63 if (IdentifierStr == "def") return tok_def; in gettok()
65 if (IdentifierStr == "if") return tok_if; in gettok()
68 if (IdentifierStr == "for") return tok_for; in gettok()
69 if (IdentifierStr == "in") return tok_in; in gettok()
272 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
354 std::string IdName = IdentifierStr; in ParseForExpr()
401 std::string Name = IdentifierStr; in ParseVarExpr()
526 FnName = IdentifierStr; in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp41 static std::string IdentifierStr; // Filled in if tok_identifier variable
53 IdentifierStr = LastChar; in gettok()
55 IdentifierStr += LastChar; in gettok()
57 if (IdentifierStr == "def") in gettok()
59 if (IdentifierStr == "extern") in gettok()
248 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
351 std::string FnName = IdentifierStr; in ParsePrototype()
359 ArgNames.push_back(IdentifierStr); in ParsePrototype()
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp101 IdentifierStr = LastChar; in gettok()
103 IdentifierStr += LastChar; in gettok()
105 if (IdentifierStr == "def") return tok_def; in gettok()
107 if (IdentifierStr == "if") return tok_if; in gettok()
110 if (IdentifierStr == "for") return tok_for; in gettok()
111 if (IdentifierStr == "in") return tok_in; in gettok()
314 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
396 std::string IdName = IdentifierStr; in ParseForExpr()
443 std::string Name = IdentifierStr; in ParseVarExpr()
568 FnName = IdentifierStr; in ParsePrototype()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp133 IdentifierStr = LastChar; in gettok()
135 IdentifierStr += LastChar; in gettok()
137 if (IdentifierStr == "def") in gettok()
141 if (IdentifierStr == "if") in gettok()
143 if (IdentifierStr == "then") in gettok()
145 if (IdentifierStr == "else") in gettok()
147 if (IdentifierStr == "for") in gettok()
149 if (IdentifierStr == "in") in gettok()
153 if (IdentifierStr == "unary") in gettok()
155 if (IdentifierStr == "var") in gettok()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp51 static std::string IdentifierStr; // Filled in if tok_identifier variable
63 IdentifierStr = LastChar; in gettok()
65 IdentifierStr += LastChar; in gettok()
67 if (IdentifierStr == "def") in gettok()
69 if (IdentifierStr == "extern") in gettok()
258 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
361 std::string FnName = IdentifierStr; in ParsePrototype()
369 ArgNames.push_back(IdentifierStr); in ParsePrototype()
/netbsd/external/apache2/llvm/dist/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl01.rst84 static std::string IdentifierStr; // Filled in if tok_identifier
90 ``IdentifierStr`` global variable holds the name of the identifier. If
122 IdentifierStr = LastChar;
124 IdentifierStr += LastChar;
126 if (IdentifierStr == "def")
128 if (IdentifierStr == "extern")
133 Note that this code sets the '``IdentifierStr``' global whenever it
H A DLangImpl05.rst79 if (IdentifierStr == "def")
81 if (IdentifierStr == "extern")
83 if (IdentifierStr == "if")
85 if (IdentifierStr == "then")
87 if (IdentifierStr == "else")
469 if (IdentifierStr == "def")
473 if (IdentifierStr == "if")
475 if (IdentifierStr == "then")
477 if (IdentifierStr == "else")
479 if (IdentifierStr == "for")
[all …]
H A DLangImpl06.rst105 if (IdentifierStr == "for")
107 if (IdentifierStr == "in")
109 if (IdentifierStr == "binary")
111 if (IdentifierStr == "unary")
182 FnName = IdentifierStr;
210 ArgNames.push_back(IdentifierStr);
409 FnName = IdentifierStr;
H A DLangImpl07.rst659 if (IdentifierStr == "in")
661 if (IdentifierStr == "binary")
663 if (IdentifierStr == "unary")
665 if (IdentifierStr == "var")
745 std::string Name = IdentifierStr;
H A DLangImpl02.rst272 std::string IdName = IdentifierStr;
578 std::string FnName = IdentifierStr;
587 ArgNames.push_back(IdentifierStr);