Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp29 static std::string IdentifierStr; // Filled in if tok_identifier variable
41 IdentifierStr = LastChar; in gettok()
43 IdentifierStr += LastChar; in gettok()
45 if (IdentifierStr == "def") in gettok()
47 if (IdentifierStr == "extern") in gettok()
222 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
325 std::string FnName = IdentifierStr; in ParsePrototype()
333 ArgNames.push_back(IdentifierStr); in ParsePrototype()
/external/swiftshader/third_party/llvm-7.0/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 …]
/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/swiftshader/third_party/llvm-7.0/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 …]
/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 …]
/external/llvm/examples/Kaleidoscope/Chapter2/
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") in gettok()
57 if (IdentifierStr == "extern") in gettok()
227 std::string IdName = IdentifierStr; in ParseIdentifierExpr()
330 std::string FnName = IdentifierStr; in ParsePrototype()
338 ArgNames.push_back(IdentifierStr); in ParsePrototype()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp65 static std::string IdentifierStr; // Filled in if tok_identifier variable
77 IdentifierStr = LastChar; in gettok()
79 IdentifierStr += LastChar; in gettok()
81 if (IdentifierStr == "def") in gettok()
83 if (IdentifierStr == "extern") in gettok()
85 if (IdentifierStr == "if") in gettok()
87 if (IdentifierStr == "then") in gettok()
89 if (IdentifierStr == "else") in gettok()
91 if (IdentifierStr == "for") in gettok()
93 if (IdentifierStr == "in") in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp66 static std::string IdentifierStr; // Filled in if tok_identifier variable
78 IdentifierStr = LastChar; in gettok()
80 IdentifierStr += LastChar; in gettok()
82 if (IdentifierStr == "def") in gettok()
84 if (IdentifierStr == "extern") in gettok()
86 if (IdentifierStr == "if") in gettok()
88 if (IdentifierStr == "then") in gettok()
90 if (IdentifierStr == "else") in gettok()
92 if (IdentifierStr == "for") in gettok()
94 if (IdentifierStr == "in") in gettok()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.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") 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()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp65 static std::string IdentifierStr; // Filled in if tok_identifier variable
77 IdentifierStr = LastChar; in gettok()
79 IdentifierStr += LastChar; in gettok()
81 if (IdentifierStr == "def") in gettok()
83 if (IdentifierStr == "extern") in gettok()
85 if (IdentifierStr == "if") in gettok()
87 if (IdentifierStr == "then") in gettok()
89 if (IdentifierStr == "else") in gettok()
91 if (IdentifierStr == "for") in gettok()
93 if (IdentifierStr == "in") in gettok()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp65 static std::string IdentifierStr; // Filled in if tok_identifier variable
77 IdentifierStr = LastChar; in gettok()
79 IdentifierStr += LastChar; in gettok()
81 if (IdentifierStr == "def") in gettok()
83 if (IdentifierStr == "extern") in gettok()
85 if (IdentifierStr == "if") in gettok()
87 if (IdentifierStr == "then") in gettok()
89 if (IdentifierStr == "else") in gettok()
91 if (IdentifierStr == "for") in gettok()
93 if (IdentifierStr == "in") in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp65 static std::string IdentifierStr; // Filled in if tok_identifier variable
77 IdentifierStr = LastChar; in gettok()
79 IdentifierStr += LastChar; in gettok()
81 if (IdentifierStr == "def") in gettok()
83 if (IdentifierStr == "extern") in gettok()
85 if (IdentifierStr == "if") in gettok()
87 if (IdentifierStr == "then") in gettok()
89 if (IdentifierStr == "else") in gettok()
91 if (IdentifierStr == "for") in gettok()
93 if (IdentifierStr == "in") in gettok()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.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") 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()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.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") 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()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp57 static std::string IdentifierStr; // Filled in if tok_identifier variable
69 IdentifierStr = LastChar; in gettok()
71 IdentifierStr += LastChar; in gettok()
73 if (IdentifierStr == "def") in gettok()
75 if (IdentifierStr == "extern") in gettok()
77 if (IdentifierStr == "if") in gettok()
79 if (IdentifierStr == "then") in gettok()
81 if (IdentifierStr == "else") in gettok()
83 if (IdentifierStr == "for") in gettok()
85 if (IdentifierStr == "in") in gettok()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp59 static std::string IdentifierStr; // Filled in if tok_identifier variable
71 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()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp61 static std::string IdentifierStr; // Filled in if tok_identifier variable
73 IdentifierStr = LastChar; in gettok()
75 IdentifierStr += LastChar; in gettok()
77 if (IdentifierStr == "def") in gettok()
79 if (IdentifierStr == "extern") in gettok()
81 if (IdentifierStr == "if") in gettok()
83 if (IdentifierStr == "then") in gettok()
85 if (IdentifierStr == "else") in gettok()
87 if (IdentifierStr == "for") in gettok()
89 if (IdentifierStr == "in") in gettok()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.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") 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()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp69 static std::string IdentifierStr; // Filled in if tok_identifier variable
81 IdentifierStr = LastChar; in gettok()
83 IdentifierStr += LastChar; in gettok()
85 if (IdentifierStr == "def") in gettok()
87 if (IdentifierStr == "extern") 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()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp68 static std::string IdentifierStr; // Filled in if tok_identifier variable
80 IdentifierStr = LastChar; in gettok()
82 IdentifierStr += LastChar; in gettok()
84 if (IdentifierStr == "def") in gettok()
86 if (IdentifierStr == "extern") 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()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp81 static std::string IdentifierStr; // Filled in if tok_identifier variable
93 IdentifierStr = LastChar; in gettok()
95 IdentifierStr += LastChar; in gettok()
97 if (IdentifierStr == "def") in gettok()
99 if (IdentifierStr == "extern") in gettok()
101 if (IdentifierStr == "if") in gettok()
103 if (IdentifierStr == "then") in gettok()
105 if (IdentifierStr == "else") in gettok()
107 if (IdentifierStr == "for") in gettok()
109 if (IdentifierStr == "in") in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp65 static std::string IdentifierStr; // Filled in if tok_identifier variable
77 IdentifierStr = LastChar; in gettok()
79 IdentifierStr += LastChar; in gettok()
81 if (IdentifierStr == "def") in gettok()
83 if (IdentifierStr == "extern") in gettok()
85 if (IdentifierStr == "if") in gettok()
87 if (IdentifierStr == "then") in gettok()
89 if (IdentifierStr == "else") in gettok()
91 if (IdentifierStr == "for") in gettok()
93 if (IdentifierStr == "in") in gettok()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp62 static std::string IdentifierStr; // Filled in if tok_identifier variable
74 IdentifierStr = LastChar; in gettok()
76 IdentifierStr += LastChar; in gettok()
78 if (IdentifierStr == "def") in gettok()
80 if (IdentifierStr == "extern") in gettok()
82 if (IdentifierStr == "if") in gettok()
84 if (IdentifierStr == "then") in gettok()
86 if (IdentifierStr == "else") in gettok()
88 if (IdentifierStr == "for") in gettok()
90 if (IdentifierStr == "in") in gettok()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp82 static std::string IdentifierStr; // Filled in if tok_identifier variable
94 IdentifierStr = LastChar; in gettok()
96 IdentifierStr += LastChar; in gettok()
98 if (IdentifierStr == "def") in gettok()
100 if (IdentifierStr == "extern") in gettok()
102 if (IdentifierStr == "if") in gettok()
104 if (IdentifierStr == "then") in gettok()
106 if (IdentifierStr == "else") in gettok()
108 if (IdentifierStr == "for") in gettok()
110 if (IdentifierStr == "in") in gettok()
[all …]

12