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

1 2

  /external/llvm/examples/Kaleidoscope/Chapter5/
toy.cpp 616 Function *TheFunction = Builder.GetInsertBlock()->getParent();
620 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
638 TheFunction->getBasicBlockList().push_back(ElseBB);
650 TheFunction->getBasicBlockList().push_back(MergeBB);
682 Function *TheFunction = Builder.GetInsertBlock()->getParent();
684 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
733 BasicBlock::Create(TheContext, "afterloop", TheFunction);
776 Function *TheFunction = getFunction(P.getName());
777 if (!TheFunction)
781 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp 717 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
719 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
720 TheFunction->getEntryBlock().begin());
832 Function *TheFunction = Builder.GetInsertBlock()->getParent();
836 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
854 TheFunction->getBasicBlockList().push_back(ElseBB);
866 TheFunction->getBasicBlockList().push_back(MergeBB);
895 Function *TheFunction = Builder.GetInsertBlock()->getParent();
898 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
910 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
toy.cpp 519 Function *TheFunction = Builder.GetInsertBlock()->getParent();
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();
700 if (TheFunction == 0)
704 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
    [all...]
  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/
toy.cpp 623 Function *TheFunction = Builder.GetInsertBlock()->getParent();
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();
804 if (TheFunction == 0)
812 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
toy.cpp 716 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
718 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
719 TheFunction->getEntryBlock().begin());
831 Function *TheFunction = Builder.GetInsertBlock()->getParent();
835 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
853 TheFunction->getBasicBlockList().push_back(ElseBB);
865 TheFunction->getBasicBlockList().push_back(MergeBB);
894 Function *TheFunction = Builder.GetInsertBlock()->getParent();
897 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
909 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
toy.cpp 716 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
718 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
719 TheFunction->getEntryBlock().begin());
831 Function *TheFunction = Builder.GetInsertBlock()->getParent();
835 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
853 TheFunction->getBasicBlockList().push_back(ElseBB);
865 TheFunction->getBasicBlockList().push_back(MergeBB);
894 Function *TheFunction = Builder.GetInsertBlock()->getParent();
897 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
909 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
toy.cpp 716 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
718 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
719 TheFunction->getEntryBlock().begin());
831 Function *TheFunction = Builder.GetInsertBlock()->getParent();
835 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
853 TheFunction->getBasicBlockList().push_back(ElseBB);
865 TheFunction->getBasicBlockList().push_back(MergeBB);
894 Function *TheFunction = Builder.GetInsertBlock()->getParent();
897 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
909 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
toy.cpp 705 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
707 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
708 TheFunction->getEntryBlock().begin());
820 Function *TheFunction = Builder.GetInsertBlock()->getParent();
824 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
842 TheFunction->getBasicBlockList().push_back(ElseBB);
854 TheFunction->getBasicBlockList().push_back(MergeBB);
883 Function *TheFunction = Builder.GetInsertBlock()->getParent();
886 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
898 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
toy.cpp 727 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
729 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
730 TheFunction->getEntryBlock().begin());
842 Function *TheFunction = Builder.GetInsertBlock()->getParent();
846 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
864 TheFunction->getBasicBlockList().push_back(ElseBB);
876 TheFunction->getBasicBlockList().push_back(MergeBB);
905 Function *TheFunction = Builder.GetInsertBlock()->getParent();
908 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
920 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter8/
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...]
  /external/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)
    [all...]
  /external/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...]
  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
toy.cpp 615 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
617 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
618 TheFunction->getEntryBlock().begin());
719 Function *TheFunction = Builder.GetInsertBlock()->getParent();
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();
785 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
796 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter3/
toy.cpp 474 Function *TheFunction = TheModule->getFunction(Proto->getName());
476 if (!TheFunction)
477 TheFunction = Proto->codegen();
479 if (!TheFunction)
483 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
488 for (auto &Arg : TheFunction->args())
496 verifyFunction(*TheFunction);
498 return TheFunction;
502 TheFunction->eraseFromParent();
  /external/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...]
  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/
toy.cpp 446 Function *TheFunction = Proto->Codegen();
447 if (TheFunction == 0)
451 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
459 verifyFunction(*TheFunction);
461 return TheFunction;
465 TheFunction->eraseFromParent();
  /external/llvm/examples/Kaleidoscope/Chapter4/
toy.cpp 504 Function *TheFunction = getFunction(P.getName());
505 if (!TheFunction)
509 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
514 for (auto &Arg : TheFunction->args())
522 verifyFunction(*TheFunction);
525 TheFPM->run(*TheFunction);
527 return TheFunction;
531 TheFunction->eraseFromParent();
  /external/llvm/examples/Kaleidoscope/Chapter9/
toy.cpp 886 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
888 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
889 TheFunction->getEntryBlock().begin());
1011 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1015 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
1033 TheFunction->getBasicBlockList().push_back(ElseBB);
1045 TheFunction->getBasicBlockList().push_back(MergeBB);
1074 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1077 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1091 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
    [all...]
  /external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/
toy.cpp 454 Function *TheFunction = Proto->Codegen();
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();
  /external/llvm/examples/Kaleidoscope/MCJIT/complete/
toy.cpp 1077 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
1079 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
1080 TheFunction->getEntryBlock().begin());
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp 727 Function *TheFunction = Builder.GetInsertBlock()->getParent();
731 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
749 TheFunction->getBasicBlockList().push_back(ElseBB);
761 TheFunction->getBasicBlockList().push_back(MergeBB);
793 Function *TheFunction = Builder.GetInsertBlock()->getParent();
795 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
844 BasicBlock::Create(TheContext, "afterloop", TheFunction);
887 Function *TheFunction = getFunction(P.getName());
888 if (!TheFunction)
896 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
    [all...]
  /external/spirv-llvm/lib/SPIRV/libSPIRV/
SPIRVInstruction.cpp 96 SPIRVFunctionCall::SPIRVFunctionCall(SPIRVId TheId, SPIRVFunction *TheFunction,
99 TheFunction->getFunctionType()->getReturnType(),
100 TheId, TheArgs, BB), FunctionId(TheFunction->getId()){
  /external/swiftshader/third_party/LLVM/lib/VMCore/
AsmWriter.cpp 310 /// TheFunction - The function for which we are holding slot numbers.
311 const Function* TheFunction;
340 TheFunction = F;
423 : TheModule(M), TheFunction(0), FunctionProcessed(false),
430 : TheModule(F ? F->getParent() : 0), TheFunction(F), FunctionProcessed(false),
440 if (TheFunction && !FunctionProcessed)
480 for(Function::const_arg_iterator AI = TheFunction->arg_begin(),
481 AE = TheFunction->arg_end(); AI != AE; ++AI)
490 for (Function::const_iterator BB = TheFunction->begin(),
491 E = TheFunction->end(); BB != E; ++BB)
    [all...]

Completed in 702 milliseconds

1 2