/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
D | KaleidoscopeJIT.h | 60 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()
|
D | toy.cpp | 1094 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/ |
D | KaleidoscopeJIT.h | 62 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()
|
D | toy.cpp | 1116 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/ |
D | toy.cpp | 531 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/ |
D | toy.cpp | 511 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/ |
D | toy.cpp | 1105 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/ |
D | toy.cpp | 560 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/ |
D | toy.cpp | 577 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/ |
D | toy.cpp | 832 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/ |
D | toy.cpp | 851 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/ |
D | toy.cpp | 970 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/ |
D | toy.cpp | 950 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/ |
D | toy.cpp | 1098 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/ |
D | toy.cpp | 1098 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/ |
D | toy.cpp | 1098 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/ |
D | toy.cpp | 1140 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/ |
D | toy.cpp | 1115 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/ |
D | toy.cpp | 1093 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/ |
D | toy.cpp | 1116 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/ |
D | toy.cpp | 1115 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/ |
D | toy.cpp | 1119 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/ |
D | toy.cpp | 1115 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/ |
D | toy.cpp | 1323 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/ |
D | toy.cpp | 1332 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()
|