Searched refs:FnAST (Results 1 – 10 of 10) sorted by relevance
504 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local505 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()529 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local530 if (auto *FnIR = FnAST->codegen()) { in HandleTopLevelExpression()
550 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local551 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()578 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local579 if (FnAST->codegen()) { in HandleTopLevelExpression()
1183 void addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST() argument1184 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() local1243 auto H = irGenStub(std::move(FnAST)); in searchFunctionASTs()1251 ModuleHandleT irGenStub(std::unique_ptr<FunctionAST> FnAST) { in irGenStub() argument1255 Function *F = FnAST->Proto->IRGen(C); in irGenStub()1286 std::shared_ptr<FunctionAST> Fn = std::move(FnAST); in irGenStub()
824 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local825 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()852 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local853 if (FnAST->codegen()) { in HandleTopLevelExpression()
1176 void addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST() argument1177 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() local1231 auto H = addModule(IRGen(Session, *FnAST)); in searchFunctionASTs()
942 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local943 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()970 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local971 if (FnAST->codegen()) { in HandleTopLevelExpression()
1108 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local1109 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()1136 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local1137 if (FnAST->codegen()) { in HandleTopLevelExpression()
1327 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local1328 if (!FnAST->codegen()) in HandleDefinition()1350 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local1351 if (!FnAST->codegen()) { in HandleTopLevelExpression()
262 if (auto FnAST = ParseTopLevelExpr()) {263 if (FnAST->codegen()) {457 if (auto FnAST = ParseDefinition()) {458 if (auto *FnIR = FnAST->codegen()) {
111 if (auto FnAST = ParseTopLevelExpr()) {112 - if (auto *FnIR = FnAST->codegen()) {