diff options
author | Dan Gohman <gohman@apple.com> | 2009-04-23 23:13:24 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-04-23 23:13:24 +0000 |
commit | 9478c3f8e57369984256a76f26ae68084766f5ea (patch) | |
tree | f4e27d2c51093f8e1b4d420df0bf51d5f2f12d43 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h | |
parent | 60746a0a83e7574436f1c3a7b0dbb790dd6f32e2 (diff) | |
download | bcm5719-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.h | 1 |
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); |