HomeSort by: relevance | last modified time | path
    Searched refs:TheFunction (Results 1 - 20 of 20) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp 735 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
737 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
738 TheFunction->getEntryBlock().begin());
850 Function *TheFunction = Builder->GetInsertBlock()->getParent();
854 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
872 TheFunction->getBasicBlockList().push_back(ElseBB);
884 TheFunction->getBasicBlockList().push_back(MergeBB);
913 Function *TheFunction = Builder->GetInsertBlock()->getParent();
916 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
928 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
toy.cpp 729 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
731 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
732 TheFunction->getEntryBlock().begin());
844 Function *TheFunction = Builder->GetInsertBlock()->getParent();
848 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
866 TheFunction->getBasicBlockList().push_back(ElseBB);
878 TheFunction->getBasicBlockList().push_back(MergeBB);
907 Function *TheFunction = Builder->GetInsertBlock()->getParent();
910 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
922 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
toy.cpp 729 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
731 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
732 TheFunction->getEntryBlock().begin());
844 Function *TheFunction = Builder->GetInsertBlock()->getParent();
848 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
866 TheFunction->getBasicBlockList().push_back(ElseBB);
878 TheFunction->getBasicBlockList().push_back(MergeBB);
907 Function *TheFunction = Builder->GetInsertBlock()->getParent();
910 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
922 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
toy.cpp 729 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
731 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
732 TheFunction->getEntryBlock().begin());
844 Function *TheFunction = Builder->GetInsertBlock()->getParent();
848 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
866 TheFunction->getBasicBlockList().push_back(ElseBB);
878 TheFunction->getBasicBlockList().push_back(MergeBB);
907 Function *TheFunction = Builder->GetInsertBlock()->getParent();
910 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
922 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
toy.cpp 712 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
714 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
715 TheFunction->getEntryBlock().begin());
827 Function *TheFunction = Builder->GetInsertBlock()->getParent();
831 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
849 TheFunction->getBasicBlockList().push_back(ElseBB);
861 TheFunction->getBasicBlockList().push_back(MergeBB);
890 Function *TheFunction = Builder->GetInsertBlock()->getParent();
893 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
905 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/
toy.cpp 734 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
736 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
737 TheFunction->getEntryBlock().begin());
849 Function *TheFunction = Builder->GetInsertBlock()->getParent();
853 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
871 TheFunction->getBasicBlockList().push_back(ElseBB);
883 TheFunction->getBasicBlockList().push_back(MergeBB);
912 Function *TheFunction = Builder->GetInsertBlock()->getParent();
915 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
927 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
toy-jit.cpp 634 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
636 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
637 TheFunction->getEntryBlock().begin());
745 Function *TheFunction = Builder.GetInsertBlock()->getParent();
749 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
766 TheFunction->getBasicBlockList().push_back(ElseBB);
777 TheFunction->getBasicBlockList().push_back(MergeBB);
807 Function *TheFunction = Builder.GetInsertBlock()->getParent();
810 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
821 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
toy.cpp 1005 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
1007 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
1008 TheFunction->getEntryBlock().begin());
1109 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1113 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
1130 TheFunction->getBasicBlockList().push_back(ElseBB);
1141 TheFunction->getBasicBlockList().push_back(MergeBB);
1171 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1174 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1185 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
toy-jit.cpp 619 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
621 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
622 TheFunction->getEntryBlock().begin());
727 Function *TheFunction = Builder.GetInsertBlock()->getParent();
731 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
748 TheFunction->getBasicBlockList().push_back(ElseBB);
759 TheFunction->getBasicBlockList().push_back(MergeBB);
789 Function *TheFunction = Builder.GetInsertBlock()->getParent();
792 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
803 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
toy.cpp 903 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
905 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
906 TheFunction->getEntryBlock().begin());
1007 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1011 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
1028 TheFunction->getBasicBlockList().push_back(ElseBB);
1039 TheFunction->getBasicBlockList().push_back(MergeBB);
1069 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1072 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1083 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/
toy.cpp 485 Function *TheFunction = TheModule->getFunction(Proto->getName());
487 if (!TheFunction)
488 TheFunction = Proto->codegen();
490 if (!TheFunction)
494 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction);
499 for (auto &Arg : TheFunction->args())
507 verifyFunction(*TheFunction);
509 return TheFunction;
513 TheFunction->eraseFromParent();
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/
toy.cpp 863 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
865 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
866 TheFunction->getEntryBlock().begin());
967 Function *TheFunction = Builder.GetInsertBlock()->getParent();
971 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
988 TheFunction->getBasicBlockList().push_back(ElseBB);
999 TheFunction->getBasicBlockList().push_back(MergeBB);
1029 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1032 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1043 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/
toy.cpp 517 Function *TheFunction = getFunction(P.getName());
518 if (!TheFunction)
522 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction);
527 for (auto &Arg : TheFunction->args())
535 verifyFunction(*TheFunction);
538 TheFPM->run(*TheFunction);
540 return TheFunction;
544 TheFunction->eraseFromParent();
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/
toy.cpp 894 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
896 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
897 TheFunction->getEntryBlock().begin());
1018 Function *TheFunction = Builder->GetInsertBlock()->getParent();
1022 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
1040 TheFunction->getBasicBlockList().push_back(ElseBB);
1052 TheFunction->getBasicBlockList().push_back(MergeBB);
1081 Function *TheFunction = Builder->GetInsertBlock()->getParent();
1084 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1098 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
toy.cpp 1077 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
1079 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
1080 TheFunction->getEntryBlock().begin());
1187 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1191 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
1208 TheFunction->getBasicBlockList().push_back(ElseBB);
1219 TheFunction->getBasicBlockList().push_back(MergeBB);
1249 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1252 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1263 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/
toy.cpp 631 Function *TheFunction = Builder->GetInsertBlock()->getParent();
635 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
653 TheFunction->getBasicBlockList().push_back(ElseBB);
665 TheFunction->getBasicBlockList().push_back(MergeBB);
697 Function *TheFunction = Builder->GetInsertBlock()->getParent();
699 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction);
748 BasicBlock::Create(*TheContext, "afterloop", TheFunction);
791 Function *TheFunction = getFunction(P.getName());
792 if (!TheFunction)
796 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp 743 Function *TheFunction = Builder->GetInsertBlock()->getParent();
747 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction);
765 TheFunction->getBasicBlockList().push_back(ElseBB);
777 TheFunction->getBasicBlockList().push_back(MergeBB);
809 Function *TheFunction = Builder->GetInsertBlock()->getParent();
811 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction);
860 BasicBlock::Create(*TheContext, "afterloop", TheFunction);
903 Function *TheFunction = getFunction(P.getName());
904 if (!TheFunction)
912 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
AsmWriter.cpp 732 /// TheFunction - The function for which we are holding slot numbers.
733 const Function* TheFunction = nullptr;
804 TheFunction = F;
808 const Function *getFunction() const { return TheFunction; }
958 : TheModule(F ? F->getParent() : nullptr), TheFunction(F),
970 if (TheFunction && !FunctionProcessed)
1038 processFunctionMetadata(*TheFunction);
1041 for(Function::const_arg_iterator AI = TheFunction->arg_begin(),
1042 AE = TheFunction->arg_end(); AI != AE; ++AI)
1049 for (auto &BB : *TheFunction) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
LoopVectorize.cpp 1231 TTI(TTI), TLI(TLI), DB(DB), AC(AC), ORE(ORE), TheFunction(F),
1872 const Function *TheFunction;
6222 const DataLayout &DL = TheFunction->getParent()->getDataLayout();
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86ISelLowering.cpp 3413 TheFunction(TheMachineFunction.getFunction()),
3435 const Function &TheFunction;
3457 TheFunction.hasFnAttribute(Attribute::NoImplicitFloat)) &&
    [all...]

Completed in 91 milliseconds