aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-30 17:36:47 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-30 17:36:47 +0000
commitfee94ca15bc257e7dcaa5fc137a484bead1e866b (patch)
tree49a81bef43b891e794a47c2e01c7d1a99f0be277 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent088e37c77aafaec5ead8fbe7ebf918265e6b86f2 (diff)
downloadllvm-fee94ca15bc257e7dcaa5fc137a484bead1e866b.zip
llvm-fee94ca15bc257e7dcaa5fc137a484bead1e866b.tar.gz
llvm-fee94ca15bc257e7dcaa5fc137a484bead1e866b.tar.bz2
Add MachineBasicBlock::isPredecessor().
A->isPredecessor(B) is the same as B->isSuccessor(A), but it can tolerate a B that is null or dangling. This shouldn't happen normally, but it it useful for verification code. llvm-svn: 160968
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions