PandA-2024.02
Macros | Functions
Bit_Value_opt.cpp File Reference
#include "Bit_Value_opt.hpp"
#include "Range.hpp"
#include "bit_lattice.hpp"
#include "config_HAVE_FROM_DISCREPANCY_BUILT.hpp"
#include "application_manager.hpp"
#include "behavioral_helper.hpp"
#include "call_graph.hpp"
#include "call_graph_manager.hpp"
#include "function_behavior.hpp"
#include "Discrepancy.hpp"
#include "Parameter.hpp"
#include "design_flow_graph.hpp"
#include "design_flow_manager.hpp"
#include "frontend_flow_step_factory.hpp"
#include <boost/range/adaptor/reversed.hpp>
#include <cmath>
#include <fstream>
#include <string>
#include "dbgPrintHelper.hpp"
#include "ext_tree_node.hpp"
#include "hls_device.hpp"
#include "hls_manager.hpp"
#include "math_function.hpp"
#include "string_manipulation.hpp"
#include "tree_basic_block.hpp"
#include "tree_helper.hpp"
#include "tree_manager.hpp"
#include "tree_manipulation.hpp"
#include "tree_node.hpp"
#include "tree_reindex.hpp"
#include "utility.hpp"
Include dependency graph for Bit_Value_opt.cpp:

Go to the source code of this file.

Macros

#define DEBUG_CALLSITE   (__FILE__ + std::string(":") + STR(__LINE__))
 Autoheader include. More...
 

Functions

static integer_cst_t convert_bitvalue_to_integer_cst (const std::string &bit_values, tree_managerRef TM, unsigned int var_id)
 
static bool is_bit_values_constant (const std::string &bit_values)
 

Detailed Description

Author
Fabrizio Ferrandi fabri.nosp@m.zio..nosp@m.ferra.nosp@m.ndi@.nosp@m.polim.nosp@m.i.it $Revision$ $Date$ Last modified by $Author$

Definition in file Bit_Value_opt.cpp.

Macro Definition Documentation

◆ DEBUG_CALLSITE

#define DEBUG_CALLSITE   (__FILE__ + std::string(":") + STR(__LINE__))

Autoheader include.

HLS/vcd include design_flows includes

Definition at line 93 of file Bit_Value_opt.cpp.

Referenced by Bit_Value_opt::optimize().

Function Documentation

◆ convert_bitvalue_to_integer_cst()

static integer_cst_t convert_bitvalue_to_integer_cst ( const std::string &  bit_values,
tree_managerRef  TM,
unsigned int  var_id 
)
static

in case do sign extension

Definition at line 224 of file Bit_Value_opt.cpp.

References tree_helper::is_int(), and THROW_ASSERT.

Referenced by Bit_Value_opt::optimize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_bit_values_constant()

static bool is_bit_values_constant ( const std::string &  bit_values)
static

Definition at line 247 of file Bit_Value_opt.cpp.

Referenced by Bit_Value_opt::optimize().

Here is the caller graph for this function:

Generated on Mon Feb 12 2024 13:03:18 for PandA-2024.02 by doxygen 1.8.13