/external/llvm/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 24 static std::string IdentifierStr; // Filled in if tok_identifier variable 36 IdentifierStr = LastChar; in gettok() 38 IdentifierStr += LastChar; in gettok() 40 if (IdentifierStr == "def") return tok_def; in gettok() 41 if (IdentifierStr == "extern") return tok_extern; in gettok() 169 std::string IdName = IdentifierStr; in ParseIdentifierExpr() 280 std::string FnName = IdentifierStr; in ParsePrototype() 288 ArgNames.push_back(IdentifierStr); in ParsePrototype()
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 43 static std::string IdentifierStr; // Filled in if tok_identifier variable 55 IdentifierStr = LastChar; in gettok() 57 IdentifierStr += LastChar; in gettok() 59 if (IdentifierStr == "def") return tok_def; in gettok() 60 if (IdentifierStr == "extern") return tok_extern; in gettok() 61 if (IdentifierStr == "if") return tok_if; in gettok() 62 if (IdentifierStr == "then") return tok_then; in gettok() 63 if (IdentifierStr == "else") return tok_else; in gettok() 64 if (IdentifierStr == "for") return tok_for; in gettok() 65 if (IdentifierStr == "in") return tok_in; in gettok() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 40 static std::string IdentifierStr; // Filled in if tok_identifier variable 52 IdentifierStr = LastChar; in gettok() 54 IdentifierStr += LastChar; in gettok() 56 if (IdentifierStr == "def") return tok_def; in gettok() 57 if (IdentifierStr == "extern") return tok_extern; in gettok() 58 if (IdentifierStr == "if") return tok_if; in gettok() 59 if (IdentifierStr == "then") return tok_then; in gettok() 60 if (IdentifierStr == "else") return tok_else; in gettok() 61 if (IdentifierStr == "for") return tok_for; in gettok() 62 if (IdentifierStr == "in") return tok_in; in gettok() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.cpp | 49 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 …]
|
D | toy.cpp | 49 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/ |
D | toy-jit.cpp | 64 static std::string IdentifierStr; // Filled in if tok_identifier variable 76 IdentifierStr = LastChar; in gettok() 78 IdentifierStr += LastChar; in gettok() 80 if (IdentifierStr == "def") return tok_def; in gettok() 81 if (IdentifierStr == "extern") return tok_extern; in gettok() 82 if (IdentifierStr == "if") return tok_if; in gettok() 83 if (IdentifierStr == "then") return tok_then; in gettok() 84 if (IdentifierStr == "else") return tok_else; in gettok() 85 if (IdentifierStr == "for") return tok_for; in gettok() 86 if (IdentifierStr == "in") return tok_in; in gettok() [all …]
|
D | toy.cpp | 70 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/Chapter7/ |
D | toy.cpp | 46 static std::string IdentifierStr; // Filled in if tok_identifier variable 58 IdentifierStr = LastChar; in gettok() 60 IdentifierStr += LastChar; in gettok() 62 if (IdentifierStr == "def") return tok_def; in gettok() 63 if (IdentifierStr == "extern") return tok_extern; in gettok() 64 if (IdentifierStr == "if") return tok_if; in gettok() 65 if (IdentifierStr == "then") return tok_then; in gettok() 66 if (IdentifierStr == "else") return tok_else; in gettok() 67 if (IdentifierStr == "for") return tok_for; in gettok() 68 if (IdentifierStr == "in") return tok_in; in gettok() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 29 static std::string IdentifierStr; // Filled in if tok_identifier variable 41 IdentifierStr = LastChar; in gettok() 43 IdentifierStr += LastChar; in gettok() 45 if (IdentifierStr == "def") return tok_def; in gettok() 46 if (IdentifierStr == "extern") return tok_extern; in gettok() 190 std::string IdName = IdentifierStr; in ParseIdentifierExpr() 301 std::string FnName = IdentifierStr; in ParsePrototype() 309 ArgNames.push_back(IdentifierStr); in ParsePrototype()
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 36 static std::string IdentifierStr; // Filled in if tok_identifier variable 48 IdentifierStr = LastChar; in gettok() 50 IdentifierStr += LastChar; in gettok() 52 if (IdentifierStr == "def") return tok_def; in gettok() 53 if (IdentifierStr == "extern") return tok_extern; in gettok() 197 std::string IdName = IdentifierStr; in ParseIdentifierExpr() 308 std::string FnName = IdentifierStr; in ParsePrototype() 316 ArgNames.push_back(IdentifierStr); in ParsePrototype()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 47 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/MCJIT/complete/ |
D | toy.cpp | 94 static std::string IdentifierStr; // Filled in if tok_identifier variable 106 IdentifierStr = LastChar; in gettok() 108 IdentifierStr += LastChar; in gettok() 110 if (IdentifierStr == "def") return tok_def; in gettok() 111 if (IdentifierStr == "extern") return tok_extern; in gettok() 112 if (IdentifierStr == "if") return tok_if; in gettok() 113 if (IdentifierStr == "then") return tok_then; in gettok() 114 if (IdentifierStr == "else") return tok_else; in gettok() 115 if (IdentifierStr == "for") return tok_for; in gettok() 116 if (IdentifierStr == "in") return tok_in; in gettok() [all …]
|
/external/llvm/docs/tutorial/ |
D | LangImpl1.rst | 171 static std::string IdentifierStr; // Filled in if tok_identifier 177 ``IdentifierStr`` global variable holds the name of the identifier. If 209 IdentifierStr = LastChar; 211 IdentifierStr += LastChar; 213 if (IdentifierStr == "def") return tok_def; 214 if (IdentifierStr == "extern") return tok_extern; 218 Note that this code sets the '``IdentifierStr``' global whenever it
|
D | LangImpl5.rst | 77 if (IdentifierStr == "def") return tok_def; 78 if (IdentifierStr == "extern") return tok_extern; 79 if (IdentifierStr == "if") return tok_if; 80 if (IdentifierStr == "then") return tok_then; 81 if (IdentifierStr == "else") return tok_else; 447 if (IdentifierStr == "def") return tok_def; 448 if (IdentifierStr == "extern") return tok_extern; 449 if (IdentifierStr == "if") return tok_if; 450 if (IdentifierStr == "then") return tok_then; 451 if (IdentifierStr == "else") return tok_else; [all …]
|
D | LangImpl6.rst | 104 if (IdentifierStr == "for") return tok_for; 105 if (IdentifierStr == "in") return tok_in; 106 if (IdentifierStr == "binary") return tok_binary; 107 if (IdentifierStr == "unary") return tok_unary; 174 FnName = IdentifierStr; 202 ArgNames.push_back(IdentifierStr); 391 FnName = IdentifierStr;
|
D | LangImpl7.rst | 652 if (IdentifierStr == "in") return tok_in; 653 if (IdentifierStr == "binary") return tok_binary; 654 if (IdentifierStr == "unary") return tok_unary; 655 if (IdentifierStr == "var") return tok_var; 726 std::string Name = IdentifierStr;
|
D | LangImpl2.rst | 254 std::string IdName = IdentifierStr; 548 std::string FnName = IdentifierStr; 557 ArgNames.push_back(IdentifierStr);
|