Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 1 | //===-- llvm/CodeGen/SelectionDAGISel.h - Common Base Class------*- C++ -*-===// |
Misha Brukman | ea61c35 | 2005-04-21 20:39:54 +0000 | [diff] [blame] | 2 | // |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Chris Lattner | 7ed47a1 | 2007-12-29 19:59:42 +0000 | [diff] [blame] | 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
Misha Brukman | ea61c35 | 2005-04-21 20:39:54 +0000 | [diff] [blame] | 7 | // |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file implements the SelectionDAGISel class, which is used as the common |
| 11 | // base class for SelectionDAG-based instruction selectors. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef LLVM_CODEGEN_SELECTIONDAG_ISEL_H |
| 16 | #define LLVM_CODEGEN_SELECTIONDAG_ISEL_H |
| 17 | |
Dan Gohman | f350b27 | 2008-08-23 02:25:05 +0000 | [diff] [blame] | 18 | #include "llvm/BasicBlock.h" |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 19 | #include "llvm/Pass.h" |
Nate Begeman | f15485a | 2006-03-27 01:32:24 +0000 | [diff] [blame] | 20 | #include "llvm/Constant.h" |
Evan Cheng | fe8dc2e | 2006-08-07 22:16:08 +0000 | [diff] [blame] | 21 | #include "llvm/CodeGen/SelectionDAG.h" |
Dan Gohman | ad2afc2 | 2009-07-31 18:16:33 +0000 | [diff] [blame] | 22 | #include "llvm/CodeGen/MachineFunctionPass.h" |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 23 | |
| 24 | namespace llvm { |
Dan Gohman | 3df24e6 | 2008-09-03 23:12:08 +0000 | [diff] [blame] | 25 | class FastISel; |
Dan Gohman | 2048b85 | 2009-11-23 18:04:58 +0000 | [diff] [blame] | 26 | class SelectionDAGBuilder; |
Dan Gohman | 475871a | 2008-07-27 21:46:04 +0000 | [diff] [blame] | 27 | class SDValue; |
Chris Lattner | 84bc542 | 2007-12-31 04:13:23 +0000 | [diff] [blame] | 28 | class MachineRegisterInfo; |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 29 | class MachineBasicBlock; |
| 30 | class MachineFunction; |
| 31 | class MachineInstr; |
Dan Gohman | d57dd5f | 2008-09-23 21:53:34 +0000 | [diff] [blame] | 32 | class MachineModuleInfo; |
Devang Patel | 83489bb | 2009-01-13 00:35:13 +0000 | [diff] [blame] | 33 | class DwarfWriter; |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 34 | class TargetLowering; |
Dan Gohman | dd5b58a | 2008-10-14 23:54:11 +0000 | [diff] [blame] | 35 | class TargetInstrInfo; |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 36 | class FunctionLoweringInfo; |
Dan Gohman | fc54c55 | 2009-01-15 22:18:12 +0000 | [diff] [blame] | 37 | class ScheduleHazardRecognizer; |
Gordon Henriksen | 5eca075 | 2008-08-17 18:44:35 +0000 | [diff] [blame] | 38 | class GCFunctionInfo; |
Dan Gohman | 47ac0f0 | 2009-02-11 04:27:20 +0000 | [diff] [blame] | 39 | class ScheduleDAGSDNodes; |
Anton Korobeynikov | d0b82b3 | 2007-03-07 16:25:09 +0000 | [diff] [blame] | 40 | |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 41 | /// SelectionDAGISel - This is the common base class used for SelectionDAG-based |
| 42 | /// pattern-matching instruction selectors. |
Dan Gohman | ad2afc2 | 2009-07-31 18:16:33 +0000 | [diff] [blame] | 43 | class SelectionDAGISel : public MachineFunctionPass { |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 44 | public: |
Dan Gohman | 79ce276 | 2009-01-15 19:20:50 +0000 | [diff] [blame] | 45 | const TargetMachine &TM; |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 46 | TargetLowering &TLI; |
Dan Gohman | 7c3234c | 2008-08-27 23:52:12 +0000 | [diff] [blame] | 47 | FunctionLoweringInfo *FuncInfo; |
Dan Gohman | 79ce276 | 2009-01-15 19:20:50 +0000 | [diff] [blame] | 48 | MachineFunction *MF; |
| 49 | MachineRegisterInfo *RegInfo; |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 50 | SelectionDAG *CurDAG; |
Dan Gohman | 2048b85 | 2009-11-23 18:04:58 +0000 | [diff] [blame] | 51 | SelectionDAGBuilder *SDB; |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 52 | MachineBasicBlock *BB; |
Dan Gohman | 5f43f92 | 2007-08-27 16:26:13 +0000 | [diff] [blame] | 53 | AliasAnalysis *AA; |
Gordon Henriksen | 5eca075 | 2008-08-17 18:44:35 +0000 | [diff] [blame] | 54 | GCFunctionInfo *GFI; |
Bill Wendling | 98a366d | 2009-04-29 23:29:43 +0000 | [diff] [blame] | 55 | CodeGenOpt::Level OptLevel; |
Devang Patel | 1997473 | 2007-05-03 01:11:54 +0000 | [diff] [blame] | 56 | static char ID; |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 57 | |
Bill Wendling | 98a366d | 2009-04-29 23:29:43 +0000 | [diff] [blame] | 58 | explicit SelectionDAGISel(TargetMachine &tm, |
| 59 | CodeGenOpt::Level OL = CodeGenOpt::Default); |
Dan Gohman | 7c3234c | 2008-08-27 23:52:12 +0000 | [diff] [blame] | 60 | virtual ~SelectionDAGISel(); |
Jim Laskey | 9373beb | 2006-08-01 19:14:14 +0000 | [diff] [blame] | 61 | |
| 62 | TargetLowering &getTargetLowering() { return TLI; } |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 63 | |
Chris Lattner | c809b68 | 2005-08-17 06:46:50 +0000 | [diff] [blame] | 64 | virtual void getAnalysisUsage(AnalysisUsage &AU) const; |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 65 | |
Dan Gohman | ad2afc2 | 2009-07-31 18:16:33 +0000 | [diff] [blame] | 66 | virtual bool runOnMachineFunction(MachineFunction &MF); |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 67 | |
Owen Anderson | e50ed30 | 2009-08-10 22:56:29 +0000 | [diff] [blame] | 68 | unsigned MakeReg(EVT VT); |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 69 | |
Chris Lattner | cc13b76 | 2005-05-13 07:23:03 +0000 | [diff] [blame] | 70 | virtual void EmitFunctionEntryCode(Function &Fn, MachineFunction &MF) {} |
Dan Gohman | f350b27 | 2008-08-23 02:25:05 +0000 | [diff] [blame] | 71 | virtual void InstructionSelect() = 0; |
Evan Cheng | db8d56b | 2008-06-30 20:45:06 +0000 | [diff] [blame] | 72 | |
Dan Gohman | 815ffa2 | 2008-08-21 16:06:51 +0000 | [diff] [blame] | 73 | void SelectRootInit() { |
Dan Gohman | f06c835 | 2008-09-30 18:30:35 +0000 | [diff] [blame] | 74 | DAGSize = CurDAG->AssignTopologicalOrder(); |
Evan Cheng | fe8dc2e | 2006-08-07 22:16:08 +0000 | [diff] [blame] | 75 | } |
Misha Brukman | ea61c35 | 2005-04-21 20:39:54 +0000 | [diff] [blame] | 76 | |
Chris Lattner | 4c12e71 | 2006-02-24 02:12:52 +0000 | [diff] [blame] | 77 | /// SelectInlineAsmMemoryOperand - Select the specified address as a target |
| 78 | /// addressing mode, according to the specified constraint code. If this does |
| 79 | /// not match or is not implemented, return true. The resultant operands |
| 80 | /// (which will appear in the machine instruction) should be added to the |
| 81 | /// OutOps vector. |
Dan Gohman | 475871a | 2008-07-27 21:46:04 +0000 | [diff] [blame] | 82 | virtual bool SelectInlineAsmMemoryOperand(const SDValue &Op, |
Chris Lattner | 4c12e71 | 2006-02-24 02:12:52 +0000 | [diff] [blame] | 83 | char ConstraintCode, |
Dan Gohman | f350b27 | 2008-08-23 02:25:05 +0000 | [diff] [blame] | 84 | std::vector<SDValue> &OutOps) { |
Chris Lattner | 4c12e71 | 2006-02-24 02:12:52 +0000 | [diff] [blame] | 85 | return true; |
| 86 | } |
Evan Cheng | b2c121a | 2006-07-27 06:36:49 +0000 | [diff] [blame] | 87 | |
Evan Cheng | 014bf21 | 2010-02-15 19:41:07 +0000 | [diff] [blame] | 88 | /// IsProfitableToFold - Returns true if it's profitable to fold the specific |
| 89 | /// operand node N of U during instruction selection that starts at Root. |
| 90 | virtual bool IsProfitableToFold(SDValue N, SDNode *U, SDNode *Root) const; |
| 91 | |
| 92 | /// IsLegalToFold - Returns true if the specific operand node N of |
| 93 | /// U can be folded during instruction selection that starts at Root. |
| 94 | virtual bool IsLegalToFold(SDValue N, SDNode *U, SDNode *Root) const; |
Anton Korobeynikov | c1c6ef8 | 2009-05-08 18:51:58 +0000 | [diff] [blame] | 95 | |
Jim Laskey | 9ff542f | 2006-08-01 18:29:48 +0000 | [diff] [blame] | 96 | /// CreateTargetHazardRecognizer - Return a newly allocated hazard recognizer |
| 97 | /// to use for this target when scheduling the DAG. |
Dan Gohman | fc54c55 | 2009-01-15 22:18:12 +0000 | [diff] [blame] | 98 | virtual ScheduleHazardRecognizer *CreateTargetHazardRecognizer(); |
Jim Laskey | 9ff542f | 2006-08-01 18:29:48 +0000 | [diff] [blame] | 99 | |
Chris Lattner | aa6d708 | 2010-02-28 21:58:42 +0000 | [diff] [blame] | 100 | |
| 101 | // Opcodes used by the DAG state machine: |
| 102 | enum BuiltinOpcodes { |
| 103 | OPC_Scope, |
| 104 | OPC_RecordNode, |
| 105 | OPC_RecordChild0, OPC_RecordChild1, OPC_RecordChild2, OPC_RecordChild3, |
| 106 | OPC_RecordChild4, OPC_RecordChild5, OPC_RecordChild6, OPC_RecordChild7, |
| 107 | OPC_RecordMemRef, |
| 108 | OPC_CaptureFlagInput, |
| 109 | OPC_MoveChild, |
| 110 | OPC_MoveParent, |
| 111 | OPC_CheckSame, |
| 112 | OPC_CheckPatternPredicate, |
| 113 | OPC_CheckPredicate, |
| 114 | OPC_CheckOpcode, |
| 115 | OPC_CheckMultiOpcode, |
| 116 | OPC_CheckType, |
| 117 | OPC_CheckChild0Type, OPC_CheckChild1Type, OPC_CheckChild2Type, |
| 118 | OPC_CheckChild3Type, OPC_CheckChild4Type, OPC_CheckChild5Type, |
| 119 | OPC_CheckChild6Type, OPC_CheckChild7Type, |
Chris Lattner | 5310654 | 2010-02-28 22:14:32 +0000 | [diff] [blame] | 120 | OPC_CheckInteger, |
Chris Lattner | aa6d708 | 2010-02-28 21:58:42 +0000 | [diff] [blame] | 121 | OPC_CheckCondCode, |
| 122 | OPC_CheckValueType, |
| 123 | OPC_CheckComplexPat, |
Chris Lattner | 5310654 | 2010-02-28 22:14:32 +0000 | [diff] [blame] | 124 | OPC_CheckAndImm, OPC_CheckOrImm, |
Chris Lattner | aa6d708 | 2010-02-28 21:58:42 +0000 | [diff] [blame] | 125 | OPC_CheckFoldableChainNode, |
| 126 | OPC_CheckChainCompatible, |
| 127 | |
Chris Lattner | 5310654 | 2010-02-28 22:14:32 +0000 | [diff] [blame] | 128 | OPC_EmitInteger, |
Chris Lattner | aa6d708 | 2010-02-28 21:58:42 +0000 | [diff] [blame] | 129 | OPC_EmitRegister, |
| 130 | OPC_EmitConvertToTarget, |
| 131 | OPC_EmitMergeInputChains, |
| 132 | OPC_EmitCopyToReg, |
| 133 | OPC_EmitNodeXForm, |
| 134 | OPC_EmitNode, |
| 135 | OPC_MorphNodeTo, |
| 136 | OPC_MarkFlagResults, |
| 137 | OPC_CompleteMatch |
| 138 | }; |
| 139 | |
| 140 | enum { |
| 141 | OPFL_None = 0, // Node has no chain or flag input and isn't variadic. |
| 142 | OPFL_Chain = 1, // Node has a chain input. |
| 143 | OPFL_FlagInput = 2, // Node has a flag input. |
| 144 | OPFL_FlagOutput = 4, // Node has a flag output. |
| 145 | OPFL_MemRefs = 8, // Node gets accumulated MemRefs. |
| 146 | OPFL_Variadic0 = 1<<4, // Node is variadic, root has 0 fixed inputs. |
| 147 | OPFL_Variadic1 = 2<<4, // Node is variadic, root has 1 fixed inputs. |
| 148 | OPFL_Variadic2 = 3<<4, // Node is variadic, root has 2 fixed inputs. |
| 149 | OPFL_Variadic3 = 4<<4, // Node is variadic, root has 3 fixed inputs. |
| 150 | OPFL_Variadic4 = 5<<4, // Node is variadic, root has 4 fixed inputs. |
| 151 | OPFL_Variadic5 = 6<<4, // Node is variadic, root has 5 fixed inputs. |
| 152 | OPFL_Variadic6 = 7<<4, // Node is variadic, root has 6 fixed inputs. |
| 153 | |
| 154 | OPFL_VariadicInfo = OPFL_Variadic6 |
| 155 | }; |
| 156 | |
Chris Lattner | 2a49d57 | 2010-02-28 22:37:22 +0000 | [diff] [blame^] | 157 | /// getNumFixedFromVariadicInfo - Transform an EmitNode flags word into the |
| 158 | /// number of fixed arity values that should be skipped when copying from the |
| 159 | /// root. |
| 160 | static inline int getNumFixedFromVariadicInfo(unsigned Flags) { |
| 161 | return ((Flags&OPFL_VariadicInfo) >> 4)-1; |
| 162 | } |
| 163 | |
| 164 | |
Chris Lattner | 66bac3c | 2005-08-18 18:44:33 +0000 | [diff] [blame] | 165 | protected: |
Evan Cheng | e2c0a4f | 2008-07-01 18:49:06 +0000 | [diff] [blame] | 166 | /// DAGSize - Size of DAG being instruction selected. |
| 167 | /// |
| 168 | unsigned DAGSize; |
| 169 | |
Chris Lattner | 4c12e71 | 2006-02-24 02:12:52 +0000 | [diff] [blame] | 170 | /// SelectInlineAsmMemoryOperands - Calls to this are automatically generated |
| 171 | /// by tblgen. Others should not call it. |
Dan Gohman | f350b27 | 2008-08-23 02:25:05 +0000 | [diff] [blame] | 172 | void SelectInlineAsmMemoryOperands(std::vector<SDValue> &Ops); |
Evan Cheng | b2c121a | 2006-07-27 06:36:49 +0000 | [diff] [blame] | 173 | |
Chris Lattner | 7554806 | 2006-10-11 03:58:02 +0000 | [diff] [blame] | 174 | // Calls to these predicates are generated by tblgen. |
Dan Gohman | 475871a | 2008-07-27 21:46:04 +0000 | [diff] [blame] | 175 | bool CheckAndMask(SDValue LHS, ConstantSDNode *RHS, |
Dan Gohman | dc9b3d0 | 2007-07-24 23:00:27 +0000 | [diff] [blame] | 176 | int64_t DesiredMaskS) const; |
Dan Gohman | 475871a | 2008-07-27 21:46:04 +0000 | [diff] [blame] | 177 | bool CheckOrMask(SDValue LHS, ConstantSDNode *RHS, |
Dan Gohman | dc9b3d0 | 2007-07-24 23:00:27 +0000 | [diff] [blame] | 178 | int64_t DesiredMaskS) const; |
Chris Lattner | 7554806 | 2006-10-11 03:58:02 +0000 | [diff] [blame] | 179 | |
Chris Lattner | 050a03d | 2010-02-16 07:21:10 +0000 | [diff] [blame] | 180 | |
| 181 | /// CheckPatternPredicate - This function is generated by tblgen in the |
| 182 | /// target. It runs the specified pattern predicate and returns true if it |
| 183 | /// succeeds or false if it fails. The number is a private implementation |
| 184 | /// detail to the code tblgen produces. |
| 185 | virtual bool CheckPatternPredicate(unsigned PredNo) const { |
| 186 | assert(0 && "Tblgen should generate the implementation of this!"); |
| 187 | return 0; |
| 188 | } |
| 189 | |
Dan Gohman | fb76fe0 | 2010-02-22 04:10:52 +0000 | [diff] [blame] | 190 | /// CheckNodePredicate - This function is generated by tblgen in the target. |
| 191 | /// It runs node predicate number PredNo and returns true if it succeeds or |
Chris Lattner | 050a03d | 2010-02-16 07:21:10 +0000 | [diff] [blame] | 192 | /// false if it fails. The number is a private implementation |
| 193 | /// detail to the code tblgen produces. |
| 194 | virtual bool CheckNodePredicate(SDNode *N, unsigned PredNo) const { |
| 195 | assert(0 && "Tblgen should generate the implementation of this!"); |
| 196 | return 0; |
| 197 | } |
| 198 | |
Chris Lattner | bd12fe8 | 2010-02-17 00:41:34 +0000 | [diff] [blame] | 199 | virtual bool CheckComplexPattern(SDNode *Root, SDValue N, unsigned PatternNo, |
| 200 | SmallVectorImpl<SDValue> &Result) { |
| 201 | assert(0 && "Tblgen should generate the implementation of this!"); |
| 202 | return false; |
| 203 | } |
| 204 | |
Chris Lattner | beff6a3 | 2010-02-21 03:15:11 +0000 | [diff] [blame] | 205 | virtual SDValue RunSDNodeXForm(SDValue V, unsigned XFormNo) { |
| 206 | assert(0 && "Tblgen shoudl generate this!"); |
| 207 | return SDValue(); |
| 208 | } |
| 209 | |
| 210 | |
Dan Gohman | e1f188f | 2009-10-29 22:30:23 +0000 | [diff] [blame] | 211 | // Calls to these functions are generated by tblgen. |
Dan Gohman | eeb3a00 | 2010-01-05 01:24:18 +0000 | [diff] [blame] | 212 | SDNode *Select_INLINEASM(SDNode *N); |
| 213 | SDNode *Select_UNDEF(SDNode *N); |
| 214 | SDNode *Select_EH_LABEL(SDNode *N); |
Chris Lattner | 2a49d57 | 2010-02-28 22:37:22 +0000 | [diff] [blame^] | 215 | |
| 216 | SDNode *SelectCodeCommon(SDNode *NodeToMatch, |
| 217 | const unsigned char *MatcherTable, |
| 218 | unsigned TableSize); |
Dan Gohman | eeb3a00 | 2010-01-05 01:24:18 +0000 | [diff] [blame] | 219 | void CannotYetSelect(SDNode *N); |
| 220 | void CannotYetSelectIntrinsic(SDNode *N); |
Dan Gohman | e1f188f | 2009-10-29 22:30:23 +0000 | [diff] [blame] | 221 | |
Chris Lattner | 80d8a93 | 2005-01-17 17:14:43 +0000 | [diff] [blame] | 222 | private: |
Dan Gohman | d57dd5f | 2008-09-23 21:53:34 +0000 | [diff] [blame] | 223 | void SelectAllBasicBlocks(Function &Fn, MachineFunction &MF, |
Dan Gohman | dd5b58a | 2008-10-14 23:54:11 +0000 | [diff] [blame] | 224 | MachineModuleInfo *MMI, |
Devang Patel | 83489bb | 2009-01-13 00:35:13 +0000 | [diff] [blame] | 225 | DwarfWriter *DW, |
Dan Gohman | dd5b58a | 2008-10-14 23:54:11 +0000 | [diff] [blame] | 226 | const TargetInstrInfo &TII); |
Dan Gohman | 7c3234c | 2008-08-27 23:52:12 +0000 | [diff] [blame] | 227 | void FinishBasicBlock(); |
Misha Brukman | ea61c35 | 2005-04-21 20:39:54 +0000 | [diff] [blame] | 228 | |
Dan Gohman | f350b27 | 2008-08-23 02:25:05 +0000 | [diff] [blame] | 229 | void SelectBasicBlock(BasicBlock *LLVMBB, |
| 230 | BasicBlock::iterator Begin, |
Dan Gohman | b4afb13 | 2009-11-20 02:51:26 +0000 | [diff] [blame] | 231 | BasicBlock::iterator End, |
| 232 | bool &HadTailCall); |
Dan Gohman | f350b27 | 2008-08-23 02:25:05 +0000 | [diff] [blame] | 233 | void CodeGenAndEmitDAG(); |
Dan Gohman | 7c3234c | 2008-08-27 23:52:12 +0000 | [diff] [blame] | 234 | void LowerArguments(BasicBlock *BB); |
Chris Lattner | ead0d88 | 2008-06-17 06:09:18 +0000 | [diff] [blame] | 235 | |
Evan Cheng | d40d03e | 2010-01-06 19:38:29 +0000 | [diff] [blame] | 236 | void ShrinkDemandedOps(); |
Dan Gohman | f350b27 | 2008-08-23 02:25:05 +0000 | [diff] [blame] | 237 | void ComputeLiveOutVRegInfo(); |
| 238 | |
Dan Gohman | 7c3234c | 2008-08-27 23:52:12 +0000 | [diff] [blame] | 239 | void HandlePHINodesInSuccessorBlocks(BasicBlock *LLVMBB); |
Nate Begeman | f15485a | 2006-03-27 01:32:24 +0000 | [diff] [blame] | 240 | |
Dan Gohman | 3df24e6 | 2008-09-03 23:12:08 +0000 | [diff] [blame] | 241 | bool HandlePHINodesInSuccessorBlocksFast(BasicBlock *LLVMBB, FastISel *F); |
| 242 | |
Dan Gohman | 0a3776d | 2009-02-06 18:26:51 +0000 | [diff] [blame] | 243 | /// Create the scheduler. If a specific scheduler was specified |
| 244 | /// via the SchedulerRegistry, use it, otherwise select the |
| 245 | /// one preferred by the target. |
| 246 | /// |
Dan Gohman | 47ac0f0 | 2009-02-11 04:27:20 +0000 | [diff] [blame] | 247 | ScheduleDAGSDNodes *CreateScheduler(); |
Chris Lattner | cc524ca | 2005-01-07 07:46:03 +0000 | [diff] [blame] | 248 | }; |
| 249 | |
| 250 | } |
| 251 | |
| 252 | #endif /* LLVM_CODEGEN_SELECTIONDAG_ISEL_H */ |