retdec
Namespaces
global_vars_sorter.cpp File Reference

Implementation of GlobalVarsSorter. More...

#include <algorithm>
#include <map>
#include "retdec/llvmir2hll/ir/expression.h"
#include "retdec/llvmir2hll/ir/global_var_def.h"
#include "retdec/llvmir2hll/ir/variable.h"
#include "retdec/llvmir2hll/support/debug.h"
#include "retdec/llvmir2hll/support/global_vars_sorter.h"
#include "retdec/llvmir2hll/support/visitors/ordered_all_visitor.h"
#include "retdec/utils/container.h"
#include "retdec/utils/non_copyable.h"

Namespaces

 retdec
 
 retdec::llvmir2hll
 

Detailed Description

Implementation of GlobalVarsSorter.

Variable Documentation

◆ sorter

ShPtr<InterdependencySorter> sorter

◆ usedVarsInLastInit

VarSet usedVarsInLastInit
private

Used variables in the last initializer.

◆ varToUsedVarsMap

std::map<ShPtr<Variable>, VarSet> varToUsedVarsMap
private

Mapping of a variable into the set of variables used in in its initializer.