Mercurial > hg > CbC > CbC_llvm
comparison lib/CodeGen/SpillPlacement.h @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 60c9769439b8 |
children | 1172e4bd9c6f |
comparison
equal
deleted
inserted
replaced
84:f3e34b893a5f | 95:afa8332a0e37 |
---|---|
68 | 68 |
69 public: | 69 public: |
70 static char ID; // Pass identification, replacement for typeid. | 70 static char ID; // Pass identification, replacement for typeid. |
71 | 71 |
72 SpillPlacement() : MachineFunctionPass(ID), nodes(nullptr) {} | 72 SpillPlacement() : MachineFunctionPass(ID), nodes(nullptr) {} |
73 ~SpillPlacement() { releaseMemory(); } | 73 ~SpillPlacement() override { releaseMemory(); } |
74 | 74 |
75 /// BorderConstraint - A basic block has separate constraints for entry and | 75 /// BorderConstraint - A basic block has separate constraints for entry and |
76 /// exit. | 76 /// exit. |
77 enum BorderConstraint { | 77 enum BorderConstraint { |
78 DontCare, ///< Block doesn't care / variable not live. | 78 DontCare, ///< Block doesn't care / variable not live. |