Home
last modified time | relevance | path

Searched refs:EntryBB (Results 1 – 19 of 19) sorted by relevance

/external/llvm/unittests/IR/
DValueTest.cpp195 BasicBlock &EntryBB = F->getEntryBlock(); in TEST() local
196 ASSERT_EQ(3u, EntryBB.size()); in TEST()
200 Instruction *I0 = &*EntryBB.begin(); in TEST()
202 Instruction *I1 = &*++EntryBB.begin(); in TEST()
209 EXPECT_EQ(MST.getLocalSlot(&EntryBB), -1); in TEST()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp194 BasicBlock *EntryBB = &F.front(); in setupFunctionContext() local
202 &EntryBB->front()); in setupFunctionContext()
228 IRBuilder<> Builder(EntryBB->getTerminator()); in setupFunctionContext()
404 BasicBlock *EntryBB = &F.front(); in setupEntryBlockAndCallSites() local
405 IRBuilder<> Builder(EntryBB->getTerminator()); in setupEntryBlockAndCallSites()
462 CallInst::Create(RegisterFn, FuncCtx, "", EntryBB->getTerminator()); in setupEntryBlockAndCallSites()
DBranchFolding.cpp860 MachineBasicBlock *EntryBB = in TryTailMergeBlocks() local
879 if (MBB == EntryBB && SameTails[i].tailIsWholeBlock()) in TryTailMergeBlocks()
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp36 EntryBB = BasicBlock::Create(Ctx, "entry", F); in SetUp()
69 BasicBlock *EntryBB; member in __anon8f61b9ee0111::LinkModuleTest
80 IRBuilder<> Builder(EntryBB); in TEST_F()
/external/llvm/tools/bugpoint/
DMiscompilation.cpp859 BasicBlock *EntryBB = BasicBlock::Create(F->getContext(), in CleanupAndPrepareModules() local
867 Value *CachedVal = new LoadInst(Cache, "fpcache", EntryBB); in CleanupAndPrepareModules()
868 Value *IsNull = new ICmpInst(*EntryBB, ICmpInst::ICMP_EQ, CachedVal, in CleanupAndPrepareModules()
870 BranchInst::Create(LookupBB, DoCallBB, IsNull, EntryBB); in CleanupAndPrepareModules()
891 FuncPtr->addIncoming(CachedVal, EntryBB); in CleanupAndPrepareModules()
/external/clang/lib/CodeGen/
DCGCUDANV.cpp174 llvm::BasicBlock *EntryBB = in makeRegisterKernelsFn() local
177 Builder.SetInsertPoint(EntryBB); in makeRegisterKernelsFn()
DCGVTables.cpp178 llvm::BasicBlock *EntryBB = &Fn->front(); in GenerateVarArgsThunk() local
180 std::find_if(EntryBB->begin(), EntryBB->end(), [&](llvm::Instruction &I) { in GenerateVarArgsThunk()
184 assert(ThisStore != EntryBB->end() && in GenerateVarArgsThunk()
DCGStmtOpenMP.cpp221 auto EntryBB = Builder.GetInsertBlock(); in EmitOMPAggregateAssign() local
228 SrcElementPHI->addIncoming(SrcBegin, EntryBB); in EmitOMPAggregateAssign()
235 DestElementPHI->addIncoming(DestBegin, EntryBB); in EmitOMPAggregateAssign()
285 auto EntryBB = CGF.Builder.GetInsertBlock(); in EmitOMPAggregateInit() local
292 DestElementPHI->addIncoming(DestBegin, EntryBB); in EmitOMPAggregateInit()
DCodeGenFunction.cpp727 llvm::BasicBlock *EntryBB = createBasicBlock("entry", CurFn); in StartFunction() local
733 AllocaInsertPt = new llvm::BitCastInst(Undef, Int32Ty, "", EntryBB); in StartFunction()
739 Builder.SetInsertPoint(EntryBB); in StartFunction()
DCGExprCXX.cpp1028 llvm::BasicBlock *EntryBB = Builder.GetInsertBlock(); in EmitNewArrayInitializer() local
1050 CurPtrPhi->addIncoming(CurPtr.getPointer(), EntryBB); in EmitNewArrayInitializer()
DCGOpenMPRuntime.cpp2687 auto EntryBB = CGF.Builder.GetInsertBlock(); in EmitOMPAggregateReduction() local
2694 RHSElementPHI->addIncoming(RHSBegin, EntryBB); in EmitOMPAggregateReduction()
2701 LHSElementPHI->addIncoming(LHSBegin, EntryBB); in EmitOMPAggregateReduction()
DCGObjCGNU.cpp2560 llvm::BasicBlock *EntryBB = in ModuleInitFunction() local
2563 Builder.SetInsertPoint(EntryBB); in ModuleInitFunction()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp351 BasicBlock *EntryBB = BasicBlock::Create(Context, "entry", Trampoline); in generateLSDAInEAXThunk() local
352 IRBuilder<> Builder(EntryBB); in generateLSDAInEAXThunk()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp1378 BasicBlock *EntryBB = &F.getEntryBlock(); in ComputePostOrders() local
1379 BBState &MyStates = BBStates[EntryBB]; in ComputePostOrders()
1381 TerminatorInst *EntryTI = cast<TerminatorInst>(&EntryBB->back()); in ComputePostOrders()
1382 SuccStack.push_back(std::make_pair(EntryBB, succ_iterator(EntryTI))); in ComputePostOrders()
1383 Visited.insert(EntryBB); in ComputePostOrders()
1384 OnStack.insert(EntryBB); in ComputePostOrders()
/external/llvm/include/llvm/Analysis/
DLoopInfoImpl.h272 BlockT *EntryBB = &BB->getParent()->front(); in verifyLoop() local
273 for (BlockT *CB : depth_first(EntryBB)) in verifyLoop()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp282 MachineBasicBlock &EntryBB = *Fn.begin(); in InsertVRSaveCode() local
288 MachineBasicBlock::iterator IP = EntryBB.begin(); // Insert Point in InsertVRSaveCode()
289 BuildMI(EntryBB, IP, dl, TII.get(PPC::MFVRSAVE), InVRSAVE); in InsertVRSaveCode()
290 BuildMI(EntryBB, IP, dl, TII.get(PPC::UPDATE_VRSAVE), in InsertVRSaveCode()
292 BuildMI(EntryBB, IP, dl, TII.get(PPC::MTVRSAVE)).addReg(UpdatedVRSAVE); in InsertVRSaveCode()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1616 BasicBlock &EntryBB = B.GetInsertBlock()->getParent()->getEntryBlock(); in insertSinCosCall() local
1617 B.SetInsertPoint(&EntryBB, EntryBB.begin()); in insertSinCosCall()
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1429 MachineBasicBlock *EntryBB = &MF->front(); in EmitFunctionEntryCode() local
1432 BuildMI(EntryBB, DebugLoc(), HII->get(Hexagon::ALIGNA), AR) in EmitFunctionEntryCode()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp4203 BasicBlock &EntryBB = F.getEntryBlock(); in runImpl() local
4204 for (BasicBlock::iterator I = EntryBB.begin(), E = std::prev(EntryBB.end()); in runImpl()