Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp40 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrLen()
47 LLVMContext &Context = B.GetInsertBlock()->getContext(); in EmitStrLen()
69 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrNLen()
76 LLVMContext &Context = B.GetInsertBlock()->getContext(); in EmitStrNLen()
99 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrChr()
125 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrNCmp()
133 LLVMContext &Context = B.GetInsertBlock()->getContext(); in EmitStrNCmp()
158 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrCpy()
182 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrNCpy()
209 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitMemCpyChk()
[all …]
DIntegerDivision.cpp140 BasicBlock *IBB = Builder.GetInsertBlock(); in generateUnsignedDivisionCode()
177 BasicBlock *SpecialCases = Builder.GetInsertBlock(); in generateUnsignedDivisionCode()
DSimplifyLibCalls.cpp1408 Module *M = B.GetInsertBlock()->getParent()->getParent(); in callOptimizer()
1501 Module *M = B.GetInsertBlock()->getParent()->getParent(); in callOptimizer()
1576 Module *M = B.GetInsertBlock()->getParent()->getParent(); in callOptimizer()
/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/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/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp161 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in InsertBinop()
179 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in InsertBinop()
183 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in InsertBinop()
534 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in expandAddToGEP()
552 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in expandAddToGEP()
556 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
577 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in expandAddToGEP()
581 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
1081 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in getAddRecExprPHILiterally()
1236 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in expandAddRecExprLiterally()
[all …]
/external/clang/lib/CodeGen/
DCGStmt.cpp97 llvm::BasicBlock *incoming = Builder.GetInsertBlock(); in EmitStmt()
102 llvm::BasicBlock *outgoing = Builder.GetInsertBlock(); in EmitStmt()
256 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBlock()
279 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBranch()
373 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitIndirectGotoStmt()
869 llvm::BasicBlock *CaseDest = Builder.GetInsertBlock(); in EmitCaseStmtRange()
889 llvm::BasicBlock *RestoreBB = Builder.GetInsertBlock(); in EmitCaseStmtRange()
946 if (Builder.GetInsertBlock()) { in EmitCaseStmt()
955 llvm::BasicBlock *CaseDest = Builder.GetInsertBlock(); in EmitCaseStmt()
DCodeGenFunction.cpp132 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitReturnBlock()
605 !FD->getResultType()->isVoidType() && Builder.GetInsertBlock()) { in GenerateCode()
857 llvm::BasicBlock *originBB = CGF.Builder.GetInsertBlock(); in emitNonZeroVLAInit()
1271 Builder.GetInsertBlock()); in protectFromPeepholes()
DCGCleanup.cpp418 bool WasInsertBlock = CGF.Builder.GetInsertBlock() == Entry; in SimplifyCleanupEntry()
565 llvm::BasicBlock *FallthroughSource = Builder.GetInsertBlock(); in PopCleanupBlock()
770 llvm::BasicBlock *NormalExit = Builder.GetInsertBlock(); in PopCleanupBlock()
DCGExprScalar.cpp1490 llvm::BasicBlock *startBB = Builder.GetInsertBlock(); in EmitScalarPrePostIncDec()
1635 llvm::BasicBlock *opBB = Builder.GetInsertBlock(); in EmitScalarPrePostIncDec()
1959 llvm::BasicBlock *startBB = Builder.GetInsertBlock(); in EmitCompoundAssignLValue()
1982 llvm::BasicBlock *opBB = Builder.GetInsertBlock(); in EmitCompoundAssignLValue()
2150 llvm::BasicBlock *initialBB = Builder.GetInsertBlock(); in EmitOverflowCheckedBinOp()
2500 llvm::BasicBlock *Orig = Builder.GetInsertBlock(); in EmitShl()
2837 RHSBlock = Builder.GetInsertBlock(); in VisitBinLAnd()
2911 RHSBlock = Builder.GetInsertBlock(); in VisitBinLOr()
3059 LHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator()
3067 RHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator()
DCGExprCXX.cpp921 llvm::BasicBlock *entryBB = Builder.GetInsertBlock(); in EmitNewArrayInitializer()
958 curPtr->addIncoming(nextPtr, Builder.GetInsertBlock()); in EmitNewArrayInitializer()
1267 nullCheckBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
1321 llvm::BasicBlock *notNullBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
DCGDebugInfo.cpp2527 DBuilder.insertDeclare(Storage, D, Builder.GetInsertBlock()); in EmitDeclare()
2543 DBuilder.insertDeclare(Storage, D, Builder.GetInsertBlock()); in EmitDeclare()
2572 DBuilder.insertDeclare(Storage, D, Builder.GetInsertBlock()); in EmitDeclare()
2587 DBuilder.insertDeclare(Storage, D, Builder.GetInsertBlock()); in EmitDeclare()
2605 if (Builder.GetInsertBlock() == 0) in EmitDeclareOfBlockDeclRefVariable()
2824 Builder.GetInsertBlock()); in EmitDeclareOfBlockLiteralArgVariable()
2830 DBuilder.insertDeclare(Arg, debugVar, Builder.GetInsertBlock()); in EmitDeclareOfBlockLiteralArgVariable()
DCGExprComplex.cpp720 LHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator()
727 RHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator()
DCGDecl.cpp228 else if (Builder.GetInsertBlock()) { in AddInitializerToStaticVarDecl()
1352 llvm::BasicBlock *entryBB = Builder.GetInsertBlock(); in emitArrayDestroy()
1375 elementPast->addIncoming(element, Builder.GetInsertBlock()); in emitArrayDestroy()
DCGClass.cpp189 origBB = Builder.GetInsertBlock(); in GetAddressOfBaseClass()
214 llvm::BasicBlock *notNullBB = Builder.GetInsertBlock(); in GetAddressOfBaseClass()
1564 llvm::BasicBlock *entryBB = Builder.GetInsertBlock(); in EmitCXXAggrConstructorCall()
1606 cur->addIncoming(next, Builder.GetInsertBlock()); in EmitCXXAggrConstructorCall()
DCGExprAgg.cpp531 llvm::BasicBlock *entryBB = Builder.GetInsertBlock(); in EmitArrayInit()
559 currentElement->addIncoming(nextElement, Builder.GetInsertBlock()); in EmitArrayInit()
DCGCall.cpp1437 llvm::BasicBlock *BB = CGF.Builder.GetInsertBlock(); in tryEmitFusedAutoreleaseOfResult()
1586 llvm::BasicBlock *IP = CGF.Builder.GetInsertBlock(); in findDominatingStoreToReturnValue()
1606 llvm::BasicBlock *IP = CGF.Builder.GetInsertBlock(); in findDominatingStoreToReturnValue()
/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/docs/tutorial/
DLangImpl5.rst285 Function *TheFunction = Builder.GetInsertBlock()->getParent();
326 ThenBB = Builder.GetInsertBlock();
367 ElseBB = Builder.GetInsertBlock();
588 Function *TheFunction = Builder.GetInsertBlock()->getParent();
589 BasicBlock *PreheaderBB = Builder.GetInsertBlock();
684 BasicBlock *LoopEndBB = Builder.GetInsertBlock();
1265 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1283 ThenBB = Builder.GetInsertBlock();
1294 ElseBB = Builder.GetInsertBlock();
1330 Function *TheFunction = Builder.GetInsertBlock()->getParent();
[all …]
DLangImpl6.rst1369 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1387 ThenBB = Builder.GetInsertBlock();
1398 ElseBB = Builder.GetInsertBlock();
1434 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1435 BasicBlock *PreheaderBB = Builder.GetInsertBlock();
1481 BasicBlock *LoopEndBB = Builder.GetInsertBlock();
DLangImpl7.rst374 Function *TheFunction = Builder.GetInsertBlock()->getParent();
772 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1577 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1595 ThenBB = Builder.GetInsertBlock();
1606 ElseBB = Builder.GetInsertBlock();
1640 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1721 Function *TheFunction = Builder.GetInsertBlock()->getParent();
/external/llvm/lib/IR/
DIRBuilder.cpp58 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(),CI); in createCallHelper()
DCore.cpp1780 return wrap(unwrap(Builder)->GetInsertBlock()); in LLVMGetInsertBlock()
2054 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc()
2057 Instruction* Malloc = CallInst::CreateMalloc(unwrap(B)->GetInsertBlock(), in LLVMBuildMalloc()
2065 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc()
2068 Instruction* Malloc = CallInst::CreateMalloc(unwrap(B)->GetInsertBlock(), in LLVMBuildArrayMalloc()
2086 CallInst::CreateFree(unwrap(PointerVal), unwrap(B)->GetInsertBlock()))); in LLVMBuildFree()
/external/llvm/include/llvm/IR/
DIRBuilder.h71 BasicBlock *GetInsertBlock() const { return BB; } in GetInsertBlock() function
151 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
156 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()

12