Searched refs:TheFunction (Results 1 - 6 of 6) sorted by relevance

/macosx-10.10.1/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp519 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local
523 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction);
540 TheFunction->getBasicBlockList().push_back(ElseBB);
551 TheFunction->getBasicBlockList().push_back(MergeBB);
584 Function *TheFunction = Builder.GetInsertBlock()->getParent();
586 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
632 BasicBlock *AfterBB = BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction);
699 Function *TheFunction = Proto->Codegen(); local
700 if (TheFunction == 0)
704 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp623 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local
627 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction);
644 TheFunction->getBasicBlockList().push_back(ElseBB);
655 TheFunction->getBasicBlockList().push_back(MergeBB);
688 Function *TheFunction = Builder.GetInsertBlock()->getParent();
690 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
736 BasicBlock *AfterBB = BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction);
803 Function *TheFunction = Proto->Codegen(); local
804 if (TheFunction == 0)
812 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp615 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, argument
617 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
618 TheFunction->getEntryBlock().begin());
719 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local
723 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction);
740 TheFunction->getBasicBlockList().push_back(ElseBB);
751 TheFunction->getBasicBlockList().push_back(MergeBB);
782 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local
785 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
796 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
863 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local
963 Function *TheFunction = Proto->Codegen(); local
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp446 Function *TheFunction = Proto->Codegen(); local
447 if (TheFunction == 0)
451 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
459 verifyFunction(*TheFunction);
461 return TheFunction;
465 TheFunction->eraseFromParent();
/macosx-10.10.1/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp454 Function *TheFunction = Proto->Codegen(); local
455 if (TheFunction == 0)
459 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
467 verifyFunction(*TheFunction);
470 TheFPM->run(*TheFunction);
472 return TheFunction;
476 TheFunction->eraseFromParent();
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DAsmWriter.cpp335 /// TheFunction - The function for which we are holding slot numbers.
336 const Function* TheFunction; member in class:__anon10470::SlotTracker
365 TheFunction = F;
448 : TheModule(M), TheFunction(0), FunctionProcessed(false),
455 : TheModule(F ? F->getParent() : 0), TheFunction(F), FunctionProcessed(false),
465 if (TheFunction && !FunctionProcessed)
505 for(Function::const_arg_iterator AI = TheFunction->arg_begin(),
506 AE = TheFunction->arg_end(); AI != AE; ++AI)
515 for (Function::const_iterator BB = TheFunction->begin(),
516 E = TheFunction
[all...]

Completed in 85 milliseconds