/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter2/ |
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") 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/ |
D | toy-jit.cpp | 48 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/ |
D | toy-jit.cpp | 48 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 …]
|
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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 63 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/ |
D | toy-jit.cpp | 63 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/ |
D | toy.cpp | 39 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/ |
D | toy.cpp | 65 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/ |
D | toy.cpp | 66 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/ |
D | toy.cpp | 63 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/ |
D | toy.cpp | 65 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/ |
D | toy.cpp | 65 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/ |
D | toy.cpp | 65 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/ |
D | toy.cpp | 63 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/ |
D | toy.cpp | 63 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/ |
D | toy.cpp | 57 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/ |
D | toy.cpp | 59 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/ |
D | toy.cpp | 61 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/ |
D | toy.cpp | 63 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/ |
D | toy.cpp | 69 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/ |
D | toy.cpp | 68 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/ |
D | toy.cpp | 81 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/ |
D | toy.cpp | 65 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/ |
D | toy.cpp | 62 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/ |
D | toy.cpp | 82 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 …]
|