/external/llvm/unittests/IR/ |
D | ValueTest.cpp | 195 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/ |
D | SjLjEHPrepare.cpp | 194 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()
|
D | BranchFolding.cpp | 860 MachineBasicBlock *EntryBB = in TryTailMergeBlocks() local 879 if (MBB == EntryBB && SameTails[i].tailIsWholeBlock()) in TryTailMergeBlocks()
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 36 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/ |
D | Miscompilation.cpp | 859 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/ |
D | CGCUDANV.cpp | 174 llvm::BasicBlock *EntryBB = in makeRegisterKernelsFn() local 177 Builder.SetInsertPoint(EntryBB); in makeRegisterKernelsFn()
|
D | CGVTables.cpp | 178 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()
|
D | CGStmtOpenMP.cpp | 221 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()
|
D | CodeGenFunction.cpp | 727 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()
|
D | CGExprCXX.cpp | 1028 llvm::BasicBlock *EntryBB = Builder.GetInsertBlock(); in EmitNewArrayInitializer() local 1050 CurPtrPhi->addIncoming(CurPtr.getPointer(), EntryBB); in EmitNewArrayInitializer()
|
D | CGOpenMPRuntime.cpp | 2687 auto EntryBB = CGF.Builder.GetInsertBlock(); in EmitOMPAggregateReduction() local 2694 RHSElementPHI->addIncoming(RHSBegin, EntryBB); in EmitOMPAggregateReduction() 2701 LHSElementPHI->addIncoming(LHSBegin, EntryBB); in EmitOMPAggregateReduction()
|
D | CGObjCGNU.cpp | 2560 llvm::BasicBlock *EntryBB = in ModuleInitFunction() local 2563 Builder.SetInsertPoint(EntryBB); in ModuleInitFunction()
|
/external/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 351 BasicBlock *EntryBB = BasicBlock::Create(Context, "entry", Trampoline); in generateLSDAInEAXThunk() local 352 IRBuilder<> Builder(EntryBB); in generateLSDAInEAXThunk()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCOpts.cpp | 1378 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/ |
D | LoopInfoImpl.h | 272 BlockT *EntryBB = &BB->getParent()->front(); in verifyLoop() local 273 for (BlockT *CB : depth_first(EntryBB)) in verifyLoop()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 282 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/ |
D | SimplifyLibCalls.cpp | 1616 BasicBlock &EntryBB = B.GetInsertBlock()->getParent()->getEntryBlock(); in insertSinCosCall() local 1617 B.SetInsertPoint(&EntryBB, EntryBB.begin()); in insertSinCosCall()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 1429 MachineBasicBlock *EntryBB = &MF->front(); in EmitFunctionEntryCode() local 1432 BuildMI(EntryBB, DebugLoc(), HII->get(Hexagon::ALIGNA), AR) in EmitFunctionEntryCode()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 4203 BasicBlock &EntryBB = F.getEntryBlock(); in runImpl() local 4204 for (BasicBlock::iterator I = EntryBB.begin(), E = std::prev(EntryBB.end()); in runImpl()
|