Home
last modified time | relevance | path

Searched refs:FnAST (Results 1 – 10 of 10) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp504 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
505 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
529 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
530 if (auto *FnIR = FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp550 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
551 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
578 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
579 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp1183 void addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST() argument
1184 std::cerr << "Adding AST: " << FnAST->Proto->Name << "\n"; in addFunctionAST()
1185 FunctionDefs[mangle(FnAST->Proto->Name)] = std::move(FnAST); in addFunctionAST()
1239 auto FnAST = std::move(DefI->second); in searchFunctionASTs() local
1243 auto H = irGenStub(std::move(FnAST)); in searchFunctionASTs()
1251 ModuleHandleT irGenStub(std::unique_ptr<FunctionAST> FnAST) { in irGenStub() argument
1255 Function *F = FnAST->Proto->IRGen(C); in irGenStub()
1286 std::shared_ptr<FunctionAST> Fn = std::move(FnAST); in irGenStub()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp824 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
825 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
852 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
853 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp1176 void addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST() argument
1177 std::cerr << "Adding AST: " << FnAST->Proto->Name << "\n"; in addFunctionAST()
1178 FunctionDefs[mangle(FnAST->Proto->Name)] = std::move(FnAST); in addFunctionAST()
1227 auto FnAST = std::move(DefI->second); in searchFunctionASTs() local
1231 auto H = addModule(IRGen(Session, *FnAST)); in searchFunctionASTs()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp942 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
943 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
970 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
971 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp1108 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1109 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1136 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1137 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp1327 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1328 if (!FnAST->codegen()) in HandleDefinition()
1350 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1351 if (!FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/docs/tutorial/
DLangImpl4.rst262 if (auto FnAST = ParseTopLevelExpr()) {
263 if (FnAST->codegen()) {
457 if (auto FnAST = ParseDefinition()) {
458 if (auto *FnIR = FnAST->codegen()) {
DLangImpl8.rst111 if (auto FnAST = ParseTopLevelExpr()) {
112 - if (auto *FnIR = FnAST->codegen()) {