summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-10-17 21:16:08 +0000
committerDan Gohman <gohman@apple.com>2008-10-17 21:16:08 +0000
commitd01ddb51eeca94898fd727a8f797038db4dec4d1 (patch)
treecba116f837e10a32e8988bd8cb983bec32cfc993 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
parentfe15bedff4a60707ed8a3de4167fbfab6035ba92 (diff)
downloadbcm5719-llvm-d01ddb51eeca94898fd727a8f797038db4dec4d1.tar.gz
bcm5719-llvm-d01ddb51eeca94898fd727a8f797038db4dec4d1.zip
Factor out the code for mapping LLVM IR condition opcodes to
ISD condition opcodes into helper functions. llvm-svn: 57726
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
index eb9ed3f7cab..e614c3049d8 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h
@@ -405,6 +405,9 @@ public:
void FindMergedConditions(Value *Cond, MachineBasicBlock *TBB,
MachineBasicBlock *FBB, MachineBasicBlock *CurBB,
unsigned Opc);
+ void EmitBranchForMergedCondition(Value *Cond, MachineBasicBlock *TBB,
+ MachineBasicBlock *FBB,
+ MachineBasicBlock *CurBB);
bool ShouldEmitAsBranches(const std::vector<CaseBlock> &Cases);
bool isExportableFromCurrentBlock(Value *V, const BasicBlock *FromBB);
void ExportFromCurrentBlock(Value *V);
OpenPOWER on IntegriCloud