summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-04-23 23:13:24 +0000
committerDan Gohman <gohman@apple.com>2009-04-23 23:13:24 +0000
commit9478c3f8e57369984256a76f26ae68084766f5ea (patch)
treef4e27d2c51093f8e1b4d420df0bf51d5f2f12d43 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
parent60746a0a83e7574436f1c3a7b0dbb790dd6f32e2 (diff)
downloadbcm5719-llvm-9478c3f8e57369984256a76f26ae68084766f5ea.tar.gz
bcm5719-llvm-9478c3f8e57369984256a76f26ae68084766f5ea.zip
Factor out a bit of code that appears in several places into a
utility function. llvm-svn: 69937
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
index 7a76c5f83d2..ecac1ae0a2f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
@@ -422,6 +422,7 @@ public:
MachineBasicBlock *CurBB);
bool ShouldEmitAsBranches(const std::vector<CaseBlock> &Cases);
bool isExportableFromCurrentBlock(Value *V, const BasicBlock *FromBB);
+ void CopyToExportRegsIfNeeded(Value *V);
void ExportFromCurrentBlock(Value *V);
void LowerCallTo(CallSite CS, SDValue Callee, bool IsTailCall,
MachineBasicBlock *LandingPad = NULL);
OpenPOWER on IntegriCloud