Home
last modified time | relevance | path

Searched refs:pred_begin (Results 1 – 25 of 92) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DCFG.h110 inline pred_iterator pred_begin(BasicBlock *BB) { return pred_iterator(BB); } in pred_begin() function
111 inline const_pred_iterator pred_begin(const BasicBlock *BB) { in pred_begin() function
119 return pred_begin(BB) == pred_end(BB); in pred_empty()
124 return std::distance(pred_begin(BB), pred_end(BB)); in pred_size()
127 return pred_range(pred_begin(BB), pred_end(BB)); in predecessors()
130 return const_pred_range(pred_begin(BB), pred_end(BB)); in predecessors()
329 static ChildIteratorType child_begin(NodeRef N) { return pred_begin(N); }
338 static ChildIteratorType child_begin(NodeRef N) { return pred_begin(N); }
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h210 return pred_empty() ? nullptr : *(pred_begin()); in getFirstPred()
238 pred_iterator pred_begin() { return Preds.begin(); } in pred_begin() function
242 const_pred_iterator pred_begin() const { in pred_begin() function
243 return const_cast<ExplodedNode*>(this)->pred_begin(); in pred_begin()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDAGDeltaAlgorithm.cpp80 pred_iterator_ty pred_begin(change_ty Node) { in pred_begin() function in __anoncf29fe990111::DAGDeltaAlgorithmImpl
203 for (pred_iterator_ty it = pred_begin(Change), in DAGDeltaAlgorithmImpl()
336 CurrentSet.insert(pred_begin(CT), pred_end(CT)); in Run()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineLoopUtils.cpp31 MachineBasicBlock *Preheader = *Loop->pred_begin(); in PeelSingleBlockLoop()
33 Preheader = *std::next(Loop->pred_begin()); in PeelSingleBlockLoop()
H A DMachineDominators.cpp163 PredBB = *PredBB->pred_begin(); in applySplitCriticalEdges()
H A DUnreachableBlockElim.cpp155 SmallPtrSet<MachineBasicBlock*, 8> preds(BB.pred_begin(), in runOnMachineFunction()
H A DMachineLateInstrsCleanup.cpp189 MachineBasicBlock *FirstPred = *MBB->pred_begin(); in processBlock()
H A DShrinkWrap.cpp451 Worklist.append(CleanBB->pred_begin(), CleanBB->pred_end()); in isSaveReachableThroughClean()
649 NewSave = FindIDom<>(**NewSave->pred_begin(), NewSave->predecessors(), *MDT, in postShrinkWrapping()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h402 pred_iterator pred_begin() { return Predecessors.begin(); }
403 const_pred_iterator pred_begin() const { return Predecessors.begin(); }
436 return make_range(pred_begin(), pred_end());
439 return make_range(pred_begin(), pred_end());
1323 static ChildIteratorType child_begin(NodeRef N) { return N->pred_begin(); }
1335 static ChildIteratorType child_begin(NodeRef N) { return N->pred_begin(); }
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFGReachabilityAnalysis.cpp70 for (CFGBlock::const_pred_iterator i = block->pred_begin(), in mapReachability()
H A DReachableCode.cpp437 for (CFGBlock::const_pred_iterator I = Block->pred_begin(), in isDeadCodeRoot()
553 for (CFGBlock::const_pred_iterator I = Block->pred_begin(), in scanBackwards()
705 CFGBlock::const_pred_iterator PI = B->pred_begin(); in reportDeadCode()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h966 pred_iterator pred_begin() { return Preds.begin(); } in pred_begin() function
968 const_pred_iterator pred_begin() const { return Preds.begin(); } in pred_begin() function
977 return pred_range(pred_begin(), pred_end()); in preds()
981 return pred_const_range(pred_begin(), pred_end()); in preds()
1061 return filtered_pred_iterator(pred_begin(), pred_end(), this, f); in filtered_pred_start_end()
1507 static ChildIteratorType child_begin(NodeRef N) { return N->pred_begin(); }
1519 static ChildIteratorType child_begin(NodeRef N) { return N->pred_begin(); }
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DBasicBlock.cpp458 const_pred_iterator PI = pred_begin(this), E = pred_end(this); in getSinglePredecessor()
466 const_pred_iterator PI = pred_begin(this), E = pred_end(this); in getUniquePredecessor()
480 return hasNItems(pred_begin(this), pred_end(this), N); in hasNPredecessors()
484 return hasNItemsOrMore(pred_begin(this), pred_end(this), N); in hasNPredecessorsOrMore()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RedundantCopyElimination.cpp154 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in knownRegValInBlock()
285 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in optimizeBlock()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp91 const ExplodedNode *pred = *(node->pred_begin()); in shouldCollect()
159 ExplodedNode *pred = *(node->pred_begin()); in collectNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRedundantCopyElimination.cpp96 MachineBasicBlock *PredMBB = *MBB.pred_begin(); in optimizeBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixBrTableDefaults.cpp96 auto *HeaderMBB = *MBB->pred_begin(); in fixBrTableDefault()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCEarlyReturn.cpp159 MachineBasicBlock &PrevMBB = **ReturnMBB.pred_begin(); in processBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiAsmPrinter.cpp221 const MachineBasicBlock *Pred = *MBB->pred_begin(); in isBlockOnlyReachableByFallthrough()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp227 const CFGBlock *pred = *CB->pred_begin(); in isInvalidPath()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp315 edge_iterator pred_begin() const { return Preds.begin(); } in pred_begin() function in __anon0b2926eb0111::BBState
1448 for (BBState::edge_iterator PI(MyStates.pred_begin()), in VisitBottomUp()
1589 BBState::edge_iterator PI(MyStates.pred_begin()), in VisitTopDown()
1608 if (!BB->hasNPredecessors(MyStates.pred_end() - MyStates.pred_begin())) in VisitTopDown()
1702 PredStack.push_back(std::make_pair(&ExitBB, MyStates.pred_begin())); in ComputePostOrders()
1710 PredStack.push_back(std::make_pair(BB, BBStates[BB].pred_begin())); in ComputePostOrders()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZMachineScheduler.cpp44 PredMBB = *MBB->pred_begin(); in getSingleSchedPred()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCopyHoisting.cpp105 Changed |= analyzeCopy(*BB->pred_begin()); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCFG.cpp109 const_pred_iterator I = pred_begin(Dest), E = pred_end(Dest); in isCriticalEdge()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBlockPlacement.cpp84 return findWLSInBlock(*Predecessor->pred_begin()); in findWLS()

1234