1 /* -*- mesa-c++ -*- 2 * Copyright 2022 Collabora LTD 3 * Author: Gert Wollny <[email protected]> 4 * SPDX-License-Identifier: MIT 5 */ 6 7 #ifndef LIFERANGEEVALUATOR_H 8 #define LIFERANGEEVALUATOR_H 9 10 #include "sfn_valuefactory.h" 11 12 #include <cassert> 13 #include <map> 14 15 namespace r600 { 16 17 class Shader; 18 19 class LiveRangeEvaluator { 20 public: 21 LiveRangeEvaluator(); 22 23 LiveRangeMap run(Shader& sh); 24 }; 25 26 } // namespace r600 27 28 #endif // LIFERANGEEVALUATOR_H 29