Home
last modified time | relevance | path

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

123456

/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp765 Module *M = B.GetInsertBlock()->getModule(); in emitStrLen()
767 LLVMContext &Context = B.GetInsertBlock()->getContext(); in emitStrLen()
783 Module *M = B.GetInsertBlock()->getModule(); in emitStrChr()
802 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCmp()
804 LLVMContext &Context = B.GetInsertBlock()->getContext(); in emitStrNCmp()
823 Module *M = B.GetInsertBlock()->getModule(); in emitStrCpy()
839 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCpy()
857 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
861 LLVMContext &Context = B.GetInsertBlock()->getContext(); in emitMemCpyChk()
879 Module *M = B.GetInsertBlock()->getModule(); 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/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc67 : old_bb_(cc->b_->GetInsertBlock()), cc_(cc) { in BlockStack()
133 Function *parent = B.GetInsertBlock()->getParent(); in visit_if_stmt_node()
149 if (!B.GetInsertBlock()->getTerminator()) in visit_if_stmt_node()
156 if (!B.GetInsertBlock()->getTerminator()) in visit_if_stmt_node()
170 Function *parent = B.GetInsertBlock()->getParent(); in visit_onvalid_stmt_node()
183 if (!B.GetInsertBlock()->getTerminator()) in visit_onvalid_stmt_node()
190 if (!B.GetInsertBlock()->getTerminator()) in visit_onvalid_stmt_node()
199 Function *parent = B.GetInsertBlock()->getParent(); in visit_switch_stmt_node()
221 Function *parent = B.GetInsertBlock()->getParent(); in visit_case_stmt_node()
222 BasicBlock *label_end = B.GetInsertBlock(); in visit_case_stmt_node()
[all …]
/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-7.0/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp630 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
649 ThenBB = Builder.GetInsertBlock(); in codegen()
661 ElseBB = Builder.GetInsertBlock(); in codegen()
696 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
697 BasicBlock *PreheaderBB = Builder.GetInsertBlock(); in codegen()
745 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/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/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dfused_ir_emitter.cc63 generated_value_bb == b_->GetInsertBlock()) { in DefaultAction()
71 << b_->GetInsertBlock()->getName().str() << ")."; in DefaultAction()
88 *b_->GetInsertBlock()->getModule(), initializer->getType(), in HandleConstant()
/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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp742 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
761 ThenBB = Builder.GetInsertBlock(); in codegen()
773 ElseBB = Builder.GetInsertBlock(); in codegen()
808 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
809 BasicBlock *PreheaderBB = Builder.GetInsertBlock(); in codegen()
857 BasicBlock *LoopEndBB = Builder.GetInsertBlock(); in codegen()
/external/swiftshader/third_party/llvm-7.0/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/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-7.0/llvm/lib/IR/
DIRBuilder.cpp81 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(),CI); in createCallHelper()
93 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(), in createInvokeHelper()
314 Module *M = Builder->GetInsertBlock()->getParent()->getParent(); in getReductionIntrinsic()
322 Module *M = GetInsertBlock()->getParent()->getParent(); in CreateFAddReduce()
332 Module *M = GetInsertBlock()->getParent()->getParent(); in CreateFMulReduce()
611 Module *M = Builder->GetInsertBlock()->getParent()->getParent(); in CreateGCStatepointCallCommon()
662 Module *M = Builder->GetInsertBlock()->getParent()->getParent(); in CreateGCStatepointInvokeCommon()
/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()
/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/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()
/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/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/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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp843 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
862 ThenBB = Builder.GetInsertBlock(); in codegen()
874 ElseBB = Builder.GetInsertBlock(); in codegen()
906 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in codegen()
989 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()

123456