PandA-2024.02
Macros | Variables
dbgPrintHelper.hpp File Reference

File containing functions and utilities to support the printing of debug messagges. More...

#include <iostream>
#include <string>
Include dependency graph for dbgPrintHelper.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NOUTPUT   0
 
#define PRINT_DBG_MEX(dbgLevel, curDbgLevel, mex)   (((dbgLevel) <= (curDbgLevel)) ? std::cerr << mex << std::endl : std::cerr)
 We are producing a debug version of the program, so the message is printed;. More...
 
#define PRINT_DBG_STRING(dbgLevel, curDbgLevel, mex)   (((dbgLevel) <= (curDbgLevel)) ? std::cerr << mex : std::cerr)
 We are producing a debug version of the program, so the message is printed; no newline is added;. More...
 
#define INDENT_DBG_MEX(dbgLevel, curDbgLevel, mex)
 We are producing a debug version of the program, so the message is printed;. More...
 
#define INDENT_OUT_MEX(outLevel, curOutLevel, mex)
 
#define PRINT_OUT_MEX(profLevel, curprofLevel, mex)   (((profLevel) <= (curprofLevel)) ? std::cerr << mex << std::endl : std::cerr)
 
#define PRINT_OUT_STRING(profLevel, curprofLevel, mex)   (((profLevel) <= (curprofLevel)) ? std::cerr << mex : std::cerr)
 
#define PRINT_MSG(mex)   std::cerr << mex << std::endl
 
#define PRINT_STRING(mex)   std::cerr << mex
 
OUTPUT levels
#define OUTPUT_LEVEL_NONE   0
 no output print is performed. More...
 
#define OUTPUT_LEVEL_MINIMUM   1
 minimum debugging print is performed. More...
 
#define OUTPUT_LEVEL_VERBOSE   2
 verbose debugging print is performed. More...
 
#define OUTPUT_LEVEL_PEDANTIC   3
 verbose debugging print is performed. More...
 
#define OUTPUT_LEVEL_VERY_PEDANTIC   4
 verbose debugging print is performed. More...
 
#define OUTPUT_LEVEL_VERY_VERY_PEDANTIC   5
 verbose debugging print is performed. More...
 
DEBUGGING levels
#define DEBUG_LEVEL_NONE   0
 no debugging print is performed. More...
 
#define DEBUG_LEVEL_MINIMUM   1
 minimum debugging print is performed. More...
 
#define DEBUG_LEVEL_VERBOSE   2
 verbose debugging print is performed. More...
 
#define DEBUG_LEVEL_PEDANTIC   3
 very verbose debugging print is performed. More...
 
#define DEBUG_LEVEL_VERY_PEDANTIC   4
 extremely verbose debugging print is performed. More...
 
#define DEBUG_LEVEL_PARANOIC   5
 paranoid level debugging print is performed. More...
 
#define DEBUG_LEVEL_INFINITE   11
 everything is printed. More...
 

Variables

size_t indentation
 The current indentation for debug messages. More...
 
std::ostream null_stream
 
std::string panda_message
 This is the message to be printed. More...
 

Detailed Description

File containing functions and utilities to support the printing of debug messagges.

File containing functions and utilities to support the printing of debug messagges

Author
Luca Fossati fossa.nosp@m.ti@e.nosp@m.let.p.nosp@m.olim.nosp@m.i.it
Marco Lattuada lattu.nosp@m.ada@.nosp@m.elet..nosp@m.poli.nosp@m.mi.it $Revision$ $Date$ Last modified by $Author$

Definition in file dbgPrintHelper.hpp.

Macro Definition Documentation

◆ DEBUG_LEVEL_INFINITE

#define DEBUG_LEVEL_INFINITE   11

everything is printed.

Definition at line 90 of file dbgPrintHelper.hpp.

Referenced by Parameter::get_class_debug_level(), and Parameter::GetFunctionDebugLevel().

◆ DEBUG_LEVEL_MINIMUM

#define DEBUG_LEVEL_MINIMUM   1

◆ DEBUG_LEVEL_NONE

#define DEBUG_LEVEL_NONE   0

no debugging print is performed.

Definition at line 78 of file dbgPrintHelper.hpp.

Referenced by AddArtificialCallFlowEdges::AddArtificialCallFlowEdges(), AddBbEcfgEdges::AddBbEcfgEdges(), AddOpExitFlowEdges::AddOpExitFlowEdges(), AddOpLoopFlowEdges::AddOpLoopFlowEdges(), AddOpPhiFlowEdges::AddOpPhiFlowEdges(), BasicBlocksCfgComputation::BasicBlocksCfgComputation(), BasicBlocksProfiling::BasicBlocksProfiling(), bb_feedback_edges_computation::bb_feedback_edges_computation(), BBOrderComputation::BBOrderComputation(), BBReachabilityComputation::BBReachabilityComputation(), Bit_Value::Bit_Value(), Bit_Value_opt::Bit_Value_opt(), BitValueIPA::BitValueIPA(), BitValueRange::BitValueRange(), BlockFix::BlockFix(), BuildVirtualPhi::BuildVirtualPhi(), call_expr_fix::call_expr_fix(), call_graph_computation::call_graph_computation(), CallGraphBuiltinCall::CallGraphBuiltinCall(), vcd_parser::check_signals(), CheckSystemType::CheckSystemType(), commutative_expr_restructuring::commutative_expr_restructuring(), compute_implicit_calls::compute_implicit_calls(), CondExprRestructuring::CondExprRestructuring(), create_tree_manager::create_tree_manager(), CSE::CSE(), dataflow_cg_ext::dataflow_cg_ext(), dead_code_elimination::dead_code_elimination(), dead_code_eliminationIPA::dead_code_eliminationIPA(), determine_memory_accesses::determine_memory_accesses(), dom_post_dom_computation::dom_post_dom_computation(), eSSA::eSSA(), extract_patterns::extract_patterns(), ExtractOmpAtomic::ExtractOmpAtomic(), ExtractOmpFor::ExtractOmpFor(), fanout_opt::fanout_opt(), FixStructsPassedByValue::FixStructsPassedByValue(), fsm_controller::fsm_controller(), FunctionCallOpt::FunctionCallOpt(), FunctionCallTypeCleanup::FunctionCallTypeCleanup(), OpNode::getSink(), HDLVarDeclFix::HDLVarDeclFix(), hls_div_cg_ext::hls_div_cg_ext(), HostProfiling::HostProfiling(), HWCallInjection::HWCallInjection(), StorageValueInformation::Initialize(), classic_datapath::InternalExec(), mem_dominator_allocation::InternalExec(), datapath_parallel_cs::InternalExec(), fu_binding::join_merge_split(), loops_computation::loops_computation(), LoopsAnalysisBambu::LoopsAnalysisBambu(), lut_transformation::lut_transformation(), main(), multi_way_if::multi_way_if(), MultipleEntryIfReduction::MultipleEntryIfReduction(), NI_SSA_liveness::NI_SSA_liveness(), op_feedback_edges_computation::op_feedback_edges_computation(), operations_cfg_computation::operations_cfg_computation(), OpOrderComputation::OpOrderComputation(), OpReachabilityComputation::OpReachabilityComputation(), parm2ssa::parm2ssa(), parm_decl_taken_address_fix::parm_decl_taken_address_fix(), PhiOpt::PhiOpt(), pipeline_controller::pipeline_controller(), PragmaAnalysis::PragmaAnalysis(), rebuild_initialization::rebuild_initialization(), rebuild_initialization2::rebuild_initialization2(), hls_div_cg_ext::recursive_examinate(), soft_float_cg_ext::RecursiveExaminate(), remove_clobber_ga::remove_clobber_ga(), RemoveEndingIf::RemoveEndingIf(), soft_float_cg_ext::replaceWithCall(), ScalarSsaDataDependenceComputation::ScalarSsaDataDependenceComputation(), SDCCodeMotion::SDCCodeMotion(), SpiderParameter::SetDefaults(), tree_panda_gcc_parameter::SetDefaults(), BambuParameter::SetDefaults(), InterfaceInfer::setReadInterface(), short_circuit_taf::short_circuit_taf(), simple_code_motion::simple_code_motion(), soft_float_cg_ext::soft_float_cg_ext(), SplitReturn::SplitReturn(), string_cst_fix::string_cst_fix(), SwitchFix::SwitchFix(), UpdateSchedule::UpdateSchedule(), use_counting::use_counting(), VarComputation::VarComputation(), VarDeclFix::VarDeclFix(), tree_manipulation::VersionFunctionCall(), and virtual_phi_nodes_split::virtual_phi_nodes_split().

◆ DEBUG_LEVEL_PARANOIC

#define DEBUG_LEVEL_PARANOIC   5

◆ DEBUG_LEVEL_PEDANTIC

#define DEBUG_LEVEL_PEDANTIC   3

very verbose debugging print is performed.

Definition at line 84 of file dbgPrintHelper.hpp.

Referenced by classic_datapath::add_clock_reset(), ControlFlowChecker::add_clock_reset(), ControllerCreatorBaseStep::add_clock_reset(), conn_binding::add_command_ports(), controller_cs::add_common_ports(), ControlFlowChecker::add_common_ports(), ControllerCreatorBaseStep::add_common_ports(), ControlFlowChecker::add_done_port(), ControllerCreatorBaseStep::add_done_port(), flopoco_wrapper::add_FU(), ControlFlowChecker::add_notifiers(), conn_binding_creator::add_parameter_ports(), classic_datapath::add_ports(), ControlFlowChecker::add_present_state(), controller_cs::add_selector_register_file_port(), ControlFlowChecker::add_start_port(), ControllerCreatorBaseStep::add_start_port(), allocation::add_tech_constraint(), fu_binding::add_to_SM(), Bit_Value::backward(), Bit_Value::backward_chain(), bash_flow_wrapper::bash_flow_wrapper(), CallGraphManager::call_graph_computation_recursive(), InterfaceInfer::ChasePointerInterface(), InterfaceInfer::ChasePointerInterfaceRecurse(), short_circuit_taf::check_merging_candidate(), ASLAP::compute_ALAP_fast(), ASLAP::compute_ASAP(), BB_based_stg::compute_EPP_edge_increments(), mux_connection_binding::connect_to_registers(), mux_connection_binding::create_connections(), short_circuit_taf::create_gimple_cond(), InterfaceInfer::create_resource_array(), InterfaceInfer::create_resource_m_axi(), InterfaceInfer::create_resource_Read_simple(), InterfaceInfer::create_resource_Write_simple(), mux_connection_binding::create_single_conn(), fsm_controller::create_state_machine(), BackendFlow::CreateScripts(), CWriter::DeclareLocalVariables(), CWriter::DeclareVariable(), Loops::DetectLoops(), mux_connection_binding::determine_connection(), HWDiscrepancyAnalysis::Exec(), fun_dominator_allocation::Exec(), BambuFrontendFlow::Exec(), call_graph_computation::Exec(), BitValueIPA::Exec(), dead_code_eliminationIPA::Exec(), create_tree_manager::Exec(), InterfaceInfer::Exec(), CBackend::Exec(), VcdSignalSelection::Exec(), CallGraphManager::expandCallGraphFromFunction(), Bit_Value::forward(), Bit_Value::forward_transfer(), ASLAP::GetCycleLatency(), HLS_constraints::HLS_constraints(), Bit_Value::initialize(), pipeline_controller::InternalExec(), FSM_NI_SSA_liveness::InternalExec(), fsm_controller::InternalExec(), sched_based_chaining_computation::InternalExec(), ExtractOmpAtomic::InternalExec(), ExtractOmpFor::InternalExec(), SwitchFix::InternalExec(), extract_patterns::InternalExec(), CallGraphBuiltinCall::InternalExec(), rebuild_initialization::InternalExec(), NI_SSA_liveness::InternalExec(), compute_implicit_calls::InternalExec(), Bit_Value_opt::InternalExec(), determine_memory_accesses::InternalExec(), virtual_phi_nodes_split::InternalExec(), short_circuit_taf::InternalExec(), dead_code_elimination::InternalExec(), IR_lowering::InternalExec(), PhiOpt::InternalExec(), allocation::InternalExec(), Bit_Value::InternalExec(), flopoco_wrapper::InternalWriteVHDL(), lattice_flow_wrapper::lattice_flow_wrapper(), glpk_solver::make(), map_wrapper::map_wrapper(), mux_connection_binding::mux_interconnection(), NanoXploreBackendFlow::NanoXploreBackendFlow(), ngdbuild_wrapper::ngdbuild_wrapper(), HostProfiling::normalize(), nxpython_flow_wrapper::nxpython_flow_wrapper(), Bit_Value_opt::optimize(), par_wrapper::par_wrapper(), TestVectorParser::ParseXMLFile(), AllocationInformation::print_allocated_resources(), Bit_Value::print_bitstring_map(), Quartus13ReportWrapper::Quartus13ReportWrapper(), QuartusPowerWrapper::QuartusPowerWrapper(), QuartusReportWrapper::QuartusReportWrapper(), VarDeclFix::recursive_examinate(), port_o::resize_std_port(), short_circuit_taf::restructure_CFG(), InterfaceInfer::setReadInterface(), InterfaceInfer::setWriteInterface(), fu_binding::specialise_fu(), network_flow::successive_shortest_path_algorithm(), Vectorize::Transform(), trce_wrapper::trce_wrapper(), ASLAP::update_ALAP(), Bit_Value::update_IR(), vivado_flow_wrapper::vivado_flow_wrapper(), VIVADO_xsim_wrapper::VIVADO_xsim_wrapper(), HDL_manager::write_flopoco_module(), EdgeCWriter::writeRoutineInstructions(), CWriter::writeRoutineInstructions(), XilinxBackendFlow::XilinxBackendFlow(), and xst_wrapper::xst_wrapper().

◆ DEBUG_LEVEL_VERBOSE

#define DEBUG_LEVEL_VERBOSE   2

verbose debugging print is performed.

Definition at line 82 of file dbgPrintHelper.hpp.

Referenced by datapath_cs::add_ports(), StateTransitionGraphManager::add_to_SM(), conn_binding::add_to_SM(), AlteraBackendFlow::AlteraBackendFlow(), BashBackendFlow::BashBackendFlow(), WB4_interface::build_WB4_complete_logic(), structural_manager::check_structure(), CompilerWrapper::CompileFile(), ASLAP::compute_ASAP(), BB_based_stg::compute_EPP_edge_increments(), parametric_list_based::compute_function_topological_order(), parametric_list_based::compute_starting_ending_time_asap(), ModuleGeneratorManager::create_generic_module(), BackendFlow::CreateScripts(), LoadDeviceTechnology::Exec(), parametric_list_based::exec(), memory_allocation::finalize_memory_allocation(), ModuleGeneratorManager::GenerateHDL(), glpk_print_hook(), HLS_constraints::HLS_constraints(), fu_binding_cs::instantiate_component_kernel(), pipeline_controller::InternalExec(), unique_binding::InternalExec(), fsm_controller::InternalExec(), top_entity_parallel_cs::InternalExec(), classic_datapath::InternalExec(), mem_dominator_allocation::InternalExec(), top_entity::InternalExec(), datapath_parallel_cs::InternalExec(), CSE::InternalExec(), allocation::InternalExec(), parametric_list_based::InternalExec(), cdfc_module_binding::InternalExec(), LatticeBackendFlow::LatticeBackendFlow(), main(), modelsimWrapper::modelsimWrapper(), conn_binding::mux_connection(), mux_connection_binding::mux_interconnection(), NanoXploreBackendFlow::NanoXploreBackendFlow(), vcd_parser::parse_vcd(), AllocationInformation::print_allocated_resources(), CompilerWrapper::SetBambuDefault(), CompilerWrapper::SetCompilerDefault(), glpk_solver::solve(), glpk_solver::solve_ilp(), StateTransitionGraphManager::specialise_mu(), ModuleGeneratorManager::specialize_fu(), network_flow::successive_shortest_path_algorithm(), vcd_parser::vcd_parse_def_var(), VerilatorWrapper::VerilatorWrapper(), HDL_manager::write_fsm(), verilog_writer::write_state_declaration(), XilinxBackendFlow::XilinxBackendFlow(), and library_manager::xload().

◆ DEBUG_LEVEL_VERY_PEDANTIC

#define DEBUG_LEVEL_VERY_PEDANTIC   4

extremely verbose debugging print is performed.

Definition at line 86 of file dbgPrintHelper.hpp.

Referenced by classic_datapath::add_clock_reset(), ControlFlowChecker::add_clock_reset(), ControllerCreatorBaseStep::add_clock_reset(), ControllerCreatorBaseStep::add_command_ports(), conn_binding::add_command_ports(), ASLAP::add_constraints_to_ALAP(), ASLAP::add_constraints_to_ASAP(), top_entity_cs::add_context_switch_port(), top_entity_cs::add_context_switch_port_kernel(), conn_binding::add_datapath_connection(), ControlFlowChecker::add_done_port(), ControllerCreatorBaseStep::add_done_port(), top_entity_cs::add_input_register(), ControlFlowChecker::add_notifiers(), cs_interface::add_parameter_port(), datapath_cs::add_ports(), top_entity::add_ports(), classic_datapath::add_ports(), datapath_parallel_cs::add_ports(), ControlFlowChecker::add_present_state(), allocation::add_proxy_function_module(), allocation::add_proxy_function_wrapper(), controller_cs::add_selector_register_file_port(), conn_binding::add_sparse_logic_dp(), ControlFlowChecker::add_start_port(), ControllerCreatorBaseStep::add_start_port(), parametric_list_based::add_to_priority_queues(), ParallelMemoryFuBinding::add_to_SM(), reg_binding::add_to_SM(), fu_binding::add_to_SM(), CallGraphManager::AddCallPoint(), module_interface::AddConnection(), conn_binding::AddConnectionCB(), module_interface::AddConstant(), SDCScheduling::AddDelayConstraints(), SDCScheduling::AddDependenceConstraint(), CallGraphManager::AddFunction(), Vectorize::AddGuards(), module_interface::AddSignal(), determine_memory_accesses::analyze_node(), GenerateFuList::AnalyzeCell(), FunctionalUnitStep::AnalyzeFu(), CBackend::AnalyzeInclude(), PhiOpt::ApplyDiffNothing(), PhiOpt::ApplyGimpleNothing(), PhiOpt::ApplyIfMerge(), PhiOpt::ApplyIfNothing(), PhiOpt::ApplyIfRemove(), PhiOpt::ApplyMultiMerge(), PhiOpt::ApplyMultiNothing(), PhiOpt::ApplyMultiRemove(), IR_lowering::array_ref_lowering(), Bit_Value::backward(), Bit_Value::backward_chain(), Bit_Value::backward_transfer(), tree_manipulation::bb_add_stmt(), tree_manipulation::bb_remove_predecessor(), tree_manipulation::bb_remove_successor(), structural_manager::build_graph(), operations_cfg_computation::build_operation_recursive(), HWCallInjection::buildBuiltinCall(), CallGraphBuiltinCall::buildTypeToDeclaration(), dom_info< GraphObj >::calc_dfs_tree(), dom_info< GraphObj >::calc_dfs_tree_rec(), dom_info< GraphObj >::calc_idoms(), dominance< BBGraph >::calculate_dominance_info(), AllocationInformation::CanBeChained(), AllocationInformation::CanBeMerged(), Schedule::CanBeMoved(), PhiOpt::ChainOptimization(), short_circuit_taf::check_merging_candidate(), allocation::check_templated_units(), allocation::check_type_and_precision(), pragma_manager::CheckAddOmpFor(), pragma_manager::CheckAddOmpSimd(), lut_transformation::CheckIfPO(), lut_transformation::CheckIfProcessable(), simple_code_motion::CheckMovable(), pragma_manager::CheckOmpFor(), SpiderParameter::CheckParameters(), BambuParameter::CheckParameters(), parametric_list_based::CheckSchedulabilityConditions(), Vectorize::ClassifyLoop(), Vectorize::ClassifyTreeNode(), CompilerWrapper::CompileFile(), ASLAP::compute_ALAP(), reg_binding::compute_bitsize(), parametric_list_based::compute_exec_stage_time(), parametric_list_based::compute_starting_ending_time_asap(), CreateAddressTranslation::ComputeAddress(), Schedule::ComputeCriticalPath(), DataDependenceComputation::Computedependencies(), AllocationInformation::ComputeDrivenCondExpr(), HLSFunctionStep::ComputeRelationships(), GenerateFuList::ComputeRelationships(), HLS_step::ComputeRelationships(), AllocationInformation::ComputeRoots(), LoadTechnology::ComputeTechnologyRelationships(), ToolManager::configure(), datapath_parallel_cs::connect_i_module_kernel(), datapath_parallel_cs::connect_module_kernel(), fu_binding_cs::connect_selector_kernel(), operations_cfg_computation::connect_start_nodes(), conn_binding_cs::connectOutOr(), constructor_range(), convertUsesToDFSOrdered(), port_o::copy(), signal_o::copy(), module::copy(), tree_manipulation::create_basic_block(), tree_manipulation::create_binary_operation(), mux_connection_binding::create_connections(), create_control_flow_checker(), tree_manipulation::create_extract_bit_expr(), tree_manipulation::create_gimple_call(), short_circuit_taf::create_gimple_cond(), tree_manipulation::create_gimple_cond(), tree_manipulation::create_gimple_modify_stmt(), tree_manipulation::create_gimple_return(), tree_manipulation::create_identifier_node(), tree_manipulation::create_lut_expr(), PragmaAnalysis::create_map_pragma(), PragmaAnalysis::create_omp_pragma(), tree_manipulation::create_parm_decl(), tree_manipulation::create_phi_node(), tree_manipulation::create_quaternary_operation(), tree_manipulation::create_result_decl(), tree_manipulation::create_ssa_name(), fsm_controller::create_state_machine(), tree_manipulation::create_ternary_operation(), tree_manipulation::create_translation_unit_decl(), tree_manipulation::create_unary_operation(), tree_manipulation::create_var_decl(), CompilerWrapper::CreateExecutable(), HLSFlowStepFactory::CreateHLSFlowStep(), HLSFlowStepFactory::CreateHLSFlowSteps(), tree_manipulation::CreateIntegerCst(), Meet::crop(), CWriter::DeclareFunctionTypes(), CWriter::DeclareType(), CWriter::DeclareVariable(), Loops::DetectIrreducibleLoop(), Loops::DetectLoops(), djgraph_dfs_tree_visitor::discover_vertex(), IR_lowering::division_by_a_constant(), DataDependenceComputation::do_dependence_reduction(), Vectorize::DuplicateIncrement(), AllocationInformation::estimate_call_delay(), estimate_muxes(), AllocationInformation::EstimateControllerDelay(), PhiOpNode::eval(), UnaryOpNode::eval(), SigmaOpNode::eval(), BinaryOpNode::eval(), TernaryOpNode::eval(), LoadOpNode::eval(), BinaryOpNode::evaluate(), evaluateBranch(), Schedule::EvaluateCondsMerging(), OmpFunctionAllocation::Exec(), OmpFunctionAllocationCS::Exec(), TestVectorParser::Exec(), BasicBlocksProfiling::Exec(), GenerateSimulationScripts::Exec(), SimulationEvaluation::Exec(), PragmaSubstitution::Exec(), call_graph_computation::Exec(), FixCharacterization::Exec(), vcd_utility::Exec(), PragmaAnalysis::Exec(), create_tree_manager::Exec(), AadlParser::Exec(), CreateAddressTranslation::Exec(), InterfaceInfer::Exec(), DesignFlowManager::Exec(), parametric_list_based::exec(), ToolManager::execute(), ToolManager::execute_command(), FindMaxTransformations::ExecuteBambu(), BackendFlow::ExecuteSynthesis(), NonDeterministicFlows::ExecuteTool(), IR_lowering::expand_mult_const(), IR_lowering::expand_target_mem_ref(), pragma_manager::ExtractClauses(), tree_manipulation::ExtractCondition(), dom_info< GraphObj >::fill_dom_map(), CompilerWrapper::FillTreeManager(), memory_allocation::finalize_memory_allocation(), multi_way_if::FixCfg(), Meet::fixed(), Vectorize::FixPhis(), Bit_Value::forward(), soft_float_cg_ext::generate_interface(), xst_wrapper::GenerateProjectFile(), modelsimWrapper::GenerateScript(), XilinxTasteBackendFlow::GenerateSynthesisScripts(), BackendFlow::GenerateSynthesisScripts(), AllocationInformation::get_attribute_of_fu_per_op(), PragmaAnalysis::get_call_parameter(), StorageValueInformation::get_compatibility_weight(), AllocationInformation::get_correction_time(), AllocationInformation::get_execution_time(), Translator::get_exponential_notation(), Translator::get_normalization(), MultipleEntryIfReduction::GetAreaCost(), tree_manipulation::GetBitsizeType(), tree_manipulation::GetBooleanType(), CompilerWrapper::GetCompilerParameters(), AllocationInformation::GetConnectionTime(), AllocationInformation::GetCycleLatency(), Parameter::GetFileFormat(), AllocationInformation::GetNodeTypePrec(), AllocationInformation::GetPhiConnectionLatency(), tree_manipulation::GetPointerType(), Schedule::GetReadyTime(), tree_manipulation::GetSignedIntegerType(), tree_manipulation::GetSizeType(), AllocationInformation::GetTimeLatency(), AllocationInformation::GetToDspRegisterDelay(), tree_manipulation::GetUnsignedIntegerType(), tree_manipulation::GetUnsignedLongLongType(), tree_manipulation::GetVoidType(), AllocationInformation::GetZeroDistanceOperations(), MemoryInitializationWriterBase::GoDown(), MemoryInitializationWriterBase::GoNext(), MemoryInitializationWriterBase::GoUp(), Meet::growth(), CSE::hash_check(), HDL_manager::hdl_gen(), PhiOpt::IdentifyPattern(), NanoXploreBackendFlow::InitDesignParameters(), XilinxBackendFlow::InitDesignParameters(), mem_dominator_allocation::Initialize(), SDCScheduling::Initialize(), Bit_Value::initialize(), cdfc_module_binding::initialize_connection_relation(), CompilerWrapper::InitializeCompilerParameters(), mux_connection_binding::input_logic(), fu_binding_cs::instantiate_component_kernel(), datapath_parallel_cs::instantiate_component_parallel(), cs_interface::instantiate_component_parallel(), conn_binding_cs::instantiate_suspension_component(), allocation::IntegrateTechnologyLibraries(), parm_decl_taken_address_fix::InternalExec(), FixStructsPassedByValue::InternalExec(), dataflow_cg_ext::InternalExec(), HWCallInjection::InternalExec(), BB_based_stg::InternalExec(), FSM_NI_SSA_liveness::InternalExec(), sched_based_chaining_computation::InternalExec(), PredicateStatements::InternalExec(), SerializeMutualExclusions::InternalExec(), UnComparisonLowering::InternalExec(), ExtractOmpAtomic::InternalExec(), OpCdgComputation::InternalExec(), BBOrderComputation::InternalExec(), TasteInterfaceGeneration::InternalExec(), OpOrderComputation::InternalExec(), SDCCodeMotion::InternalExec(), ExtractOmpFor::InternalExec(), AddArtificialCallFlowEdges::InternalExec(), BasicBlocksCfgComputation::InternalExec(), SwitchFix::InternalExec(), top_entity_parallel_cs::InternalExec(), ExtractGimpleCondOp::InternalExec(), FixVdef::InternalExec(), UpdateSchedule::InternalExec(), LoopsAnalysisBambu::InternalExec(), BBReachabilityComputation::InternalExec(), extract_patterns::InternalExec(), AddOpPhiFlowEdges::InternalExec(), TopEntityMemoryMapped::InternalExec(), BuildVirtualPhi::InternalExec(), mem_dominator_allocation::InternalExec(), call_expr_fix::InternalExec(), CallGraphBuiltinCall::InternalExec(), AddOpLoopFlowEdges::InternalExec(), bb_feedback_edges_computation::InternalExec(), op_feedback_edges_computation::InternalExec(), AddBbEcfgEdges::InternalExec(), eSSA::InternalExec(), dom_post_dom_computation::InternalExec(), rebuild_initialization::InternalExec(), fanout_opt::InternalExec(), loops_computation::InternalExec(), BlockFix::InternalExec(), parm2ssa::InternalExec(), compute_implicit_calls::InternalExec(), SplitReturn::InternalExec(), FunctionCallTypeCleanup::InternalExec(), hls_div_cg_ext::InternalExec(), determine_memory_accesses::InternalExec(), top_entity::InternalExec(), add_library::InternalExec(), CondExprRestructuring::InternalExec(), commutative_expr_restructuring::InternalExec(), RemoveEndingIf::InternalExec(), simple_code_motion::InternalExec(), short_circuit_taf::InternalExec(), dead_code_elimination::InternalExec(), CSE::InternalExec(), FunctionCallOpt::InternalExec(), multi_way_if::InternalExec(), MultipleEntryIfReduction::InternalExec(), operations_cfg_computation::InternalExec(), IR_lowering::InternalExec(), port_swapping::InternalExec(), Vectorize::InternalExec(), SDCScheduling::InternalExec(), PhiOpt::InternalExec(), soft_float_cg_ext::InternalExec(), allocation::InternalExec(), Bit_Value::InternalExec(), cdfc_module_binding::InternalExec(), CheckSystemType::is_system_include(), CallGraphManager::IsCallPoint(), dead_code_elimination::kill_uses(), generic_device::load_devices(), rebuild_initialization2::look_for_ROMs(), CallGraphBuiltinCall::lookForBuiltinCall(), main(), fu_binding::manage_extern_global_port(), datapath_parallel_cs::manage_extern_global_port_parallel(), cs_interface::manage_extern_global_port_top(), fu_binding_cs::manage_memory_port_hierarchical(), fu_binding_cs::manage_memory_port_kernel(), fu_binding::manage_memory_ports_parallel_chained(), fu_binding::manage_module_ports(), materializeStack(), Translator::merge_pa(), multi_way_if::MergeCondCond(), multi_way_if::MergeCondMulti(), multi_way_if::MergeMultiCond(), multi_way_if::MergeMultiMulti(), PhiOpt::MergePhi(), BitLatticeManipulator::mix(), dead_code_elimination::move2emptyBB(), BB_based_stg::move_with_duplication(), BB_based_stg::move_without_duplication(), conn_binding::mux_allocation(), conn_binding::mux_connection(), Meet::narrow(), HostProfiling::normalize(), Nuutila::Nuutila(), PhiOpNode::opCtorGenerator(), UnaryOpNode::opCtorGenerator(), SigmaOpNode::opCtorGenerator(), BinaryOpNode::opCtorGenerator(), TernaryOpNode::opCtorGenerator(), LoadOpNode::opCtorGenerator(), Bit_Value_opt::optimize(), BB_based_stg::optimize_cycles(), FunctionCallTypeCleanup::ParametersTypeCleanup(), CInitializationParser::Parse(), TestVectorParser::ParseUserString(), Bit_Value::pointer_resizing(), ToolManager::prepare_input_files(), MemoryInitializationCWriter::Process(), MemoryInitializationWriter::Process(), lut_transformation::ProcessBasicBlock(), processBranch(), processMultiWayIf(), Bit_Value_opt::propagateValue(), Translator::read_column_formats(), CompilerWrapper::readExternalSymbols(), CompilerWrapper::ReadParameters(), PragmaParser::recognize_omp_pragma(), structural_manager::reconnect_signal_member(), parm2ssa::recursive_analysis(), string_cst_fix::recursive_analysis(), hls_div_cg_ext::recursive_examinate(), VarDeclFix::recursive_examinate(), CheckSystemType::recursive_examinate(), soft_float_cg_ext::RecursiveExaminate(), VarComputation::RecursivelyAnalyze(), CallGraphManager::RemoveCallPoint(), PhiOpt::RemoveCondExpr(), eSSA::renameUses(), compute_implicit_calls::replace_with_memcpy(), compute_implicit_calls::replace_with_memset(), PhiOpt::ReplaceVirtualUses(), soft_float_cg_ext::replaceWithCall(), TopEntityMemoryMapped::resizing_IO(), SDCSorter::SDCSorter(), Vectorize::SetPredication(), soft_float_cg_ext::signature_lowering(), dead_code_eliminationIPA::signature_opt(), PhiOpt::SinglePhiOptimization(), fu_binding::specialise_fu(), conn_binding::specialise_mux(), reg_binding::specialise_reg(), fu_binding::specialize_memory_unit(), soft_float_cg_ext::ssa_lowering(), PragmaParser::substitutePragmas(), network_flow::successive_shortest_path_algorithm(), Loops::tarjan_scc(), Vectorize::Transform(), VHDL_writer::type_converter_size(), cdfc_module_binding::update_slack_starting_time(), multi_way_if::UpdateCfg(), VarNode::updateIR(), Schedule::UpdateTime(), vcd_parser::vcd_pop_def_scope(), vcd_parser::vcd_push_def_scope(), tree_manipulation::VersionFunctionCall(), virtual_phi_nodes_split::virtual_split_phi(), Nuutila::visit(), cdfc_module_binding::weight_computation(), Meet::widen(), HDL_manager::write_components(), HDL_manager::write_module(), VHDL_writer::write_module_parametrization(), verilog_writer::write_module_parametrization(), VHDL_writer::write_module_parametrization_decl(), verilog_writer::write_module_parametrization_decl(), VHDL_writer::write_port_binding(), Translator::write_to_latex(), VHDL_writer::write_transition_output_functions(), verilog_writer::write_transition_output_functions(), VHDL_writer::write_vector_port_binding(), verilog_writer::write_vector_port_binding(), FunctionFrontendFlowStep::WriteBBGraphDot(), VHDL_writer::WriteBuiltin(), AlteraBackendFlow::WriteFlowConfiguration(), NanoXploreBackendFlow::WriteFlowConfiguration(), CBackend::WriteGlobalDeclarations(), CBackend::writeImplementations(), CBackend::writeIncludes(), HLSCWriter::WriteMainTestbench(), DiscrepancyAnalysisCWriter::WriteMainTestbench(), HLSCWriter::WriteParamInitialization(), EdgeCWriter::writeRoutineInstructions(), CWriter::writeRoutineInstructions(), EdgeCWriter::writeRoutineInstructions_rec(), CWriter::writeRoutineInstructions_rec(), HLSCWriter::WriteSimulatorInitMemory(), technology_manager::xload(), structural_object::xload(), functional_unit::xload(), and module::xload().

◆ INDENT_DBG_MEX

#define INDENT_DBG_MEX (   dbgLevel,
  curDbgLevel,
  mex 
)
Value:
(((dbgLevel) <= (curDbgLevel)) ? \
(panda_message = mex, \
(std::string(panda_message) == "-->") ? \
(null_stream << (indentation += 2)) : \
((std::string(panda_message).substr(0, 3) == "-->") ? \
(std::cerr << std::string(indentation += 2, ' ') << std::string(panda_message).substr(3) \
<< std::endl) : \
((std::string(panda_message).substr(0, 3) == "---") ? \
(std::cerr << std::string(indentation + 2, ' ') << std::string(panda_message).substr(3) \
<< std::endl) : \
((std::string(panda_message) == "<--") ? \
(null_stream << (indentation -= 2)) : \
((std::string(panda_message).substr(0, 3) == "<--") ? \
(std::cerr << std::string(indentation, ' ') << std::string(panda_message).substr(3) \
<< std::endl, \
null_stream << (indentation -= 2)) : \
(std::cerr << std::string(indentation, ' ') << panda_message << std::endl)))))) : \
(std::cerr))
std::string panda_message
This is the message to be printed.
std::ostream null_stream
size_t indentation
The current indentation for debug messages.

We are producing a debug version of the program, so the message is printed;.

Parameters
dbglevelthe minimum debug level at which we desire to print the message: if the actual debug level is smaller than that, no message is printed
curDbgLevelthe current debug level at which the algorithm is executing
formatMexthe array of chars containing the message to print: this message can be written using a printf like syntax.

Definition at line 140 of file dbgPrintHelper.hpp.

Referenced by ControllerCreatorBaseStep::add_command_ports(), conn_binding::add_command_ports(), top_entity_cs::add_context_switch_port(), top_entity_cs::add_context_switch_port_kernel(), conn_binding::add_datapath_connection(), top_entity_cs::add_input_register(), datapath_cs::add_ports(), top_entity::add_ports(), classic_datapath::add_ports(), allocation::add_proxy_function_module(), allocation::add_proxy_function_wrapper(), conn_binding::add_sparse_logic_dp(), allocation::add_tech_constraint(), parametric_list_based::add_to_priority_queues(), ParallelMemoryFuBinding::add_to_SM(), StateTransitionGraphManager::add_to_SM(), fu_binding::add_to_SM(), conn_binding::add_to_SM(), CallGraphManager::AddCallPoint(), module_interface::AddConnection(), conn_binding::AddConnectionCB(), module_interface::AddConstant(), SDCScheduling::AddDelayConstraints(), SDCScheduling::AddDependenceConstraint(), CallGraphManager::AddFunction(), Vectorize::AddGuards(), module_interface::AddSignal(), tree_helper::AllocatedMemorySize(), AlteraBackendFlow::AlteraBackendFlow(), determine_memory_accesses::analyze_node(), GenerateFuList::AnalyzeCell(), FunctionalUnitStep::AnalyzeFu(), CBackend::AnalyzeInclude(), PhiOpt::ApplyDiffNothing(), PhiOpt::ApplyGimpleNothing(), PhiOpt::ApplyIfMerge(), PhiOpt::ApplyIfNothing(), PhiOpt::ApplyIfRemove(), PhiOpt::ApplyMultiMerge(), PhiOpt::ApplyMultiNothing(), PhiOpt::ApplyMultiRemove(), IR_lowering::array_ref_lowering(), Bit_Value::backward(), Bit_Value::backward_chain(), Bit_Value::backward_transfer(), BashBackendFlow::BashBackendFlow(), structural_manager::build_graph(), operations_cfg_computation::build_operation_recursive(), HWCallInjection::buildBuiltinCall(), CallGraphBuiltinCall::buildTypeToDeclaration(), dom_info< GraphObj >::calc_dfs_tree(), dom_info< GraphObj >::calc_dfs_tree_rec(), dom_info< GraphObj >::calc_idoms(), dominance< BBGraph >::calculate_dominance_info(), CallGraphManager::call_graph_computation_recursive(), AllocationInformation::CanBeChained(), AllocationInformation::CanBeMerged(), Schedule::CanBeMoved(), BehavioralHelper::CanBeSpeculated(), PhiOpt::ChainOptimization(), InterfaceInfer::ChasePointerInterface(), InterfaceInfer::ChasePointerInterfaceRecurse(), tree_manager::check_for_decl(), short_circuit_taf::check_merging_candidate(), allocation::check_templated_units(), allocation::check_type_and_precision(), pragma_manager::CheckAddOmpFor(), pragma_manager::CheckAddOmpSimd(), lut_transformation::CheckIfPO(), lut_transformation::CheckIfProcessable(), simple_code_motion::CheckMovable(), pragma_manager::CheckOmpFor(), SpiderParameter::CheckParameters(), parametric_list_based::CheckSchedulabilityConditions(), Vectorize::ClassifyLoop(), Vectorize::ClassifyTreeNode(), tree_manager::collapse_into(), CompilerWrapper::CompileFile(), BB_based_stg::compute_EPP_edge_increments(), parametric_list_based::compute_exec_stage_time(), tree_helper::compute_ssa_uses_rec_ptr(), parametric_list_based::compute_starting_ending_time_asap(), CreateAddressTranslation::ComputeAddress(), Schedule::ComputeCriticalPath(), DataDependenceComputation::Computedependencies(), AllocationInformation::ComputeDrivenCondExpr(), HLSFunctionStep::ComputeRelationships(), HLS_step::ComputeRelationships(), AllocationInformation::ComputeRoots(), tree_helper::ComputeSsaUses(), operations_cfg_computation::connect_start_nodes(), constructor_range(), convertUsesToDFSOrdered(), mux_connection_binding::create_connections(), tree_manipulation::create_gimple_call(), short_circuit_taf::create_gimple_cond(), tree_manipulation::create_gimple_modify_stmt(), PragmaAnalysis::create_map_pragma(), PragmaAnalysis::create_omp_pragma(), InterfaceInfer::create_resource_array(), InterfaceInfer::create_resource_m_axi(), InterfaceInfer::create_resource_Read_simple(), InterfaceInfer::create_resource_Write_simple(), tree_manipulation::create_ssa_name(), fsm_controller::create_state_machine(), tree_manager::create_tree_node(), CompilerWrapper::CreateExecutable(), HLSFlowStepFactory::CreateHLSFlowStep(), HLSFlowStepFactory::CreateHLSFlowSteps(), BackendFlow::CreateScripts(), Meet::crop(), CWriter::DeclareFunctionTypes(), CWriter::DeclareLocalVariables(), CWriter::DeclareType(), CWriter::DeclareVariable(), DesignFlowManager::DeExecute(), Loops::DetectIrreducibleLoop(), djgraph_dfs_tree_visitor::discover_vertex(), IR_lowering::division_by_a_constant(), DataDependenceComputation::do_dependence_reduction(), Vectorize::DuplicateIncrement(), tree_manager::erase_usage_info(), AllocationInformation::estimate_call_delay(), estimate_muxes(), AllocationInformation::EstimateControllerDelay(), PhiOpNode::eval(), UnaryOpNode::eval(), SigmaOpNode::eval(), BinaryOpNode::eval(), TernaryOpNode::eval(), LoadOpNode::eval(), BinaryOpNode::evaluate(), evaluateBranch(), Schedule::EvaluateCondsMerging(), HWDiscrepancyAnalysis::Exec(), OmpFunctionAllocation::Exec(), OmpFunctionAllocationCS::Exec(), CTestbenchExecution::Exec(), TestVectorParser::Exec(), BasicBlocksProfiling::Exec(), GenerateSimulationScripts::Exec(), fun_dominator_allocation::Exec(), SimulationEvaluation::Exec(), PragmaSubstitution::Exec(), call_graph_computation::Exec(), BitValueIPA::Exec(), dead_code_eliminationIPA::Exec(), FixCharacterization::Exec(), vcd_utility::Exec(), PragmaAnalysis::Exec(), create_tree_manager::Exec(), AadlParser::Exec(), TestbenchGeneration::Exec(), CreateAddressTranslation::Exec(), InterfaceInfer::Exec(), CBackend::Exec(), DesignFlowManager::Exec(), parametric_list_based::exec(), ToolManager::execute(), ToolManager::execute_command(), FindMaxTransformations::ExecuteBambu(), BackendFlow::ExecuteSynthesis(), NonDeterministicFlows::ExecuteTool(), IR_lowering::expand_mult_const(), IR_lowering::expand_target_mem_ref(), CallGraphManager::expandCallGraphFromFunction(), pragma_manager::ExtractClauses(), tree_manipulation::ExtractCondition(), dom_info< GraphObj >::fill_dom_map(), CompilerWrapper::FillTreeManager(), memory_allocation::finalize_memory_allocation(), port_o::find_bounded_object(), multi_way_if::FixCfg(), Meet::fixed(), Vectorize::FixPhis(), Bit_Value::forward(), Bit_Value::forward_transfer(), soft_float_cg_ext::generate_interface(), xst_wrapper::GenerateProjectFile(), modelsimWrapper::GenerateScript(), XilinxTasteBackendFlow::GenerateSynthesisScripts(), BackendFlow::GenerateSynthesisScripts(), AllocationInformation::get_attribute_of_fu_per_op(), PragmaAnalysis::get_call_parameter(), StorageValueInformation::get_compatibility_weight(), AllocationInformation::get_correction_time(), AllocationInformation::get_execution_time(), tree_helper::get_integer_cst_value(), tree_manager::get_next_vers(), BehavioralHelper::get_parameters(), MultipleEntryIfReduction::GetAreaCost(), CompilerWrapper::GetCompilerParameters(), AllocationInformation::GetConnectionTime(), tree_helper::GetConstValue(), AllocationInformation::GetCycleLatency(), Parameter::GetFileFormat(), BehavioralHelper::GetInit(), AllocationInformation::GetNodeTypePrec(), BehavioralHelper::GetParameters(), AllocationInformation::GetPhiConnectionLatency(), Schedule::GetReadyTime(), AllocationInformation::GetTimeLatency(), AllocationInformation::GetToDspRegisterDelay(), tree_manipulation::GetUnsignedLongLongType(), AllocationInformation::GetZeroDistanceOperations(), glpk_print_hook(), MemoryInitializationWriterBase::GoDown(), MemoryInitializationWriterBase::GoNext(), MemoryInitializationWriterBase::GoUp(), Meet::growth(), CSE::hash_check(), PhiOpt::IdentifyPattern(), NanoXploreBackendFlow::InitDesignParameters(), XilinxBackendFlow::InitDesignParameters(), StorageValueInformation::Initialize(), mem_dominator_allocation::Initialize(), SDCScheduling::Initialize(), Bit_Value::initialize(), cdfc_module_binding::initialize_connection_relation(), CompilerWrapper::InitializeCompilerParameters(), tree_manager::insert_usage_info(), allocation::IntegrateTechnologyLibraries(), parm_decl_taken_address_fix::InternalExec(), FixStructsPassedByValue::InternalExec(), dataflow_cg_ext::InternalExec(), HWCallInjection::InternalExec(), BB_based_stg::InternalExec(), FSM_NI_SSA_liveness::InternalExec(), sched_based_chaining_computation::InternalExec(), PredicateStatements::InternalExec(), SerializeMutualExclusions::InternalExec(), ExtractOmpAtomic::InternalExec(), UnComparisonLowering::InternalExec(), OpCdgComputation::InternalExec(), OpOrderComputation::InternalExec(), TasteInterfaceGeneration::InternalExec(), ExtractOmpFor::InternalExec(), SDCCodeMotion::InternalExec(), BBOrderComputation::InternalExec(), BasicBlocksCfgComputation::InternalExec(), AddArtificialCallFlowEdges::InternalExec(), SwitchFix::InternalExec(), ExtractGimpleCondOp::InternalExec(), FixVdef::InternalExec(), UpdateSchedule::InternalExec(), classic_datapath::InternalExec(), LoopsAnalysisBambu::InternalExec(), extract_patterns::InternalExec(), BuildVirtualPhi::InternalExec(), AddOpPhiFlowEdges::InternalExec(), TopEntityMemoryMapped::InternalExec(), mem_dominator_allocation::InternalExec(), call_expr_fix::InternalExec(), CallGraphBuiltinCall::InternalExec(), op_feedback_edges_computation::InternalExec(), AddBbEcfgEdges::InternalExec(), bb_feedback_edges_computation::InternalExec(), eSSA::InternalExec(), rebuild_initialization::InternalExec(), fanout_opt::InternalExec(), BlockFix::InternalExec(), parm2ssa::InternalExec(), compute_implicit_calls::InternalExec(), SplitReturn::InternalExec(), FunctionCallTypeCleanup::InternalExec(), hls_div_cg_ext::InternalExec(), add_library::InternalExec(), CondExprRestructuring::InternalExec(), commutative_expr_restructuring::InternalExec(), RemoveEndingIf::InternalExec(), simple_code_motion::InternalExec(), short_circuit_taf::InternalExec(), datapath_parallel_cs::InternalExec(), dead_code_elimination::InternalExec(), CSE::InternalExec(), FunctionCallOpt::InternalExec(), multi_way_if::InternalExec(), MultipleEntryIfReduction::InternalExec(), operations_cfg_computation::InternalExec(), IR_lowering::InternalExec(), port_swapping::InternalExec(), Vectorize::InternalExec(), SDCScheduling::InternalExec(), PhiOpt::InternalExec(), soft_float_cg_ext::InternalExec(), allocation::InternalExec(), Bit_Value::InternalExec(), cdfc_module_binding::InternalExec(), CheckSystemType::is_system_include(), CallGraphManager::IsCallPoint(), dead_code_elimination::kill_uses(), LatticeBackendFlow::LatticeBackendFlow(), generic_device::load_devices(), rebuild_initialization2::look_for_ROMs(), CallGraphBuiltinCall::lookForBuiltinCall(), main(), fu_binding::manage_extern_global_port(), datapath_parallel_cs::manage_extern_global_port_parallel(), cs_interface::manage_extern_global_port_top(), fu_binding::manage_memory_ports_parallel_chained(), fu_binding::manage_module_ports(), materializeStack(), tree_manager::merge_tree_managers(), multi_way_if::MergeCondCond(), multi_way_if::MergeCondMulti(), multi_way_if::MergeMultiCond(), multi_way_if::MergeMultiMulti(), PhiOpt::MergePhi(), BitLatticeManipulator::mix(), dead_code_elimination::move2emptyBB(), BB_based_stg::move_with_duplication(), BB_based_stg::move_without_duplication(), conn_binding::mux_allocation(), conn_binding::mux_connection(), NanoXploreBackendFlow::NanoXploreBackendFlow(), Meet::narrow(), HostProfiling::normalize(), Nuutila::Nuutila(), PhiOpNode::opCtorGenerator(), UnaryOpNode::opCtorGenerator(), SigmaOpNode::opCtorGenerator(), BinaryOpNode::opCtorGenerator(), TernaryOpNode::opCtorGenerator(), LoadOpNode::opCtorGenerator(), Bit_Value_opt::optimize(), BB_based_stg::optimize_cycles(), FunctionCallTypeCleanup::ParametersTypeCleanup(), CInitializationParser::Parse(), vcd_parser::parse_vcd(), TestVectorParser::ParseUserString(), TestVectorParser::ParseXMLFile(), Bit_Value::pointer_resizing(), ToolManager::prepare_input_files(), Bit_Value::print_bitstring_map(), BehavioralHelper::print_type_declaration(), BehavioralHelper::PrintConstant(), BehavioralHelper::PrintNode(), tree_helper::PrintType(), MemoryInitializationCWriter::Process(), MemoryInitializationWriter::Process(), lut_transformation::ProcessBasicBlock(), processBranch(), processMultiWayIf(), Bit_Value_opt::propagateValue(), Translator::read_column_formats(), CompilerWrapper::readExternalSymbols(), CompilerWrapper::ReadParameters(), PragmaParser::recognize_omp_pragma(), parm2ssa::recursive_analysis(), string_cst_fix::recursive_analysis(), hls_div_cg_ext::recursive_examinate(), VarDeclFix::recursive_examinate(), CheckSystemType::recursive_examinate(), soft_float_cg_ext::RecursiveExaminate(), tree_helper::RecursiveGetTypesToBeDeclared(), DesignFlowManager::RecursivelyAddSteps(), VarComputation::RecursivelyAnalyze(), tree_manager::RecursiveReplaceTreeNode(), CallGraphManager::RemoveCallPoint(), PhiOpt::RemoveCondExpr(), ssa_name::RemoveUse(), eSSA::renameUses(), compute_implicit_calls::replace_with_memcpy(), compute_implicit_calls::replace_with_memset(), PhiOpt::ReplaceVirtualUses(), soft_float_cg_ext::replaceWithCall(), port_o::resize_std_port(), TopEntityMemoryMapped::resizing_IO(), SDCSorter::SDCSorter(), CompilerWrapper::SetBambuDefault(), CompilerWrapper::SetCompilerDefault(), Vectorize::SetPredication(), InterfaceInfer::setReadInterface(), InterfaceInfer::setWriteInterface(), soft_float_cg_ext::signature_lowering(), dead_code_eliminationIPA::signature_opt(), PhiOpt::SinglePhiOptimization(), tree_helper::Size(), fu_binding::specialise_fu(), StateTransitionGraphManager::specialise_mu(), conn_binding::specialise_mux(), fu_binding::specialize_memory_unit(), soft_float_cg_ext::ssa_lowering(), PragmaParser::substitutePragmas(), Loops::tarjan_scc(), Vectorize::Transform(), VHDL_writer::type_converter_size(), Bit_Value::update_IR(), cdfc_module_binding::update_slack_starting_time(), multi_way_if::UpdateCfg(), VarNode::updateIR(), Schedule::UpdateTime(), tree_manipulation::VersionFunctionCall(), Nuutila::visit(), cdfc_module_binding::weight_computation(), Meet::widen(), HDL_manager::write_components(), HDL_manager::write_module(), VHDL_writer::write_module_parametrization(), verilog_writer::write_module_parametrization(), VHDL_writer::write_module_parametrization_decl(), verilog_writer::write_module_parametrization_decl(), VHDL_writer::write_port_binding(), Translator::write_to_latex(), VHDL_writer::write_transition_output_functions(), verilog_writer::write_transition_output_functions(), VHDL_writer::write_vector_port_binding(), verilog_writer::write_vector_port_binding(), FunctionFrontendFlowStep::WriteBBGraphDot(), VHDL_writer::WriteBuiltin(), AlteraBackendFlow::WriteFlowConfiguration(), NanoXploreBackendFlow::WriteFlowConfiguration(), CBackend::WriteGlobalDeclarations(), CBackend::writeImplementations(), CBackend::writeIncludes(), HLSCWriter::WriteMainTestbench(), DiscrepancyAnalysisCWriter::WriteMainTestbench(), HLSCWriter::WriteParamInitialization(), EdgeCWriter::writeRoutineInstructions(), CWriter::writeRoutineInstructions(), EdgeCWriter::writeRoutineInstructions_rec(), CWriter::writeRoutineInstructions_rec(), HLSCWriter::WriteSimulatorInitMemory(), XilinxBackendFlow::XilinxBackendFlow(), and technology_manager::xload().

◆ INDENT_OUT_MEX

#define INDENT_OUT_MEX (   outLevel,
  curOutLevel,
  mex 
)
Value:
(((outLevel) <= (curOutLevel)) ? \
(panda_message = mex, \
(std::string(panda_message) == "-->") ? \
(null_stream << (indentation += 2)) : \
((std::string(panda_message).substr(0, 3) == "-->") ? \
(std::cerr << std::string(indentation += 2, ' ') << std::string(panda_message).substr(3) \
<< std::endl) : \
((std::string(panda_message).substr(0, 3) == "---") ? \
(std::cerr << std::string(indentation + 2, ' ') << std::string(panda_message).substr(3) \
<< std::endl) : \
((std::string(panda_message) == "<--") ? \
(null_stream << (indentation -= 2)) : \
((std::string(panda_message).substr(0, 3) == "<--") ? \
(std::cerr << std::string(indentation, ' ') << std::string(panda_message).substr(3) \
<< std::endl, \
null_stream << (indentation -= 2)) : \
(std::cerr << std::string(indentation, ' ') << panda_message << std::endl)))))) : \
(std::cerr))
std::string panda_message
This is the message to be printed.
std::ostream null_stream
size_t indentation
The current indentation for debug messages.

Definition at line 170 of file dbgPrintHelper.hpp.

Referenced by reg_binding::add_to_SM(), fu_binding::add_to_SM(), memory_allocation::allocate_parameters(), determine_memory_accesses::analyze_node(), IR_lowering::division_by_a_constant(), dump_exec_time(), HWPathComputation::Exec(), CallGraphUnfolding::Exec(), HWDiscrepancyAnalysis::Exec(), BasicBlocksProfiling::Exec(), fun_dominator_allocation::Exec(), WriteTechnology::Exec(), LoadFileTechnology::Exec(), FindMaxTransformations::Exec(), Evaluation::Exec(), BambuParameter::Exec(), vcd_utility::Exec(), create_tree_manager::Exec(), InterfaceInfer::Exec(), DesignFlowManager::Exec(), VcdSignalSelection::Exec(), CompilerWrapper::FillTreeManager(), memory_allocation::finalize_memory_allocation(), FunctionBehavior::FunctionBehavior(), AllocationInformation::GetFuType(), PhiOpt::IdentifyPattern(), FunctionCallOpt::Initialize(), tree_manipulation::InlineFunctionCall(), BB_based_stg::InternalExec(), easy_module_binding::InternalExec(), values_scheme::InternalExec(), mem_dominator_allocation::InternalExec(), commutative_expr_restructuring::InternalExec(), IR_lowering::InternalExec(), port_swapping::InternalExec(), mux_connection_binding::InternalExec(), allocation::InternalExec(), parametric_list_based::InternalExec(), cdfc_module_binding::InternalExec(), XmlFlexLexer::LexerError(), main(), NanoXploreBackendFlow::NanoXploreBackendFlow(), Bit_Value_opt::optimize(), Schedule::print(), conn_binding::print(), vcd_utility::print_discrepancy(), reg_binding::print_el(), vcd_utility::print_failed_vcd_head(), StateTransitionGraphManager::print_statistics(), hls::PrintResources(), vertex_coloring_register::RegisterBinding(), unique_binding_register::RegisterBinding(), chordal_coloring_register::RegisterBinding(), weighted_clique_register::RegisterBinding(), application_manager::RegisterTransformation(), soft_float_cg_ext::soft_float_cg_ext(), cdfc_module_binding::update_slack_starting_time(), HLSCWriter::WriteFile(), and XilinxBackendFlow::XilinxBackendFlow().

◆ NOUTPUT

#define NOUTPUT   0

Definition at line 50 of file dbgPrintHelper.hpp.

◆ OUTPUT_LEVEL_MINIMUM

#define OUTPUT_LEVEL_MINIMUM   1

◆ OUTPUT_LEVEL_NONE

#define OUTPUT_LEVEL_NONE   0

◆ OUTPUT_LEVEL_PEDANTIC

#define OUTPUT_LEVEL_PEDANTIC   3

◆ OUTPUT_LEVEL_VERBOSE

#define OUTPUT_LEVEL_VERBOSE   2

◆ OUTPUT_LEVEL_VERY_PEDANTIC

#define OUTPUT_LEVEL_VERY_PEDANTIC   4

◆ OUTPUT_LEVEL_VERY_VERY_PEDANTIC

#define OUTPUT_LEVEL_VERY_VERY_PEDANTIC   5

verbose debugging print is performed.

Definition at line 70 of file dbgPrintHelper.hpp.

Referenced by allocation::InternalExec().

◆ PRINT_DBG_MEX

#define PRINT_DBG_MEX (   dbgLevel,
  curDbgLevel,
  mex 
)    (((dbgLevel) <= (curDbgLevel)) ? std::cerr << mex << std::endl : std::cerr)

We are producing a debug version of the program, so the message is printed;.

Parameters
dbglevelthe minimum debug level at which we desire to print the message: if the actual debug level is smaller than that, no message is printed
curDbgLevelthe current debug level at which the algorithm is executing
formatMexthe array of chars containing the message to print: this message can be written using a printf like syntax.

Definition at line 120 of file dbgPrintHelper.hpp.

Referenced by classic_datapath::add_clock_reset(), ControlFlowChecker::add_clock_reset(), ControllerCreatorBaseStep::add_clock_reset(), controller_cs::add_common_ports(), ControlFlowChecker::add_common_ports(), ControllerCreatorBaseStep::add_common_ports(), ASLAP::add_constraints_to_ALAP(), ASLAP::add_constraints_to_ASAP(), ControlFlowChecker::add_done_port(), ControllerCreatorBaseStep::add_done_port(), flopoco_wrapper::add_FU(), ControlFlowChecker::add_notifiers(), cs_interface::add_parameter_port(), conn_binding_creator::add_parameter_ports(), datapath_parallel_cs::add_ports(), ControlFlowChecker::add_present_state(), controller_cs::add_selector_register_file_port(), ControlFlowChecker::add_start_port(), ControllerCreatorBaseStep::add_start_port(), reg_binding::add_to_SM(), fu_binding::add_to_SM(), determine_memory_accesses::analyze_node(), bash_flow_wrapper::bash_flow_wrapper(), tree_manipulation::bb_add_stmt(), tree_manipulation::bb_remove_predecessor(), tree_manipulation::bb_remove_successor(), operations_cfg_computation::build_operation_recursive(), WB4_interface::build_WB4_complete_logic(), tree_manager::check_for_type(), short_circuit_taf::check_merging_candidate(), pragma_manager::checkCompliant(), ASLAP::compute_ALAP(), ASLAP::compute_ALAP_fast(), ASLAP::compute_ASAP(), reg_binding::compute_bitsize(), parametric_list_based::compute_function_topological_order(), parametric_list_based::compute_starting_ending_time_asap(), ToolManager::configure(), datapath_parallel_cs::connect_i_module_kernel(), datapath_parallel_cs::connect_module_kernel(), fu_binding_cs::connect_selector_kernel(), mux_connection_binding::connect_to_registers(), conn_binding_cs::connectOutOr(), port_o::copy(), signal_o::copy(), module::copy(), tree_manipulation::create_basic_block(), tree_manipulation::create_binary_operation(), mux_connection_binding::create_connections(), create_control_flow_checker(), tree_manipulation::create_extract_bit_expr(), ModuleGeneratorManager::create_generic_module(), short_circuit_taf::create_gimple_cond(), tree_manipulation::create_gimple_cond(), tree_manipulation::create_gimple_return(), tree_manipulation::create_identifier_node(), tree_manipulation::create_lut_expr(), tree_manipulation::create_parm_decl(), tree_manipulation::create_phi_node(), tree_manipulation::create_quaternary_operation(), tree_manipulation::create_result_decl(), mux_connection_binding::create_single_conn(), tree_manipulation::create_ternary_operation(), tree_manipulation::create_translation_unit_decl(), tree_manipulation::create_unary_operation(), tree_manipulation::create_var_decl(), tree_manipulation::CreateIntegerCst(), Loops::DetectIrreducibleLoop(), Loops::DetectLoops(), mux_connection_binding::determine_connection(), LoadDeviceTechnology::Exec(), VcdSignalSelection::Exec(), parametric_list_based::exec(), memory_allocation::finalize_memory_allocation(), ModuleGeneratorManager::GenerateHDL(), Translator::get_exponential_notation(), Translator::get_normalization(), tree_manipulation::GetBitsizeType(), tree_manipulation::GetBooleanType(), ASLAP::GetCycleLatency(), tree_manipulation::GetPointerType(), tree_manipulation::GetSignedIntegerType(), tree_manipulation::GetSizeType(), tree_manipulation::GetUnsignedIntegerType(), tree_manipulation::GetUnsignedLongLongType(), tree_manipulation::GetVoidType(), HDL_manager::hdl_gen(), HLS_constraints::HLS_constraints(), mux_connection_binding::input_logic(), fu_binding_cs::instantiate_component_kernel(), datapath_parallel_cs::instantiate_component_parallel(), cs_interface::instantiate_component_parallel(), conn_binding_cs::instantiate_suspension_component(), pipeline_controller::InternalExec(), BB_based_stg::InternalExec(), FSM_NI_SSA_liveness::InternalExec(), fsm_controller::InternalExec(), top_entity_parallel_cs::InternalExec(), extract_patterns::InternalExec(), BBReachabilityComputation::InternalExec(), AddOpLoopFlowEdges::InternalExec(), dom_post_dom_computation::InternalExec(), rebuild_initialization::InternalExec(), loops_computation::InternalExec(), NI_SSA_liveness::InternalExec(), compute_implicit_calls::InternalExec(), Bit_Value_opt::InternalExec(), determine_memory_accesses::InternalExec(), top_entity::InternalExec(), virtual_phi_nodes_split::InternalExec(), Bit_Value::InternalExec(), parametric_list_based::InternalExec(), cdfc_module_binding::InternalExec(), flopoco_wrapper::InternalWriteVHDL(), lattice_flow_wrapper::lattice_flow_wrapper(), main(), fu_binding_cs::manage_memory_port_hierarchical(), fu_binding_cs::manage_memory_port_kernel(), map_wrapper::map_wrapper(), Translator::merge_pa(), modelsimWrapper::modelsimWrapper(), mux_connection_binding::mux_interconnection(), ngdbuild_wrapper::ngdbuild_wrapper(), nxpython_flow_wrapper::nxpython_flow_wrapper(), Bit_Value_opt::optimize(), par_wrapper::par_wrapper(), AllocationInformation::print_allocated_resources(), Quartus13ReportWrapper::Quartus13ReportWrapper(), QuartusPowerWrapper::QuartusPowerWrapper(), QuartusReportWrapper::QuartusReportWrapper(), structural_manager::reconnect_signal_member(), VarDeclFix::recursive_examinate(), CheckSystemType::recursive_examinate(), short_circuit_taf::restructure_CFG(), fu_binding::specialise_fu(), reg_binding::specialise_reg(), ModuleGeneratorManager::specialize_fu(), network_flow::successive_shortest_path_algorithm(), trce_wrapper::trce_wrapper(), ASLAP::update_ALAP(), vcd_parser::vcd_parse_def_var(), vcd_parser::vcd_pop_def_scope(), vcd_parser::vcd_push_def_scope(), VerilatorWrapper::VerilatorWrapper(), virtual_phi_nodes_split::virtual_split_phi(), vivado_flow_wrapper::vivado_flow_wrapper(), VIVADO_xsim_wrapper::VIVADO_xsim_wrapper(), HDL_manager::write_components(), HDL_manager::write_flopoco_module(), HDL_manager::write_fsm(), HDL_manager::write_module(), verilog_writer::write_module_parametrization_decl(), verilog_writer::write_state_declaration(), structural_object::xload(), functional_unit::xload(), module::xload(), and xst_wrapper::xst_wrapper().

◆ PRINT_DBG_STRING

#define PRINT_DBG_STRING (   dbgLevel,
  curDbgLevel,
  mex 
)    (((dbgLevel) <= (curDbgLevel)) ? std::cerr << mex : std::cerr)

We are producing a debug version of the program, so the message is printed; no newline is added;.

Parameters
dbglevelthe minimum debug level at which we desire to print the message: if the actual debug level is smaller than that, no message is printed
curDbgLevelthe current debug level at which the algorithm is executing
formatMexthe array of chars containing the message to print: this message can be written using a printf like syntax.

Definition at line 132 of file dbgPrintHelper.hpp.

Referenced by ASLAP::add_constraints_to_ALAP(), ASLAP::add_constraints_to_ASAP(), conn_binding_creator::add_parameter_ports(), classic_datapath::add_ports(), FSM_NI_SSA_liveness::InternalExec(), and NI_SSA_liveness::InternalExec().

◆ PRINT_MSG

#define PRINT_MSG (   mex)    std::cerr << mex << std::endl

◆ PRINT_OUT_MEX

#define PRINT_OUT_MEX (   profLevel,
  curprofLevel,
  mex 
)    (((profLevel) <= (curprofLevel)) ? std::cerr << mex << std::endl : std::cerr)

◆ PRINT_OUT_STRING

#define PRINT_OUT_STRING (   profLevel,
  curprofLevel,
  mex 
)    (((profLevel) <= (curprofLevel)) ? std::cerr << mex : std::cerr)

Definition at line 193 of file dbgPrintHelper.hpp.

◆ PRINT_STRING

#define PRINT_STRING (   mex)    std::cerr << mex

Definition at line 198 of file dbgPrintHelper.hpp.

Variable Documentation

◆ indentation

size_t indentation

The current indentation for debug messages.

Definition at line 54 of file global_variables.cpp.

◆ null_stream

std::ostream null_stream

◆ panda_message

std::string panda_message

This is the message to be printed.

This is the message to be printed.

Definition at line 60 of file global_variables.cpp.


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