Home
last modified time | relevance | path

Searched refs:FunctionProtos (Results 1 – 6 of 6) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp394 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; variable
408 auto FI = FunctionProtos.find(Name); in getFunction()
409 if (FI != FunctionProtos.end()) in getFunction()
493 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
568 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST); in HandleExtern()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp518 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; variable
532 auto FI = FunctionProtos.find(Name); in getFunction()
533 if (FI != FunctionProtos.end()) in getFunction()
767 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
842 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST); in HandleExtern()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp609 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; variable
623 auto FI = FunctionProtos.find(Name); in getFunction()
624 if (FI != FunctionProtos.end()) in getFunction()
878 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
960 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST); in HandleExtern()
/external/llvm/docs/tutorial/
DLangImpl4.rst415 auto FI = FunctionProtos.find(Name);
416 if (FI != FunctionProtos.end())
432 // Transfer ownership of the prototype to the FunctionProtos map, but keep a
435 FunctionProtos[Proto->getName()] = std::move(Proto);
441 To enable this, we'll start by adding a new global, ``FunctionProtos``, that
445 declaration, falling back to generating a new declaration from FunctionProtos if
448 update the FunctionProtos map first, then call ``getFunction()``. With this
475 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST);
485 add the prototype to FunctionProtos.
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp679 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; variable
693 auto FI = FunctionProtos.find(Name); in getFunction()
694 if (FI != FunctionProtos.end()) in getFunction()
1036 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
1126 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST); in HandleExtern()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp861 static std::map<std::string, std::unique_ptr<PrototypeAST>> FunctionProtos; variable
875 auto FI = FunctionProtos.find(Name); in getFunction()
876 if (FI != FunctionProtos.end()) in getFunction()
1231 FunctionProtos[Proto->getName()] = std::move(Proto); in codegen()
1341 FunctionProtos[ProtoAST->getName()] = std::move(ProtoAST); in HandleExtern()