Home
last modified time | relevance | path

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

12

/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h60 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix);
132 Error addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST() argument
144 if (auto Err = IndirectStubsMgr->createStub(mangle(FnAST->getName()), in addFunctionAST()
151 auto SharedFnAST = std::shared_ptr<FunctionAST>(std::move(FnAST)); in addFunctionAST()
Dtoy.cpp1094 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix) { in irgenAndTakeOwnership() argument
1095 if (auto *F = FnAST.codegen()) { in irgenAndTakeOwnership()
1106 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1107 FunctionProtos[FnAST->getProto().getName()] = in HandleDefinition()
1108 llvm::make_unique<PrototypeAST>(FnAST->getProto()); in HandleDefinition()
1109 ExitOnErr(TheJIT->addFunctionAST(std::move(FnAST))); in HandleDefinition()
1131 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1132 FunctionProtos[FnAST->getName()] = in HandleTopLevelExpression()
1133 llvm::make_unique<PrototypeAST>(FnAST->getProto()); in HandleTopLevelExpression()
1134 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DKaleidoscopeJIT.h62 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix);
160 Error addFunctionAST(std::unique_ptr<FunctionAST> FnAST) { in addFunctionAST() argument
172 if (auto Err = IndirectStubsMgr->createStub(mangle(FnAST->getName()), in addFunctionAST()
179 auto SharedFnAST = std::shared_ptr<FunctionAST>(std::move(FnAST)); in addFunctionAST()
Dtoy.cpp1116 irgenAndTakeOwnership(FunctionAST &FnAST, const std::string &Suffix) { in irgenAndTakeOwnership() argument
1117 if (auto *F = FnAST.codegen()) { in irgenAndTakeOwnership()
1128 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1129 FunctionProtos[FnAST->getProto().getName()] = in HandleDefinition()
1130 llvm::make_unique<PrototypeAST>(FnAST->getProto()); in HandleDefinition()
1131 ExitOnErr(TheJIT->addFunctionAST(std::move(FnAST))); in HandleDefinition()
1153 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1154 FunctionProtos[FnAST->getName()] = in HandleTopLevelExpression()
1155 llvm::make_unique<PrototypeAST>(FnAST->getProto()); in HandleTopLevelExpression()
1156 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp531 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
532 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
558 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
559 if (auto *FnIR = FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp511 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
512 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
536 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
537 if (auto *FnIR = FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp1105 ThreadSafeModule irgenAndTakeOwnership(FunctionAST &FnAST, in irgenAndTakeOwnership() argument
1107 if (auto *F = FnAST.codegen()) { in irgenAndTakeOwnership()
1118 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1119 FunctionProtos[FnAST->getProto().getName()] = in HandleDefinition()
1120 std::make_unique<PrototypeAST>(FnAST->getProto()); in HandleDefinition()
1121 ExitOnErr(TheJIT->addAST(std::move(FnAST))); in HandleDefinition()
1144 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1145 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp560 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
561 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
588 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
589 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp577 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
578 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
608 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
609 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp832 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
833 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
860 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
861 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp851 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
852 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
882 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
883 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp970 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
971 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1001 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1002 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp950 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
951 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
978 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
979 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp1098 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1099 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1126 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1127 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp1098 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1099 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1126 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1127 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp1098 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1099 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1126 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1127 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp1140 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1141 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1171 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1172 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp1115 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1116 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1146 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1147 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp1093 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1094 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1119 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1120 FnAST->codegen(); in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp1116 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1117 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1144 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1145 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp1115 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1116 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1146 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1147 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp1119 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1120 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1147 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1148 FnAST->codegen(); in HandleTopLevelExpression()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp1115 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1116 if (auto *FnIR = FnAST->codegen()) { in HandleDefinition()
1146 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1147 if (FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp1323 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1324 if (!FnAST->codegen()) in HandleDefinition()
1346 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1347 if (!FnAST->codegen()) { in HandleTopLevelExpression()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp1332 if (auto FnAST = ParseDefinition()) { in HandleDefinition() local
1333 if (!FnAST->codegen()) in HandleDefinition()
1355 if (auto FnAST = ParseTopLevelExpr()) { in HandleTopLevelExpression() local
1356 if (!FnAST->codegen()) { in HandleTopLevelExpression()

12