HomeSort by relevance Sort by last modified time
    Searched refs:TheFunction (Results 1 - 20 of 20) sorted by null

  /external/llvm/examples/Kaleidoscope/Chapter5/
toy.cpp 604 Function *TheFunction = Builder.GetInsertBlock()->getParent();
609 BasicBlock::Create(getGlobalContext(), "then", TheFunction);
627 TheFunction->getBasicBlockList().push_back(ElseBB);
639 TheFunction->getBasicBlockList().push_back(MergeBB);
672 Function *TheFunction = Builder.GetInsertBlock()->getParent();
675 BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
724 BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction);
768 Function *TheFunction = getFunction(P.getName());
769 if (!TheFunction)
773 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp 703 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
705 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
706 TheFunction->getEntryBlock().begin());
820 Function *TheFunction = Builder.GetInsertBlock()->getParent();
825 BasicBlock::Create(getGlobalContext(), "then", TheFunction);
843 TheFunction->getBasicBlockList().push_back(ElseBB);
855 TheFunction->getBasicBlockList().push_back(MergeBB);
885 Function *TheFunction = Builder.GetInsertBlock()->getParent();
888 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
901 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/Chapter3/
toy.cpp 467 Function *TheFunction = TheModule->getFunction(Proto->getName());
469 if (!TheFunction)
470 TheFunction = Proto->codegen();
472 if (!TheFunction)
476 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
481 for (auto &Arg : TheFunction->args())
489 verifyFunction(*TheFunction);
491 return TheFunction;
495 TheFunction->eraseFromParent();
  /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/Chapter4/
toy.cpp 494 Function *TheFunction = getFunction(P.getName());
495 if (!TheFunction)
499 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
504 for (auto &Arg : TheFunction->args())
512 verifyFunction(*TheFunction);
515 TheFPM->run(*TheFunction);
517 return TheFunction;
521 TheFunction->eraseFromParent();
  /external/llvm/examples/Kaleidoscope/Chapter8/
toy.cpp 885 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
887 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
888 TheFunction->getEntryBlock().begin());
1011 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1016 BasicBlock::Create(getGlobalContext(), "then", TheFunction);
1034 TheFunction->getBasicBlockList().push_back(ElseBB);
1046 TheFunction->getBasicBlockList().push_back(MergeBB);
1076 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1079 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1094 BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
    [all...]
  /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 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/initial/
toy.cpp 745 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
747 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
748 TheFunction->getEntryBlock().begin());
853 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent();
857 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction);
874 TheFunction->getBasicBlockList().push_back(ElseBB);
885 TheFunction->getBasicBlockList().push_back(MergeBB);
916 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent();
919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
930 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
toy.cpp 745 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
747 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
748 TheFunction->getEntryBlock().begin());
853 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent();
857 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction);
874 TheFunction->getBasicBlockList().push_back(ElseBB);
885 TheFunction->getBasicBlockList().push_back(MergeBB);
916 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent();
919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
930 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
toy.cpp 745 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
747 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
748 TheFunction->getEntryBlock().begin());
853 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent();
857 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction);
874 TheFunction->getBasicBlockList().push_back(ElseBB);
885 TheFunction->getBasicBlockList().push_back(MergeBB);
916 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent();
919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
930 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp 715 Function *TheFunction = Builder.GetInsertBlock()->getParent();
720 BasicBlock::Create(getGlobalContext(), "then", TheFunction);
738 TheFunction->getBasicBlockList().push_back(ElseBB);
750 TheFunction->getBasicBlockList().push_back(MergeBB);
783 Function *TheFunction = Builder.GetInsertBlock()->getParent();
786 BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
835 BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction);
879 Function *TheFunction = getFunction(P.getName());
880 if (!TheFunction)
888 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
    [all...]
  /external/llvm/include/llvm/Analysis/
LoopAccessAnalysis.h 67 const Function *TheFunction,
  /external/llvm/lib/IR/
AsmWriter.cpp 572 /// TheFunction - The function for which we are holding slot numbers.
573 const Function* TheFunction;
618 TheFunction = F;
622 const Function *getFunction() const { return TheFunction; }
740 : TheModule(M), TheFunction(nullptr), FunctionProcessed(false),
747 : TheModule(F ? F->getParent() : nullptr), TheFunction(F),
758 if (TheFunction && !FunctionProcessed)
809 processFunctionMetadata(*TheFunction);
812 for(Function::const_arg_iterator AI = TheFunction->arg_begin(),
813 AE = TheFunction->arg_end(); AI != AE; ++AI
    [all...]
  /external/llvm/lib/Transforms/Vectorize/
LoopVectorize.cpp     [all...]
  /external/llvm/lib/Analysis/
LoopAccessAnalysis.cpp 73 const Function *TheFunction,
79 emitOptimizationRemarkAnalysis(TheFunction->getContext(), PassName,
80 *TheFunction, DL, Message.str());
    [all...]

Completed in 398 milliseconds