|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp 731 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
732 TheFunction->getEntryBlock().begin());
examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp 731 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
732 TheFunction->getEntryBlock().begin());
examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp 730 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
731 TheFunction->getEntryBlock().begin());
examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp 716 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
717 TheFunction->getEntryBlock().begin());
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp 740 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
741 TheFunction->getEntryBlock().begin());
examples/Kaleidoscope/Chapter7/toy.cpp 736 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
737 TheFunction->getEntryBlock().begin());
examples/Kaleidoscope/Chapter8/toy.cpp 735 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
736 TheFunction->getEntryBlock().begin());
examples/Kaleidoscope/Chapter9/toy.cpp 888 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
889 TheFunction->getEntryBlock().begin());
include/llvm/IR/CFG.h 349 static NodeRef getEntryNode(Function *F) { return &F->getEntryBlock(); }
390 return &G.Graph->getEntryBlock();
include/llvm/Transforms/IPO/Attributor.h 348 return &Arg->getParent()->getEntryBlock().front();
351 return &(F->getEntryBlock().front());
lib/Analysis/CFG.cpp 249 if (BB == &BB->getParent()->getEntryBlock())
lib/Analysis/CaptureTracking.cpp 114 if (BB == &BB->getParent()->getEntryBlock() ||
lib/Analysis/EHPersonalities.cpp 79 BasicBlock *EntryBlock = &F.getEntryBlock();
lib/Analysis/InlineCost.cpp 827 CallerBFI->getBlockFreq(&(Call.getCaller()->getEntryBlock()));
1826 BBWorklist.insert(&F.getEntryBlock());
lib/Analysis/InstructionSimplify.cpp 159 if (I->getParent() == &I->getFunction()->getEntryBlock() &&
lib/Analysis/LazyValueInfo.cpp 722 if (BB == &BB->getParent()->getEntryBlock()) {
lib/Analysis/Lint.cpp 607 Assert(&I.getParent()->getParent()->getEntryBlock() == I.getParent(),
lib/Analysis/MemoryDependenceAnalysis.cpp 235 if (BB != &BB->getParent()->getEntryBlock())
709 if (BB != &BB->getParent()->getEntryBlock())
740 if (QueryParent != &QueryParent->getParent()->getEntryBlock())
880 } else if (DirtyBB != &DirtyBB->getParent()->getEntryBlock()) {
lib/Analysis/MemorySSA.cpp 1511 BasicBlock &StartingPoint = F.getEntryBlock();
lib/Analysis/RegionInfo.cpp 103 TopLevelRegion = new Region(&F.getEntryBlock(), nullptr,
lib/Analysis/RegionPass.cpp 293 if (R.getEntry() == &F.getEntryBlock())
lib/Analysis/ScalarEvolutionExpander.cpp 151 BasicBlock::iterator IP = A->getParent()->getEntryBlock().begin();
lib/CodeGen/AtomicExpandPass.cpp 1619 IRBuilder<> AllocaBuilder(&I->getFunction()->getEntryBlock().front());
lib/CodeGen/CodeGenPrepare.cpp 4189 BaseI ? BaseI->getParent() : &GEP->getFunction()->getEntryBlock();
5356 NewBaseInsertBB = &BaseGEP->getFunction()->getEntryBlock();
lib/CodeGen/GCRootLowering.cpp 145 BasicBlock::iterator IP = F.getEntryBlock().begin();
lib/CodeGen/ShadowStackGCLowering.cpp 304 BasicBlock::iterator IP = F.getEntryBlock().begin();
lib/CodeGen/StackProtector.cpp 385 IRBuilder<> B(&F->getEntryBlock().front());
lib/CodeGen/WinEHPrepare.cpp 730 if (FuncletPadBB == &F.getEntryBlock())
1081 &F.getEntryBlock().front());
1168 &F.getEntryBlock().front());
lib/ExecutionEngine/Orc/Speculation.cpp 102 BasicBlock &ProgramEntry = Fn.getEntryBlock();
109 assert(SpeculateDecisionBlock == &Fn.getEntryBlock() &&
lib/FuzzMutate/Operations.cpp 151 if (Block != &Block->getParent()->getEntryBlock()) {
lib/IR/Core.cpp 2597 return wrap(&unwrap<Function>(Fn)->getEntryBlock());
lib/IR/Verifier.cpp 3592 Assert(BB != &F->getEntryBlock(), "EH pad cannot be in entry block.", &I);
lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp 148 ArrayRef<Value*>(Idx), Twine(""), F->getEntryBlock().getFirstNonPHI());
lib/Target/AMDGPU/AMDGPUInline.cpp 163 const BasicBlock &BB = Callee->getEntryBlock();
lib/Target/AMDGPU/AMDGPULibCalls.cpp 1407 BasicBlock * BB = &Func->getEntryBlock();
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp 330 for (df_iterator<BasicBlock *> I = df_begin(&F.getEntryBlock()),
331 E = df_end(&F.getEntryBlock()); I != E; ++I) {
lib/Target/Hexagon/HexagonOptimizeSZextends.cpp 84 Instruction* First = &F.getEntryBlock().front();
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp 106 IRBuilder<> Builder(I->getEntryBlock().getFirstNonPHIOrDbg());
lib/Target/NVPTX/NVPTXLowerArgs.cpp 156 Instruction *FirstInst = &(Func->getEntryBlock().front());
186 InsertPt = Arg->getParent()->getEntryBlock().begin();
lib/Target/PowerPC/PPCBoolRetToInt.cpp 114 A ? &*A->getParent()->getEntryBlock().begin() : I->getNextNode();
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 889 BasicBlock &EntryBB = F.getEntryBlock();
lib/Target/X86/X86WinEHState.cpp 280 IRBuilder<> Builder(&F->getEntryBlock(), F->getEntryBlock().begin());
280 IRBuilder<> Builder(&F->getEntryBlock(), F->getEntryBlock().begin());
553 if (&F.getEntryBlock() == BB)
676 if (&F.getEntryBlock() == BB)
lib/Transforms/Coroutines/CoroElide.cpp 100 for (Instruction &I : F->getEntryBlock())
lib/Transforms/Coroutines/CoroFrame.cpp 138 return isDefinitionAcrossSuspend(&A.getParent()->getEntryBlock(), U);
1260 IRBuilder<> Builder(F.getEntryBlock().getFirstNonPHIOrDbg());
1306 for (auto &Inst : F.getEntryBlock()) {
lib/Transforms/Coroutines/CoroSplit.cpp 518 IRBuilder<> Builder(F.getEntryBlock().getFirstNonPHIOrDbg());
567 Entry->moveBefore(&NewF->getEntryBlock());
724 Builder.SetInsertPoint(&NewF->getEntryBlock().front());
1398 Instruction *InsertPt = F.getEntryBlock().getTerminator();
lib/Transforms/IPO/FunctionAttrs.cpp 638 BasicBlock &Entry = F.getEntryBlock();
lib/Transforms/IPO/GlobalDCE.cpp 87 BasicBlock &Entry = F->getEntryBlock();
lib/Transforms/IPO/GlobalOpt.cpp 2170 CallerBFI.getBlockFreq(&(CS.getCaller()->getEntryBlock()));
lib/Transforms/IPO/LoopExtractor.cpp 109 L->getHeader()->getParent()->getEntryBlock().getTerminator();
lib/Transforms/IPO/LowerTypeTests.cpp 1269 IRBuilder<> IRB(WeakInitializerFn->getEntryBlock().getTerminator());
lib/Transforms/IPO/MergeFunctions.cpp 688 GEntryBlock = &G->getEntryBlock();
lib/Transforms/IPO/PartialInlining.cpp 724 Cloner.ClonedFuncBFI->getBlockFreq(&Cloner.ClonedFunc->getEntryBlock());
lib/Transforms/InstCombine/InstCombineCompares.cpp 632 BasicBlock &Entry = A->getParent()->getEntryBlock();
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 364 BasicBlock &EntryBlock = AI.getParent()->getParent()->getEntryBlock();
lib/Transforms/InstCombine/InstCombinePHI.cpp 269 auto *InsertBB = &IncomingBB->getParent()->getEntryBlock();
lib/Transforms/Instrumentation/AddressSanitizer.cpp 927 for (BasicBlock *BB : depth_first(&F.getEntryBlock())) visit(*BB);
2444 IRBuilder<> IRB(AsanCtorFunction->getEntryBlock().getTerminator());
2596 for (Instruction &I : F.getEntryBlock()) {
3002 assert(InsBeforeB == &F.getEntryBlock());
lib/Transforms/Instrumentation/CFGMST.h 101 const BasicBlock *Entry = &(F.getEntryBlock());
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 935 SmallVector<BasicBlock *, 4> BBList(depth_first(&i->getEntryBlock()));
980 Pos = &DFSF.F->getEntryBlock().front();
1002 IRBuilder<> IRB(&F->getEntryBlock().front());
1012 IRBuilder<> IRB(&F->getEntryBlock().front());
1035 DFS.ArgTLS ? &*F->getEntryBlock().begin()
1621 "labelva", &DFSF.F->getEntryBlock().front());
1636 "labelreturn", &DFSF.F->getEntryBlock().front());
1726 "", &DFSF.F->getEntryBlock().front());
lib/Transforms/Instrumentation/GCOVProfiling.cpp 701 BasicBlock &EntryBlock = F.getEntryBlock();
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1165 Instruction *InsertPt = &*F.getEntryBlock().begin();
1226 if (EntryIRB.GetInsertBlock() != &F.getEntryBlock()) {
1227 InsertPt = &*F.getEntryBlock().begin();
lib/Transforms/Instrumentation/InstrOrderFile.cpp 117 BasicBlock *OrigEntry = &F.getEntryBlock();
lib/Transforms/Instrumentation/Instrumentation.cpp 43 assert(&BB.getParent()->getEntryBlock() == &BB);
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1066 ActualFnStart = &F.getEntryBlock();
1254 SplitBlock(&F.getEntryBlock(), F.getEntryBlock().getFirstNonPHI());
1254 SplitBlock(&F.getEntryBlock(), F.getEntryBlock().getFirstNonPHI());
1255 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI());
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 468 IRBuilder<> IRBCtor(Ctor->getEntryBlock().getTerminator());
583 if (isa<UnreachableInst>(F.getEntryBlock().getTerminator()))
672 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt());
674 if (&F.getEntryBlock() == AllBlocks[i]) {
851 bool IsEntryBB = &BB == &F.getEntryBlock();
lib/Transforms/Instrumentation/ThreadSanitizer.cpp 429 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI());
503 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI());
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 1465 BasicBlock *EntryBB = &F.getEntryBlock();
lib/Transforms/Scalar/ADCE.cpp 279 for (auto *BB: depth_first_ext(&F.getEntryBlock(), State)) {
313 auto *BB = &F.getEntryBlock();
lib/Transforms/Scalar/ConstantHoisting.cpp 155 Fn.getEntryBlock(),
973 if (!runImpl(F, TTI, DT, BFI, F.getEntryBlock(), PSI))
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp 837 for (BasicBlock *BB : depth_first(&F.getEntryBlock())) {
lib/Transforms/Scalar/DeadStoreElimination.cpp 626 assert(B != &FirstBB->getParent()->getEntryBlock() &&
lib/Transforms/Scalar/GVN.cpp 2424 for (BasicBlock *CurrentBlock : depth_first(&F.getEntryBlock())) {
2426 if (CurrentBlock == &F.getEntryBlock())
lib/Transforms/Scalar/GVNHoist.cpp 270 for (const BasicBlock *BB : depth_first(&F.getEntryBlock())) {
1085 for (BasicBlock *BB : depth_first(&F.getEntryBlock())) {
lib/Transforms/Scalar/JumpThreading.cpp 402 if (&BB == &F.getEntryBlock() || DTU->isBBPendingDeletion(&BB))
998 (pred_empty(BB) && BB != &BB->getParent()->getEntryBlock()))
lib/Transforms/Scalar/LoopDeletion.cpp 101 if (Preheader == &Preheader->getParent()->getEntryBlock())
lib/Transforms/Scalar/MergeICmps.cpp 736 (EntryBlock_ == &EntryBlock_->getParent()->getEntryBlock());
lib/Transforms/Scalar/NewGVN.cpp 3458 const auto &InstRange = BlockInstRange.lookup(&F.getEntryBlock());
3460 LLVM_DEBUG(dbgs() << "Block " << getBlockName(&F.getEntryBlock())
3462 ReachableBlocks.insert(&F.getEntryBlock());
lib/Transforms/Scalar/PlaceSafepoints.cpp 413 for (Cursor = &F.getEntryBlock().front(); HasNextInstruction(Cursor);
lib/Transforms/Scalar/Reassociate.cpp 893 InsertPt = TheNeg->getParent()->getParent()->getEntryBlock().begin();
lib/Transforms/Scalar/Reg2Mem.cpp 75 BasicBlock *BBEntry = &F.getEntryBlock();
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 1693 for (Instruction &I : F.getEntryBlock())
1711 F.getEntryBlock().getFirstNonPHI());
1872 for (auto &I : F.getEntryBlock())
lib/Transforms/Scalar/SROA.cpp 4564 BasicBlock &EntryBB = F.getEntryBlock();
lib/Transforms/Scalar/Scalarizer.cpp 319 ReversePostOrderTraversal<BasicBlock *> RPOT(&F.getEntryBlock());
339 BasicBlock *BB = &F->getEntryBlock();
lib/Transforms/Scalar/StructurizeCFG.cpp 426 BasicBlock &EntryBlock = Arg->getParent()->getEntryBlock();
549 PhiInserter.AddAvailableValue(&Func->getEntryBlock(), Default);
618 Updater.AddAvailableValue(&Func->getEntryBlock(), Undef);
860 if (LoopStart == &LoopFunc->getEntryBlock()) {
930 Updater.AddAvailableValue(&Func->getEntryBlock(), Undef);
lib/Transforms/Scalar/TailRecursionElimination.cpp 232 BasicBlock *BB = &F.getEntryBlock();
480 if (BB == &F->getEntryBlock() &&
571 OldEntry = &F->getEntryBlock();
644 if (P == &F->getEntryBlock())
lib/Transforms/Utils/BasicBlockUtils.cpp 445 assert(NewBB == &NewBB->getParent()->getEntryBlock());
lib/Transforms/Utils/CodeExtractor.cpp 626 if (Header != &Header->getParent()->getEntryBlock()) {
1136 if (auto DL = newFunction->getEntryBlock().getTerminator()->getDebugLoc())
lib/Transforms/Utils/DemoteRegToStack.cpp 40 I.getName() + ".reg2mem", &F->getEntryBlock().front());
127 &F->getEntryBlock().front());
lib/Transforms/Utils/FunctionComparator.cpp 930 BBs.push_back(&F.getEntryBlock());
lib/Transforms/Utils/InlineFunction.cpp 1854 Caller->getEntryBlock().getInstList().splice(
lib/Transforms/Utils/Local.cpp 686 if (PredBB == &DestBB->getParent()->getEntryBlock())
951 assert(BB != &BB->getParent()->getEntryBlock() &&
lib/Transforms/Utils/LowerSwitch.cpp 450 if ((OrigBlock != &F->getEntryBlock() && pred_empty(OrigBlock)) ||
lib/Transforms/Utils/Mem2Reg.cpp 37 BasicBlock &BB = F.getEntryBlock(); // Get the entry node for the function
lib/Transforms/Utils/SimplifyCFG.cpp 4302 if (pred_empty(BB) && BB != &BB->getParent()->getEntryBlock()) {
5816 if (I->isTerminator() && BB != &BB->getParent()->getEntryBlock() &&
6049 if ((pred_empty(BB) && BB != &BB->getParent()->getEntryBlock()) ||
lib/Transforms/Utils/SimplifyLibCalls.cpp 2102 BasicBlock &EntryBB = B.GetInsertBlock()->getParent()->getEntryBlock();
lib/Transforms/Vectorize/SLPVectorizer.cpp 4246 Builder.SetInsertPoint(&F->getEntryBlock().front());
4304 Builder.SetInsertPoint(&F->getEntryBlock().front());
4345 Builder.SetInsertPoint(&F->getEntryBlock().front());
4348 CSEBlocks.insert(&F->getEntryBlock());
5303 for (auto BB : post_order(&F.getEntryBlock())) {
tools/bugpoint/CrashDebugger.cpp 396 for (auto *BB : depth_first(&F.getEntryBlock()))
tools/clang/lib/CodeGen/CGObjCMac.cpp 4315 llvm::BasicBlock &Entry = CGF.CurFn->getEntryBlock();
tools/clang/lib/CodeGen/CodeGenFunction.h 154 return (block != &block->getParent()->getEntryBlock());
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp 67 return function->getEntryBlock().getFirstNonPHIOrDbg();
378 BasicBlock &entry_block(llvm_function.getEntryBlock());
1739 BasicBlock &entry_block(llvm_function.getEntryBlock());
tools/llvm-stress/llvm-stress.cpp 721 if (Curr != &F->getEntryBlock()) {
tools/polly/lib/Analysis/ScopDetection.cpp 1667 &(CurRegion.getEntry()->getParent()->getEntryBlock()))
tools/polly/lib/CodeGen/BlockGenerators.cpp 454 EntryBB = &CopyBB->getParent()->getEntryBlock();
516 EntryBB = &Builder.GetInsertBlock()->getParent()->getEntryBlock();
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 604 DomTreeNode *N = DT.getNode(&F->getEntryBlock());
1397 BasicBlock *EntryBB = &Builder.GetInsertBlock()->getParent()->getEntryBlock();
1495 ->getEntryBlock()
tools/polly/lib/CodeGen/LoopGenerators.cpp 229 BasicBlock &EntryBB = Builder.GetInsertBlock()->getParent()->getEntryBlock();
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp 190 &Builder.GetInsertBlock()->getParent()->getEntryBlock().front());
tools/polly/lib/Support/ScopHelper.cpp 309 IP = RTCBB->getParent()->getEntryBlock().getTerminator();
tools/polly/lib/Transform/CodePreparation.cpp 63 auto &EntryBlock = F.getEntryBlock();
101 splitEntryBlockForAlloca(&F.getEntryBlock(), this);
tools/polly/lib/Transform/RewriteByReferenceParameters.cpp 39 BasicBlock *Entry = &Inst.getParent()->getParent()->getEntryBlock();
unittests/Analysis/BlockFrequencyInfoTest.cpp 64 BasicBlock &BB0 = F->getEntryBlock();
unittests/Analysis/CaptureTrackingTest.cpp 63 BasicBlock *EntryBB = &F->getEntryBlock();
unittests/Analysis/DomTreeUpdaterTest.cpp 184 EXPECT_TRUE(&F->getEntryBlock() == NewEntry);
559 EXPECT_TRUE(&F->getEntryBlock() == NewEntry);
unittests/Analysis/ProfileSummaryInfoTest.cpp 116 BasicBlock &BB0 = F->getEntryBlock();
164 BasicBlock &BB0 = F->getEntryBlock();
211 BasicBlock &BB0 = F->getEntryBlock();
unittests/Analysis/ScalarEvolutionTest.cpp 1658 BasicBlock &Entry = F->getEntryBlock();
unittests/Analysis/ValueTrackingTest.cpp 496 auto &BB = F->getEntryBlock();
unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp 38 auto II = F->getEntryBlock().begin();
unittests/IR/CFGBuilder.cpp 172 EXPECT_TRUE(B.getOrAddBlock("entry") == &Holder.F->getEntryBlock());
200 EXPECT_TRUE(B.getOrAddBlock("entry") == &Holder.F->getEntryBlock());
unittests/IR/DominatorTreeTest.cpp 270 EXPECT_TRUE(&F.getEntryBlock() == NewEntry);
unittests/IR/ValueTest.cpp 132 BasicBlock &BB = F->getEntryBlock();
207 BasicBlock &EntryBB = F->getEntryBlock();
unittests/Linker/LinkModulesTest.cpp 259 BasicBlock *BB = &F->getEntryBlock();
288 BB = &F->getEntryBlock();
unittests/Transforms/Utils/BasicBlockUtilsTest.cpp 108 SplitBlockPredecessors(&F->getEntryBlock(), {}, "split.entry", &DT);
unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp 174 Updater.AddAvailableValue(VarNum, &F->getEntryBlock(), FirstArg);
unittests/Transforms/Utils/SizeOptsTest.cpp 65 BasicBlock &BB0 = F->getEntryBlock();
unittests/Transforms/Vectorize/VPlanDominatorTreeTest.cpp 41 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
unittests/Transforms/Vectorize/VPlanHCFGTest.cpp 40 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
117 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
unittests/Transforms/Vectorize/VPlanLoopInfoTest.cpp 41 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
unittests/Transforms/Vectorize/VPlanPredicatorTest.cpp 66 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
160 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
unittests/Transforms/Vectorize/VPlanSlpTest.cpp 96 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
164 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
230 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
289 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
418 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
490 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
562 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
638 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
698 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
761 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
821 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();
880 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor();