LLVM 20.0.0git
|
#include "Target/SPIRV/SPIRVUtils.h"
Public Member Functions | |
size_t | GetNodeRank (BasicBlock *BB) const |
PartialOrderingVisitor (Function &F) | |
bool | compare (const BasicBlock *LHS, const BasicBlock *RHS) const |
void | partialOrderVisit (BasicBlock &Start, std::function< bool(BasicBlock *)> Op) |
Definition at line 67 of file SPIRVUtils.h.
llvm::PartialOrderingVisitor::PartialOrderingVisitor | ( | Function & | F | ) |
Definition at line 625 of file SPIRVUtils.cpp.
References F, Info, LHS, llvm::DominatorTreeBase< NodeT, IsPostDom >::recalculate(), and RHS.
bool llvm::PartialOrderingVisitor::compare | ( | const BasicBlock * | LHS, |
const BasicBlock * | RHS | ||
) | const |
Definition at line 640 of file SPIRVUtils.cpp.
size_t llvm::PartialOrderingVisitor::GetNodeRank | ( | BasicBlock * | BB | ) | const |
Definition at line 558 of file SPIRVUtils.cpp.
References assert(), llvm::DominatorTreeBase< NodeT, IsPostDom >::dominates(), llvm::LoopInfoBase< BlockT, LoopT >::getLoopFor(), P, and llvm::predecessors().
void llvm::PartialOrderingVisitor::partialOrderVisit | ( | BasicBlock & | Start, |
std::function< bool(BasicBlock *)> | Op | ||
) |
Definition at line 649 of file SPIRVUtils.cpp.
References assert().