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
commitad0310618a87ee72b74b75b1960603169e9f087d (patch)
tree6c2c5e39b4ec85d1f8429ca82f75b37a50089e56 /include
parent553fb1e9f8d8dbc4a68a41e5ccc00ae6a5e79c82 (diff)
downloadexternal_llvm-ad0310618a87ee72b74b75b1960603169e9f087d.zip
external_llvm-ad0310618a87ee72b74b75b1960603169e9f087d.tar.gz
external_llvm-ad0310618a87ee72b74b75b1960603169e9f087d.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,