| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
| H A D | toy-jit.cpp | 618 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, in CreateEntryBlockAlloca() argument 620 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca() 621 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca() 729 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 733 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() 750 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen() 761 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen() 792 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 795 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen() 806 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() [all …]
|
| H A D | toy.cpp | 902 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, in CreateEntryBlockAlloca() argument 904 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca() 905 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca() 1009 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 1013 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() 1030 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen() 1041 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen() 1072 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 1075 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen() 1086 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/ |
| H A D | toy.cpp | 677 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, in CreateEntryBlockAlloca() argument 679 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca() 680 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca() 791 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 796 BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() 814 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen() 826 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen() 857 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 860 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen() 873 BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | toy-jit.cpp | 633 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, in CreateEntryBlockAlloca() argument 635 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca() 636 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca() 747 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 751 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() 768 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen() 779 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen() 810 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 813 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen() 824 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() [all …]
|
| H A D | toy.cpp | 1004 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, in CreateEntryBlockAlloca() argument 1006 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca() 1007 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca() 1111 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 1115 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() 1132 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen() 1143 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen() 1174 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 1177 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen() 1188 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/ |
| H A D | toy.cpp | 578 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 583 BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() 601 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen() 613 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen() 647 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 650 BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() 699 BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction); in Codegen() 766 Function *TheFunction = Proto->Codegen(); in Codegen() local 767 if (TheFunction == 0) in Codegen() 771 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); in Codegen() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/ |
| H A D | toy.cpp | 686 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 691 BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() 709 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen() 721 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen() 755 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 758 BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() 807 BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction); in Codegen() 874 Function *TheFunction = Proto->Codegen(); in Codegen() local 875 if (TheFunction == 0) in Codegen() 883 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); in Codegen() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/ |
| H A D | toy.cpp | 862 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, in CreateEntryBlockAlloca() argument 864 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca() 865 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca() 969 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 973 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() 990 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen() 1001 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen() 1032 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 1035 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen() 1046 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/ |
| H A D | toy.cpp | 867 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, in CreateEntryBlockAlloca() argument 869 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca() 870 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca() 990 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 995 BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() 1013 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen() 1025 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen() 1056 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 1059 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen() 1074 BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | toy.cpp | 1076 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, in CreateEntryBlockAlloca() argument 1078 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca() 1079 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca() 1189 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 1193 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() 1210 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen() 1221 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen() 1252 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local 1255 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen() 1266 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/ |
| H A D | toy.cpp | 496 Function *TheFunction = Proto->Codegen(); in Codegen() local 497 if (TheFunction == 0) in Codegen() 501 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); in Codegen() 509 verifyFunction(*TheFunction); in Codegen() 512 TheFPM->run(*TheFunction); in Codegen() 514 return TheFunction; in Codegen() 518 TheFunction->eraseFromParent(); in Codegen()
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/ |
| H A D | toy.cpp | 448 Function *TheFunction = Proto->Codegen(); in Codegen() local 449 if (TheFunction == 0) in Codegen() 453 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); in Codegen() 461 verifyFunction(*TheFunction); in Codegen() 463 return TheFunction; in Codegen() 467 TheFunction->eraseFromParent(); in Codegen()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | AsmWriter.cpp | 526 const Function* TheFunction; member in llvm::SlotTracker 560 TheFunction = F; in incorporateFunction() 564 const Function *getFunction() const { return TheFunction; } in getFunction() 649 : TheModule(M), TheFunction(nullptr), FunctionProcessed(false), mNext(0), in SlotTracker() 655 : TheModule(F ? F->getParent() : nullptr), TheFunction(F), in SlotTracker() 664 if (TheFunction && !FunctionProcessed) in initialize() 711 for(Function::const_arg_iterator AI = TheFunction->arg_begin(), in processFunction() 712 AE = TheFunction->arg_end(); AI != AE; ++AI) in processFunction() 721 for (Function::const_iterator BB = TheFunction->begin(), in processFunction() 722 E = TheFunction->end(); BB != E; ++BB) { in processFunction() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/docs/tutorial/ |
| H A D | LangImpl3.rst | 370 Function *TheFunction = Proto->Codegen(); 371 if (TheFunction == 0) 384 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); 391 (named "entry"), which is inserted into ``TheFunction``. The second line 406 verifyFunction(*TheFunction); 408 return TheFunction; 425 TheFunction->eraseFromParent();
|
| H A D | LangImpl5.rst | 285 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 289 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 303 "TheFunction" into the constructor for the "then" block. This causes the 359 TheFunction->getBasicBlockList().push_back(ElseBB); 379 TheFunction->getBasicBlockList().push_back(MergeBB); 588 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 590 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 685 BasicBlock *AfterBB = BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction);
|
| H A D | LangImpl7.rst | 338 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 340 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 341 TheFunction->getEntryBlock().begin()); 374 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 377 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 772 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 798 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
|
| H A D | LangImpl4.rst | 178 verifyFunction(*TheFunction); 181 TheFPM->run(*TheFunction); 183 return TheFunction;
|
| H A D | LangImpl6.rst | 269 Function *TheFunction = Proto->Codegen(); 270 if (TheFunction == 0) 278 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 586 DT(DT), TLI(TLI), AA(AA), TheFunction(F), TTI(TTI), Induction(nullptr), in LoopVectorizationLegality() 841 emitOptimizationRemarkAnalysis(TheFunction->getContext(), DEBUG_TYPE, in emitAnalysis() 842 *TheFunction, DL, Message.str()); in emitAnalysis() 858 Function *TheFunction; member in __anond293faa00111::LoopVectorizationLegality 914 TheFunction(F), Hints(Hints) { in LoopVectorizationCostModel() 981 emitOptimizationRemarkAnalysis(TheFunction->getContext(), DEBUG_TYPE, in emitAnalysis() 982 *TheFunction, DL, Message.str()); in emitAnalysis() 1002 const Function *TheFunction; member in __anond293faa00111::LoopVectorizationCostModel
|