Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DCFG.h111 inline pred_iterator pred_begin(BasicBlock *BB) { return pred_iterator(BB); } in pred_begin() function
112 inline const_pred_iterator pred_begin(const BasicBlock *BB) { in pred_begin() function
120 return pred_begin(BB) == pred_end(BB); in pred_empty()
125 return std::distance(pred_begin(BB), pred_end(BB)); in pred_size()
128 return pred_range(pred_begin(BB), pred_end(BB)); in predecessors()
131 return const_pred_range(pred_begin(BB), pred_end(BB)); in predecessors()
340 static ChildIteratorType child_begin(NodeRef N) { return pred_begin(N); }
354 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/include/llvm/CodeGen/
H A DMachineBasicBlock.h427 pred_iterator pred_begin() { return Predecessors.begin(); }
428 const_pred_iterator pred_begin() const { return Predecessors.begin(); }
461 return make_range(pred_begin(), pred_end());
464 return make_range(pred_begin(), pred_end());
1388 static ChildIteratorType child_begin(NodeRef N) { return N->pred_begin(); }
1408 static ChildIteratorType child_begin(NodeRef N) { return N->pred_begin(); }
1428 inline auto pred_begin(const MachineBasicBlock *BB) { return BB->pred_begin(); }
/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 DMachineLateInstrsCleanup.cpp210 MachineBasicBlock *FirstPred = *MBB->pred_begin(); in processBlock()
H A DShrinkWrap.cpp454 Worklist.append(CleanBB->pred_begin(), CleanBB->pred_end()); in isSaveReachableThroughClean()
652 NewSave = FindIDom<>(**NewSave->pred_begin(), NewSave->predecessors(), *MDT, in postShrinkWrapping()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDAGDeltaAlgorithm.cpp79 pred_iterator_ty pred_begin(change_ty Node) { in pred_begin() function in __anoncf29fe990111::DAGDeltaAlgorithmImpl
202 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/clang/lib/Analysis/
H A DCFGReachabilityAnalysis.cpp69 for (CFGBlock::const_pred_iterator i = block->pred_begin(), in mapReachability()
H A DReachableCode.cpp436 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()
H A DConsumed.cpp94 if (Block->pred_size() == 1 && *Block->pred_begin()) in getLastStmtLoc()
95 return getLastStmtLoc(*Block->pred_begin()); in getLastStmtLoc()
1002 for (CFGBlock::const_pred_iterator PI = TargetBlock->pred_begin(), in allBackEdgesVisited()
1074 for (CFGBlock::const_pred_iterator PI = Block->pred_begin(), in isBackEdgeTarget()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h972 pred_iterator pred_begin() { return Preds.begin(); } in pred_begin() function
974 const_pred_iterator pred_begin() const { return Preds.begin(); } in pred_begin() function
983 return pred_range(pred_begin(), pred_end()); in preds()
987 return pred_const_range(pred_begin(), pred_end()); in preds()
1067 return filtered_pred_iterator(pred_begin(), pred_end(), this, f); in filtered_pred_start_end()
1514 static ChildIteratorType child_begin(NodeRef N) { return N->pred_begin(); }
1526 static ChildIteratorType child_begin(NodeRef N) { return N->pred_begin(); }
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DBasicBlock.cpp438 const_pred_iterator PI = pred_begin(this), E = pred_end(this); in getSinglePredecessor()
446 const_pred_iterator PI = pred_begin(this), E = pred_end(this); in getUniquePredecessor()
460 return hasNItems(pred_begin(this), pred_end(this), N); in hasNPredecessors()
464 return hasNItemsOrMore(pred_begin(this), pred_end(this), N); in hasNPredecessorsOrMore()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RedundantCopyElimination.cpp150 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in knownRegValInBlock()
281 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in optimizeBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRedundantCopyElimination.cpp92 MachineBasicBlock *PredMBB = *MBB.pred_begin(); in optimizeBlock()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp89 const ExplodedNode *pred = *(node->pred_begin()); in shouldCollect()
157 ExplodedNode *pred = *(node->pred_begin()); in collectNode()
/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.cpp148 MachineBasicBlock &PrevMBB = **ReturnMBB.pred_begin(); in processBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiAsmPrinter.cpp219 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.cpp314 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.cpp98 Changed |= analyzeCopy(*BB->pred_begin()); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBlockPlacement.cpp84 return findWLSInBlock(*Predecessor->pred_begin()); in findWLS()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculateAnalyses.cpp165 const_pred_iterator PIt = pred_begin(AtBB), EIt = pred_end(AtBB); in traverseToEntryBlock()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCFG.cpp110 const_pred_iterator I = pred_begin(Dest), E = pred_end(Dest); in isCriticalEdge()

1234