PandA-2024.02
|
Step that extends the call graph with the soft-float calls where appropriate. More...
#include "soft_float_cg_ext.hpp"
#include "design_flow_graph.hpp"
#include "design_flow_manager.hpp"
#include "design_flow_step.hpp"
#include "FunctionCallOpt.hpp"
#include "application_manager.hpp"
#include "behavioral_helper.hpp"
#include "call_graph.hpp"
#include "call_graph_manager.hpp"
#include "function_behavior.hpp"
#include "basic_block.hpp"
#include "basic_blocks_graph_constructor.hpp"
#include "op_graph.hpp"
#include "Parameter.hpp"
#include "custom_map.hpp"
#include <algorithm>
#include <deque>
#include <list>
#include <set>
#include <string>
#include "ext_tree_node.hpp"
#include "tree_basic_block.hpp"
#include "tree_helper.hpp"
#include "tree_manager.hpp"
#include "tree_manipulation.hpp"
#include "tree_node.hpp"
#include "tree_node_dup.hpp"
#include "tree_reindex.hpp"
#include "var_pp_functor.hpp"
#include "dbgPrintHelper.hpp"
#include "exceptions.hpp"
#include "math.h"
#include "string_manipulation.hpp"
#include <boost/multiprecision/integer.hpp>
#include <regex>
Go to the source code of this file.
Macros | |
#define | FLOAT_CAST_FU_NAME "__float_cast" |
#define | FP_FORMAT_EXP 1 |
#define | FP_FORMAT_SIG 2 |
#define | FP_FORMAT_BIAS 3 |
#define | FP_FORMAT_RND 4 |
#define | FP_FORMAT_EXC 5 |
#define | FP_FORMAT_SPEC 6 |
#define | FP_FORMAT_SIGN 7 |
Functions | |
static const FloatFormatRef | float32FF (new FloatFormat(8, 23, -127)) |
static const FloatFormatRef | float64FF (new FloatFormat(11, 52, -1023)) |
static std::string | strip_fname (std::string fname, bool *single_prec=nullptr) |
Variables | |
static const std::set< std::string > | supported_libm_calls |
static const std::set< std::string > | supported_libm_calls_inlined = {"copysign", "fabs"} |
static const std::set< std::string > | libm_func |
List of low level implementation libm functions. More... | |
Step that extends the call graph with the soft-float calls where appropriate.
Definition in file soft_float_cg_ext.cpp.
#define FLOAT_CAST_FU_NAME "__float_cast" |
Definition at line 1351 of file soft_float_cg_ext.cpp.
Referenced by soft_float_cg_ext::generate_interface().
#define FP_FORMAT_BIAS 3 |
Definition at line 2796 of file soft_float_cg_ext.cpp.
Referenced by FloatFormat::FromString().
#define FP_FORMAT_EXC 5 |
Definition at line 2798 of file soft_float_cg_ext.cpp.
Referenced by FloatFormat::FromString().
#define FP_FORMAT_EXP 1 |
Definition at line 2794 of file soft_float_cg_ext.cpp.
Referenced by FloatFormat::FromString().
#define FP_FORMAT_RND 4 |
Definition at line 2797 of file soft_float_cg_ext.cpp.
Referenced by FloatFormat::FromString().
#define FP_FORMAT_SIG 2 |
Definition at line 2795 of file soft_float_cg_ext.cpp.
Referenced by FloatFormat::FromString().
#define FP_FORMAT_SIGN 7 |
Definition at line 2800 of file soft_float_cg_ext.cpp.
Referenced by FloatFormat::FromString().
#define FP_FORMAT_SPEC 6 |
Definition at line 2799 of file soft_float_cg_ext.cpp.
Referenced by FloatFormat::FromString().
|
static |
Referenced by soft_float_cg_ext::InternalExec(), soft_float_cg_ext::RecursiveExaminate(), and soft_float_cg_ext::soft_float_cg_ext().
|
static |
Referenced by soft_float_cg_ext::InternalExec(), soft_float_cg_ext::RecursiveExaminate(), and soft_float_cg_ext::soft_float_cg_ext().
|
static |
Definition at line 128 of file soft_float_cg_ext.cpp.
Referenced by soft_float_cg_ext::RecursiveExaminate(), and soft_float_cg_ext::soft_float_cg_ext().
|
static |
List of low level implementation libm functions.
Composite functions are not present since fp format can be safely propagated there.
Definition at line 118 of file soft_float_cg_ext.cpp.
|
static |
Definition at line 108 of file soft_float_cg_ext.cpp.
|
static |
Definition at line 111 of file soft_float_cg_ext.cpp.