Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp48 static std::string IdentifierStr; // Filled in if tok_identifier variable
60 IdentifierStr = LastChar; in gettok()
62 IdentifierStr += LastChar; in gettok()
64 if (IdentifierStr == "def") return tok_def; in gettok()
65 if (IdentifierStr == "extern") return tok_extern; in gettok()
66 if (IdentifierStr == "if") return tok_if; in gettok()
67 if (IdentifierStr == "then") return tok_then; in gettok()
68 if (IdentifierStr == "else") return tok_else; in gettok()
69 if (IdentifierStr == "for") return tok_for; in gettok()
70 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
Dtoy.cpp49 static std::string IdentifierStr; // Filled in if tok_identifier variable
61 IdentifierStr = LastChar; in gettok()
63 IdentifierStr += LastChar; in gettok()
65 if (IdentifierStr == "def") return tok_def; in gettok()
66 if (IdentifierStr == "extern") return tok_extern; in gettok()
67 if (IdentifierStr == "if") return tok_if; in gettok()
68 if (IdentifierStr == "then") return tok_then; in gettok()
69 if (IdentifierStr == "else") return tok_else; in gettok()
70 if (IdentifierStr == "for") return tok_for; in gettok()
71 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp63 static std::string IdentifierStr; // Filled in if tok_identifier variable
75 IdentifierStr = LastChar; in gettok()
77 IdentifierStr += LastChar; in gettok()
79 if (IdentifierStr == "def") return tok_def; in gettok()
80 if (IdentifierStr == "extern") return tok_extern; in gettok()
81 if (IdentifierStr == "if") return tok_if; in gettok()
82 if (IdentifierStr == "then") return tok_then; in gettok()
83 if (IdentifierStr == "else") return tok_else; in gettok()
84 if (IdentifierStr == "for") return tok_for; in gettok()
85 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
Dtoy.cpp70 static std::string IdentifierStr; // Filled in if tok_identifier variable
82 IdentifierStr = LastChar; in gettok()
84 IdentifierStr += LastChar; in gettok()
86 if (IdentifierStr == "def") return tok_def; in gettok()
87 if (IdentifierStr == "extern") return tok_extern; in gettok()
88 if (IdentifierStr == "if") return tok_if; in gettok()
89 if (IdentifierStr == "then") return tok_then; in gettok()
90 if (IdentifierStr == "else") return tok_else; in gettok()
91 if (IdentifierStr == "for") return tok_for; in gettok()
92 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp38 static std::string IdentifierStr; // Filled in if tok_identifier variable
50 IdentifierStr = LastChar; in gettok()
52 IdentifierStr += LastChar; in gettok()
54 if (IdentifierStr == "def") in gettok()
56 if (IdentifierStr == "extern") in gettok()
226 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
329 std::string FnName = IdentifierStr; in ParsePrototype()
337 ArgNames.push_back(IdentifierStr); in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp45 static std::string IdentifierStr; // Filled in if tok_identifier variable
57 IdentifierStr = LastChar; in gettok()
59 IdentifierStr += LastChar; in gettok()
61 if (IdentifierStr == "def") in gettok()
63 if (IdentifierStr == "extern") in gettok()
65 if (IdentifierStr == "if") in gettok()
67 if (IdentifierStr == "then") in gettok()
69 if (IdentifierStr == "else") in gettok()
71 if (IdentifierStr == "for") in gettok()
73 if (IdentifierStr == "in") in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp49 static std::string IdentifierStr; // Filled in if tok_identifier variable
61 IdentifierStr = LastChar; in gettok()
63 IdentifierStr += LastChar; in gettok()
65 if (IdentifierStr == "def") in gettok()
67 if (IdentifierStr == "extern") in gettok()
69 if (IdentifierStr == "if") in gettok()
71 if (IdentifierStr == "then") in gettok()
73 if (IdentifierStr == "else") in gettok()
75 if (IdentifierStr == "for") in gettok()
77 if (IdentifierStr == "in") in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp52 static std::string IdentifierStr; // Filled in if tok_identifier variable
64 IdentifierStr = LastChar; in gettok()
66 IdentifierStr += LastChar; in gettok()
68 if (IdentifierStr == "def") in gettok()
70 if (IdentifierStr == "extern") in gettok()
72 if (IdentifierStr == "if") in gettok()
74 if (IdentifierStr == "then") in gettok()
76 if (IdentifierStr == "else") in gettok()
78 if (IdentifierStr == "for") in gettok()
80 if (IdentifierStr == "in") in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp47 static std::string IdentifierStr; // Filled in if tok_identifier variable
59 IdentifierStr = LastChar; in gettok()
61 IdentifierStr += LastChar; in gettok()
63 if (IdentifierStr == "def") return tok_def; in gettok()
64 if (IdentifierStr == "extern") return tok_extern; in gettok()
65 if (IdentifierStr == "if") return tok_if; in gettok()
66 if (IdentifierStr == "then") return tok_then; in gettok()
67 if (IdentifierStr == "else") return tok_else; in gettok()
68 if (IdentifierStr == "for") return tok_for; in gettok()
69 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp32 static std::string IdentifierStr; // Filled in if tok_identifier variable
44 IdentifierStr = LastChar; in gettok()
46 IdentifierStr += LastChar; in gettok()
48 if (IdentifierStr == "def") in gettok()
50 if (IdentifierStr == "extern") in gettok()
229 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
332 std::string FnName = IdentifierStr; in ParsePrototype()
340 ArgNames.push_back(IdentifierStr); in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp53 static std::string IdentifierStr; // Filled in if tok_identifier variable
65 IdentifierStr = LastChar; in gettok()
67 IdentifierStr += LastChar; in gettok()
69 if (IdentifierStr == "def") return tok_def; in gettok()
70 if (IdentifierStr == "extern") return tok_extern; in gettok()
71 if (IdentifierStr == "if") return tok_if; in gettok()
72 if (IdentifierStr == "then") return tok_then; in gettok()
73 if (IdentifierStr == "else") return tok_else; in gettok()
74 if (IdentifierStr == "for") return tok_for; in gettok()
75 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp118 static std::string IdentifierStr; // Filled in if tok_identifier variable
132 IdentifierStr = LastChar; in gettok()
134 IdentifierStr += LastChar; in gettok()
136 if (IdentifierStr == "def") in gettok()
138 if (IdentifierStr == "extern") in gettok()
140 if (IdentifierStr == "if") in gettok()
142 if (IdentifierStr == "then") in gettok()
144 if (IdentifierStr == "else") in gettok()
146 if (IdentifierStr == "for") in gettok()
148 if (IdentifierStr == "in") in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp89 static std::string IdentifierStr; // Filled in if tok_identifier variable
101 IdentifierStr = LastChar; in gettok()
103 IdentifierStr += LastChar; in gettok()
105 if (IdentifierStr == "def") return tok_def; in gettok()
106 if (IdentifierStr == "extern") return tok_extern; in gettok()
107 if (IdentifierStr == "if") return tok_if; in gettok()
108 if (IdentifierStr == "then") return tok_then; in gettok()
109 if (IdentifierStr == "else") return tok_else; in gettok()
110 if (IdentifierStr == "for") return tok_for; in gettok()
111 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp53 static std::string IdentifierStr; // Filled in if tok_identifier variable
65 IdentifierStr = LastChar; in gettok()
67 IdentifierStr += LastChar; in gettok()
69 if (IdentifierStr == "def") return tok_def; in gettok()
70 if (IdentifierStr == "extern") return tok_extern; in gettok()
71 if (IdentifierStr == "if") return tok_if; in gettok()
72 if (IdentifierStr == "then") return tok_then; in gettok()
73 if (IdentifierStr == "else") return tok_else; in gettok()
74 if (IdentifierStr == "for") return tok_for; in gettok()
75 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp53 static std::string IdentifierStr; // Filled in if tok_identifier variable
65 IdentifierStr = LastChar; in gettok()
67 IdentifierStr += LastChar; in gettok()
69 if (IdentifierStr == "def") return tok_def; in gettok()
70 if (IdentifierStr == "extern") return tok_extern; in gettok()
71 if (IdentifierStr == "if") return tok_if; in gettok()
72 if (IdentifierStr == "then") return tok_then; in gettok()
73 if (IdentifierStr == "else") return tok_else; in gettok()
74 if (IdentifierStr == "for") return tok_for; in gettok()
75 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp38 static std::string IdentifierStr; // Filled in if tok_identifier variable
50 IdentifierStr = LastChar; in gettok()
52 IdentifierStr += LastChar; in gettok()
54 if (IdentifierStr == "def") in gettok()
56 if (IdentifierStr == "extern") in gettok()
235 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
338 std::string FnName = IdentifierStr; in ParsePrototype()
346 ArgNames.push_back(IdentifierStr); in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp54 static std::string IdentifierStr; // Filled in if tok_identifier variable
66 IdentifierStr = LastChar; in gettok()
68 IdentifierStr += LastChar; in gettok()
70 if (IdentifierStr == "def") return tok_def; in gettok()
71 if (IdentifierStr == "extern") return tok_extern; in gettok()
72 if (IdentifierStr == "if") return tok_if; in gettok()
73 if (IdentifierStr == "then") return tok_then; in gettok()
74 if (IdentifierStr == "else") return tok_else; in gettok()
75 if (IdentifierStr == "for") return tok_for; in gettok()
76 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
/external/llvm/docs/tutorial/
DLangImpl1.rst180 static std::string IdentifierStr; // Filled in if tok_identifier
186 ``IdentifierStr`` global variable holds the name of the identifier. If
218 IdentifierStr = LastChar;
220 IdentifierStr += LastChar;
222 if (IdentifierStr == "def")
224 if (IdentifierStr == "extern")
229 Note that this code sets the '``IdentifierStr``' global whenever it
DLangImpl5.rst79 if (IdentifierStr == "def")
81 if (IdentifierStr == "extern")
83 if (IdentifierStr == "if")
85 if (IdentifierStr == "then")
87 if (IdentifierStr == "else")
468 if (IdentifierStr == "def")
470 if (IdentifierStr == "extern")
472 if (IdentifierStr == "if")
474 if (IdentifierStr == "then")
476 if (IdentifierStr == "else")
[all …]
DLangImpl6.rst105 if (IdentifierStr == "for")
107 if (IdentifierStr == "in")
109 if (IdentifierStr == "binary")
111 if (IdentifierStr == "unary")
181 FnName = IdentifierStr;
209 ArgNames.push_back(IdentifierStr);
408 FnName = IdentifierStr;
DLangImpl7.rst657 if (IdentifierStr == "in")
659 if (IdentifierStr == "binary")
661 if (IdentifierStr == "unary")
663 if (IdentifierStr == "var")
743 std::string Name = IdentifierStr;
DLangImpl2.rst270 std::string IdName = IdentifierStr;
576 std::string FnName = IdentifierStr;
585 ArgNames.push_back(IdentifierStr);