aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-02 06:55:04 +0000
committerChris Lattner <sabre@nondot.org>2010-03-02 06:55:04 +0000
commit3ff1e4db7896a8ccec74800d52a926118d025260 (patch)
tree6c2c5e39b4ec85d1f8429ca82f75b37a50089e56 /include
parent0724fbd6e90aa23264fdf6af868f67c508232931 (diff)
downloadexternal_llvm-3ff1e4db7896a8ccec74800d52a926118d025260.zip
external_llvm-3ff1e4db7896a8ccec74800d52a926118d025260.tar.gz
external_llvm-3ff1e4db7896a8ccec74800d52a926118d025260.tar.bz2
factor node morphing out to its own helper method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97558 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAGISel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h
index a72fa59..e9cbb13 100644
--- a/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/include/llvm/CodeGen/SelectionDAGISel.h
@@ -275,6 +275,8 @@ protected:
private:
void DoInstructionSelection();
+ SDNode *MorphNode(SDNode *Node, unsigned TargetOpc, SDVTList VTs,
+ const SDValue *Ops, unsigned NumOps, unsigned EmitNodeInfo);
void SelectAllBasicBlocks(Function &Fn, MachineFunction &MF,
MachineModuleInfo *MMI,