Home
last modified time | relevance | path

Searched refs:GetInsertBlock (Results 1 – 25 of 93) sorted by relevance

1234

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp34 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrLen()
40 LLVMContext &Context = B.GetInsertBlock()->getContext(); in EmitStrLen()
57 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrChr()
75 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrNCmp()
82 LLVMContext &Context = B.GetInsertBlock()->getContext(); in EmitStrNCmp()
101 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrCpy()
119 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrNCpy()
139 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitMemCpyChk()
142 LLVMContext &Context = B.GetInsertBlock()->getContext(); in EmitMemCpyChk()
162 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitMemChr()
[all …]
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp722 Module *M = B.GetInsertBlock()->getModule(); in emitStrLen()
723 LLVMContext &Context = B.GetInsertBlock()->getContext(); in emitStrLen()
739 Module *M = B.GetInsertBlock()->getModule(); in emitStrChr()
757 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCmp()
758 LLVMContext &Context = B.GetInsertBlock()->getContext(); in emitStrNCmp()
777 Module *M = B.GetInsertBlock()->getModule(); in emitStrCpy()
793 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCpy()
811 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
815 LLVMContext &Context = B.GetInsertBlock()->getContext(); in emitMemCpyChk()
833 Module *M = B.GetInsertBlock()->getModule(); in emitMemChr()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dfused_ir_emitter.cc55 generated_value_bb == ir_builder_->GetInsertBlock()) { in DefaultAction()
63 << llvm_ir::AsString(ir_builder_->GetInsertBlock()->getName()) in DefaultAction()
80 *ir_builder_->GetInsertBlock()->getModule(), initializer->getType(), in HandleConstant()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
Dtoy.cpp519 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
537 ThenBB = Builder.GetInsertBlock(); in Codegen()
548 ElseBB = Builder.GetInsertBlock(); in Codegen()
584 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
585 BasicBlock *PreheaderBB = Builder.GetInsertBlock(); in Codegen()
631 BasicBlock *LoopEndBB = Builder.GetInsertBlock(); in Codegen()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/
Dtoy.cpp623 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
641 ThenBB = Builder.GetInsertBlock(); in Codegen()
652 ElseBB = Builder.GetInsertBlock(); in Codegen()
688 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
689 BasicBlock *PreheaderBB = Builder.GetInsertBlock(); in Codegen()
735 BasicBlock *LoopEndBB = Builder.GetInsertBlock(); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp616 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
635 ThenBB = Builder.GetInsertBlock(); in codegen()
647 ElseBB = Builder.GetInsertBlock(); in codegen()
682 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
683 BasicBlock *PreheaderBB = Builder.GetInsertBlock(); in codegen()
731 BasicBlock *LoopEndBB = Builder.GetInsertBlock(); in codegen()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolutionExpander.cpp135 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in InsertBinop()
153 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in InsertBinop()
157 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in InsertBinop()
505 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in expandAddToGEP()
523 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in expandAddToGEP()
527 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
548 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in expandAddToGEP()
552 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
984 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in getAddRecExprPHILiterally()
1180 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in visitAddRecExpr()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp727 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
746 ThenBB = Builder.GetInsertBlock(); in codegen()
758 ElseBB = Builder.GetInsertBlock(); in codegen()
793 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
794 BasicBlock *PreheaderBB = Builder.GetInsertBlock(); in codegen()
842 BasicBlock *LoopEndBB = Builder.GetInsertBlock(); in codegen()
/external/llvm/examples/BrainF/
DBrainF.cpp94 BasicBlock* BB = builder->GetInsertBlock(); in header()
299 BasicBlock *bb_0 = builder->GetInsertBlock(); in readloop()
441 phi->addIncoming(curhead, builder->GetInsertBlock()); in readloop()
/external/swiftshader/third_party/LLVM/examples/BrainF/
DBrainF.cpp82 BasicBlock* BB = builder->GetInsertBlock(); in header()
289 BasicBlock *bb_0 = builder->GetInsertBlock(); in readloop()
431 phi->addIncoming(curhead, builder->GetInsertBlock()); in readloop()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp745 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
763 ThenBB = Builder.GetInsertBlock(); in Codegen()
774 ElseBB = Builder.GetInsertBlock(); in Codegen()
807 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
888 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp727 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
745 ThenBB = Builder.GetInsertBlock(); in Codegen()
756 ElseBB = Builder.GetInsertBlock(); in Codegen()
789 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
870 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
Dtoy.cpp1007 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1025 ThenBB = Builder.GetInsertBlock(); in Codegen()
1036 ElseBB = Builder.GetInsertBlock(); in Codegen()
1069 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1150 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
Dtoy.cpp719 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
737 ThenBB = Builder.GetInsertBlock(); in Codegen()
748 ElseBB = Builder.GetInsertBlock(); in Codegen()
782 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
863 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
/external/llvm/lib/IR/
DIRBuilder.cpp63 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(),CI); in createCallHelper()
75 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(), in createInvokeHelper()
344 Module *M = Builder->GetInsertBlock()->getParent()->getParent(); in CreateGCStatepointCallCommon()
395 Module *M = Builder->GetInsertBlock()->getParent()->getParent(); in CreateGCStatepointInvokeCommon()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp820 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
839 ThenBB = Builder.GetInsertBlock(); in codegen()
851 ElseBB = Builder.GetInsertBlock(); in codegen()
883 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
966 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp831 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
850 ThenBB = Builder.GetInsertBlock(); in codegen()
862 ElseBB = Builder.GetInsertBlock(); in codegen()
894 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
977 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp831 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
850 ThenBB = Builder.GetInsertBlock(); in codegen()
862 ElseBB = Builder.GetInsertBlock(); in codegen()
894 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
977 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp831 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
850 ThenBB = Builder.GetInsertBlock(); in codegen()
862 ElseBB = Builder.GetInsertBlock(); in codegen()
894 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
977 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp1011 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
1030 ThenBB = Builder.GetInsertBlock(); in codegen()
1042 ElseBB = Builder.GetInsertBlock(); in codegen()
1074 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
1159 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
1275 Builder.GetInsertBlock()); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp842 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
861 ThenBB = Builder.GetInsertBlock(); in codegen()
873 ElseBB = Builder.GetInsertBlock(); in codegen()
905 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
988 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp832 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
851 ThenBB = Builder.GetInsertBlock(); in codegen()
863 ElseBB = Builder.GetInsertBlock(); in codegen()
895 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
978 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp827 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
846 ThenBB = Builder.GetInsertBlock(); in codegen()
858 ElseBB = Builder.GetInsertBlock(); in codegen()
890 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
973 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp967 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
985 ThenBB = Builder.GetInsertBlock(); in Codegen()
996 ElseBB = Builder.GetInsertBlock(); in Codegen()
1029 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1110 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
/external/clang/lib/CodeGen/
DCGStmt.cpp104 llvm::BasicBlock *incoming = Builder.GetInsertBlock(); in EmitStmt()
109 llvm::BasicBlock *outgoing = Builder.GetInsertBlock(); in EmitStmt()
398 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBlock()
421 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBranch()
558 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitIndirectGotoStmt()
624 auto CurBlock = Builder.GetInsertBlock(); in EmitIfStmt()
646 auto CurBlock = Builder.GetInsertBlock(); in EmitIfStmt()
1143 llvm::BasicBlock *RestoreBB = Builder.GetInsertBlock(); in EmitCaseStmtRange()
1216 if (Builder.GetInsertBlock()) { in EmitCaseStmt()

1234