summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2015-03-19 20:41:48 +0000
committerHans Wennborg <hans@hanshq.net>2015-03-19 20:41:48 +0000
commitb4db1420c2637b07d24b9a651b41f0f572966cc8 (patch)
treea455978765dc961f5b3d16775480bfb35ecb8e91 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
parent02fd29452cc4cbf7bbdf6b90e5b97f1a43289be5 (diff)
downloadbcm5719-llvm-b4db1420c2637b07d24b9a651b41f0f572966cc8.tar.gz
bcm5719-llvm-b4db1420c2637b07d24b9a651b41f0f572966cc8.zip
Switch lowering: extract NextBlock function. NFC.
llvm-svn: 232759
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
index 2d14476e006..109d83d8a74 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
@@ -832,6 +832,9 @@ private:
bool EmitFuncArgumentDbgValue(const Value *V, MDNode *Variable, MDNode *Expr,
int64_t Offset, bool IsIndirect,
const SDValue &N);
+
+ /// Return the next block after MBB, or nullptr if there is none.
+ MachineBasicBlock *NextBlock(MachineBasicBlock *MBB);
};
} // end namespace llvm
OpenPOWER on IntegriCloud