diff options
Diffstat (limited to 'llvm/lib/IR/Dominators.cpp')
-rw-r--r-- | llvm/lib/IR/Dominators.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/lib/IR/Dominators.cpp b/llvm/lib/IR/Dominators.cpp index 8979ca37103..d8971e05f47 100644 --- a/llvm/lib/IR/Dominators.cpp +++ b/llvm/lib/IR/Dominators.cpp @@ -381,7 +381,7 @@ void DominatorTreeWrapperPass::print(raw_ostream &OS, const Module *) const { // //===----------------------------------------------------------------------===// -/// \brief Queues multiple updates and discards duplicates. +/// Queues multiple updates and discards duplicates. void DeferredDominance::applyUpdates( ArrayRef<DominatorTree::UpdateType> Updates) { SmallVector<DominatorTree::UpdateType, 8> Seen; @@ -394,7 +394,7 @@ void DeferredDominance::applyUpdates( } } -/// \brief Helper method for a single edge insertion. It's almost always better +/// Helper method for a single edge insertion. It's almost always better /// to batch updates and call applyUpdates to quickly remove duplicate edges. /// This is best used when there is only a single insertion needed to update /// Dominators. @@ -402,7 +402,7 @@ void DeferredDominance::insertEdge(BasicBlock *From, BasicBlock *To) { applyUpdate(DominatorTree::Insert, From, To); } -/// \brief Helper method for a single edge deletion. It's almost always better +/// Helper method for a single edge deletion. It's almost always better /// to batch updates and call applyUpdates to quickly remove duplicate edges. /// This is best used when there is only a single deletion needed to update /// Dominators. @@ -410,7 +410,7 @@ void DeferredDominance::deleteEdge(BasicBlock *From, BasicBlock *To) { applyUpdate(DominatorTree::Delete, From, To); } -/// \brief Delays the deletion of a basic block until a flush() event. +/// Delays the deletion of a basic block until a flush() event. void DeferredDominance::deleteBB(BasicBlock *DelBB) { assert(DelBB && "Invalid push_back of nullptr DelBB."); assert(pred_empty(DelBB) && "DelBB has one or more predecessors."); @@ -428,17 +428,17 @@ void DeferredDominance::deleteBB(BasicBlock *DelBB) { DeletedBBs.insert(DelBB); } -/// \brief Returns true if DelBB is awaiting deletion at a flush() event. +/// Returns true if DelBB is awaiting deletion at a flush() event. bool DeferredDominance::pendingDeletedBB(BasicBlock *DelBB) { if (DeletedBBs.empty()) return false; return DeletedBBs.count(DelBB) != 0; } -/// \brief Returns true if pending DT updates are queued for a flush() event. +/// Returns true if pending DT updates are queued for a flush() event. bool DeferredDominance::pending() { return !PendUpdates.empty(); } -/// \brief Flushes all pending updates and block deletions. Returns a +/// Flushes all pending updates and block deletions. Returns a /// correct DominatorTree reference to be used by the caller for analysis. DominatorTree &DeferredDominance::flush() { // Updates to DT must happen before blocks are deleted below. Otherwise the @@ -451,7 +451,7 @@ DominatorTree &DeferredDominance::flush() { return DT; } -/// \brief Drops all internal state and forces a (slow) recalculation of the +/// Drops all internal state and forces a (slow) recalculation of the /// DominatorTree based on the current state of the LLVM IR in F. This should /// only be used in corner cases such as the Entry block of F being deleted. void DeferredDominance::recalculate(Function &F) { @@ -464,7 +464,7 @@ void DeferredDominance::recalculate(Function &F) { } } -/// \brief Debug method to help view the state of pending updates. +/// Debug method to help view the state of pending updates. #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) LLVM_DUMP_METHOD void DeferredDominance::dump() const { raw_ostream &OS = llvm::dbgs(); |