retdec
global_vars_sorter.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_LLVMIR2HLL_SUPPORT_GLOBAL_VARS_SORTER_H
8 #define RETDEC_LLVMIR2HLL_SUPPORT_GLOBAL_VARS_SORTER_H
9 
11 
12 namespace retdec {
13 namespace llvmir2hll {
14 
22 public:
24  const GlobalVarDefVector &globalVars);
25 };
26 
27 } // namespace llvmir2hll
28 } // namespace retdec
29 
30 #endif
Sorts global variables according to the given conditions.
Definition: global_vars_sorter.h:21
static GlobalVarDefVector sortByInterdependencies(const GlobalVarDefVector &globalVars)
Sorts the given vector of global variables by their interdependencies.
Definition: global_vars_sorter.cpp:174
A library providing API for working with back-end IR.
std::vector< ShPtr< GlobalVarDef > > GlobalVarDefVector
Vector of global variable definitions.
Definition: types.h:108
Definition: archive_wrapper.h:19
Aliases for several useful types.