Searched defs:SuccBB (Results 1 - 11 of 11) sorted by relevance

/external/llvm/lib/Analysis/
H A DIteratedDominanceFrontier.cpp80 BasicBlock *SuccBB = SuccNode->getBlock(); local
81 if (useLiveIn && !LiveInBlocks->count(SuccBB))
84 PHIBlocks.emplace_back(SuccBB);
85 if (!DefBlocks->count(SuccBB))
/external/llvm/lib/Transforms/Scalar/
H A DLoopInstSimplify.cpp156 BasicBlock *SuccBB = *SI; local
157 if (!Visited.insert(SuccBB).second)
160 const Loop *SuccLoop = LI->getLoopFor(SuccBB);
161 if (SuccLoop && SuccLoop->getHeader() == SuccBB
163 VisitStack.push_back(WorklistItem(SuccBB, true));
178 ExitBlocks.end(), SuccBB);
182 VisitStack.push_back(WorklistItem(SuccBB, false));
H A DJumpThreading.cpp148 BasicBlock *SuccBB);
171 BasicBlock *NewBB, BasicBlock *SuccBB);
1441 /// blocks in PredBBs to one predecessor, then thread an edge from it to SuccBB
1445 BasicBlock *SuccBB) {
1447 if (SuccBB == BB) {
1457 << "' to dest BB '" << SuccBB->getName()
1481 << SuccBB->getName() << "' with cost: " << JumpThreadCost
1485 LVI->threadEdge(PredBB, BB, SuccBB);
1526 // an unconditional jump to SuccBB. Insert the unconditional jump.
1527 BranchInst *NewBI = BranchInst::Create(SuccBB, NewB
1443 ThreadEdge(BasicBlock *BB, const SmallVectorImpl<BasicBlock*> &PredBBs, BasicBlock *SuccBB) argument
1621 UpdateBlockFreqAndEdgeWeight(BasicBlock *PredBB, BasicBlock *BB, BasicBlock *NewBB, BasicBlock *SuccBB) argument
[all...]
/external/llvm/lib/CodeGen/
H A DLiveVariables.cpp766 MachineBasicBlock *SuccBB) {
771 MachineBasicBlock::iterator BBI = SuccBB->begin(), BBE = SuccBB->end();
776 // All registers used by PHI nodes in SuccBB must be live through BB.
782 // Record all vreg defs and kills of all instructions in SuccBB.
803 // If the register is either killed in or live through SuccBB it's also live
806 if (Kills.count(Reg) || VI.AliveBlocks.test(SuccBB->getNumber()))
764 addNewBlock(MachineBasicBlock *BB, MachineBasicBlock *DomBB, MachineBasicBlock *SuccBB) argument
H A DTailDuplication.cpp469 MachineBasicBlock *SuccBB = *SI; local
470 for (MachineBasicBlock::iterator II = SuccBB->begin(), EE = SuccBB->end();
513 if (!SrcBB->isSuccessor(SuccBB))
H A DBranchFolding.cpp484 static void FixTail(MachineBasicBlock *CurMBB, MachineBasicBlock *SuccBB, argument
497 TII->InsertBranch(*CurMBB, SuccBB, nullptr, Cond, dl);
502 TII->InsertBranch(*CurMBB, SuccBB, nullptr,
567 MachineBasicBlock::iterator &I2, MachineBasicBlock *SuccBB,
609 if (SuccBB && MBB1 != PredBB && MBB2 != PredBB &&
639 MachineBasicBlock *SuccBB,
653 SuccBB, PredBB,
675 MachineBasicBlock *SuccBB,
683 if (SuccBB && CurMBB != PredBB)
684 FixTail(CurMBB, SuccBB, TI
564 ProfitableToMerge(MachineBasicBlock *MBB1, MachineBasicBlock *MBB2, unsigned minCommonTailLength, unsigned &CommonTailLen, MachineBasicBlock::iterator &I1, MachineBasicBlock::iterator &I2, MachineBasicBlock *SuccBB, MachineBasicBlock *PredBB, DenseMap<const MachineBasicBlock *, int> &FuncletMembership) argument
637 ComputeSameTails(unsigned CurHash, unsigned minCommonTailLength, MachineBasicBlock *SuccBB, MachineBasicBlock *PredBB) argument
674 RemoveBlocksWithHash(unsigned CurHash, MachineBasicBlock *SuccBB, MachineBasicBlock *PredBB) argument
695 CreateCommonTailOnlyBlock(MachineBasicBlock *&PredBB, MachineBasicBlock *SuccBB, unsigned maxCommonTailLength, unsigned &commonTailIndex) argument
811 TryTailMergeBlocks(MachineBasicBlock *SuccBB, MachineBasicBlock *PredBB) argument
[all...]
H A DIfConversion.cpp443 MachineBasicBlock *SuccBB = *SI; local
444 if (SuccBB != TrueBB)
445 return SuccBB;
/external/llvm/lib/Target/Mips/
H A DMipsDelaySlotFiller.cpp82 /// the registers that are live-in to SuccBB.
84 const MachineBasicBlock &SuccBB);
354 const MachineBasicBlock &SuccBB) {
357 if (*SI != &SuccBB)
756 MachineBasicBlock *SuccBB = selectSuccBB(MBB);
758 if (!SuccBB)
768 // Iterate over SuccBB's predecessor list.
769 for (MachineBasicBlock::pred_iterator PI = SuccBB->pred_begin(),
770 PE = SuccBB->pred_end(); PI != PE; ++PI)
771 if (!examinePred(**PI, *SuccBB, RegD
353 addLiveOut(const MachineBasicBlock &MBB, const MachineBasicBlock &SuccBB) argument
[all...]
/external/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp167 /// number of phi values equal to the number of branches to SuccBB.
168 static void fixPhis(BasicBlock *SuccBB, BasicBlock *OrigBB, BasicBlock *NewBB, argument
170 for (BasicBlock::iterator I = SuccBB->begin(),
171 IE = SuccBB->getFirstNonPHI()->getIterator();
186 // number of incoming values equal to the number of branches to SuccBB.
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp2006 const BasicBlock *SuccBB = TI->getSuccessor(succ); local
2007 if (!isa<PHINode>(SuccBB->begin()))
2009 MachineBasicBlock *SuccMBB = FuncInfo.MBBMap[SuccBB];
2021 for (BasicBlock::const_iterator I = SuccBB->begin();
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp1392 BasicBlock *SuccBB = *SuccStack.back().second++; local
1393 if (Visited.insert(SuccBB).second) {
1394 TerminatorInst *TI = cast<TerminatorInst>(&SuccBB->back());
1395 SuccStack.push_back(std::make_pair(SuccBB, succ_iterator(TI)));
1396 BBStates[CurrBB].addSucc(SuccBB);
1397 BBState &SuccStates = BBStates[SuccBB];
1399 OnStack.insert(SuccBB);
1403 if (!OnStack.count(SuccBB)) {
1404 BBStates[CurrBB].addSucc(SuccBB);
1405 BBStates[SuccBB]
[all...]

Completed in 95 milliseconds