/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 34 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/ |
D | llvm_helper.h | 155 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()
|
D | llvm_texture.cpp | 281 llvm::Module * module = builder.GetInsertBlock()->getParent()->getParent(); in tex2D() 378 Module * module = builder.GetInsertBlock()->getParent()->getParent(); in texCube()
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 519 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/ |
D | ScalarEvolutionExpander.cpp | 131 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/ |
D | toy.cpp | 623 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/ |
D | BrainF.cpp | 82 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/ |
D | CGStmt.cpp | 96 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()
|
D | CGCleanup.cpp | 415 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()
|
D | CodeGenFunction.cpp | 96 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitReturnBlock() 653 llvm::BasicBlock *originBB = CGF.Builder.GetInsertBlock(); in emitNonZeroVLAInit() 1008 Builder.GetInsertBlock()); in protectFromPeepholes()
|
D | CGExprScalar.cpp | 1685 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()
|
D | CGDecl.cpp | 205 else if (Builder.GetInsertBlock()) { in AddInitializerToStaticVarDecl() 1223 llvm::BasicBlock *entryBB = Builder.GetInsertBlock(); in emitArrayDestroy() 1246 elementPast->addIncoming(element, Builder.GetInsertBlock()); in emitArrayDestroy()
|
D | CGExprComplex.cpp | 703 LHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator() 710 RHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator()
|
D | CGExprAgg.cpp | 760 llvm::BasicBlock *entryBB = Builder.GetInsertBlock(); in VisitInitListExpr() 788 currentElement->addIncoming(nextElement, Builder.GetInsertBlock()); in VisitInitListExpr()
|
D | CGDebugInfo.cpp | 1980 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()
|
D | CGClass.cpp | 1107 llvm::BasicBlock *entryBB = Builder.GetInsertBlock(); in EmitCXXAggrConstructorCall() 1149 cur->addIncoming(next, Builder.GetInsertBlock()); in EmitCXXAggrConstructorCall()
|
D | CGExprCXX.cpp | 1081 nullCheckBB = Builder.GetInsertBlock(); in EmitCXXNewExpr() 1133 llvm::BasicBlock *notNullBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
|
D | CGBlocks.cpp | 989 llvm::BasicBlock *entry = Builder.GetInsertBlock(); in GenerateBlockFunction() 996 llvm::BasicBlock *resume = Builder.GetInsertBlock(); in GenerateBlockFunction()
|
D | CGCall.cpp | 1057 llvm::BasicBlock *BB = CGF.Builder.GetInsertBlock(); in tryEmitFusedAutoreleaseOfResult() 1179 llvm::BasicBlock *InsertBB = Builder.GetInsertBlock(); in EmitFunctionEpilog()
|
D | CodeGenFunction.h | 904 : StartBB(CGF.Builder.GetInsertBlock()) {} 1460 return Builder.GetInsertBlock() != 0;
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 719 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/ |
D | IRBuilder.cpp | 58 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(),CI); in createCallHelper()
|
D | Core.cpp | 1605 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/ |
D | IRBuilder.h | 67 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/ |
D | SimplifyLibCalls.cpp | 1163 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()
|