diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2008-07-01 18:49:06 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2008-07-01 18:49:06 +0000 |
| commit | 220dfe8c446d8c8937b8f260b43edd47fea76540 (patch) | |
| tree | 6dd003cbdb4ec9e8de257e666f84b9b6f413de51 /include | |
| parent | 6ffb6df192eb6f9591e164e707f3526214ac2ab1 (diff) | |
| download | external_llvm-220dfe8c446d8c8937b8f260b43edd47fea76540.zip external_llvm-220dfe8c446d8c8937b8f260b43edd47fea76540.tar.gz external_llvm-220dfe8c446d8c8937b8f260b43edd47fea76540.tar.bz2 | |
DAGSize should not be public.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
| -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 3ebe515..c5aa77a 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, |
