Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp23 static std::string IdentifierStr; // Filled in if tok_identifier variable
35 IdentifierStr = LastChar; in gettok()
37 IdentifierStr += LastChar; in gettok()
39 if (IdentifierStr == "def") return tok_def; in gettok()
40 if (IdentifierStr == "extern") return tok_extern; in gettok()
176 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
287 std::string FnName = IdentifierStr; in ParsePrototype()
295 ArgNames.push_back(IdentifierStr); in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp42 static std::string IdentifierStr; // Filled in if tok_identifier variable
54 IdentifierStr = LastChar; in gettok()
56 IdentifierStr += LastChar; in gettok()
58 if (IdentifierStr == "def") return tok_def; in gettok()
59 if (IdentifierStr == "extern") return tok_extern; in gettok()
60 if (IdentifierStr == "if") return tok_if; in gettok()
61 if (IdentifierStr == "then") return tok_then; in gettok()
62 if (IdentifierStr == "else") return tok_else; in gettok()
63 if (IdentifierStr == "for") return tok_for; in gettok()
64 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp39 static std::string IdentifierStr; // Filled in if tok_identifier variable
51 IdentifierStr = LastChar; in gettok()
53 IdentifierStr += LastChar; in gettok()
55 if (IdentifierStr == "def") return tok_def; in gettok()
56 if (IdentifierStr == "extern") return tok_extern; in gettok()
57 if (IdentifierStr == "if") return tok_if; in gettok()
58 if (IdentifierStr == "then") return tok_then; in gettok()
59 if (IdentifierStr == "else") return tok_else; in gettok()
60 if (IdentifierStr == "for") return tok_for; in gettok()
61 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter7/
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") return tok_def; in gettok()
62 if (IdentifierStr == "extern") return tok_extern; in gettok()
63 if (IdentifierStr == "if") return tok_if; in gettok()
64 if (IdentifierStr == "then") return tok_then; in gettok()
65 if (IdentifierStr == "else") return tok_else; in gettok()
66 if (IdentifierStr == "for") return tok_for; in gettok()
67 if (IdentifierStr == "in") return tok_in; in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter3/
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") return tok_def; in gettok()
45 if (IdentifierStr == "extern") return tok_extern; in gettok()
188 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
299 std::string FnName = IdentifierStr; in ParsePrototype()
307 ArgNames.push_back(IdentifierStr); in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp35 static std::string IdentifierStr; // Filled in if tok_identifier variable
47 IdentifierStr = LastChar; in gettok()
49 IdentifierStr += LastChar; in gettok()
51 if (IdentifierStr == "def") return tok_def; in gettok()
52 if (IdentifierStr == "extern") return tok_extern; in gettok()
195 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
306 std::string FnName = IdentifierStr; in ParsePrototype()
314 ArgNames.push_back(IdentifierStr); in ParsePrototype()