diff options
author | Dan Gohman <gohman@apple.com> | 2009-10-30 01:27:03 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-10-30 01:27:03 +0000 |
commit | 8c2b52552c90f39e4b2fed43e309e599e742b6ac (patch) | |
tree | a5ff3733e75bbd69ba7b7527681480ade83e4a27 /include/llvm/CodeGen/SelectionDAG.h | |
parent | c24096559dad926ea3554782fd76240f5de9fe7d (diff) |
Initial target-independent CodeGen support for BlockAddresses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85556 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index e0198ef2e3..8400e86e7e 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -326,6 +326,8 @@ public: unsigned Line, unsigned Col, MDNode *CU); SDValue getLabel(unsigned Opcode, DebugLoc dl, SDValue Root, unsigned LabelID); + SDValue getBlockAddress(BlockAddress *BA, DebugLoc dl, + bool isTarget = false); SDValue getCopyToReg(SDValue Chain, DebugLoc dl, unsigned Reg, SDValue N) { return getNode(ISD::CopyToReg, dl, MVT::Other, Chain, |