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

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

Completed in 98 milliseconds