/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 579 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 584 BasicBlock::Create(getGlobalContext(), "then", TheFunction); 602 TheFunction->getBasicBlockList().push_back(ElseBB); 614 TheFunction->getBasicBlockList().push_back(MergeBB); 648 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 651 BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 700 BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction); 767 Function *TheFunction = Proto->Codegen(); 768 if (TheFunction == 0) 772 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 687 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 692 BasicBlock::Create(getGlobalContext(), "then", TheFunction); 710 TheFunction->getBasicBlockList().push_back(ElseBB); 722 TheFunction->getBasicBlockList().push_back(MergeBB); 756 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 759 BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 808 BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction); 875 Function *TheFunction = Proto->Codegen(); 876 if (TheFunction == 0) 884 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 678 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 680 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 681 TheFunction->getEntryBlock().begin()); 792 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 797 BasicBlock::Create(getGlobalContext(), "then", TheFunction); 815 TheFunction->getBasicBlockList().push_back(ElseBB); 827 TheFunction->getBasicBlockList().push_back(MergeBB); 858 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 861 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 874 BasicBlock::Create(getGlobalContext(), "loop", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/Chapter8/ |
toy.cpp | 868 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 870 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 871 TheFunction->getEntryBlock().begin()); 991 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 996 BasicBlock::Create(getGlobalContext(), "then", TheFunction); 1014 TheFunction->getBasicBlockList().push_back(ElseBB); 1026 TheFunction->getBasicBlockList().push_back(MergeBB); 1057 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 1060 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 1075 BasicBlock::Create(getGlobalContext(), "loop", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy-jit.cpp | 633 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 635 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 636 TheFunction->getEntryBlock().begin()); 747 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 751 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 768 TheFunction->getBasicBlockList().push_back(ElseBB); 779 TheFunction->getBasicBlockList().push_back(MergeBB); 810 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 813 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 824 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); [all...] |
toy.cpp | 1004 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 1006 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 1007 TheFunction->getEntryBlock().begin()); 1111 Function *TheFunction = Builder.GetInsertBlock()->getParent(); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy-jit.cpp | 618 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 620 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 621 TheFunction->getEntryBlock().begin()); 729 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 733 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 750 TheFunction->getBasicBlockList().push_back(ElseBB); 761 TheFunction->getBasicBlockList().push_back(MergeBB); 792 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 795 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 806 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); [all...] |
toy.cpp | 902 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 904 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 905 TheFunction->getEntryBlock().begin()); 1009 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 1013 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 1030 TheFunction->getBasicBlockList().push_back(ElseBB); 1041 TheFunction->getBasicBlockList().push_back(MergeBB); 1072 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 1075 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 1086 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
toy.cpp | 862 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 864 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 865 TheFunction->getEntryBlock().begin()); 969 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 973 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 990 TheFunction->getBasicBlockList().push_back(ElseBB); 1001 TheFunction->getBasicBlockList().push_back(MergeBB); 1032 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 1035 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 1046 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 448 Function *TheFunction = Proto->Codegen(); 449 if (TheFunction == 0) 453 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); 461 verifyFunction(*TheFunction); 463 return TheFunction; 467 TheFunction->eraseFromParent();
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | 1076 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 1078 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 1079 TheFunction->getEntryBlock().begin()); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
toy.cpp | 747 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 749 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 750 TheFunction->getEntryBlock().begin()); 855 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent(); 859 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); 876 TheFunction->getBasicBlockList().push_back(ElseBB); 887 TheFunction->getBasicBlockList().push_back(MergeBB); 918 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent(); 921 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 932 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
toy.cpp | 746 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 748 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 749 TheFunction->getEntryBlock().begin()); 854 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent(); 858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); 875 TheFunction->getBasicBlockList().push_back(ElseBB); 886 TheFunction->getBasicBlockList().push_back(MergeBB); 917 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent(); 920 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 931 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
toy.cpp | 746 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 748 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 749 TheFunction->getEntryBlock().begin()); 854 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent(); 858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); 875 TheFunction->getBasicBlockList().push_back(ElseBB); 886 TheFunction->getBasicBlockList().push_back(MergeBB); 917 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent(); 920 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 931 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
toy.cpp | 746 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 748 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 749 TheFunction->getEntryBlock().begin()); 854 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent(); 858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); 875 TheFunction->getBasicBlockList().push_back(ElseBB); 886 TheFunction->getBasicBlockList().push_back(MergeBB); 917 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent(); 920 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 931 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 732 Function *TheFunction = Proto->Codegen(); 733 if (TheFunction == 0) 737 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); 745 verifyFunction(*TheFunction); 747 return TheFunction; 751 TheFunction->eraseFromParent();
|
/external/llvm/include/llvm/Analysis/ |
LoopAccessAnalysis.h | 66 const Function *TheFunction,
|
/external/llvm/lib/IR/ |
AsmWriter.cpp | 557 /// TheFunction - The function for which we are holding slot numbers. 558 const Function* TheFunction; 603 TheFunction = F; 607 const Function *getFunction() const { return TheFunction; } 699 : TheModule(M), TheFunction(nullptr), FunctionProcessed(false), 706 : TheModule(F ? F->getParent() : nullptr), TheFunction(F), 717 if (TheFunction && !FunctionProcessed) 767 for(Function::const_arg_iterator AI = TheFunction->arg_begin(), 768 AE = TheFunction->arg_end(); AI != AE; ++AI) 775 for (auto &BB : *TheFunction) { [all...] |
/external/llvm/lib/Analysis/ |
LoopAccessAnalysis.cpp | 66 const Function *TheFunction, 72 emitOptimizationRemarkAnalysis(TheFunction->getContext(), PassName, 73 *TheFunction, DL, Message.str()); [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
LoopVectorize.cpp | 567 : NumPredStores(0), TheLoop(L), SE(SE), TLI(TLI), TheFunction(F), [all...] |