Home
last modified time | relevance | path

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

12

/external/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/mesa3d/src/pixelflinger2/
Dllvm_helper.h155 Function * function = m_builder.GetInsertBlock()->getParent();
165 …sicBlock::Create(m_builder.getContext(), name("else_end"), m_builder.GetInsertBlock()->getParent()… in elseop()
166 if (!m_builder.GetInsertBlock()->getTerminator()) // ret void is a block terminator in elseop()
170 m_builder.GetInsertBlock()->getTerminator()->dump(); in elseop()
174 m_builder.GetInsertBlock()->setName(name("else_then")); in elseop()
181 if (!m_builder.GetInsertBlock()->getTerminator()) // ret void is a block terminator in endif()
185 m_builder.GetInsertBlock()->getTerminator()->dump(); in endif()
193 Function * function = m_builder.GetInsertBlock()->getParent(); in beginLoop()
209 loop.end->moveAfter(m_builder.GetInsertBlock()); in endLoop()
216 …Block::Create(m_builder.getContext(), name("unreachable"), m_builder.GetInsertBlock()->getParent()… in brk()
Dllvm_texture.cpp281 llvm::Module * module = builder.GetInsertBlock()->getParent()->getParent(); in tex2D()
378 Module * module = builder.GetInsertBlock()->getParent()->getParent(); in texCube()
/external/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/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp131 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in InsertBinop()
149 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in InsertBinop()
153 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in InsertBinop()
501 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in expandAddToGEP()
519 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in expandAddToGEP()
523 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
544 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in expandAddToGEP()
548 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
921 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in getAddRecExprPHILiterally()
1109 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in visitAddRecExpr()
[all …]
/external/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/BrainF/
DBrainF.cpp82 BasicBlock* BB = builder->GetInsertBlock(); in header()
290 BasicBlock *bb_0 = builder->GetInsertBlock(); in readloop()
432 phi->addIncoming(curhead, builder->GetInsertBlock()); in readloop()
/external/clang/lib/CodeGen/
DCGStmt.cpp96 llvm::BasicBlock *incoming = Builder.GetInsertBlock(); in EmitStmt()
101 llvm::BasicBlock *outgoing = Builder.GetInsertBlock(); in EmitStmt()
253 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBlock()
276 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBranch()
349 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitIndirectGotoStmt()
826 llvm::BasicBlock *CaseDest = Builder.GetInsertBlock(); in EmitCaseStmtRange()
846 llvm::BasicBlock *RestoreBB = Builder.GetInsertBlock(); in EmitCaseStmtRange()
892 if (Builder.GetInsertBlock()) { in EmitCaseStmt()
901 llvm::BasicBlock *CaseDest = Builder.GetInsertBlock(); in EmitCaseStmt()
DCGCleanup.cpp415 bool WasInsertBlock = CGF.Builder.GetInsertBlock() == Entry; in SimplifyCleanupEntry()
516 llvm::BasicBlock *FallthroughSource = Builder.GetInsertBlock(); in PopCleanupBlock()
783 llvm::BasicBlock *NormalExit = Builder.GetInsertBlock(); in PopCleanupBlock()
868 llvm::BasicBlock *EHExit = Builder.GetInsertBlock(); in PopCleanupBlock()
DCodeGenFunction.cpp96 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitReturnBlock()
653 llvm::BasicBlock *originBB = CGF.Builder.GetInsertBlock(); in emitNonZeroVLAInit()
1008 Builder.GetInsertBlock()); in protectFromPeepholes()
DCGExprScalar.cpp1685 llvm::Function::iterator insertPt = Builder.GetInsertBlock(); in EmitUndefinedBehaviorIntegerDivAndRemCheck()
1719 llvm::Function::iterator insertPt = Builder.GetInsertBlock(); in EmitDiv()
1789 llvm::BasicBlock *initialBB = Builder.GetInsertBlock(); in EmitOverflowCheckedBinOp()
2339 RHSBlock = Builder.GetInsertBlock(); in VisitBinLAnd()
2397 RHSBlock = Builder.GetInsertBlock(); in VisitBinLOr()
2537 LHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator()
2545 RHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator()
DCGDecl.cpp205 else if (Builder.GetInsertBlock()) { in AddInitializerToStaticVarDecl()
1223 llvm::BasicBlock *entryBB = Builder.GetInsertBlock(); in emitArrayDestroy()
1246 elementPast->addIncoming(element, Builder.GetInsertBlock()); in emitArrayDestroy()
DCGExprComplex.cpp703 LHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator()
710 RHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator()
DCGExprAgg.cpp760 llvm::BasicBlock *entryBB = Builder.GetInsertBlock(); in VisitInitListExpr()
788 currentElement->addIncoming(nextElement, Builder.GetInsertBlock()); in VisitInitListExpr()
DCGDebugInfo.cpp1980 DBuilder.insertDeclare(Storage, D, Builder.GetInsertBlock()); in EmitDeclare()
1993 DBuilder.insertDeclare(Storage, D, Builder.GetInsertBlock()); in EmitDeclare()
2024 DBuilder.insertDeclare(Storage, D, Builder.GetInsertBlock()); in EmitDeclare()
2043 if (Builder.GetInsertBlock() == 0) in EmitDeclareOfBlockDeclRefVariable()
2254 Builder.GetInsertBlock()); in EmitDeclareOfBlockLiteralArgVariable()
DCGClass.cpp1107 llvm::BasicBlock *entryBB = Builder.GetInsertBlock(); in EmitCXXAggrConstructorCall()
1149 cur->addIncoming(next, Builder.GetInsertBlock()); in EmitCXXAggrConstructorCall()
DCGExprCXX.cpp1081 nullCheckBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
1133 llvm::BasicBlock *notNullBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
DCGBlocks.cpp989 llvm::BasicBlock *entry = Builder.GetInsertBlock(); in GenerateBlockFunction()
996 llvm::BasicBlock *resume = Builder.GetInsertBlock(); in GenerateBlockFunction()
DCGCall.cpp1057 llvm::BasicBlock *BB = CGF.Builder.GetInsertBlock(); in tryEmitFusedAutoreleaseOfResult()
1179 llvm::BasicBlock *InsertBB = Builder.GetInsertBlock(); in EmitFunctionEpilog()
DCodeGenFunction.h904 : StartBB(CGF.Builder.GetInsertBlock()) {}
1460 return Builder.GetInsertBlock() != 0;
/external/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/VMCore/
DIRBuilder.cpp58 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(),CI); in createCallHelper()
DCore.cpp1605 return wrap(unwrap(Builder)->GetInsertBlock()); in LLVMGetInsertBlock()
1862 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc()
1865 Instruction* Malloc = CallInst::CreateMalloc(unwrap(B)->GetInsertBlock(), in LLVMBuildMalloc()
1873 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc()
1876 Instruction* Malloc = CallInst::CreateMalloc(unwrap(B)->GetInsertBlock(), in LLVMBuildArrayMalloc()
1894 CallInst::CreateFree(unwrap(PointerVal), unwrap(B)->GetInsertBlock()))); in LLVMBuildFree()
/external/llvm/include/llvm/Support/
DIRBuilder.h67 BasicBlock *GetInsertBlock() const { return BB; } in GetInsertBlock() function
149 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
155 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()
/external/llvm/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp1163 Module *M = B.GetInsertBlock()->getParent()->getParent(); in CallOptimizer()
1257 Module *M = B.GetInsertBlock()->getParent()->getParent(); in CallOptimizer()
1395 Module *M = B.GetInsertBlock()->getParent()->getParent(); in CallOptimizer()

12