Home
last modified time | relevance | path

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

123

/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp41 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()
75 LLVMContext &Context = B.GetInsertBlock()->getContext(); in EmitStrNLen()
98 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrChr()
123 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrNCmp()
130 LLVMContext &Context = B.GetInsertBlock()->getContext(); in EmitStrNCmp()
155 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrCpy()
179 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrNCpy()
206 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitMemCpyChk()
[all …]
H A DIntegerDivision.cpp181 BasicBlock *IBB = Builder.GetInsertBlock(); in generateUnsignedDivisionCode()
218 BasicBlock *SpecialCases = Builder.GetInsertBlock(); in generateUnsignedDivisionCode()
H A DFlattenCFG.cpp441 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in MergeIfRegion()
/minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp578 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
598 ThenBB = Builder.GetInsertBlock(); in Codegen()
610 ElseBB = Builder.GetInsertBlock(); in Codegen()
647 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
648 BasicBlock *PreheaderBB = Builder.GetInsertBlock(); in Codegen()
697 BasicBlock *LoopEndBB = Builder.GetInsertBlock(); in Codegen()
/minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp686 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
706 ThenBB = Builder.GetInsertBlock(); in Codegen()
718 ElseBB = Builder.GetInsertBlock(); in Codegen()
755 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
756 BasicBlock *PreheaderBB = Builder.GetInsertBlock(); in Codegen()
805 BasicBlock *LoopEndBB = Builder.GetInsertBlock(); in Codegen()
/minix3/external/bsd/llvm/dist/llvm/examples/BrainF/
H A DBrainF.cpp82 BasicBlock* BB = builder->GetInsertBlock(); in header()
290 BasicBlock *bb_0 = builder->GetInsertBlock(); in readloop()
432 phi->addIncoming(curhead, builder->GetInsertBlock()); in readloop()
/minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp729 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
747 ThenBB = Builder.GetInsertBlock(); in Codegen()
758 ElseBB = Builder.GetInsertBlock(); in Codegen()
792 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
873 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
H A Dtoy.cpp1009 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1027 ThenBB = Builder.GetInsertBlock(); in Codegen()
1038 ElseBB = Builder.GetInsertBlock(); in Codegen()
1072 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1153 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
/minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp791 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
811 ThenBB = Builder.GetInsertBlock(); in Codegen()
823 ElseBB = Builder.GetInsertBlock(); in Codegen()
857 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
941 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
/minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp747 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
765 ThenBB = Builder.GetInsertBlock(); in Codegen()
776 ElseBB = Builder.GetInsertBlock(); in Codegen()
810 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
891 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
H A Dtoy.cpp1111 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1129 ThenBB = Builder.GetInsertBlock(); in Codegen()
1140 ElseBB = Builder.GetInsertBlock(); in Codegen()
1174 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1255 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
/minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp990 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1010 ThenBB = Builder.GetInsertBlock(); in Codegen()
1022 ElseBB = Builder.GetInsertBlock(); in Codegen()
1056 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1142 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1257 Alloca, D, DBuilder->createExpression(), Builder.GetInsertBlock()); in CreateArgumentAllocas()
/minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp969 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
987 ThenBB = Builder.GetInsertBlock(); in Codegen()
998 ElseBB = Builder.GetInsertBlock(); in Codegen()
1032 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1113 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp131 auto EntryBB = Builder.GetInsertBlock(); in EmitOMPAggregateAssign()
161 DestElementPast->addIncoming(DestElement, Builder.GetInsertBlock()); in EmitOMPAggregateAssign()
162 SrcElementPast->addIncoming(SrcElement, Builder.GetInsertBlock()); in EmitOMPAggregateAssign()
H A DCGStmt.cpp100 llvm::BasicBlock *incoming = Builder.GetInsertBlock(); in EmitStmt()
105 llvm::BasicBlock *outgoing = Builder.GetInsertBlock(); in EmitStmt()
341 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBlock()
364 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBranch()
501 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitIndirectGotoStmt()
1173 llvm::BasicBlock *RestoreBB = Builder.GetInsertBlock(); in EmitCaseStmtRange()
1247 if (Builder.GetInsertBlock()) { in EmitCaseStmt()
H A DCGCleanup.cpp446 bool WasInsertBlock = CGF.Builder.GetInsertBlock() == Entry; in SimplifyCleanupEntry()
593 llvm::BasicBlock *FallthroughSource = Builder.GetInsertBlock(); in PopCleanupBlock()
798 llvm::BasicBlock *NormalExit = Builder.GetInsertBlock(); in PopCleanupBlock()
H A DCGExprScalar.cpp1646 llvm::BasicBlock *startBB = Builder.GetInsertBlock(); in EmitScalarPrePostIncDec()
1794 llvm::BasicBlock *opBB = Builder.GetInsertBlock(); in EmitScalarPrePostIncDec()
2115 llvm::BasicBlock *startBB = Builder.GetInsertBlock(); in EmitCompoundAssignLValue()
2138 llvm::BasicBlock *opBB = Builder.GetInsertBlock(); in EmitCompoundAssignLValue()
2321 llvm::BasicBlock *initialBB = Builder.GetInsertBlock(); in EmitOverflowCheckedBinOp()
2674 llvm::BasicBlock *Orig = Builder.GetInsertBlock(); in EmitShl()
3041 RHSBlock = Builder.GetInsertBlock(); in VisitBinLAnd()
3124 RHSBlock = Builder.GetInsertBlock(); in VisitBinLOr()
3273 LHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator()
3281 RHSBlock = Builder.GetInsertBlock(); in VisitAbstractConditionalOperator()
H A DCodeGenFunction.cpp164 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitReturnBlock()
905 !FD->getReturnType()->isVoidType() && Builder.GetInsertBlock()) { in GenerateCode()
1217 llvm::BasicBlock *originBB = CGF.Builder.GetInsertBlock(); in emitNonZeroVLAInit()
1641 Builder.GetInsertBlock()); in protectFromPeepholes()
H A DCGExprCXX.cpp956 llvm::BasicBlock *EntryBB = Builder.GetInsertBlock(); in EmitNewArrayInitializer()
1009 CurPtrPhi->addIncoming(NextPtr, Builder.GetInsertBlock()); in EmitNewArrayInitializer()
1301 nullCheckBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
1355 llvm::BasicBlock *notNullBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
/minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp1189 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1207 ThenBB = Builder.GetInsertBlock(); in Codegen()
1218 ElseBB = Builder.GetInsertBlock(); in Codegen()
1252 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
1333 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
/minix3/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp161 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in InsertBinop()
183 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in InsertBinop()
533 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in expandAddToGEP()
554 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
574 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
1603 for (Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock()); ; in expand()
/minix3/external/bsd/llvm/dist/llvm/docs/tutorial/
H A 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();
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DIRBuilder.cpp59 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(),CI); in createCallHelper()
/minix3/external/bsd/llvm/dist/llvm/unittests/IR/
H A DIRBuilderTest.cpp287 EXPECT_EQ(BB, Builder.GetInsertBlock()); in TEST_F()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DIRBuilder.h77 BasicBlock *GetInsertBlock() const { return BB; } in GetInsertBlock() function
158 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
163 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()
208 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), in InsertPointGuard()

123