|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Transforms/IPO/Attributor.h 348 return &Arg->getParent()->getEntryBlock().front();
351 return &(F->getEntryBlock().front());
lib/Analysis/Lint.cpp 642 Assert(&I == &I.getParent()->front() ||
lib/Analysis/MustExecute.cpp 490 return &PP->getSuccessor(0)->front();
lib/Analysis/ScalarEvolutionExpander.cpp 1284 Value *StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front());
1430 StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front());
1566 &Header->front());
1937 cast<PHINode>(expandCodeFor(H, nullptr, &L->getHeader()->front()));
lib/CodeGen/AtomicExpandPass.cpp 1619 IRBuilder<> AllocaBuilder(&I->getFunction()->getEntryBlock().front());
lib/CodeGen/CodeGenPrepare.cpp 1759 Builder.SetInsertPoint(&EndBlock->front());
6083 PHINode *PN = PHINode::Create(SI->getType(), 2, "", &EndBlock->front());
lib/CodeGen/ExpandMemCmp.cpp 537 Builder.SetInsertPoint(&EndBlock->front());
lib/CodeGen/SjLjEHPrepare.cpp 180 Alignment, "fn_context", &EntryBB->front());
346 LPI->moveBefore(&UnwindBlock->front());
lib/CodeGen/StackProtector.cpp 385 IRBuilder<> B(&F->getEntryBlock().front());
lib/CodeGen/WinEHPrepare.cpp 1081 &F.getEntryBlock().front());
1168 &F.getEntryBlock().front());
lib/IR/BasicBlock.cpp 315 PHINode *APN = dyn_cast<PHINode>(&front());
342 while (PHINode *PN = dyn_cast<PHINode>(&front())) {
lib/IR/Verifier.cpp 2383 if (isa<PHINode>(BB.front())) {
2798 Assert(&PN == &PN.getParent()->front() ||
lib/Target/AArch64/AArch64StackTagging.cpp 452 IRBuilder<> IRB(&PrologueBB->front());
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp 267 PHINode *Broken = PHINode::Create(IntMask, 0, "phi.broken", &Target->front());
lib/Target/Hexagon/HexagonOptimizeSZextends.cpp 84 Instruction* First = &F.getEntryBlock().front();
lib/Target/NVPTX/NVPTXLowerArgs.cpp 156 Instruction *FirstInst = &(Func->getEntryBlock().front());
lib/Transforms/Coroutines/CoroFrame.cpp 747 SpillBlock->splitBasicBlock(&SpillBlock->front(), "PostSpill");
753 Builder.SetInsertPoint(&Shape.AllocaSpillBlock->front());
906 auto *PN = cast<PHINode>(&BB.front());
912 &IncomingBB->front());
931 if (auto *PN = dyn_cast<PHINode>(&BB.front()))
996 if (&BB->front() == I) {
1013 return isa<AnyCoroSuspendInst>(BB->front());
lib/Transforms/Coroutines/CoroSplit.cpp 347 auto *PN = PHINode::Create(Builder.getInt8Ty(), 2, "", &LandingBB->front());
724 Builder.SetInsertPoint(&NewF->getEntryBlock().front());
lib/Transforms/IPO/ArgumentPromotion.cpp 385 Instruction *InsertPt = &NF->begin()->front();
757 if (AAR.canInstructionRangeModRef(BB->front(), *Load, Loc, ModRefInfo::Mod))
lib/Transforms/IPO/Attributor.cpp 2164 SplitPos = &NormalDestBB->front();
2194 if (SplitPos == &NormalDestBB->front()) {
2355 ToBeExploredPaths.insert(&Invoke->getUnwindDest()->front());
lib/Transforms/IPO/PartialInlining.cpp 428 &SI->front())
521 &SI->front())
1066 Instruction *Ins = &ClonedOI->ReturnBlock->front();
1171 &RegionInfo.Region.front()->front())
1233 &ToExtract.front()->front())
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 1576 MergedVal = InsertNewInstBefore(PN, DestBB->front());
lib/Transforms/Instrumentation/AddressSanitizer.cpp 2561 IRBuilder<> IRB(&F.front().front());
2890 Instruction *CopyInsertPoint = &F.front().front();
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 1618 &ExitBlock->front());
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 938 Instruction *Inst = &i->front();
980 Pos = &DFSF.F->getEntryBlock().front();
1002 IRBuilder<> IRB(&F->getEntryBlock().front());
1012 IRBuilder<> IRB(&F->getEntryBlock().front());
1138 PHINode *Phi = PHINode::Create(DFS.ShadowTy, 2, "", &Tail->front());
1286 PHINode *Shadow = PHINode::Create(DFS.ShadowTy, 2, "", &Tail->front());
1621 "labelva", &DFSF.F->getEntryBlock().front());
1636 "labelreturn", &DFSF.F->getEntryBlock().front());
1685 Next = &II->getNormalDest()->front();
1689 Next = &NewBB->front();
1726 "", &DFSF.F->getEntryBlock().front());
lib/Transforms/Scalar/ConstantHoisting.cpp 319 InsertPts.insert(&Entry->front());
340 InsertPts.insert(&Entry->front());
346 Instruction &FirstInst = (*BBs.begin())->front();
lib/Transforms/Scalar/DeadStoreElimination.cpp 1290 if (DepWrite == &BB.front()) break;
lib/Transforms/Scalar/GVN.cpp 2384 CurInst->getName() + ".pre-phi", &CurrentBlock->front());
lib/Transforms/Scalar/GVNSink.cpp 175 if (Inst == &Inst->getParent()->front())
853 Op->getName() + ".sink", &BBEnd->front());
lib/Transforms/Scalar/IndVarSimplify.cpp 1769 Instruction *InsertPt = &L->getHeader()->front();
lib/Transforms/Scalar/JumpThreading.cpp 1491 &LoadBB->front());
1807 if (!isa<PHINode>(BB->front()))
1879 cast<PHINode>(BB->front()).getNumIncomingValues()) {
lib/Transforms/Scalar/LICM.cpp 1424 OInst->getName() + ".lcssa", &ExitBlock.front());
1756 I->getName() + ".lcssa", &BB->front());
lib/Transforms/Scalar/LoopFuse.cpp 1215 while (PHINode *PHI = dyn_cast<PHINode>(&FC1.Header->front())) {
1228 Instruction *L1HeaderIP = &FC1.Header->front();
1457 while (PHINode *PHI = dyn_cast<PHINode>(&FC1.Header->front())) {
1470 Instruction *L1HeaderIP = &FC1.Header->front();
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 1609 if (!PH || &PH->front() != PH->getTerminator())
1755 PHINode *TcPhi = PHINode::Create(Ty, 2, "tcphi", &Body->front());
1862 PHINode *TcPhi = PHINode::Create(Ty, 2, "tcphi", &Body->front());
lib/Transforms/Scalar/LoopInterchange.cpp 1240 if (&InductionPHI->getParent()->front() != InductionPHI)
1241 InductionPHI->moveBefore(&InductionPHI->getParent()->front());
lib/Transforms/Scalar/LoopLoadElimination.cpp 442 &L->getHeader()->front());
lib/Transforms/Scalar/LoopUnswitch.cpp 1027 SplitBlock(ExitBlock, &ExitBlock->front(), DT, LI, MSSAU.get());
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp 218 &BB->front());
lib/Transforms/Scalar/NewGVN.cpp 3956 PN->insertBefore(&DefBlock->front());
lib/Transforms/Scalar/PlaceSafepoints.cpp 408 return &I->getParent()->getUniqueSuccessor()->front();
413 for (Cursor = &F.getEntryBlock().front(); HasNextInstruction(Cursor);
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 445 SplitBlock(LoopExitBB, &LoopExitBB->front(), &DT, &LI, MSSAU);
696 SplitBlock(DefaultExitBB, &DefaultExitBB->front(), &DT, &LI, MSSAU);
723 SplitExitBB = SplitBlock(ExitBB, &ExitBB->front(), &DT, &LI, MSSAU);
1021 auto *MergeBB = SplitBlock(ExitBB, &ExitBB->front(), &DT, &LI, MSSAU);
lib/Transforms/Scalar/SimplifyCFGPass.cpp 87 if (Ret != &BB.front()) {
127 &RetBlock->front());
lib/Transforms/Scalar/TailRecursionElimination.cpp 454 if (&BB->front() == TI) // Make sure there is something before the terminator.
481 firstNonDbg(BB->front().getIterator()) == CI &&
593 Instruction *InsertPos = &OldEntry->front();
634 std::distance(PB, PE) + 1, "accumulator.tr", &OldEntry->front());
lib/Transforms/Utils/BasicBlockUtils.cpp 218 if (isa<PHINode>(BB->front())) {
378 return SplitBlock(Succ, &Succ->front(), DT, LI, MSSAU);
lib/Transforms/Utils/BreakCriticalEdges.cpp 127 SplitBB->isLandingPad() ? &SplitBB->front() : SplitBB->getTerminator());
lib/Transforms/Utils/CallPromotionUtils.cpp 110 Builder.SetInsertPoint(&MergeBlock->front());
174 &SplitEdge(Invoke->getParent(), Invoke->getNormalDest())->front();
lib/Transforms/Utils/CodeExtractor.cpp 677 PN->getName() + ".ce", &NewBB->front());
1095 &codeReplacer->getParent()->front().front());
1113 &codeReplacer->getParent()->front().front());
lib/Transforms/Utils/DemoteRegToStack.cpp 40 I.getName() + ".reg2mem", &F->getEntryBlock().front());
127 &F->getEntryBlock().front());
lib/Transforms/Utils/FlattenCFG.cpp 328 Instruction *PBI2 = &Head2->front();
424 Instruction *PBI2 = &SecondEntryBlock->front();
lib/Transforms/Utils/InlineFunction.cpp 177 Instruction *InsertPoint = &InnerResumeDest->front();
1957 IRBuilder<> builder(&FirstNewBlock->front());
2317 &AfterCallBB->front());
lib/Transforms/Utils/LCSSA.cpp 148 I->getName() + ".lcssa", &ExitBB->front());
197 ValueHandleBase::ValueIsRAUWd(*UseToRewrite, &UserBB->front());
198 UseToRewrite->set(&UserBB->front());
lib/Transforms/Utils/Local.cpp 653 WeakTrackingVH PhiIt = &BB->front();
664 if (PhiIt != OldPhiIt) PhiIt = &BB->front();
1038 while (PHINode *PN = dyn_cast<PHINode>(&BB->front())) {
1882 while (EndInst != &BB->front()) {
lib/Transforms/Utils/LoopVersioning.cpp 141 &PHIBlock->front());
lib/Transforms/Utils/PromoteMemoryToRegister.cpp 718 if (&BB->front() != SomePHI)
855 &BB->front());
lib/Transforms/Utils/SSAUpdater.cpp 162 ProtoName, &BB->front());
281 Updater->ProtoName, &BB->front());
lib/Transforms/Utils/SimplifyCFG.cpp 1554 } while (isa<DbgInfoIntrinsic>(I) && I != &BB->front());
1595 Op->getName() + ".sink", &BBEnd->front());
2936 PHI = PHINode::Create(V->getType(), 2, "simplifycfg.merge", &Succ->front());
3247 BI->getCondition()->getName() + ".pr", &BB->front());
3649 if (PHIUse == nullptr || PHIUse != &SuccBlock->front() ||
4073 auto *SuccessorCleanupPad = dyn_cast<CleanupPadInst>(&UnwindDest->front());
4218 if (&BB->front() != UI)
4329 SplitBlock(&*NewDefaultBlock, &NewDefaultBlock->front());
lib/Transforms/Vectorize/SLPVectorizer.cpp 4246 Builder.SetInsertPoint(&F->getEntryBlock().front());
4304 Builder.SetInsertPoint(&F->getEntryBlock().front());
4345 Builder.SetInsertPoint(&F->getEntryBlock().front());
tools/polly/lib/CodeGen/BlockGenerators.cpp 439 Builder.SetInsertPoint(&CopyBB->front());
1373 Builder.SetInsertPoint(&CopyBB->front());
1479 Builder.SetInsertPoint(&EntryBBCopy->front());
1519 Builder.SetInsertPoint(&BBCopy->front());
1591 LoopPHI->insertBefore(&BBCopy->front());
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 568 Builder.SetInsertPoint(&ExitBlock->front());
632 Builder.SetInsertPoint(&ParBB->front());
792 BasicBlock *MergeBB = SplitBlock(CondBB, &CondBB->front(), &DT, &LI);
816 Builder.SetInsertPoint(&ThenBB->front());
820 Builder.SetInsertPoint(&ElseBB->front());
825 Builder.SetInsertPoint(&MergeBB->front());
1279 BasicBlock *MergeBB = SplitBlock(CondBB, &CondBB->front(), &DT, &LI);
1515 Builder.SetInsertPoint(&PreLoadBB->front());
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp 190 &Builder.GetInsertBlock()->getParent()->getEntryBlock().front());
unittests/Analysis/IVDescriptorsTest.cpp 82 PHINode *Inst_i = dyn_cast<PHINode>(&Header->front());
unittests/Analysis/ScalarEvolutionTest.cpp 1659 LoadInst *Load = cast<LoadInst>(&Entry.front());
unittests/IR/InstructionsTest.cpp 1091 CallBrInst &CBI = cast<CallBrInst>(BBs->front());
unittests/IR/UserTest.cpp 71 PHINode &P = cast<PHINode>(ExitBB.front());
unittests/Linker/LinkModulesTest.cpp 260 auto *CI = cast<CallInst>(&BB->front());
289 CI = cast<CallInst>(&BB->front());
unittests/Transforms/Utils/CodeExtractorTest.cpp 72 EXPECT_TRUE(Exit && cast<PHINode>(Exit->front()).getNumIncomingValues() == 1);
75 cast<PHINode>(ExitSplit->front()).getNumIncomingValues() == 2);
124 cast<PHINode>(Exit1->front()).getNumIncomingValues() == 2);
126 cast<PHINode>(Exit2->front()).getNumIncomingValues() == 2);
unittests/Transforms/Utils/IntegerDivisionTest.cpp 41 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv);
46 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
71 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv);
76 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
101 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem);
106 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
131 EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem);
136 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
162 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv);
167 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
192 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv);
197 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
222 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem);
227 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
252 EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem);
257 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
unittests/Transforms/Utils/LocalTest.cpp 48 EXPECT_EQ(&bb0->front(), br0);
49 EXPECT_EQ(&bb1->front(), br1);
147 Instruction *Inst = &F->front().front();
568 Instruction *Inst = &F->front().front();
616 Instruction &A = BB.front();
623 Instruction &B = BB.front();
713 Instruction &A = BB.front();