diff options
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGISel.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h index 3ebe515b38..c5aa77a9a5 100644 --- a/include/llvm/CodeGen/SelectionDAGISel.h +++ b/include/llvm/CodeGen/SelectionDAGISel.h @@ -41,14 +41,13 @@ public: SelectionDAG *CurDAG; MachineBasicBlock *BB; AliasAnalysis *AA; - std::vector<SDNode*> TopOrder; - unsigned DAGSize; CollectorMetadata *GCI; bool FastISel; + std::vector<SDNode*> TopOrder; static char ID; explicit SelectionDAGISel(TargetLowering &tli, bool fast = false) : - FunctionPass((intptr_t)&ID), TLI(tli), DAGSize(0), GCI(0), FastISel(fast) {} + FunctionPass((intptr_t)&ID), TLI(tli), GCI(0), FastISel(fast), DAGSize(0) {} TargetLowering &getTargetLowering() { return TLI; } @@ -163,6 +162,10 @@ public: }; protected: + /// DAGSize - Size of DAG being instruction selected. + /// + unsigned DAGSize; + /// SelectInlineAsmMemoryOperands - Calls to this are automatically generated /// by tblgen. Others should not call it. void SelectInlineAsmMemoryOperands(std::vector<SDOperand> &Ops, |