From e9cad7c3876cb12dbebfd6865bd5ac0f42116d6c Mon Sep 17 00:00:00 2001 From: "Wang, Han2" Date: Tue, 22 Oct 2024 13:47:23 -0700 Subject: [PATCH] remove empty line after license --- backends/tofino/bf-p4c/arch/add_t2na_meta.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/add_t2na_meta.h | 11 +++++------ backends/tofino/bf-p4c/arch/arch.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/arch.h | 11 +++++------ backends/tofino/bf-p4c/arch/arch_spec.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/arch_spec.h | 11 +++++------ backends/tofino/bf-p4c/arch/bridge_metadata.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/bridge_metadata.h | 11 +++++------ .../tofino/bf-p4c/arch/check_extern_invocation.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/check_extern_invocation.h | 11 +++++------ .../tofino/bf-p4c/arch/collect_bridged_fields.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/collect_bridged_fields.h | 11 +++++------ .../arch/collect_hardware_constrained_fields.cpp | 11 +++++------ .../bf-p4c/arch/collect_hardware_constrained_fields.h | 11 +++++------ .../arch/fromv1.0/add_metadata_parser_states.cpp | 11 +++++------ .../bf-p4c/arch/fromv1.0/add_metadata_parser_states.h | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/checksum.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/checksum.h | 11 +++++------ .../bf-p4c/arch/fromv1.0/egress_packet_length.cpp | 11 +++++------ .../bf-p4c/arch/fromv1.0/egress_packet_length.h | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/field_list.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/field_list.h | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/lpf.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/lpf.h | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/meter.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/meter.h | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/mirror.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/mirror.h | 11 +++++------ .../tofino/bf-p4c/arch/fromv1.0/parser_counter.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/parser_counter.h | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/phase0.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/phase0.h | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/primitives.cpp | 11 +++++------ .../tofino/bf-p4c/arch/fromv1.0/programStructure.cpp | 11 +++++------ .../tofino/bf-p4c/arch/fromv1.0/programStructure.h | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/resubmit.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/resubmit.h | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/stateful_alu.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/stateful_alu.h | 11 +++++------ .../tofino/bf-p4c/arch/fromv1.0/v1_converters.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/v1_converters.h | 11 +++++------ .../bf-p4c/arch/fromv1.0/v1_program_structure.cpp | 11 +++++------ .../bf-p4c/arch/fromv1.0/v1_program_structure.h | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/wred.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/fromv1.0/wred.h | 11 +++++------ backends/tofino/bf-p4c/arch/helpers.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/helpers.h | 11 +++++------ backends/tofino/bf-p4c/arch/intrinsic_metadata.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/intrinsic_metadata.h | 11 +++++------ backends/tofino/bf-p4c/arch/program_structure.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/program_structure.h | 11 +++++------ backends/tofino/bf-p4c/arch/psa/programStructure.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/psa/programStructure.h | 11 +++++------ backends/tofino/bf-p4c/arch/psa/psa.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/psa/psa.h | 11 +++++------ backends/tofino/bf-p4c/arch/psa/psa_converters.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/psa/psa_converters.h | 11 +++++------ backends/tofino/bf-p4c/arch/psa/psa_model.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/psa/psa_model.h | 11 +++++------ .../bf-p4c/arch/psa/rewrite_bridge_metadata.cpp | 11 +++++------ .../tofino/bf-p4c/arch/psa/rewrite_bridge_metadata.h | 11 +++++------ .../tofino/bf-p4c/arch/psa/rewrite_packet_path.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/psa/rewrite_packet_path.h | 11 +++++------ backends/tofino/bf-p4c/arch/remove_set_metadata.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/remove_set_metadata.h | 11 +++++------ .../tofino/bf-p4c/arch/rewrite_action_selector.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/rewrite_action_selector.h | 11 +++++------ backends/tofino/bf-p4c/arch/t2na.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/t2na.h | 11 +++++------ backends/tofino/bf-p4c/arch/tna.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/tna.h | 11 +++++------ backends/tofino/bf-p4c/arch/tna/primitives.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/v1model.cpp | 11 +++++------ backends/tofino/bf-p4c/arch/v1model.h | 11 +++++------ backends/tofino/bf-p4c/asm.cpp | 11 +++++------ backends/tofino/bf-p4c/asm.h | 11 +++++------ backends/tofino/bf-p4c/backend.cpp | 11 +++++------ backends/tofino/bf-p4c/backend.h | 11 +++++------ backends/tofino/bf-p4c/bf-p4c-options.cpp | 11 +++++------ backends/tofino/bf-p4c/bf-p4c-options.h | 11 +++++------ backends/tofino/bf-p4c/common/alias.cpp | 11 +++++------ backends/tofino/bf-p4c/common/alias.h | 11 +++++------ backends/tofino/bf-p4c/common/alloc.h | 11 +++++------ backends/tofino/bf-p4c/common/asm_output.cpp | 11 +++++------ backends/tofino/bf-p4c/common/asm_output.h | 11 +++++------ backends/tofino/bf-p4c/common/autoindent.h | 11 +++++------ backends/tofino/bf-p4c/common/bridged_packing.cpp | 11 +++++------ backends/tofino/bf-p4c/common/bridged_packing.h | 11 +++++------ .../tofino/bf-p4c/common/check_field_corruption.cpp | 11 +++++------ .../tofino/bf-p4c/common/check_field_corruption.h | 11 +++++------ .../common/check_for_unimplemented_features.cpp | 11 +++++------ .../bf-p4c/common/check_for_unimplemented_features.h | 11 +++++------ backends/tofino/bf-p4c/common/check_header_refs.h | 11 +++++------ .../tofino/bf-p4c/common/check_uninitialized_read.cpp | 11 +++++------ .../tofino/bf-p4c/common/check_uninitialized_read.h | 11 +++++------ backends/tofino/bf-p4c/common/debug_info.h | 11 +++++------ backends/tofino/bf-p4c/common/dump_pipe.cpp | 11 +++++------ backends/tofino/bf-p4c/common/elim_unused.cpp | 11 +++++------ backends/tofino/bf-p4c/common/elim_unused.h | 11 +++++------ backends/tofino/bf-p4c/common/empty_tableseq.cpp | 11 +++++------ backends/tofino/bf-p4c/common/empty_tableseq.h | 11 +++++------ backends/tofino/bf-p4c/common/extract_maupipe.cpp | 11 +++++------ backends/tofino/bf-p4c/common/extract_maupipe.h | 11 +++++------ backends/tofino/bf-p4c/common/field_defuse.cpp | 11 +++++------ backends/tofino/bf-p4c/common/field_defuse.h | 11 +++++------ backends/tofino/bf-p4c/common/front_end_policy.h | 11 +++++------ backends/tofino/bf-p4c/common/header_stack.cpp | 11 +++++------ backends/tofino/bf-p4c/common/header_stack.h | 11 +++++------ backends/tofino/bf-p4c/common/ir_utils.cpp | 11 +++++------ backends/tofino/bf-p4c/common/ir_utils.h | 11 +++++------ .../tofino/bf-p4c/common/map_tables_to_actions.cpp | 11 +++++------ backends/tofino/bf-p4c/common/map_tables_to_actions.h | 11 +++++------ backends/tofino/bf-p4c/common/merge_pov_bits.cpp | 11 +++++------ backends/tofino/bf-p4c/common/merge_pov_bits.h | 11 +++++------ backends/tofino/bf-p4c/common/multiple_apply.cpp | 11 +++++------ backends/tofino/bf-p4c/common/multiple_apply.h | 11 +++++------ backends/tofino/bf-p4c/common/parse_annotations.h | 11 +++++------ backends/tofino/bf-p4c/common/pragma.h | 11 +++++------ backends/tofino/bf-p4c/common/pragma/all_pragmas.h | 11 +++++------ .../bf-p4c/common/pragma/collect_global_pragma.cpp | 11 +++++------ .../bf-p4c/common/pragma/collect_global_pragma.h | 11 +++++------ backends/tofino/bf-p4c/common/pragma/pragma.h | 11 +++++------ backends/tofino/bf-p4c/common/pragma/pragmas.cpp | 11 +++++------ backends/tofino/bf-p4c/common/run_id.cpp | 11 +++++------ backends/tofino/bf-p4c/common/run_id.h | 11 +++++------ backends/tofino/bf-p4c/common/scc_toposort.cpp | 11 +++++------ backends/tofino/bf-p4c/common/scc_toposort.h | 11 +++++------ backends/tofino/bf-p4c/common/size_of.cpp | 11 +++++------ backends/tofino/bf-p4c/common/size_of.h | 11 +++++------ backends/tofino/bf-p4c/common/slice.cpp | 11 +++++------ backends/tofino/bf-p4c/common/slice.h | 11 +++++------ backends/tofino/bf-p4c/common/table_printer.h | 11 +++++------ backends/tofino/bf-p4c/common/tofino_model.h | 11 +++++------ backends/tofino/bf-p4c/common/utils.cpp | 11 +++++------ backends/tofino/bf-p4c/common/utils.h | 11 +++++------ backends/tofino/bf-p4c/control-plane/bfruntime.cpp | 11 +++++------ backends/tofino/bf-p4c/control-plane/bfruntime.h | 11 +++++------ .../bf-p4c/control-plane/bfruntime_arch_handler.h | 11 +++++------ .../tofino/bf-p4c/control-plane/bfruntime_ext.cpp | 11 +++++------ backends/tofino/bf-p4c/control-plane/bfruntime_ext.h | 11 +++++------ .../bf-p4c/control-plane/p4runtime_force_std.cpp | 1 - .../tofino/bf-p4c/control-plane/p4runtime_force_std.h | 1 - backends/tofino/bf-p4c/control-plane/runtime.cpp | 11 +++++------ backends/tofino/bf-p4c/control-plane/runtime.h | 11 +++++------ backends/tofino/bf-p4c/device.cpp | 11 +++++------ backends/tofino/bf-p4c/device.h | 11 +++++------ backends/tofino/bf-p4c/frontend.cpp | 11 +++++------ backends/tofino/bf-p4c/frontend.h | 11 +++++------ backends/tofino/bf-p4c/ir/bitrange.cpp | 11 +++++------ backends/tofino/bf-p4c/ir/bitrange.h | 11 +++++------ backends/tofino/bf-p4c/ir/control_flow_visitor.cpp | 11 +++++------ backends/tofino/bf-p4c/ir/control_flow_visitor.h | 11 +++++------ backends/tofino/bf-p4c/ir/dbprint-tofino.cpp | 11 +++++------ backends/tofino/bf-p4c/ir/gateway_control_flow.cpp | 11 +++++------ backends/tofino/bf-p4c/ir/gateway_control_flow.h | 11 +++++------ backends/tofino/bf-p4c/ir/gress.cpp | 11 +++++------ backends/tofino/bf-p4c/ir/gress.h | 11 +++++------ backends/tofino/bf-p4c/ir/ir_enums.cpp | 11 +++++------ backends/tofino/bf-p4c/ir/ir_enums.h | 11 +++++------ backends/tofino/bf-p4c/ir/mau.cpp | 11 +++++------ backends/tofino/bf-p4c/ir/table_tree.h | 11 +++++------ backends/tofino/bf-p4c/ir/thread_visitor.cpp | 11 +++++------ backends/tofino/bf-p4c/ir/thread_visitor.h | 11 +++++------ backends/tofino/bf-p4c/ir/tofino.cpp | 11 +++++------ backends/tofino/bf-p4c/ir/tofino_write_context.cpp | 11 +++++------ backends/tofino/bf-p4c/ir/tofino_write_context.h | 11 +++++------ backends/tofino/bf-p4c/ir/unique_id.cpp | 11 +++++------ backends/tofino/bf-p4c/ir/unique_id.h | 11 +++++------ backends/tofino/bf-p4c/lib/assoc.h | 11 +++++------ backends/tofino/bf-p4c/lib/autoclone.h | 11 +++++------ backends/tofino/bf-p4c/lib/boost_graph.h | 11 +++++------ backends/tofino/bf-p4c/lib/cmp.h | 11 +++++------ backends/tofino/bf-p4c/lib/dyn_vector.h | 11 +++++------ backends/tofino/bf-p4c/lib/error_macros.h | 11 +++++------ backends/tofino/bf-p4c/lib/error_type.cpp | 11 +++++------ backends/tofino/bf-p4c/lib/error_type.h | 11 +++++------ backends/tofino/bf-p4c/lib/log_fixup.h | 11 +++++------ backends/tofino/bf-p4c/lib/pad_alignment.h | 11 +++++------ backends/tofino/bf-p4c/lib/pointer_wrapper.h | 11 +++++------ backends/tofino/bf-p4c/lib/safe_width.h | 11 +++++------ backends/tofino/bf-p4c/logging/bf_error_reporter.cpp | 11 +++++------ backends/tofino/bf-p4c/logging/bf_error_reporter.h | 11 +++++------ .../bf-p4c/logging/collect_diagnostic_checks.cpp | 11 +++++------ .../tofino/bf-p4c/logging/collect_diagnostic_checks.h | 11 +++++------ backends/tofino/bf-p4c/logging/constrained_fields.cpp | 11 +++++------ backends/tofino/bf-p4c/logging/constrained_fields.h | 11 +++++------ .../bf-p4c/logging/container_size_extractor.cpp | 11 +++++------ .../tofino/bf-p4c/logging/container_size_extractor.h | 11 +++++------ backends/tofino/bf-p4c/logging/event_logger.cpp | 11 +++++------ backends/tofino/bf-p4c/logging/event_logger.h | 11 +++++------ backends/tofino/bf-p4c/logging/filelog.cpp | 11 +++++------ backends/tofino/bf-p4c/logging/filelog.h | 11 +++++------ .../bf-p4c/logging/group_constraint_extractor.cpp | 11 +++++------ .../bf-p4c/logging/group_constraint_extractor.h | 11 +++++------ backends/tofino/bf-p4c/logging/logging.h | 11 +++++------ backends/tofino/bf-p4c/logging/manifest.cpp | 11 +++++------ backends/tofino/bf-p4c/logging/manifest.h | 11 +++++------ backends/tofino/bf-p4c/logging/pass_manager.cpp | 11 +++++------ backends/tofino/bf-p4c/logging/pass_manager.h | 11 +++++------ backends/tofino/bf-p4c/logging/phv_logging.cpp | 11 +++++------ backends/tofino/bf-p4c/logging/phv_logging.h | 11 +++++------ backends/tofino/bf-p4c/logging/rapidjson_adapter.h | 11 +++++------ backends/tofino/bf-p4c/logging/resources.cpp | 11 +++++------ backends/tofino/bf-p4c/logging/resources.h | 11 +++++------ backends/tofino/bf-p4c/logging/resources_clot.cpp | 11 +++++------ backends/tofino/bf-p4c/logging/resources_clot.h | 11 +++++------ backends/tofino/bf-p4c/logging/resources_parser.cpp | 11 +++++------ backends/tofino/bf-p4c/logging/resources_parser.h | 11 +++++------ .../tofino/bf-p4c/logging/source_info_logging.cpp | 11 +++++------ backends/tofino/bf-p4c/logging/source_info_logging.h | 11 +++++------ backends/tofino/bf-p4c/logging/test_phv.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/action_analysis.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/action_analysis.h | 11 +++++------ backends/tofino/bf-p4c/mau/action_data_bus.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/action_data_bus.h | 11 +++++------ backends/tofino/bf-p4c/mau/action_format.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/action_format.h | 11 +++++------ backends/tofino/bf-p4c/mau/action_mutex.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/action_mutex.h | 11 +++++------ backends/tofino/bf-p4c/mau/add_always_run.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/add_always_run.h | 11 +++++------ backends/tofino/bf-p4c/mau/adjust_byte_count.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/adjust_byte_count.h | 11 +++++------ backends/tofino/bf-p4c/mau/asm_format_hash.h | 11 +++++------ backends/tofino/bf-p4c/mau/asm_hash_output.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/asm_hash_output.h | 11 +++++------ backends/tofino/bf-p4c/mau/asm_output.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/asm_output.h | 11 +++++------ backends/tofino/bf-p4c/mau/attached_entries.h | 11 +++++------ backends/tofino/bf-p4c/mau/attached_info.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/attached_info.h | 11 +++++------ backends/tofino/bf-p4c/mau/attached_output.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/attached_output.h | 11 +++++------ backends/tofino/bf-p4c/mau/build_power_graph.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/build_power_graph.h | 11 +++++------ backends/tofino/bf-p4c/mau/check_duplicate.h | 11 +++++------ backends/tofino/bf-p4c/mau/db-gateway.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/default_next.h | 11 +++++------ backends/tofino/bf-p4c/mau/determine_power_usage.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/determine_power_usage.h | 11 +++++------ backends/tofino/bf-p4c/mau/dump_json_graph.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/dump_json_graph.h | 11 +++++------ backends/tofino/bf-p4c/mau/dynamic_dep_metrics.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/dynamic_dep_metrics.h | 11 +++++------ backends/tofino/bf-p4c/mau/dynhash.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/dynhash.h | 11 +++++------ backends/tofino/bf-p4c/mau/empty_controls.h | 11 +++++------ backends/tofino/bf-p4c/mau/field_use.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/field_use.h | 11 +++++------ .../bf-p4c/mau/finalize_mau_pred_deps_power.cpp | 11 +++++------ .../tofino/bf-p4c/mau/finalize_mau_pred_deps_power.h | 11 +++++------ backends/tofino/bf-p4c/mau/gateway.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/gateway.h | 11 +++++------ backends/tofino/bf-p4c/mau/gen_prim_json.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/gen_prim_json.h | 11 +++++------ backends/tofino/bf-p4c/mau/handle_assign.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/handle_assign.h | 11 +++++------ backends/tofino/bf-p4c/mau/hash_function.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/hash_function.h | 11 +++++------ backends/tofino/bf-p4c/mau/hash_mask_annotations.h | 11 +++++------ backends/tofino/bf-p4c/mau/input_xbar.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/input_xbar.h | 11 +++++------ backends/tofino/bf-p4c/mau/instruction_adjustment.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/instruction_adjustment.h | 11 +++++------ backends/tofino/bf-p4c/mau/instruction_memory.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/instruction_memory.h | 11 +++++------ backends/tofino/bf-p4c/mau/instruction_selection.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/instruction_selection.h | 11 +++++------ backends/tofino/bf-p4c/mau/ixbar_expr.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/ixbar_expr.h | 11 +++++------ backends/tofino/bf-p4c/mau/ixbar_info.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/ixbar_info.h | 11 +++++------ backends/tofino/bf-p4c/mau/ixbar_realign.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/ixbar_realign.h | 11 +++++------ backends/tofino/bf-p4c/mau/jbay_next_table.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/jbay_next_table.h | 11 +++++------ backends/tofino/bf-p4c/mau/mau_alloc.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/mau_alloc.h | 11 +++++------ backends/tofino/bf-p4c/mau/mau_power.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/mau_power.h | 11 +++++------ backends/tofino/bf-p4c/mau/mau_spec.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/mau_spec.h | 11 +++++------ backends/tofino/bf-p4c/mau/mau_visitor.h | 11 +++++------ backends/tofino/bf-p4c/mau/memories.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/memories.h | 11 +++++------ backends/tofino/bf-p4c/mau/next_table.h | 11 +++++------ backends/tofino/bf-p4c/mau/payload_gateway.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/payload_gateway.h | 11 +++++------ backends/tofino/bf-p4c/mau/power_spec.h | 11 +++++------ backends/tofino/bf-p4c/mau/push_pop.h | 11 +++++------ backends/tofino/bf-p4c/mau/reduction_or.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/reduction_or.h | 11 +++++------ backends/tofino/bf-p4c/mau/remove_act_tables.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/remove_act_tables.h | 11 +++++------ backends/tofino/bf-p4c/mau/remove_noop_gateway.h | 11 +++++------ backends/tofino/bf-p4c/mau/resource.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/resource.h | 11 +++++------ backends/tofino/bf-p4c/mau/resource_estimate.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/resource_estimate.h | 11 +++++------ backends/tofino/bf-p4c/mau/selector_update.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/selector_update.h | 11 +++++------ backends/tofino/bf-p4c/mau/simple_power_graph.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/simple_power_graph.h | 11 +++++------ backends/tofino/bf-p4c/mau/split_gateways.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/split_gateways.h | 11 +++++------ backends/tofino/bf-p4c/mau/stateful_alu.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/stateful_alu.h | 11 +++++------ .../tofino/bf-p4c/mau/static_entries_const_prop.h | 11 +++++------ backends/tofino/bf-p4c/mau/table_control_deps.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/table_control_deps.h | 11 +++++------ backends/tofino/bf-p4c/mau/table_dependency_graph.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/table_dependency_graph.h | 11 +++++------ backends/tofino/bf-p4c/mau/table_flow_graph.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/table_flow_graph.h | 11 +++++------ backends/tofino/bf-p4c/mau/table_format.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/table_format.h | 11 +++++------ backends/tofino/bf-p4c/mau/table_injected_deps.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/table_injected_deps.h | 11 +++++------ backends/tofino/bf-p4c/mau/table_layout.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/table_layout.h | 11 +++++------ backends/tofino/bf-p4c/mau/table_mutex.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/table_mutex.h | 11 +++++------ backends/tofino/bf-p4c/mau/table_placement.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/table_placement.h | 11 +++++------ backends/tofino/bf-p4c/mau/table_seqdeps.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/table_seqdeps.h | 11 +++++------ backends/tofino/bf-p4c/mau/table_summary.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/table_summary.h | 11 +++++------ backends/tofino/bf-p4c/mau/tofino/action_data_bus.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/tofino/action_data_bus.h | 11 +++++------ backends/tofino/bf-p4c/mau/tofino/asm_output.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/tofino/asm_output.h | 11 +++++------ backends/tofino/bf-p4c/mau/tofino/input_xbar.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/tofino/input_xbar.h | 11 +++++------ .../tofino/bf-p4c/mau/tofino/instruction_memory.h | 11 +++++------ backends/tofino/bf-p4c/mau/tofino/mau_spec.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/tofino/memories.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/tofino/memories.h | 11 +++++------ backends/tofino/bf-p4c/mau/validate_actions.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/validate_actions.h | 11 +++++------ backends/tofino/bf-p4c/mau/walk_power_graph.cpp | 11 +++++------ backends/tofino/bf-p4c/mau/walk_power_graph.h | 11 +++++------ backends/tofino/bf-p4c/midend.cpp | 11 +++++------ backends/tofino/bf-p4c/midend.h | 11 +++++------ .../tofino/bf-p4c/midend/action_synthesis_policy.h | 11 +++++------ backends/tofino/bf-p4c/midend/alpm.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/alpm.h | 11 +++++------ .../tofino/bf-p4c/midend/annotate_with_in_hash.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/annotate_with_in_hash.h | 11 +++++------ backends/tofino/bf-p4c/midend/blockmap.h | 11 +++++------ .../tofino/bf-p4c/midend/check_design_pattern.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/check_design_pattern.h | 11 +++++------ .../tofino/bf-p4c/midend/check_header_alignment.cpp | 11 +++++------ .../tofino/bf-p4c/midend/check_header_alignment.h | 11 +++++------ .../tofino/bf-p4c/midend/check_register_actions.cpp | 11 +++++------ .../tofino/bf-p4c/midend/check_register_actions.h | 11 +++++------ backends/tofino/bf-p4c/midend/check_unsupported.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/check_unsupported.h | 11 +++++------ backends/tofino/bf-p4c/midend/collect_pipelines.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/collect_pipelines.h | 11 +++++------ backends/tofino/bf-p4c/midend/copy_block_pragmas.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/copy_block_pragmas.h | 11 +++++------ backends/tofino/bf-p4c/midend/copy_header.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/copy_header.h | 11 +++++------ backends/tofino/bf-p4c/midend/defuse.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/defuse.h | 11 +++++------ .../tofino/bf-p4c/midend/desugar_varbit_extract.cpp | 11 +++++------ .../tofino/bf-p4c/midend/desugar_varbit_extract.h | 11 +++++------ .../bf-p4c/midend/detect_multiple_pipelines.cpp | 11 +++++------ .../tofino/bf-p4c/midend/detect_multiple_pipelines.h | 11 +++++------ .../bf-p4c/midend/drop_packet_with_mirror_engine.cpp | 11 +++++------ .../bf-p4c/midend/drop_packet_with_mirror_engine.h | 11 +++++------ backends/tofino/bf-p4c/midend/elim_cast.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/elim_cast.h | 11 +++++------ backends/tofino/bf-p4c/midend/eliminate_tuples.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/eliminate_tuples.h | 11 +++++------ .../tofino/bf-p4c/midend/fold_constant_hashes.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/fold_constant_hashes.h | 11 +++++------ .../bf-p4c/midend/initialize_mirror_io_select.cpp | 11 +++++------ .../bf-p4c/midend/initialize_mirror_io_select.h | 11 +++++------ backends/tofino/bf-p4c/midend/move_to_egress.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/move_to_egress.h | 11 +++++------ backends/tofino/bf-p4c/midend/normalize_hash_list.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/normalize_hash_list.h | 11 +++++------ backends/tofino/bf-p4c/midend/normalize_params.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/normalize_params.h | 11 +++++------ backends/tofino/bf-p4c/midend/param_binding.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/param_binding.h | 11 +++++------ .../tofino/bf-p4c/midend/parser_enforce_depth_req.cpp | 11 +++++------ .../tofino/bf-p4c/midend/parser_enforce_depth_req.h | 11 +++++------ backends/tofino/bf-p4c/midend/parser_graph.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/parser_graph.h | 11 +++++------ backends/tofino/bf-p4c/midend/path_linearizer.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/path_linearizer.h | 11 +++++------ .../tofino/bf-p4c/midend/ping_pong_generation.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/ping_pong_generation.h | 11 +++++------ backends/tofino/bf-p4c/midend/register_read_write.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/register_read_write.h | 11 +++++------ backends/tofino/bf-p4c/midend/remove_action_params.h | 11 +++++------ .../tofino/bf-p4c/midend/remove_select_booleans.h | 11 +++++------ .../midend/rewrite_egress_intrinsic_metadata_header.h | 11 +++++------ .../tofino/bf-p4c/midend/rewrite_flexible_header.h | 11 +++++------ backends/tofino/bf-p4c/midend/simplifyIfStatement.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/simplifyIfStatement.h | 11 +++++------ backends/tofino/bf-p4c/midend/simplify_args.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/simplify_args.h | 11 +++++------ backends/tofino/bf-p4c/midend/simplify_key_policy.h | 11 +++++------ backends/tofino/bf-p4c/midend/simplify_nested_if.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/simplify_nested_if.h | 11 +++++------ backends/tofino/bf-p4c/midend/simplify_references.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/simplify_references.h | 11 +++++------ backends/tofino/bf-p4c/midend/table_mutex.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/table_mutex.h | 11 +++++------ backends/tofino/bf-p4c/midend/type_categories.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/type_categories.h | 11 +++++------ backends/tofino/bf-p4c/midend/type_checker.cpp | 11 +++++------ backends/tofino/bf-p4c/midend/type_checker.h | 11 +++++------ backends/tofino/bf-p4c/p4c-barefoot.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/add_metadata_pov.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/add_metadata_pov.h | 11 +++++------ backends/tofino/bf-p4c/parde/add_parde_metadata.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/add_parde_metadata.h | 11 +++++------ backends/tofino/bf-p4c/parde/adjust_extract.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/adjust_extract.h | 11 +++++------ .../tofino/bf-p4c/parde/allocate_parser_checksum.cpp | 11 +++++------ .../tofino/bf-p4c/parde/allocate_parser_checksum.h | 11 +++++------ .../bf-p4c/parde/allocate_parser_match_register.cpp | 11 +++++------ .../bf-p4c/parde/allocate_parser_match_register.h | 11 +++++------ backends/tofino/bf-p4c/parde/asm_output.h | 11 +++++------ backends/tofino/bf-p4c/parde/characterize_parser.h | 11 +++++------ .../tofino/bf-p4c/parde/check_parser_multi_write.cpp | 11 +++++------ .../tofino/bf-p4c/parde/check_parser_multi_write.h | 11 +++++------ backends/tofino/bf-p4c/parde/clot/allocate_clot.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/clot/allocate_clot.h | 11 +++++------ .../tofino/bf-p4c/parde/clot/check_clot_groups.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/clot/check_clot_groups.h | 11 +++++------ backends/tofino/bf-p4c/parde/clot/clot.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/clot/clot.h | 11 +++++------ backends/tofino/bf-p4c/parde/clot/clot_candidate.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/clot/clot_candidate.h | 11 +++++------ backends/tofino/bf-p4c/parde/clot/clot_info.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/clot/clot_info.h | 11 +++++------ backends/tofino/bf-p4c/parde/clot/deparse_graph.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/clot/deparse_graph.h | 11 +++++------ .../tofino/bf-p4c/parde/clot/field_pov_analysis.cpp | 11 +++++------ .../tofino/bf-p4c/parde/clot/field_pov_analysis.h | 11 +++++------ .../bf-p4c/parde/clot/field_slice_extract_info.cpp | 11 +++++------ .../bf-p4c/parde/clot/field_slice_extract_info.h | 11 +++++------ backends/tofino/bf-p4c/parde/clot/field_slice_set.h | 11 +++++------ .../bf-p4c/parde/clot/header_validity_analysis.cpp | 11 +++++------ .../bf-p4c/parde/clot/header_validity_analysis.h | 11 +++++------ .../parde/clot/merge_desugared_varbit_valids.cpp | 11 +++++------ .../bf-p4c/parde/clot/merge_desugared_varbit_valids.h | 11 +++++------ .../bf-p4c/parde/clot/pragma/do_not_use_clot.cpp | 11 +++++------ .../tofino/bf-p4c/parde/clot/pragma/do_not_use_clot.h | 11 +++++------ backends/tofino/bf-p4c/parde/clot/pseudoheader.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/clot/pseudoheader.h | 11 +++++------ backends/tofino/bf-p4c/parde/coalesce_learning.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/coalesce_learning.h | 11 +++++------ backends/tofino/bf-p4c/parde/collect_parser_usedef.h | 11 +++++------ backends/tofino/bf-p4c/parde/common/allocators.h | 11 +++++------ backends/tofino/bf-p4c/parde/common/match_reducer.h | 11 +++++------ .../tofino/bf-p4c/parde/count_strided_header_refs.cpp | 11 +++++------ .../tofino/bf-p4c/parde/count_strided_header_refs.h | 11 +++++------ backends/tofino/bf-p4c/parde/create_pov_encoder.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/create_pov_encoder.h | 11 +++++------ backends/tofino/bf-p4c/parde/decaf.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/decaf.h | 11 +++++------ .../tofino/bf-p4c/parde/deparser_checksum_update.cpp | 11 +++++------ .../tofino/bf-p4c/parde/deparser_checksum_update.h | 11 +++++------ backends/tofino/bf-p4c/parde/deparser_output.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/dump_parser.h | 11 +++++------ backends/tofino/bf-p4c/parde/extract_deparser.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/extract_deparser.h | 11 +++++------ backends/tofino/bf-p4c/parde/extract_parser.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/extract_parser.h | 11 +++++------ backends/tofino/bf-p4c/parde/field_packing.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/field_packing.h | 11 +++++------ backends/tofino/bf-p4c/parde/header_output.cpp | 10 +++++----- backends/tofino/bf-p4c/parde/infer_payload_offset.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/infer_payload_offset.h | 11 +++++------ backends/tofino/bf-p4c/parde/lower_parser.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/lower_parser.h | 11 +++++------ .../parde/lowered/compute_buffer_requirements.cpp | 11 +++++------ .../parde/lowered/compute_buffer_requirements.h | 11 +++++------ .../parde/lowered/compute_init_zero_containers.cpp | 11 +++++------ .../parde/lowered/compute_init_zero_containers.h | 11 +++++------ .../parde/lowered/compute_lowered_deparser_ir.cpp | 11 +++++------ .../parde/lowered/compute_lowered_deparser_ir.h | 11 +++++------ .../parde/lowered/compute_lowered_parser_ir.cpp | 11 +++++------ .../bf-p4c/parde/lowered/compute_lowered_parser_ir.h | 11 +++++------ .../parde/lowered/compute_multi_write_containers.cpp | 11 +++++------ .../parde/lowered/compute_multi_write_containers.h | 11 +++++------ .../bf-p4c/parde/lowered/eliminate_empty_states.cpp | 11 +++++------ .../bf-p4c/parde/lowered/eliminate_empty_states.h | 11 +++++------ .../bf-p4c/parde/lowered/extract_simplifier.cpp | 11 +++++------ .../tofino/bf-p4c/parde/lowered/extract_simplifier.h | 11 +++++------ backends/tofino/bf-p4c/parde/lowered/helpers.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/lowered/helpers.h | 11 +++++------ .../parde/lowered/hoist_common_match_operations.cpp | 11 +++++------ .../parde/lowered/hoist_common_match_operations.h | 11 +++++------ .../parde/lowered/merge_lowered_parser_states.cpp | 11 +++++------ .../parde/lowered/merge_lowered_parser_states.h | 11 +++++------ .../tofino/bf-p4c/parde/lowered/rewrite_emit_clot.cpp | 11 +++++------ .../tofino/bf-p4c/parde/lowered/rewrite_emit_clot.h | 11 +++++------ .../parde/lowered/split_greedy_parser_states.cpp | 11 +++++------ .../bf-p4c/parde/lowered/split_greedy_parser_states.h | 11 +++++------ backends/tofino/bf-p4c/parde/marshal.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/marshal.h | 11 +++++------ backends/tofino/bf-p4c/parde/match_register.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/match_register.h | 11 +++++------ backends/tofino/bf-p4c/parde/merge_parser_state.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/merge_parser_state.h | 11 +++++------ .../bf-p4c/parde/mirror/const_mirror_session_opt.cpp | 11 +++++------ .../bf-p4c/parde/mirror/const_mirror_session_opt.h | 11 +++++------ backends/tofino/bf-p4c/parde/parde_spec.h | 11 +++++------ backends/tofino/bf-p4c/parde/parde_utils.h | 11 +++++------ backends/tofino/bf-p4c/parde/parde_visitor.h | 11 +++++------ .../tofino/bf-p4c/parde/parser_dominator_builder.cpp | 11 +++++------ .../tofino/bf-p4c/parde/parser_dominator_builder.h | 11 +++++------ .../tofino/bf-p4c/parde/parser_header_sequences.cpp | 11 +++++------ .../tofino/bf-p4c/parde/parser_header_sequences.h | 11 +++++------ backends/tofino/bf-p4c/parde/parser_info.h | 11 +++++------ backends/tofino/bf-p4c/parde/parser_loops_info.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/parser_loops_info.h | 11 +++++------ backends/tofino/bf-p4c/parde/parser_output.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/parser_query.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/parser_query.h | 11 +++++------ backends/tofino/bf-p4c/parde/phase0.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/phase0.h | 11 +++++------ .../bf-p4c/parde/reset_invalidated_checksum_headers.h | 11 +++++------ .../tofino/bf-p4c/parde/resolve_negative_extract.h | 11 +++++------ .../tofino/bf-p4c/parde/rewrite_parser_locals.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/rewrite_parser_locals.h | 11 +++++------ backends/tofino/bf-p4c/parde/split_parser_state.cpp | 11 +++++------ backends/tofino/bf-p4c/parde/split_parser_state.h | 11 +++++------ backends/tofino/bf-p4c/parde/stack_push_shims.h | 11 +++++------ .../tofino/bf-p4c/parde/update_parser_write_mode.h | 11 +++++------ .../bf-p4c/phv/action_packing_validator_interface.h | 11 +++++------ backends/tofino/bf-p4c/phv/action_phv_constraints.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/action_phv_constraints.h | 11 +++++------ backends/tofino/bf-p4c/phv/action_source_tracker.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/action_source_tracker.h | 11 +++++------ backends/tofino/bf-p4c/phv/add_alias_allocation.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/add_alias_allocation.h | 11 +++++------ backends/tofino/bf-p4c/phv/add_initialization.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/add_initialization.h | 11 +++++------ .../tofino/bf-p4c/phv/add_special_constraints.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/add_special_constraints.h | 11 +++++------ backends/tofino/bf-p4c/phv/alloc_setting.h | 11 +++++------ backends/tofino/bf-p4c/phv/allocate_phv.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/allocate_phv.h | 11 +++++------ .../phv/allocate_temps_and_finalize_liverange.cpp | 11 +++++------ .../phv/allocate_temps_and_finalize_liverange.h | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/build_mutex.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/build_mutex.h | 11 +++++------ .../bf-p4c/phv/analysis/critical_path_clusters.cpp | 11 +++++------ .../bf-p4c/phv/analysis/critical_path_clusters.h | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/dark.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/dark.h | 11 +++++------ .../tofino/bf-p4c/phv/analysis/dark_live_range.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/dark_live_range.h | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/deparser_zero.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/deparser_zero.h | 11 +++++------ .../tofino/bf-p4c/phv/analysis/dominator_tree.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/dominator_tree.h | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/header_mutex.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/header_mutex.h | 11 +++++------ .../tofino/bf-p4c/phv/analysis/jbay_phv_analysis.cpp | 11 +++++------ .../tofino/bf-p4c/phv/analysis/jbay_phv_analysis.h | 11 +++++------ .../bf-p4c/phv/analysis/live_range_shrinking.cpp | 11 +++++------ .../tofino/bf-p4c/phv/analysis/live_range_shrinking.h | 11 +++++------ .../tofino/bf-p4c/phv/analysis/memoize_min_stage.cpp | 11 +++++------ .../tofino/bf-p4c/phv/analysis/memoize_min_stage.h | 11 +++++------ .../tofino/bf-p4c/phv/analysis/meta_live_range.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/meta_live_range.h | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/mocha.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/mocha.h | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/mutex_overlay.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/mutex_overlay.h | 11 +++++------ .../bf-p4c/phv/analysis/non_mocha_dark_fields.cpp | 11 +++++------ .../bf-p4c/phv/analysis/non_mocha_dark_fields.h | 11 +++++------ .../tofino/bf-p4c/phv/analysis/pack_conflicts.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/analysis/pack_conflicts.h | 11 +++++------ .../bf-p4c/phv/analysis/parser_critical_path.cpp | 11 +++++------ .../tofino/bf-p4c/phv/analysis/parser_critical_path.h | 11 +++++------ backends/tofino/bf-p4c/phv/asm_output.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/asm_output.h | 11 +++++------ backends/tofino/bf-p4c/phv/auto_init_metadata.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/auto_init_metadata.h | 11 +++++------ backends/tofino/bf-p4c/phv/check_unallocated.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/check_unallocated.h | 11 +++++------ backends/tofino/bf-p4c/phv/cluster_phv_operations.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/cluster_phv_operations.h | 11 +++++------ backends/tofino/bf-p4c/phv/collect_strided_headers.h | 11 +++++------ backends/tofino/bf-p4c/phv/collect_table_keys.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/collect_table_keys.h | 11 +++++------ .../tofino/bf-p4c/phv/constraints/constraints.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/constraints/constraints.h | 11 +++++------ .../bf-p4c/phv/create_thread_local_instances.cpp | 11 +++++------ .../tofino/bf-p4c/phv/create_thread_local_instances.h | 11 +++++------ backends/tofino/bf-p4c/phv/dump_table_flow_graph.h | 11 +++++------ backends/tofino/bf-p4c/phv/error.h | 11 +++++------ backends/tofino/bf-p4c/phv/fieldslice_live_range.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/fieldslice_live_range.h | 11 +++++------ .../tofino/bf-p4c/phv/finalize_physical_liverange.cpp | 11 +++++------ .../tofino/bf-p4c/phv/finalize_physical_liverange.h | 11 +++++------ .../tofino/bf-p4c/phv/finalize_stage_allocation.cpp | 11 +++++------ .../tofino/bf-p4c/phv/finalize_stage_allocation.h | 11 +++++------ backends/tofino/bf-p4c/phv/init_in_mau.h | 11 +++++------ .../bf-p4c/phv/legacy_action_packing_validator.cpp | 11 +++++------ .../bf-p4c/phv/legacy_action_packing_validator.h | 11 +++++------ backends/tofino/bf-p4c/phv/live_range_split.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/live_range_split.h | 11 +++++------ backends/tofino/bf-p4c/phv/make_clusters.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/make_clusters.h | 11 +++++------ backends/tofino/bf-p4c/phv/mau_backtracker.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/mau_backtracker.h | 11 +++++------ backends/tofino/bf-p4c/phv/optimize_phv.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/optimize_phv.h | 11 +++++------ backends/tofino/bf-p4c/phv/parde_phv_constraints.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/parde_phv_constraints.h | 11 +++++------ .../tofino/bf-p4c/phv/parser_extract_balance_score.h | 11 +++++------ .../bf-p4c/phv/parser_packing_validator_interface.h | 11 +++++------ backends/tofino/bf-p4c/phv/phv.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/phv.h | 11 +++++------ backends/tofino/bf-p4c/phv/phv_analysis.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/phv_analysis.h | 11 +++++------ backends/tofino/bf-p4c/phv/phv_fields.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/phv_fields.h | 11 +++++------ backends/tofino/bf-p4c/phv/phv_parde_mau_use.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/phv_parde_mau_use.h | 11 +++++------ backends/tofino/bf-p4c/phv/phv_spec.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/phv_spec.h | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_alias.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_alias.h | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_atomic.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_atomic.h | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_byte_pack.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_byte_pack.h | 11 +++++------ .../tofino/bf-p4c/phv/pragma/pa_container_size.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_container_size.h | 11 +++++------ .../tofino/bf-p4c/phv/pragma/pa_container_type.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_container_type.h | 11 +++++------ .../tofino/bf-p4c/phv/pragma/pa_deparser_zero.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_deparser_zero.h | 11 +++++------ .../bf-p4c/phv/pragma/pa_mutually_exclusive.cpp | 11 +++++------ .../tofino/bf-p4c/phv/pragma/pa_mutually_exclusive.h | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_no_init.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_no_init.h | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_no_overlay.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_no_overlay.h | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_no_pack.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_no_pack.h | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_solitary.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pa_solitary.h | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/phv_pragmas.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/phv_pragmas.h | 11 +++++------ backends/tofino/bf-p4c/phv/pragma/pretty_print.h | 11 +++++------ .../bf-p4c/phv/slicing/phv_slicing_dfs_iterator.cpp | 11 +++++------ .../bf-p4c/phv/slicing/phv_slicing_dfs_iterator.h | 11 +++++------ .../bf-p4c/phv/slicing/phv_slicing_iterator.cpp | 11 +++++------ .../tofino/bf-p4c/phv/slicing/phv_slicing_iterator.h | 11 +++++------ .../tofino/bf-p4c/phv/slicing/phv_slicing_split.cpp | 11 +++++------ .../tofino/bf-p4c/phv/slicing/phv_slicing_split.h | 11 +++++------ backends/tofino/bf-p4c/phv/slicing/types.h | 11 +++++------ .../bf-p4c/phv/solver/action_constraint_solver.cpp | 11 +++++------ .../bf-p4c/phv/solver/action_constraint_solver.h | 11 +++++------ backends/tofino/bf-p4c/phv/solver/symbolic_bitvec.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/solver/symbolic_bitvec.h | 11 +++++------ backends/tofino/bf-p4c/phv/split_padding.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/split_padding.h | 11 +++++------ backends/tofino/bf-p4c/phv/table_phv_constraints.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/table_phv_constraints.h | 11 +++++------ backends/tofino/bf-p4c/phv/transforms/auto_alias.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/transforms/auto_alias.h | 11 +++++------ .../tofino/bf-p4c/phv/utils/container_equivalence.cpp | 11 +++++------ .../tofino/bf-p4c/phv/utils/container_equivalence.h | 11 +++++------ .../tofino/bf-p4c/phv/utils/live_range_report.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/utils/live_range_report.h | 11 +++++------ .../tofino/bf-p4c/phv/utils/liverange_opti_utils.cpp | 11 +++++------ .../tofino/bf-p4c/phv/utils/liverange_opti_utils.h | 11 +++++------ backends/tofino/bf-p4c/phv/utils/report.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/utils/report.h | 11 +++++------ backends/tofino/bf-p4c/phv/utils/slice_alloc.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/utils/slice_alloc.h | 11 +++++------ backends/tofino/bf-p4c/phv/utils/tables_to_ids.h | 11 +++++------ backends/tofino/bf-p4c/phv/utils/utils.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/utils/utils.h | 11 +++++------ .../tofino/bf-p4c/phv/v2/action_packing_validator.cpp | 11 +++++------ .../tofino/bf-p4c/phv/v2/action_packing_validator.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/allocator_base.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/allocator_base.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/allocator_metrics.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/copacker.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/copacker.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/greedy_allocator.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/greedy_allocator.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/greedy_tx_score.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/greedy_tx_score.h | 11 +++++------ .../tofino/bf-p4c/phv/v2/kind_size_indexed_map.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/kind_size_indexed_map.h | 11 +++++------ .../tofino/bf-p4c/phv/v2/metadata_initialization.cpp | 11 +++++------ .../tofino/bf-p4c/phv/v2/metadata_initialization.h | 11 +++++------ .../tofino/bf-p4c/phv/v2/parser_packing_validator.cpp | 11 +++++------ .../tofino/bf-p4c/phv/v2/parser_packing_validator.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/phv_allocation_v2.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/phv_allocation_v2.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/phv_kit.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/phv_kit.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/smart_packing.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/smart_packing.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/sort_macros.h | 11 +++++------ .../phv/v2/table_replay_friendly_constraints.cpp | 11 +++++------ .../bf-p4c/phv/v2/table_replay_friendly_constraints.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/trivial_allocator.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/trivial_allocator.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/tx_score.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/tx_score.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/types.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/types.h | 11 +++++------ backends/tofino/bf-p4c/phv/v2/utils_v2.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/v2/utils_v2.h | 11 +++++------ backends/tofino/bf-p4c/phv/validate_allocation.cpp | 11 +++++------ backends/tofino/bf-p4c/phv/validate_allocation.h | 11 +++++------ backends/tofino/bf-p4c/test/gtest/action_analysis.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/action_format_helper.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/action_mutex.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/action_phv.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/add_always_run.cpp | 11 +++++------ .../bf-p4c/test/gtest/annotate_with_in_hash.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/attached_info.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/bf_gtest_helpers.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/bf_gtest_helpers.h | 11 +++++------ backends/tofino/bf-p4c/test/gtest/bfrt_pvs.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/bitrange.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/build_super_cluster.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/checksum.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/clot.cpp | 11 +++++------ .../test/gtest/constrained_field_map_builder.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/container_action.cpp | 11 +++++------ .../bf-p4c/test/gtest/container_size_extractor.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/copy_header.cpp | 11 +++++------ .../bf-p4c/test/gtest/critical_path_clusters.cpp | 11 +++++------ .../bf-p4c/test/gtest/custom_header_stack_name.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/dominator_tree.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/dynamic_dep_metrics.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/elim_cast.cpp | 11 +++++------ .../bf-p4c/test/gtest/equiv_align_extractor.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/error_reporter.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/event_logger.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/field_alignment.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/field_defuse.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/field_packing.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/flatrock_hdr_asm.cpp | 10 +++++----- .../bf-p4c/test/gtest/flatrock_metadata_packer.cpp | 10 +++++----- backends/tofino/bf-p4c/test/gtest/flatrock_parser.cpp | 10 +++++----- .../tofino/bf-p4c/test/gtest/fold_constant_hashes.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/gateway_control_flow.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/hidden_merged.cpp | 11 +++++------ .../bf-p4c/test/gtest/initialize_mirror_io_select.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/input_xbar.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/ir_utils.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/jbay_next_table.cpp | 11 +++++------ .../bf-p4c/test/gtest/mask_exact_match_hash_bits.cpp | 11 +++++------ .../bf-p4c/test/gtest/mau_control_flow_visitor.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/mau_group_extractor.cpp | 11 +++++------ .../test/gtest/mau_indirect_externs_single_action.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/meta_live_range.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/mocha_dark.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/multipipe_bf_runtime.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/multiple_apply.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/no_co_pack.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/normalize_hash_list.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/pa_atomic.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/pa_byte_pack.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/pa_container_size.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/pa_container_type.cpp | 11 +++++------ .../test/gtest/pa_mutually_exclusive_pragma.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/pa_no_overlay.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/pa_solitary.cpp | 11 +++++------ .../bf-p4c/test/gtest/parser_constant_extract.cpp | 11 +++++------ .../bf-p4c/test/gtest/parser_container_valid.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/parser_critical_path.cpp | 11 +++++------ .../test/gtest/parser_elim_lowered_zero_extracts.cpp | 11 +++++------ .../bf-p4c/test/gtest/parser_enforce_depth_req.cpp | 11 +++++------ .../bf-p4c/test/gtest/parser_extract_overlay.cpp | 11 +++++------ .../bf-p4c/test/gtest/parser_extract_reorder.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/parser_state_merge.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/path_linearizer.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/payload_gateway.cpp | 11 +++++------ .../bf-p4c/test/gtest/phv/action_source_tracker.cpp | 11 +++++------ .../bf-p4c/test/gtest/phv/fieldslice_live_range.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/phv/greedy_tx_score.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/phv/slicing/iterator.cpp | 11 +++++------ .../gtest/phv/solver/action_constraint_solver.cpp | 11 +++++------ .../bf-p4c/test/gtest/phv/solver/symbolic_bitvec.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/phv_crush.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/phv_field.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/phv_jbay.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/phv_tofino.cpp | 11 +++++------ .../test/gtest/post_midend_constant_folding.cpp | 11 +++++------ .../bf-p4c/test/gtest/power_schema_dot_prefix.cpp | 11 +++++------ .../bf-p4c/test/gtest/pragma_eg_intr_md_opt.cpp | 11 +++++------ .../test/gtest/pragma_no_gateway_conversion.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/pragma_sep_gat.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/pragma_stage.cpp | 11 +++++------ .../gtest/pragmas_backward_quick_phv_bandwidth.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/register_actions.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/register_read_write.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/scc_toposort.cpp | 11 +++++------ .../bf-p4c/test/gtest/simplify_key_elim_casts.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/slice.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/slice_comparison.cpp | 11 +++++------ .../bf-p4c/test/gtest/static_entries_const_prop.cpp | 11 +++++------ .../bf-p4c/test/gtest/table_dependency_graph.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/table_flow_graph.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/table_mutex.cpp | 11 +++++------ .../bf-p4c/test/gtest/test_bf_gtest_helpers.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/tofino_gtest_utils.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/tofino_gtest_utils.h | 11 +++++------ .../tofino/bf-p4c/test/gtest/tofino_write_context.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/tphv_slice.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/type_categories.cpp | 11 +++++------ backends/tofino/bf-p4c/test/gtest/union_find.cpp | 11 +++++------ .../tofino/bf-p4c/test/gtest/v1model_translate.cpp | 11 +++++------ .../bf-p4c/test/utils/super_cluster_builder.cpp | 11 +++++------ .../tofino/bf-p4c/test/utils/super_cluster_builder.h | 11 +++++------ backends/tofino/bf-p4c/version.h | 11 +++++------ 829 files changed, 4135 insertions(+), 4960 deletions(-) mode change 100755 => 100644 backends/tofino/bf-p4c/test/gtest/attached_info.cpp mode change 100755 => 100644 backends/tofino/bf-p4c/test/gtest/elim_cast.cpp diff --git a/backends/tofino/bf-p4c/arch/add_t2na_meta.cpp b/backends/tofino/bf-p4c/arch/add_t2na_meta.cpp index 96bb7cf5a..ed3b9c4be 100644 --- a/backends/tofino/bf-p4c/arch/add_t2na_meta.cpp +++ b/backends/tofino/bf-p4c/arch/add_t2na_meta.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/arch/add_t2na_meta.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/arch/add_t2na_meta.h b/backends/tofino/bf-p4c/arch/add_t2na_meta.h index 15f178d4b..55e0a3c8d 100644 --- a/backends/tofino/bf-p4c/arch/add_t2na_meta.h +++ b/backends/tofino/bf-p4c/arch/add_t2na_meta.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_ADD_T2NA_META_H_ #define BF_P4C_ARCH_ADD_T2NA_META_H_ diff --git a/backends/tofino/bf-p4c/arch/arch.cpp b/backends/tofino/bf-p4c/arch/arch.cpp index 40a1ae0fd..5e20644f2 100644 --- a/backends/tofino/bf-p4c/arch/arch.cpp +++ b/backends/tofino/bf-p4c/arch/arch.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/arch/arch.h" #include diff --git a/backends/tofino/bf-p4c/arch/arch.h b/backends/tofino/bf-p4c/arch/arch.h index 1a5f428e3..c51d7c117 100644 --- a/backends/tofino/bf-p4c/arch/arch.h +++ b/backends/tofino/bf-p4c/arch/arch.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup ArchTranslation BFN::ArchTranslation * \ingroup midend diff --git a/backends/tofino/bf-p4c/arch/arch_spec.cpp b/backends/tofino/bf-p4c/arch/arch_spec.cpp index 028563b17..ba6addf51 100644 --- a/backends/tofino/bf-p4c/arch/arch_spec.cpp +++ b/backends/tofino/bf-p4c/arch/arch_spec.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "arch/arch_spec.h" ArchSpec::ArchSpec() { diff --git a/backends/tofino/bf-p4c/arch/arch_spec.h b/backends/tofino/bf-p4c/arch/arch_spec.h index 62901400c..3c8beaf10 100644 --- a/backends/tofino/bf-p4c/arch/arch_spec.h +++ b/backends/tofino/bf-p4c/arch/arch_spec.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_ARCH_SPEC_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_ARCH_SPEC_H_ diff --git a/backends/tofino/bf-p4c/arch/bridge_metadata.cpp b/backends/tofino/bf-p4c/arch/bridge_metadata.cpp index fbfa312a8..6149462d7 100644 --- a/backends/tofino/bf-p4c/arch/bridge_metadata.cpp +++ b/backends/tofino/bf-p4c/arch/bridge_metadata.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bridge_metadata.h" #include diff --git a/backends/tofino/bf-p4c/arch/bridge_metadata.h b/backends/tofino/bf-p4c/arch/bridge_metadata.h index ab4a1c537..0bd0ead2b 100644 --- a/backends/tofino/bf-p4c/arch/bridge_metadata.h +++ b/backends/tofino/bf-p4c/arch/bridge_metadata.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_BRIDGE_METADATA_H_ #define BF_P4C_ARCH_BRIDGE_METADATA_H_ diff --git a/backends/tofino/bf-p4c/arch/check_extern_invocation.cpp b/backends/tofino/bf-p4c/arch/check_extern_invocation.cpp index 23306d8e0..7e7a9af46 100644 --- a/backends/tofino/bf-p4c/arch/check_extern_invocation.cpp +++ b/backends/tofino/bf-p4c/arch/check_extern_invocation.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "check_extern_invocation.h" #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/arch/check_extern_invocation.h b/backends/tofino/bf-p4c/arch/check_extern_invocation.h index a37ff35ba..f0ff6d359 100644 --- a/backends/tofino/bf-p4c/arch/check_extern_invocation.h +++ b/backends/tofino/bf-p4c/arch/check_extern_invocation.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_CHECK_EXTERN_INVOCATION_H_ #define BF_P4C_ARCH_CHECK_EXTERN_INVOCATION_H_ diff --git a/backends/tofino/bf-p4c/arch/collect_bridged_fields.cpp b/backends/tofino/bf-p4c/arch/collect_bridged_fields.cpp index bb0fc7774..53039d297 100644 --- a/backends/tofino/bf-p4c/arch/collect_bridged_fields.cpp +++ b/backends/tofino/bf-p4c/arch/collect_bridged_fields.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "collect_bridged_fields.h" #include diff --git a/backends/tofino/bf-p4c/arch/collect_bridged_fields.h b/backends/tofino/bf-p4c/arch/collect_bridged_fields.h index 4f75a52d4..647f32432 100644 --- a/backends/tofino/bf-p4c/arch/collect_bridged_fields.h +++ b/backends/tofino/bf-p4c/arch/collect_bridged_fields.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_COLLECT_BRIDGED_FIELDS_H_ #define BF_P4C_ARCH_COLLECT_BRIDGED_FIELDS_H_ diff --git a/backends/tofino/bf-p4c/arch/collect_hardware_constrained_fields.cpp b/backends/tofino/bf-p4c/arch/collect_hardware_constrained_fields.cpp index cb41f6797..07cbe741d 100644 --- a/backends/tofino/bf-p4c/arch/collect_hardware_constrained_fields.cpp +++ b/backends/tofino/bf-p4c/arch/collect_hardware_constrained_fields.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "collect_hardware_constrained_fields.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/arch/collect_hardware_constrained_fields.h b/backends/tofino/bf-p4c/arch/collect_hardware_constrained_fields.h index 5358233c9..7a04f6553 100644 --- a/backends/tofino/bf-p4c/arch/collect_hardware_constrained_fields.h +++ b/backends/tofino/bf-p4c/arch/collect_hardware_constrained_fields.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_COLLECT_HARDWARE_CONSTRAINED_FIELDS_H_ #define BF_P4C_ARCH_COLLECT_HARDWARE_CONSTRAINED_FIELDS_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/add_metadata_parser_states.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/add_metadata_parser_states.cpp index 599411e93..51d3a158d 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/add_metadata_parser_states.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/add_metadata_parser_states.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "add_metadata_parser_states.h" #include "bf-p4c/arch/bridge_metadata.h" diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/add_metadata_parser_states.h b/backends/tofino/bf-p4c/arch/fromv1.0/add_metadata_parser_states.h index d6a5fc705..46d88dfdd 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/add_metadata_parser_states.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/add_metadata_parser_states.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_FROMV1_0_ADD_METADATA_PARSER_STATES_H_ #define BF_P4C_ARCH_FROMV1_0_ADD_METADATA_PARSER_STATES_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/checksum.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/checksum.cpp index ef3e3a4a8..c684e5e55 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/checksum.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/checksum.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/arch/fromv1.0/checksum.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/checksum.h b/backends/tofino/bf-p4c/arch/fromv1.0/checksum.h index 3acc7e3bd..24f19245d 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/checksum.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/checksum.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_CHECKSUM_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_CHECKSUM_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/egress_packet_length.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/egress_packet_length.cpp index 771a81c2e..9df47ad27 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/egress_packet_length.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/egress_packet_length.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "egress_packet_length.h" #include "bf-p4c/midend/type_checker.h" diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/egress_packet_length.h b/backends/tofino/bf-p4c/arch/fromv1.0/egress_packet_length.h index 3a76091d7..c6575b59f 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/egress_packet_length.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/egress_packet_length.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_FROMV1_0_EGRESS_PACKET_LENGTH_H_ #define BF_P4C_ARCH_FROMV1_0_EGRESS_PACKET_LENGTH_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/field_list.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/field_list.cpp index 9aeb4ec69..ce84fef27 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/field_list.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/field_list.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "field_list.h" #include diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/field_list.h b/backends/tofino/bf-p4c/arch/fromv1.0/field_list.h index ffe07b7c1..9e154f54d 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/field_list.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/field_list.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_FIELD_LIST_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_FIELD_LIST_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/lpf.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/lpf.cpp index 2d72a3f2e..59b269a52 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/lpf.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/lpf.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "lpf.h" #include "programStructure.h" diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/lpf.h b/backends/tofino/bf-p4c/arch/fromv1.0/lpf.h index f0f3ca6e3..3f77f1eaa 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/lpf.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/lpf.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_LPF_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_LPF_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/meter.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/meter.cpp index 5b5419a9f..a8faca625 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/meter.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/meter.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "meter.h" #include "programStructure.h" diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/meter.h b/backends/tofino/bf-p4c/arch/fromv1.0/meter.h index 7528cc1c0..1e42f9d9f 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/meter.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/meter.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_METER_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_METER_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/mirror.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/mirror.cpp index c8e6c7522..264a182e1 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/mirror.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/mirror.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "mirror.h" #include "bf-p4c/arch/bridge_metadata.h" diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/mirror.h b/backends/tofino/bf-p4c/arch/fromv1.0/mirror.h index 420604fa2..c89a249d3 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/mirror.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/mirror.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_FROMV1_0_MIRROR_H_ #define BF_P4C_ARCH_FROMV1_0_MIRROR_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/parser_counter.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/parser_counter.cpp index 646f3abbb..96f1b9a06 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/parser_counter.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/parser_counter.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "parser_counter.h" #include diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/parser_counter.h b/backends/tofino/bf-p4c/arch/fromv1.0/parser_counter.h index 020c8dcd5..75d21b6c3 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/parser_counter.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/parser_counter.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_FROMV1_0_PARSER_COUNTER_H_ #define BF_P4C_ARCH_FROMV1_0_PARSER_COUNTER_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/phase0.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/phase0.cpp index 0a8c38ab7..ad2767ab4 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/phase0.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/phase0.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "phase0.h" #include diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/phase0.h b/backends/tofino/bf-p4c/arch/fromv1.0/phase0.h index 0070d9ffd..da313eaf7 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/phase0.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/phase0.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_FROMV1_0_PHASE0_H_ #define BF_P4C_ARCH_FROMV1_0_PHASE0_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/primitives.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/primitives.cpp index 37fa7e5e4..568e79fc1 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/primitives.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/primitives.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "bf-p4c/arch/fromv1.0/programStructure.h" diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/programStructure.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/programStructure.cpp index 4a696f1da..49271fbcc 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/programStructure.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/programStructure.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "programStructure.h" #include "bf-p4c/arch/bridge_metadata.h" diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/programStructure.h b/backends/tofino/bf-p4c/arch/fromv1.0/programStructure.h index 2eeffbdbe..da0581bf2 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/programStructure.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/programStructure.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_PROGRAMSTRUCTURE_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_PROGRAMSTRUCTURE_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/resubmit.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/resubmit.cpp index 7a3cc1bc3..0a8d420a1 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/resubmit.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/resubmit.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "resubmit.h" #include "bf-p4c/arch/intrinsic_metadata.h" diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/resubmit.h b/backends/tofino/bf-p4c/arch/fromv1.0/resubmit.h index 392f751e7..95fb50ee5 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/resubmit.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/resubmit.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_FROMV1_0_RESUBMIT_H_ #define BF_P4C_ARCH_FROMV1_0_RESUBMIT_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/stateful_alu.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/stateful_alu.cpp index e3e758d28..ff0e08d9d 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/stateful_alu.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/stateful_alu.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "stateful_alu.h" #include diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/stateful_alu.h b/backends/tofino/bf-p4c/arch/fromv1.0/stateful_alu.h index 431336419..9376d45df 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/stateful_alu.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/stateful_alu.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_STATEFUL_ALU_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_STATEFUL_ALU_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/v1_converters.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/v1_converters.cpp index d52b38ce3..3d19467ab 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/v1_converters.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/v1_converters.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "v1_converters.h" #include diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/v1_converters.h b/backends/tofino/bf-p4c/arch/fromv1.0/v1_converters.h index 6c26103a8..9659e7c5e 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/v1_converters.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/v1_converters.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_FROMV1_0_V1_CONVERTERS_H_ #define BF_P4C_ARCH_FROMV1_0_V1_CONVERTERS_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/v1_program_structure.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/v1_program_structure.cpp index 61a7dafd1..7fb28a6b5 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/v1_program_structure.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/v1_program_structure.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "v1_program_structure.h" #include "bf-p4c/common/pragma/all_pragmas.h" diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/v1_program_structure.h b/backends/tofino/bf-p4c/arch/fromv1.0/v1_program_structure.h index bfa40bc1a..c73635a5d 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/v1_program_structure.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/v1_program_structure.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_V1_PROGRAM_STRUCTURE_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_V1_PROGRAM_STRUCTURE_H_ diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/wred.cpp b/backends/tofino/bf-p4c/arch/fromv1.0/wred.cpp index 7bc66e1cd..2b9a095ee 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/wred.cpp +++ b/backends/tofino/bf-p4c/arch/fromv1.0/wred.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "wred.h" #include "programStructure.h" diff --git a/backends/tofino/bf-p4c/arch/fromv1.0/wred.h b/backends/tofino/bf-p4c/arch/fromv1.0/wred.h index 72e4c886f..8f8b8b4d4 100644 --- a/backends/tofino/bf-p4c/arch/fromv1.0/wred.h +++ b/backends/tofino/bf-p4c/arch/fromv1.0/wred.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_WRED_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_WRED_H_ diff --git a/backends/tofino/bf-p4c/arch/helpers.cpp b/backends/tofino/bf-p4c/arch/helpers.cpp index 7c25cd285..95f2d9ad4 100644 --- a/backends/tofino/bf-p4c/arch/helpers.cpp +++ b/backends/tofino/bf-p4c/arch/helpers.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/arch/helpers.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/arch/helpers.h b/backends/tofino/bf-p4c/arch/helpers.h index 4d134b7f7..d41517714 100644 --- a/backends/tofino/bf-p4c/arch/helpers.h +++ b/backends/tofino/bf-p4c/arch/helpers.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_HELPERS_H_ #define BF_P4C_ARCH_HELPERS_H_ diff --git a/backends/tofino/bf-p4c/arch/intrinsic_metadata.cpp b/backends/tofino/bf-p4c/arch/intrinsic_metadata.cpp index 6860d3aa6..5486d85fb 100644 --- a/backends/tofino/bf-p4c/arch/intrinsic_metadata.cpp +++ b/backends/tofino/bf-p4c/arch/intrinsic_metadata.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/arch/intrinsic_metadata.h" #include "ir/ir.h" diff --git a/backends/tofino/bf-p4c/arch/intrinsic_metadata.h b/backends/tofino/bf-p4c/arch/intrinsic_metadata.h index dcf1dd0da..b18d5a687 100644 --- a/backends/tofino/bf-p4c/arch/intrinsic_metadata.h +++ b/backends/tofino/bf-p4c/arch/intrinsic_metadata.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_INTRINSIC_METADATA_H_ #define BF_P4C_ARCH_INTRINSIC_METADATA_H_ diff --git a/backends/tofino/bf-p4c/arch/program_structure.cpp b/backends/tofino/bf-p4c/arch/program_structure.cpp index 3f144a043..bd36bf81c 100644 --- a/backends/tofino/bf-p4c/arch/program_structure.cpp +++ b/backends/tofino/bf-p4c/arch/program_structure.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "program_structure.h" #include diff --git a/backends/tofino/bf-p4c/arch/program_structure.h b/backends/tofino/bf-p4c/arch/program_structure.h index 2d1d36270..eb601691c 100644 --- a/backends/tofino/bf-p4c/arch/program_structure.h +++ b/backends/tofino/bf-p4c/arch/program_structure.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_PROGRAM_STRUCTURE_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_PROGRAM_STRUCTURE_H_ diff --git a/backends/tofino/bf-p4c/arch/psa/programStructure.cpp b/backends/tofino/bf-p4c/arch/psa/programStructure.cpp index 34dbec8b6..26eadf6b6 100644 --- a/backends/tofino/bf-p4c/arch/psa/programStructure.cpp +++ b/backends/tofino/bf-p4c/arch/psa/programStructure.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "programStructure.h" #include "bf-p4c/arch/arch.h" diff --git a/backends/tofino/bf-p4c/arch/psa/programStructure.h b/backends/tofino/bf-p4c/arch/psa/programStructure.h index 2093eddbc..a3df4b5ef 100644 --- a/backends/tofino/bf-p4c/arch/psa/programStructure.h +++ b/backends/tofino/bf-p4c/arch/psa/programStructure.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_PSA_PROGRAMSTRUCTURE_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_PSA_PROGRAMSTRUCTURE_H_ diff --git a/backends/tofino/bf-p4c/arch/psa/psa.cpp b/backends/tofino/bf-p4c/arch/psa/psa.cpp index 8d73d0a62..cc782e043 100644 --- a/backends/tofino/bf-p4c/arch/psa/psa.cpp +++ b/backends/tofino/bf-p4c/arch/psa/psa.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "psa.h" #include diff --git a/backends/tofino/bf-p4c/arch/psa/psa.h b/backends/tofino/bf-p4c/arch/psa/psa.h index 46f96029a..318f35a9a 100644 --- a/backends/tofino/bf-p4c/arch/psa/psa.h +++ b/backends/tofino/bf-p4c/arch/psa/psa.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup PortableSwitchTranslation BFN::PortableSwitchTranslation * \ingroup ArchTranslation diff --git a/backends/tofino/bf-p4c/arch/psa/psa_converters.cpp b/backends/tofino/bf-p4c/arch/psa/psa_converters.cpp index aed5068db..9bb1224de 100644 --- a/backends/tofino/bf-p4c/arch/psa/psa_converters.cpp +++ b/backends/tofino/bf-p4c/arch/psa/psa_converters.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "psa_converters.h" #include "bf-p4c/arch/bridge_metadata.h" diff --git a/backends/tofino/bf-p4c/arch/psa/psa_converters.h b/backends/tofino/bf-p4c/arch/psa/psa_converters.h index af4ae7a95..44c7a489a 100644 --- a/backends/tofino/bf-p4c/arch/psa/psa_converters.h +++ b/backends/tofino/bf-p4c/arch/psa/psa_converters.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_PSA_PSA_CONVERTERS_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_PSA_PSA_CONVERTERS_H_ diff --git a/backends/tofino/bf-p4c/arch/psa/psa_model.cpp b/backends/tofino/bf-p4c/arch/psa/psa_model.cpp index a636d9a3b..dd53815be 100644 --- a/backends/tofino/bf-p4c/arch/psa/psa_model.cpp +++ b/backends/tofino/bf-p4c/arch/psa/psa_model.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "psa_model.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/arch/psa/psa_model.h b/backends/tofino/bf-p4c/arch/psa/psa_model.h index 7d4d06cdd..e01933d44 100644 --- a/backends/tofino/bf-p4c/arch/psa/psa_model.h +++ b/backends/tofino/bf-p4c/arch/psa/psa_model.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_PSA_PSA_MODEL_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_PSA_PSA_MODEL_H_ diff --git a/backends/tofino/bf-p4c/arch/psa/rewrite_bridge_metadata.cpp b/backends/tofino/bf-p4c/arch/psa/rewrite_bridge_metadata.cpp index b7b1c678b..d07b13bf8 100644 --- a/backends/tofino/bf-p4c/arch/psa/rewrite_bridge_metadata.cpp +++ b/backends/tofino/bf-p4c/arch/psa/rewrite_bridge_metadata.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "rewrite_bridge_metadata.h" #include diff --git a/backends/tofino/bf-p4c/arch/psa/rewrite_bridge_metadata.h b/backends/tofino/bf-p4c/arch/psa/rewrite_bridge_metadata.h index 06ccfeb4b..b756679dd 100644 --- a/backends/tofino/bf-p4c/arch/psa/rewrite_bridge_metadata.h +++ b/backends/tofino/bf-p4c/arch/psa/rewrite_bridge_metadata.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_PSA_REWRITE_BRIDGE_METADATA_H_ #define BF_P4C_ARCH_PSA_REWRITE_BRIDGE_METADATA_H_ diff --git a/backends/tofino/bf-p4c/arch/psa/rewrite_packet_path.cpp b/backends/tofino/bf-p4c/arch/psa/rewrite_packet_path.cpp index 19924fccb..59becabcf 100644 --- a/backends/tofino/bf-p4c/arch/psa/rewrite_packet_path.cpp +++ b/backends/tofino/bf-p4c/arch/psa/rewrite_packet_path.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "rewrite_packet_path.h" #include "bf-p4c/arch/bridge_metadata.h" diff --git a/backends/tofino/bf-p4c/arch/psa/rewrite_packet_path.h b/backends/tofino/bf-p4c/arch/psa/rewrite_packet_path.h index bf6927b06..9c18e7ec1 100644 --- a/backends/tofino/bf-p4c/arch/psa/rewrite_packet_path.h +++ b/backends/tofino/bf-p4c/arch/psa/rewrite_packet_path.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_ARCH_PSA_REWRITE_PACKET_PATH_H_ #define BACKENDS_TOFINO_BF_P4C_ARCH_PSA_REWRITE_PACKET_PATH_H_ diff --git a/backends/tofino/bf-p4c/arch/remove_set_metadata.cpp b/backends/tofino/bf-p4c/arch/remove_set_metadata.cpp index 0f2870cd3..3980cd11b 100644 --- a/backends/tofino/bf-p4c/arch/remove_set_metadata.cpp +++ b/backends/tofino/bf-p4c/arch/remove_set_metadata.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "remove_set_metadata.h" #include "bf-p4c/midend/path_linearizer.h" diff --git a/backends/tofino/bf-p4c/arch/remove_set_metadata.h b/backends/tofino/bf-p4c/arch/remove_set_metadata.h index 584201358..b864ec31f 100644 --- a/backends/tofino/bf-p4c/arch/remove_set_metadata.h +++ b/backends/tofino/bf-p4c/arch/remove_set_metadata.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_REMOVE_SET_METADATA_H_ #define BF_P4C_ARCH_REMOVE_SET_METADATA_H_ diff --git a/backends/tofino/bf-p4c/arch/rewrite_action_selector.cpp b/backends/tofino/bf-p4c/arch/rewrite_action_selector.cpp index 0947073c7..87d039642 100644 --- a/backends/tofino/bf-p4c/arch/rewrite_action_selector.cpp +++ b/backends/tofino/bf-p4c/arch/rewrite_action_selector.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/arch/rewrite_action_selector.h" #include "bf-p4c/bf-p4c-options.h" diff --git a/backends/tofino/bf-p4c/arch/rewrite_action_selector.h b/backends/tofino/bf-p4c/arch/rewrite_action_selector.h index 9fc8e69bb..5de2d9235 100644 --- a/backends/tofino/bf-p4c/arch/rewrite_action_selector.h +++ b/backends/tofino/bf-p4c/arch/rewrite_action_selector.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_ARCH_REWRITE_ACTION_SELECTOR_H_ #define BF_P4C_ARCH_REWRITE_ACTION_SELECTOR_H_ diff --git a/backends/tofino/bf-p4c/arch/t2na.cpp b/backends/tofino/bf-p4c/arch/t2na.cpp index 4038794d8..e7a839068 100644 --- a/backends/tofino/bf-p4c/arch/t2na.cpp +++ b/backends/tofino/bf-p4c/arch/t2na.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/arch/t2na.h" #include "bf-p4c/arch/add_t2na_meta.h" diff --git a/backends/tofino/bf-p4c/arch/t2na.h b/backends/tofino/bf-p4c/arch/t2na.h index 1df7cfb97..2e8beaf6d 100644 --- a/backends/tofino/bf-p4c/arch/t2na.h +++ b/backends/tofino/bf-p4c/arch/t2na.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup T2naArchTranslation BFN::T2naArchTranslation * \ingroup ArchTranslation diff --git a/backends/tofino/bf-p4c/arch/tna.cpp b/backends/tofino/bf-p4c/arch/tna.cpp index d55963746..b8c54fa8f 100644 --- a/backends/tofino/bf-p4c/arch/tna.cpp +++ b/backends/tofino/bf-p4c/arch/tna.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/arch/tna.h" #include "bf-p4c/arch/arch.h" diff --git a/backends/tofino/bf-p4c/arch/tna.h b/backends/tofino/bf-p4c/arch/tna.h index 3ed53b48d..366b20f2c 100644 --- a/backends/tofino/bf-p4c/arch/tna.h +++ b/backends/tofino/bf-p4c/arch/tna.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup TnaArchTranslation BFN::TnaArchTranslation * \ingroup ArchTranslation diff --git a/backends/tofino/bf-p4c/arch/tna/primitives.cpp b/backends/tofino/bf-p4c/arch/tna/primitives.cpp index 9574b181f..4ee3ad17d 100644 --- a/backends/tofino/bf-p4c/arch/tna/primitives.cpp +++ b/backends/tofino/bf-p4c/arch/tna/primitives.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "bf-p4c/arch/fromv1.0/programStructure.h" diff --git a/backends/tofino/bf-p4c/arch/v1model.cpp b/backends/tofino/bf-p4c/arch/v1model.cpp index a8c33fecc..efee8d5f1 100644 --- a/backends/tofino/bf-p4c/arch/v1model.cpp +++ b/backends/tofino/bf-p4c/arch/v1model.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/arch/v1model.h" #include diff --git a/backends/tofino/bf-p4c/arch/v1model.h b/backends/tofino/bf-p4c/arch/v1model.h index ad16b1b0c..125f25e37 100644 --- a/backends/tofino/bf-p4c/arch/v1model.h +++ b/backends/tofino/bf-p4c/arch/v1model.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup SimpleSwitchTranslation BFN::SimpleSwitchTranslation * \ingroup ArchTranslation diff --git a/backends/tofino/bf-p4c/asm.cpp b/backends/tofino/bf-p4c/asm.cpp index 9b9560aa8..e156e7f4b 100644 --- a/backends/tofino/bf-p4c/asm.cpp +++ b/backends/tofino/bf-p4c/asm.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/asm.h" #include diff --git a/backends/tofino/bf-p4c/asm.h b/backends/tofino/bf-p4c/asm.h index 04bdf7d57..b27c43536 100644 --- a/backends/tofino/bf-p4c/asm.h +++ b/backends/tofino/bf-p4c/asm.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_ASM_H_ #define _BACKENDS_TOFINO_BF_P4C_ASM_H_ diff --git a/backends/tofino/bf-p4c/backend.cpp b/backends/tofino/bf-p4c/backend.cpp index 2fed3c794..3969b59eb 100644 --- a/backends/tofino/bf-p4c/backend.cpp +++ b/backends/tofino/bf-p4c/backend.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup backend Backend * \brief Overview of backend passes diff --git a/backends/tofino/bf-p4c/backend.h b/backends/tofino/bf-p4c/backend.h index 470d38177..64157a4ae 100644 --- a/backends/tofino/bf-p4c/backend.h +++ b/backends/tofino/bf-p4c/backend.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_BACKEND_H_ #define BF_P4C_BACKEND_H_ diff --git a/backends/tofino/bf-p4c/bf-p4c-options.cpp b/backends/tofino/bf-p4c/bf-p4c-options.cpp index 1531d4725..3b4d9b393 100644 --- a/backends/tofino/bf-p4c/bf-p4c-options.cpp +++ b/backends/tofino/bf-p4c/bf-p4c-options.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c-options.h" #include diff --git a/backends/tofino/bf-p4c/bf-p4c-options.h b/backends/tofino/bf-p4c/bf-p4c-options.h index 71efa67ff..367dc00e8 100644 --- a/backends/tofino/bf-p4c/bf-p4c-options.h +++ b/backends/tofino/bf-p4c/bf-p4c-options.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_BF_P4C_OPTIONS_H_ #define BACKENDS_TOFINO_BF_P4C_BF_P4C_OPTIONS_H_ diff --git a/backends/tofino/bf-p4c/common/alias.cpp b/backends/tofino/bf-p4c/common/alias.cpp index 8083ddec0..55a14c64b 100644 --- a/backends/tofino/bf-p4c/common/alias.cpp +++ b/backends/tofino/bf-p4c/common/alias.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/alias.h" #include diff --git a/backends/tofino/bf-p4c/common/alias.h b/backends/tofino/bf-p4c/common/alias.h index 5c20c2127..b3a2c29ac 100644 --- a/backends/tofino/bf-p4c/common/alias.h +++ b/backends/tofino/bf-p4c/common/alias.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_ALIAS_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_ALIAS_H_ diff --git a/backends/tofino/bf-p4c/common/alloc.h b/backends/tofino/bf-p4c/common/alloc.h index 2484335f0..e57650b1d 100644 --- a/backends/tofino/bf-p4c/common/alloc.h +++ b/backends/tofino/bf-p4c/common/alloc.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_ALLOC_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_ALLOC_H_ diff --git a/backends/tofino/bf-p4c/common/asm_output.cpp b/backends/tofino/bf-p4c/common/asm_output.cpp index 79a81702e..887bfe58a 100644 --- a/backends/tofino/bf-p4c/common/asm_output.cpp +++ b/backends/tofino/bf-p4c/common/asm_output.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "asm_output.h" #include "pragma/all_pragmas.h" diff --git a/backends/tofino/bf-p4c/common/asm_output.h b/backends/tofino/bf-p4c/common/asm_output.h index 0ecac20d5..a648ca3a4 100644 --- a/backends/tofino/bf-p4c/common/asm_output.h +++ b/backends/tofino/bf-p4c/common/asm_output.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_ASM_OUTPUT_H_ #define BF_P4C_COMMON_ASM_OUTPUT_H_ diff --git a/backends/tofino/bf-p4c/common/autoindent.h b/backends/tofino/bf-p4c/common/autoindent.h index 3faef75ed..8c92f0c5d 100644 --- a/backends/tofino/bf-p4c/common/autoindent.h +++ b/backends/tofino/bf-p4c/common/autoindent.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_AUTOINDENT_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_AUTOINDENT_H_ diff --git a/backends/tofino/bf-p4c/common/bridged_packing.cpp b/backends/tofino/bf-p4c/common/bridged_packing.cpp index f40b94ce8..b2ce62dc7 100644 --- a/backends/tofino/bf-p4c/common/bridged_packing.cpp +++ b/backends/tofino/bf-p4c/common/bridged_packing.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/bridged_packing.h" #include diff --git a/backends/tofino/bf-p4c/common/bridged_packing.h b/backends/tofino/bf-p4c/common/bridged_packing.h index 711022f7c..e5e0a7095 100644 --- a/backends/tofino/bf-p4c/common/bridged_packing.h +++ b/backends/tofino/bf-p4c/common/bridged_packing.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_BRIDGED_PACKING_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_BRIDGED_PACKING_H_ diff --git a/backends/tofino/bf-p4c/common/check_field_corruption.cpp b/backends/tofino/bf-p4c/common/check_field_corruption.cpp index 6933a0d6b..55712ef8d 100644 --- a/backends/tofino/bf-p4c/common/check_field_corruption.cpp +++ b/backends/tofino/bf-p4c/common/check_field_corruption.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "check_field_corruption.h" bool CheckFieldCorruption::preorder(const IR::BFN::Pipe *pipe) { diff --git a/backends/tofino/bf-p4c/common/check_field_corruption.h b/backends/tofino/bf-p4c/common/check_field_corruption.h index cc52e6141..f52db821a 100644 --- a/backends/tofino/bf-p4c/common/check_field_corruption.h +++ b/backends/tofino/bf-p4c/common/check_field_corruption.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_CHECK_FIELD_CORRUPTION_H_ #define BF_P4C_COMMON_CHECK_FIELD_CORRUPTION_H_ diff --git a/backends/tofino/bf-p4c/common/check_for_unimplemented_features.cpp b/backends/tofino/bf-p4c/common/check_for_unimplemented_features.cpp index a1b0c7546..9fef07416 100644 --- a/backends/tofino/bf-p4c/common/check_for_unimplemented_features.cpp +++ b/backends/tofino/bf-p4c/common/check_for_unimplemented_features.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/check_for_unimplemented_features.h" #include "lib/error_reporter.h" diff --git a/backends/tofino/bf-p4c/common/check_for_unimplemented_features.h b/backends/tofino/bf-p4c/common/check_for_unimplemented_features.h index baf229d69..81ab4a086 100644 --- a/backends/tofino/bf-p4c/common/check_for_unimplemented_features.h +++ b/backends/tofino/bf-p4c/common/check_for_unimplemented_features.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_CHECK_FOR_UNIMPLEMENTED_FEATURES_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_CHECK_FOR_UNIMPLEMENTED_FEATURES_H_ diff --git a/backends/tofino/bf-p4c/common/check_header_refs.h b/backends/tofino/bf-p4c/common/check_header_refs.h index 38a8f3e46..92d0fd6e1 100644 --- a/backends/tofino/bf-p4c/common/check_header_refs.h +++ b/backends/tofino/bf-p4c/common/check_header_refs.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_CHECK_HEADER_REFS_H_ #define BF_P4C_COMMON_CHECK_HEADER_REFS_H_ diff --git a/backends/tofino/bf-p4c/common/check_uninitialized_read.cpp b/backends/tofino/bf-p4c/common/check_uninitialized_read.cpp index 8682ac3ff..30ec1c6ab 100644 --- a/backends/tofino/bf-p4c/common/check_uninitialized_read.cpp +++ b/backends/tofino/bf-p4c/common/check_uninitialized_read.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "check_uninitialized_read.h" #include "bf-p4c/common/table_printer.h" diff --git a/backends/tofino/bf-p4c/common/check_uninitialized_read.h b/backends/tofino/bf-p4c/common/check_uninitialized_read.h index 9253d0487..afbb3eca1 100644 --- a/backends/tofino/bf-p4c/common/check_uninitialized_read.h +++ b/backends/tofino/bf-p4c/common/check_uninitialized_read.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_CHECK_UNINITIALIZED_READ_H_ #define BF_P4C_COMMON_CHECK_UNINITIALIZED_READ_H_ diff --git a/backends/tofino/bf-p4c/common/debug_info.h b/backends/tofino/bf-p4c/common/debug_info.h index c7767d7fe..39ce62f75 100644 --- a/backends/tofino/bf-p4c/common/debug_info.h +++ b/backends/tofino/bf-p4c/common/debug_info.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_DEBUG_INFO_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_DEBUG_INFO_H_ diff --git a/backends/tofino/bf-p4c/common/dump_pipe.cpp b/backends/tofino/bf-p4c/common/dump_pipe.cpp index 8825e6adf..02c04596e 100644 --- a/backends/tofino/bf-p4c/common/dump_pipe.cpp +++ b/backends/tofino/bf-p4c/common/dump_pipe.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "ir/dump.h" diff --git a/backends/tofino/bf-p4c/common/elim_unused.cpp b/backends/tofino/bf-p4c/common/elim_unused.cpp index 20d1dc30f..805793430 100644 --- a/backends/tofino/bf-p4c/common/elim_unused.cpp +++ b/backends/tofino/bf-p4c/common/elim_unused.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "elim_unused.h" #include diff --git a/backends/tofino/bf-p4c/common/elim_unused.h b/backends/tofino/bf-p4c/common/elim_unused.h index f253251b0..5a74d1092 100644 --- a/backends/tofino/bf-p4c/common/elim_unused.h +++ b/backends/tofino/bf-p4c/common/elim_unused.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_ELIM_UNUSED_H_ #define BF_P4C_COMMON_ELIM_UNUSED_H_ diff --git a/backends/tofino/bf-p4c/common/empty_tableseq.cpp b/backends/tofino/bf-p4c/common/empty_tableseq.cpp index fab918382..57d985ffc 100644 --- a/backends/tofino/bf-p4c/common/empty_tableseq.cpp +++ b/backends/tofino/bf-p4c/common/empty_tableseq.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "empty_tableseq.h" void AddEmptyTableSeqs::postorder(IR::BFN::Pipe *pipe) { diff --git a/backends/tofino/bf-p4c/common/empty_tableseq.h b/backends/tofino/bf-p4c/common/empty_tableseq.h index a7044f482..1a6fe8c79 100644 --- a/backends/tofino/bf-p4c/common/empty_tableseq.h +++ b/backends/tofino/bf-p4c/common/empty_tableseq.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_EMPTY_TABLESEQ_H_ #define BF_P4C_COMMON_EMPTY_TABLESEQ_H_ diff --git a/backends/tofino/bf-p4c/common/extract_maupipe.cpp b/backends/tofino/bf-p4c/common/extract_maupipe.cpp index ff0f1293a..2a39e2445 100644 --- a/backends/tofino/bf-p4c/common/extract_maupipe.cpp +++ b/backends/tofino/bf-p4c/common/extract_maupipe.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "extract_maupipe.h" #include diff --git a/backends/tofino/bf-p4c/common/extract_maupipe.h b/backends/tofino/bf-p4c/common/extract_maupipe.h index e59d01501..22d790241 100644 --- a/backends/tofino/bf-p4c/common/extract_maupipe.h +++ b/backends/tofino/bf-p4c/common/extract_maupipe.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_EXTRACT_MAUPIPE_H_ #define BF_P4C_COMMON_EXTRACT_MAUPIPE_H_ diff --git a/backends/tofino/bf-p4c/common/field_defuse.cpp b/backends/tofino/bf-p4c/common/field_defuse.cpp index 0b6d227e1..9a10c0186 100644 --- a/backends/tofino/bf-p4c/common/field_defuse.cpp +++ b/backends/tofino/bf-p4c/common/field_defuse.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "field_defuse.h" #include diff --git a/backends/tofino/bf-p4c/common/field_defuse.h b/backends/tofino/bf-p4c/common/field_defuse.h index 90250404b..0f79be94e 100644 --- a/backends/tofino/bf-p4c/common/field_defuse.h +++ b/backends/tofino/bf-p4c/common/field_defuse.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _FIELD_DEFUSE_H_ #define _FIELD_DEFUSE_H_ diff --git a/backends/tofino/bf-p4c/common/front_end_policy.h b/backends/tofino/bf-p4c/common/front_end_policy.h index e9966c949..e40158631 100644 --- a/backends/tofino/bf-p4c/common/front_end_policy.h +++ b/backends/tofino/bf-p4c/common/front_end_policy.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_FRONT_END_POLICY_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_FRONT_END_POLICY_H_ diff --git a/backends/tofino/bf-p4c/common/header_stack.cpp b/backends/tofino/bf-p4c/common/header_stack.cpp index ff1667d48..278202565 100644 --- a/backends/tofino/bf-p4c/common/header_stack.cpp +++ b/backends/tofino/bf-p4c/common/header_stack.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "header_stack.h" #include "bf-p4c/ir/bitrange.h" diff --git a/backends/tofino/bf-p4c/common/header_stack.h b/backends/tofino/bf-p4c/common/header_stack.h index 0776f9bee..f5b1e1b18 100644 --- a/backends/tofino/bf-p4c/common/header_stack.h +++ b/backends/tofino/bf-p4c/common/header_stack.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_HEADER_STACK_H_ #define BF_P4C_COMMON_HEADER_STACK_H_ diff --git a/backends/tofino/bf-p4c/common/ir_utils.cpp b/backends/tofino/bf-p4c/common/ir_utils.cpp index 151ca4201..3eab75c2a 100644 --- a/backends/tofino/bf-p4c/common/ir_utils.cpp +++ b/backends/tofino/bf-p4c/common/ir_utils.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/ir_utils.h" #include "lib/exceptions.h" diff --git a/backends/tofino/bf-p4c/common/ir_utils.h b/backends/tofino/bf-p4c/common/ir_utils.h index 3986d90b2..c84f9ed25 100644 --- a/backends/tofino/bf-p4c/common/ir_utils.h +++ b/backends/tofino/bf-p4c/common/ir_utils.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_IR_UTILS_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_IR_UTILS_H_ diff --git a/backends/tofino/bf-p4c/common/map_tables_to_actions.cpp b/backends/tofino/bf-p4c/common/map_tables_to_actions.cpp index 9b13b8841..740a85b9a 100644 --- a/backends/tofino/bf-p4c/common/map_tables_to_actions.cpp +++ b/backends/tofino/bf-p4c/common/map_tables_to_actions.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/map_tables_to_actions.h" Visitor::profile_t MapTablesToActions::init_apply(const IR::Node *root) { diff --git a/backends/tofino/bf-p4c/common/map_tables_to_actions.h b/backends/tofino/bf-p4c/common/map_tables_to_actions.h index 3cb2407a3..4b912345c 100644 --- a/backends/tofino/bf-p4c/common/map_tables_to_actions.h +++ b/backends/tofino/bf-p4c/common/map_tables_to_actions.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_MAP_TABLES_TO_ACTIONS_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_MAP_TABLES_TO_ACTIONS_H_ diff --git a/backends/tofino/bf-p4c/common/merge_pov_bits.cpp b/backends/tofino/bf-p4c/common/merge_pov_bits.cpp index 33313cc6e..90a52504b 100644 --- a/backends/tofino/bf-p4c/common/merge_pov_bits.cpp +++ b/backends/tofino/bf-p4c/common/merge_pov_bits.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/merge_pov_bits.h" #include "bf-p4c/parde/clot/header_validity_analysis.h" diff --git a/backends/tofino/bf-p4c/common/merge_pov_bits.h b/backends/tofino/bf-p4c/common/merge_pov_bits.h index fd790a26e..88f023dd0 100644 --- a/backends/tofino/bf-p4c/common/merge_pov_bits.h +++ b/backends/tofino/bf-p4c/common/merge_pov_bits.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_MERGE_POV_BITS_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_MERGE_POV_BITS_H_ diff --git a/backends/tofino/bf-p4c/common/multiple_apply.cpp b/backends/tofino/bf-p4c/common/multiple_apply.cpp index 9df5fc60c..97f12cea5 100644 --- a/backends/tofino/bf-p4c/common/multiple_apply.cpp +++ b/backends/tofino/bf-p4c/common/multiple_apply.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "multiple_apply.h" #include "bf-p4c/bf-p4c-options.h" diff --git a/backends/tofino/bf-p4c/common/multiple_apply.h b/backends/tofino/bf-p4c/common/multiple_apply.h index 60fd968eb..c2618c7df 100644 --- a/backends/tofino/bf-p4c/common/multiple_apply.h +++ b/backends/tofino/bf-p4c/common/multiple_apply.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_MULTIPLE_APPLY_H_ #define BF_P4C_COMMON_MULTIPLE_APPLY_H_ diff --git a/backends/tofino/bf-p4c/common/parse_annotations.h b/backends/tofino/bf-p4c/common/parse_annotations.h index b182c4a72..43bef354f 100644 --- a/backends/tofino/bf-p4c/common/parse_annotations.h +++ b/backends/tofino/bf-p4c/common/parse_annotations.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_PARSE_ANNOTATIONS_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_PARSE_ANNOTATIONS_H_ diff --git a/backends/tofino/bf-p4c/common/pragma.h b/backends/tofino/bf-p4c/common/pragma.h index b0c7e3162..c151ca92f 100644 --- a/backends/tofino/bf-p4c/common/pragma.h +++ b/backends/tofino/bf-p4c/common/pragma.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_PRAGMA_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_PRAGMA_H_ #include diff --git a/backends/tofino/bf-p4c/common/pragma/all_pragmas.h b/backends/tofino/bf-p4c/common/pragma/all_pragmas.h index 6fc6e8ca2..8d5de86c4 100644 --- a/backends/tofino/bf-p4c/common/pragma/all_pragmas.h +++ b/backends/tofino/bf-p4c/common/pragma/all_pragmas.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_PRAGMA_ALL_PRAGMAS_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_PRAGMA_ALL_PRAGMAS_H_ diff --git a/backends/tofino/bf-p4c/common/pragma/collect_global_pragma.cpp b/backends/tofino/bf-p4c/common/pragma/collect_global_pragma.cpp index 0c7411131..372f46c37 100644 --- a/backends/tofino/bf-p4c/common/pragma/collect_global_pragma.cpp +++ b/backends/tofino/bf-p4c/common/pragma/collect_global_pragma.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "collect_global_pragma.h" #include diff --git a/backends/tofino/bf-p4c/common/pragma/collect_global_pragma.h b/backends/tofino/bf-p4c/common/pragma/collect_global_pragma.h index 02d6e79f8..4a13aaa1f 100644 --- a/backends/tofino/bf-p4c/common/pragma/collect_global_pragma.h +++ b/backends/tofino/bf-p4c/common/pragma/collect_global_pragma.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_PRAGMA_COLLECT_GLOBAL_PRAGMA_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_PRAGMA_COLLECT_GLOBAL_PRAGMA_H_ diff --git a/backends/tofino/bf-p4c/common/pragma/pragma.h b/backends/tofino/bf-p4c/common/pragma/pragma.h index 390018f0b..1914e11e5 100644 --- a/backends/tofino/bf-p4c/common/pragma/pragma.h +++ b/backends/tofino/bf-p4c/common/pragma/pragma.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_PRAGMA_PRAGMA_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_PRAGMA_PRAGMA_H_ #include diff --git a/backends/tofino/bf-p4c/common/pragma/pragmas.cpp b/backends/tofino/bf-p4c/common/pragma/pragmas.cpp index b02ccb47c..68705d62c 100644 --- a/backends/tofino/bf-p4c/common/pragma/pragmas.cpp +++ b/backends/tofino/bf-p4c/common/pragma/pragmas.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "all_pragmas.h" std::set BFN::Pragma::_supported_pragmas; diff --git a/backends/tofino/bf-p4c/common/run_id.cpp b/backends/tofino/bf-p4c/common/run_id.cpp index 56c3e0aaf..3b5ee6b6d 100644 --- a/backends/tofino/bf-p4c/common/run_id.cpp +++ b/backends/tofino/bf-p4c/common/run_id.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/run_id.h" #include diff --git a/backends/tofino/bf-p4c/common/run_id.h b/backends/tofino/bf-p4c/common/run_id.h index 080136473..ee93a3a0e 100644 --- a/backends/tofino/bf-p4c/common/run_id.h +++ b/backends/tofino/bf-p4c/common/run_id.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_COMMON_RUN_ID_H_ #define _BACKENDS_TOFINO_BF_P4C_COMMON_RUN_ID_H_ diff --git a/backends/tofino/bf-p4c/common/scc_toposort.cpp b/backends/tofino/bf-p4c/common/scc_toposort.cpp index 156142d47..17006e741 100644 --- a/backends/tofino/bf-p4c/common/scc_toposort.cpp +++ b/backends/tofino/bf-p4c/common/scc_toposort.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/common/scc_toposort.h b/backends/tofino/bf-p4c/common/scc_toposort.h index b7682008b..13d696abb 100644 --- a/backends/tofino/bf-p4c/common/scc_toposort.h +++ b/backends/tofino/bf-p4c/common/scc_toposort.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_SCC_TOPOSORT_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_SCC_TOPOSORT_H_ diff --git a/backends/tofino/bf-p4c/common/size_of.cpp b/backends/tofino/bf-p4c/common/size_of.cpp index 4fc24db9b..6c15e7e2a 100644 --- a/backends/tofino/bf-p4c/common/size_of.cpp +++ b/backends/tofino/bf-p4c/common/size_of.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/size_of.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/common/size_of.h b/backends/tofino/bf-p4c/common/size_of.h index b0c53efc5..8ddd7404a 100644 --- a/backends/tofino/bf-p4c/common/size_of.h +++ b/backends/tofino/bf-p4c/common/size_of.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_SIZE_OF_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_SIZE_OF_H_ diff --git a/backends/tofino/bf-p4c/common/slice.cpp b/backends/tofino/bf-p4c/common/slice.cpp index 6f8c5de8e..542d64525 100644 --- a/backends/tofino/bf-p4c/common/slice.cpp +++ b/backends/tofino/bf-p4c/common/slice.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "slice.h" #include "bf-p4c/common/ir_utils.h" diff --git a/backends/tofino/bf-p4c/common/slice.h b/backends/tofino/bf-p4c/common/slice.h index f56720573..db62342f8 100644 --- a/backends/tofino/bf-p4c/common/slice.h +++ b/backends/tofino/bf-p4c/common/slice.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_SLICE_H_ #define BF_P4C_COMMON_SLICE_H_ diff --git a/backends/tofino/bf-p4c/common/table_printer.h b/backends/tofino/bf-p4c/common/table_printer.h index 5f55160e9..192eff3a0 100644 --- a/backends/tofino/bf-p4c/common/table_printer.h +++ b/backends/tofino/bf-p4c/common/table_printer.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_TABLE_PRINTER_H_ #define BF_P4C_COMMON_TABLE_PRINTER_H_ diff --git a/backends/tofino/bf-p4c/common/tofino_model.h b/backends/tofino/bf-p4c/common/tofino_model.h index fd696783d..b6e99c9b0 100644 --- a/backends/tofino/bf-p4c/common/tofino_model.h +++ b/backends/tofino/bf-p4c/common/tofino_model.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_COMMON_TOFINO_MODEL_H_ #define BF_P4C_COMMON_TOFINO_MODEL_H_ diff --git a/backends/tofino/bf-p4c/common/utils.cpp b/backends/tofino/bf-p4c/common/utils.cpp index affc63a5d..79a7fe7b2 100644 --- a/backends/tofino/bf-p4c/common/utils.cpp +++ b/backends/tofino/bf-p4c/common/utils.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "utils.h" #include diff --git a/backends/tofino/bf-p4c/common/utils.h b/backends/tofino/bf-p4c/common/utils.h index 97d242b15..07544d82b 100644 --- a/backends/tofino/bf-p4c/common/utils.h +++ b/backends/tofino/bf-p4c/common/utils.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_COMMON_UTILS_H_ #define BACKENDS_TOFINO_BF_P4C_COMMON_UTILS_H_ diff --git a/backends/tofino/bf-p4c/control-plane/bfruntime.cpp b/backends/tofino/bf-p4c/control-plane/bfruntime.cpp index afb069f46..b38345980 100644 --- a/backends/tofino/bf-p4c/control-plane/bfruntime.cpp +++ b/backends/tofino/bf-p4c/control-plane/bfruntime.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bfruntime.h" #include "bf-p4c/common/utils.h" diff --git a/backends/tofino/bf-p4c/control-plane/bfruntime.h b/backends/tofino/bf-p4c/control-plane/bfruntime.h index d38e651af..2798f0722 100644 --- a/backends/tofino/bf-p4c/control-plane/bfruntime.h +++ b/backends/tofino/bf-p4c/control-plane/bfruntime.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_CONTROL_PLANE_BFRUNTIME_H_ #define BACKENDS_TOFINO_BF_P4C_CONTROL_PLANE_BFRUNTIME_H_ diff --git a/backends/tofino/bf-p4c/control-plane/bfruntime_arch_handler.h b/backends/tofino/bf-p4c/control-plane/bfruntime_arch_handler.h index d6d1d867b..2394f48ad 100644 --- a/backends/tofino/bf-p4c/control-plane/bfruntime_arch_handler.h +++ b/backends/tofino/bf-p4c/control-plane/bfruntime_arch_handler.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_CONTROL_PLANE_BFRUNTIME_ARCH_HANDLER_H_ #define BACKENDS_TOFINO_BF_P4C_CONTROL_PLANE_BFRUNTIME_ARCH_HANDLER_H_ diff --git a/backends/tofino/bf-p4c/control-plane/bfruntime_ext.cpp b/backends/tofino/bf-p4c/control-plane/bfruntime_ext.cpp index 62311465d..8c520b57e 100644 --- a/backends/tofino/bf-p4c/control-plane/bfruntime_ext.cpp +++ b/backends/tofino/bf-p4c/control-plane/bfruntime_ext.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bfruntime_ext.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/control-plane/bfruntime_ext.h b/backends/tofino/bf-p4c/control-plane/bfruntime_ext.h index 63f05fe1f..179f315af 100644 --- a/backends/tofino/bf-p4c/control-plane/bfruntime_ext.h +++ b/backends/tofino/bf-p4c/control-plane/bfruntime_ext.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_CONTROL_PLANE_BFRUNTIME_EXT_H_ #define BACKENDS_TOFINO_BF_P4C_CONTROL_PLANE_BFRUNTIME_EXT_H_ diff --git a/backends/tofino/bf-p4c/control-plane/p4runtime_force_std.cpp b/backends/tofino/bf-p4c/control-plane/p4runtime_force_std.cpp index 2b7c2e322..5adedd4ea 100644 --- a/backends/tofino/bf-p4c/control-plane/p4runtime_force_std.cpp +++ b/backends/tofino/bf-p4c/control-plane/p4runtime_force_std.cpp @@ -16,7 +16,6 @@ * SPDX-License-Identifier: Apache-2.0 */ - #ifndef EXTENSIONS_BF_P4C_CONTROL_PLANE_P4RUNTIME_FORCE_STD_H_ #define EXTENSIONS_BF_P4C_CONTROL_PLANE_P4RUNTIME_FORCE_STD_H_ diff --git a/backends/tofino/bf-p4c/control-plane/p4runtime_force_std.h b/backends/tofino/bf-p4c/control-plane/p4runtime_force_std.h index ee713fc53..c7df45265 100644 --- a/backends/tofino/bf-p4c/control-plane/p4runtime_force_std.h +++ b/backends/tofino/bf-p4c/control-plane/p4runtime_force_std.h @@ -16,7 +16,6 @@ * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_CONTROL_PLANE_P4RUNTIME_FORCE_STD_H_ #define BACKENDS_TOFINO_BF_P4C_CONTROL_PLANE_P4RUNTIME_FORCE_STD_H_ diff --git a/backends/tofino/bf-p4c/control-plane/runtime.cpp b/backends/tofino/bf-p4c/control-plane/runtime.cpp index 7dd3fcc44..28890bb23 100644 --- a/backends/tofino/bf-p4c/control-plane/runtime.cpp +++ b/backends/tofino/bf-p4c/control-plane/runtime.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/control-plane/runtime.h" #include // If not already included diff --git a/backends/tofino/bf-p4c/control-plane/runtime.h b/backends/tofino/bf-p4c/control-plane/runtime.h index f7e33ca9a..95ddf6b81 100644 --- a/backends/tofino/bf-p4c/control-plane/runtime.h +++ b/backends/tofino/bf-p4c/control-plane/runtime.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_CONTROL_PLANE_RUNTIME_H_ #define BACKENDS_TOFINO_BF_P4C_CONTROL_PLANE_RUNTIME_H_ diff --git a/backends/tofino/bf-p4c/device.cpp b/backends/tofino/bf-p4c/device.cpp index 604086f97..dcc8de752 100644 --- a/backends/tofino/bf-p4c/device.cpp +++ b/backends/tofino/bf-p4c/device.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "device.h" #include diff --git a/backends/tofino/bf-p4c/device.h b/backends/tofino/bf-p4c/device.h index bd42d068c..c265bfacb 100644 --- a/backends/tofino/bf-p4c/device.h +++ b/backends/tofino/bf-p4c/device.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_DEVICE_H_ #define BACKENDS_TOFINO_BF_P4C_DEVICE_H_ diff --git a/backends/tofino/bf-p4c/frontend.cpp b/backends/tofino/bf-p4c/frontend.cpp index d04577b28..83b5ca452 100644 --- a/backends/tofino/bf-p4c/frontend.cpp +++ b/backends/tofino/bf-p4c/frontend.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "frontend.h" #include "bf-p4c/arch/fromv1.0/programStructure.h" diff --git a/backends/tofino/bf-p4c/frontend.h b/backends/tofino/bf-p4c/frontend.h index e1a0d90af..e25b4b143 100644 --- a/backends/tofino/bf-p4c/frontend.h +++ b/backends/tofino/bf-p4c/frontend.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_FRONTEND_H_ #define BF_P4C_FRONTEND_H_ diff --git a/backends/tofino/bf-p4c/ir/bitrange.cpp b/backends/tofino/bf-p4c/ir/bitrange.cpp index 12ef1f68b..71122fd49 100644 --- a/backends/tofino/bf-p4c/ir/bitrange.cpp +++ b/backends/tofino/bf-p4c/ir/bitrange.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/ir/bitrange.h" #include diff --git a/backends/tofino/bf-p4c/ir/bitrange.h b/backends/tofino/bf-p4c/ir/bitrange.h index d49d08b34..bea0d8f0b 100644 --- a/backends/tofino/bf-p4c/ir/bitrange.h +++ b/backends/tofino/bf-p4c/ir/bitrange.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_IR_BITRANGE_H_ #define BACKENDS_TOFINO_BF_P4C_IR_BITRANGE_H_ diff --git a/backends/tofino/bf-p4c/ir/control_flow_visitor.cpp b/backends/tofino/bf-p4c/ir/control_flow_visitor.cpp index 4ed0b35f7..dbfe61903 100644 --- a/backends/tofino/bf-p4c/ir/control_flow_visitor.cpp +++ b/backends/tofino/bf-p4c/ir/control_flow_visitor.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "control_flow_visitor.h" #include "frontends/p4/methodInstance.h" diff --git a/backends/tofino/bf-p4c/ir/control_flow_visitor.h b/backends/tofino/bf-p4c/ir/control_flow_visitor.h index 70348400d..47ee3ad4c 100644 --- a/backends/tofino/bf-p4c/ir/control_flow_visitor.h +++ b/backends/tofino/bf-p4c/ir/control_flow_visitor.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_IR_CONTROL_FLOW_VISITOR_H_ #define BACKENDS_TOFINO_BF_P4C_IR_CONTROL_FLOW_VISITOR_H_ diff --git a/backends/tofino/bf-p4c/ir/dbprint-tofino.cpp b/backends/tofino/bf-p4c/ir/dbprint-tofino.cpp index fae808248..9b49f6297 100644 --- a/backends/tofino/bf-p4c/ir/dbprint-tofino.cpp +++ b/backends/tofino/bf-p4c/ir/dbprint-tofino.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "control_flow_visitor.h" #include "ir/dbprint.h" #include "ir/ir.h" diff --git a/backends/tofino/bf-p4c/ir/gateway_control_flow.cpp b/backends/tofino/bf-p4c/ir/gateway_control_flow.cpp index a47bfd690..25d680c88 100644 --- a/backends/tofino/bf-p4c/ir/gateway_control_flow.cpp +++ b/backends/tofino/bf-p4c/ir/gateway_control_flow.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "gateway_control_flow.h" const IR::MAU::Table *BFN::GatewayControlFlow::gateway_context(int &idx) const { diff --git a/backends/tofino/bf-p4c/ir/gateway_control_flow.h b/backends/tofino/bf-p4c/ir/gateway_control_flow.h index a61ff1563..3e1535a8a 100644 --- a/backends/tofino/bf-p4c/ir/gateway_control_flow.h +++ b/backends/tofino/bf-p4c/ir/gateway_control_flow.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_IR_GATEWAY_CONTROL_FLOW_H_ #define BF_P4C_IR_GATEWAY_CONTROL_FLOW_H_ diff --git a/backends/tofino/bf-p4c/ir/gress.cpp b/backends/tofino/bf-p4c/ir/gress.cpp index 6c6a9c430..a236ca4e0 100644 --- a/backends/tofino/bf-p4c/ir/gress.cpp +++ b/backends/tofino/bf-p4c/ir/gress.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "gress.h" #include diff --git a/backends/tofino/bf-p4c/ir/gress.h b/backends/tofino/bf-p4c/ir/gress.h index c847c7207..8d668e966 100644 --- a/backends/tofino/bf-p4c/ir/gress.h +++ b/backends/tofino/bf-p4c/ir/gress.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_IR_GRESS_H_ #define BF_P4C_IR_GRESS_H_ diff --git a/backends/tofino/bf-p4c/ir/ir_enums.cpp b/backends/tofino/bf-p4c/ir/ir_enums.cpp index dafb628b9..a88b8a2ab 100644 --- a/backends/tofino/bf-p4c/ir/ir_enums.cpp +++ b/backends/tofino/bf-p4c/ir/ir_enums.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/ir/ir_enums.h" namespace P4 { diff --git a/backends/tofino/bf-p4c/ir/ir_enums.h b/backends/tofino/bf-p4c/ir/ir_enums.h index c9dd51740..bdb97a3da 100644 --- a/backends/tofino/bf-p4c/ir/ir_enums.h +++ b/backends/tofino/bf-p4c/ir/ir_enums.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_IR_IR_ENUMS_H_ #define BF_P4C_IR_IR_ENUMS_H_ diff --git a/backends/tofino/bf-p4c/ir/mau.cpp b/backends/tofino/bf-p4c/ir/mau.cpp index 5661422e3..c15b1ac01 100644 --- a/backends/tofino/bf-p4c/ir/mau.cpp +++ b/backends/tofino/bf-p4c/ir/mau.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "bf-p4c/common/utils.h" diff --git a/backends/tofino/bf-p4c/ir/table_tree.h b/backends/tofino/bf-p4c/ir/table_tree.h index cf53e4a9b..73c0ba33c 100644 --- a/backends/tofino/bf-p4c/ir/table_tree.h +++ b/backends/tofino/bf-p4c/ir/table_tree.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_IR_TABLE_TREE_H_ #define BF_P4C_IR_TABLE_TREE_H_ diff --git a/backends/tofino/bf-p4c/ir/thread_visitor.cpp b/backends/tofino/bf-p4c/ir/thread_visitor.cpp index 30c8f1647..6f20f2389 100644 --- a/backends/tofino/bf-p4c/ir/thread_visitor.cpp +++ b/backends/tofino/bf-p4c/ir/thread_visitor.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "thread_visitor.h" gress_t VisitingThread(const Visitor *v) { diff --git a/backends/tofino/bf-p4c/ir/thread_visitor.h b/backends/tofino/bf-p4c/ir/thread_visitor.h index 434b6422b..8e315ee5c 100644 --- a/backends/tofino/bf-p4c/ir/thread_visitor.h +++ b/backends/tofino/bf-p4c/ir/thread_visitor.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_IR_THREAD_VISITOR_H_ #define BF_P4C_IR_THREAD_VISITOR_H_ diff --git a/backends/tofino/bf-p4c/ir/tofino.cpp b/backends/tofino/bf-p4c/ir/tofino.cpp index 37e20f92a..640362292 100644 --- a/backends/tofino/bf-p4c/ir/tofino.cpp +++ b/backends/tofino/bf-p4c/ir/tofino.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "ir/ir.h" /* static */ size_t IR::BFN::ContainerRef::nextId = 0; diff --git a/backends/tofino/bf-p4c/ir/tofino_write_context.cpp b/backends/tofino/bf-p4c/ir/tofino_write_context.cpp index d52cae9e0..1c1f76a4a 100644 --- a/backends/tofino/bf-p4c/ir/tofino_write_context.cpp +++ b/backends/tofino/bf-p4c/ir/tofino_write_context.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/ir/tofino_write_context.h" #include "lib/log.h" diff --git a/backends/tofino/bf-p4c/ir/tofino_write_context.h b/backends/tofino/bf-p4c/ir/tofino_write_context.h index 63d643119..be80d3ee2 100644 --- a/backends/tofino/bf-p4c/ir/tofino_write_context.h +++ b/backends/tofino/bf-p4c/ir/tofino_write_context.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_IR_TOFINO_WRITE_CONTEXT_H_ #define BACKENDS_TOFINO_BF_P4C_IR_TOFINO_WRITE_CONTEXT_H_ diff --git a/backends/tofino/bf-p4c/ir/unique_id.cpp b/backends/tofino/bf-p4c/ir/unique_id.cpp index 53eebf766..bf3f0e777 100644 --- a/backends/tofino/bf-p4c/ir/unique_id.cpp +++ b/backends/tofino/bf-p4c/ir/unique_id.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "unique_id.h" #include "ir/ir.h" diff --git a/backends/tofino/bf-p4c/ir/unique_id.h b/backends/tofino/bf-p4c/ir/unique_id.h index 9cc8aae40..ba5ec130c 100644 --- a/backends/tofino/bf-p4c/ir/unique_id.h +++ b/backends/tofino/bf-p4c/ir/unique_id.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_IR_UNIQUE_ID_H_ #define BACKENDS_TOFINO_BF_P4C_IR_UNIQUE_ID_H_ diff --git a/backends/tofino/bf-p4c/lib/assoc.h b/backends/tofino/bf-p4c/lib/assoc.h index 6a09ea1ca..2109752a4 100644 --- a/backends/tofino/bf-p4c/lib/assoc.h +++ b/backends/tofino/bf-p4c/lib/assoc.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #pragma once #include diff --git a/backends/tofino/bf-p4c/lib/autoclone.h b/backends/tofino/bf-p4c/lib/autoclone.h index ee018daa4..24d742587 100644 --- a/backends/tofino/bf-p4c/lib/autoclone.h +++ b/backends/tofino/bf-p4c/lib/autoclone.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BF_P4C_LIB_AUTOCLONE_H_ #define _BF_P4C_LIB_AUTOCLONE_H_ diff --git a/backends/tofino/bf-p4c/lib/boost_graph.h b/backends/tofino/bf-p4c/lib/boost_graph.h index 1538d3bee..467fc7bd5 100644 --- a/backends/tofino/bf-p4c/lib/boost_graph.h +++ b/backends/tofino/bf-p4c/lib/boost_graph.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /// Helpers for Boost graphs. #ifndef BF_P4C_LIB_BOOST_GRAPH_H_ diff --git a/backends/tofino/bf-p4c/lib/cmp.h b/backends/tofino/bf-p4c/lib/cmp.h index acd6aea67..e55f256e8 100644 --- a/backends/tofino/bf-p4c/lib/cmp.h +++ b/backends/tofino/bf-p4c/lib/cmp.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/lib/dyn_vector.h b/backends/tofino/bf-p4c/lib/dyn_vector.h index f4f39e9f6..214159af1 100644 --- a/backends/tofino/bf-p4c/lib/dyn_vector.h +++ b/backends/tofino/bf-p4c/lib/dyn_vector.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_LIB_DYN_VECTOR_H_ #define BF_P4C_LIB_DYN_VECTOR_H_ diff --git a/backends/tofino/bf-p4c/lib/error_macros.h b/backends/tofino/bf-p4c/lib/error_macros.h index f13eb8bb9..434953519 100644 --- a/backends/tofino/bf-p4c/lib/error_macros.h +++ b/backends/tofino/bf-p4c/lib/error_macros.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_LIB_ERROR_MACROS_H_ #define BACKENDS_TOFINO_BF_P4C_LIB_ERROR_MACROS_H_ diff --git a/backends/tofino/bf-p4c/lib/error_type.cpp b/backends/tofino/bf-p4c/lib/error_type.cpp index 2449a6e57..64e2db9a7 100644 --- a/backends/tofino/bf-p4c/lib/error_type.cpp +++ b/backends/tofino/bf-p4c/lib/error_type.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "error_type.h" #include diff --git a/backends/tofino/bf-p4c/lib/error_type.h b/backends/tofino/bf-p4c/lib/error_type.h index dd0ba713e..2efb68628 100644 --- a/backends/tofino/bf-p4c/lib/error_type.h +++ b/backends/tofino/bf-p4c/lib/error_type.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_LIB_ERROR_TYPE_H_ #define BACKENDS_TOFINO_BF_P4C_LIB_ERROR_TYPE_H_ diff --git a/backends/tofino/bf-p4c/lib/log_fixup.h b/backends/tofino/bf-p4c/lib/log_fixup.h index f3f6bccbf..8cfd032d5 100644 --- a/backends/tofino/bf-p4c/lib/log_fixup.h +++ b/backends/tofino/bf-p4c/lib/log_fixup.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_LIB_LOG_FIXUP_H_ #define BACKENDS_TOFINO_BF_P4C_LIB_LOG_FIXUP_H_ diff --git a/backends/tofino/bf-p4c/lib/pad_alignment.h b/backends/tofino/bf-p4c/lib/pad_alignment.h index 9a112885b..7d891c641 100644 --- a/backends/tofino/bf-p4c/lib/pad_alignment.h +++ b/backends/tofino/bf-p4c/lib/pad_alignment.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef PAD_ALIGNMENT_H_ #define PAD_ALIGNMENT_H_ diff --git a/backends/tofino/bf-p4c/lib/pointer_wrapper.h b/backends/tofino/bf-p4c/lib/pointer_wrapper.h index 1a0e93bfd..8bb0d9aed 100644 --- a/backends/tofino/bf-p4c/lib/pointer_wrapper.h +++ b/backends/tofino/bf-p4c/lib/pointer_wrapper.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_LIB_POINTER_WRAPPER_H_ #define BF_P4C_LIB_POINTER_WRAPPER_H_ diff --git a/backends/tofino/bf-p4c/lib/safe_width.h b/backends/tofino/bf-p4c/lib/safe_width.h index a0891fd85..05c4cf61f 100644 --- a/backends/tofino/bf-p4c/lib/safe_width.h +++ b/backends/tofino/bf-p4c/lib/safe_width.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_LIB_SAFE_WIDTH_H_ #define BF_P4C_LIB_SAFE_WIDTH_H_ diff --git a/backends/tofino/bf-p4c/logging/bf_error_reporter.cpp b/backends/tofino/bf-p4c/logging/bf_error_reporter.cpp index 15b75a4ac..437a60858 100644 --- a/backends/tofino/bf-p4c/logging/bf_error_reporter.cpp +++ b/backends/tofino/bf-p4c/logging/bf_error_reporter.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf_error_reporter.h" #include diff --git a/backends/tofino/bf-p4c/logging/bf_error_reporter.h b/backends/tofino/bf-p4c/logging/bf_error_reporter.h index 57813c579..f7f749c0f 100644 --- a/backends/tofino/bf-p4c/logging/bf_error_reporter.h +++ b/backends/tofino/bf-p4c/logging/bf_error_reporter.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_LOGGING_BF_ERROR_REPORTER_H_ #define _BACKENDS_TOFINO_BF_P4C_LOGGING_BF_ERROR_REPORTER_H_ diff --git a/backends/tofino/bf-p4c/logging/collect_diagnostic_checks.cpp b/backends/tofino/bf-p4c/logging/collect_diagnostic_checks.cpp index c410ac2c5..2c9994709 100644 --- a/backends/tofino/bf-p4c/logging/collect_diagnostic_checks.cpp +++ b/backends/tofino/bf-p4c/logging/collect_diagnostic_checks.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "collect_diagnostic_checks.h" #include diff --git a/backends/tofino/bf-p4c/logging/collect_diagnostic_checks.h b/backends/tofino/bf-p4c/logging/collect_diagnostic_checks.h index 3fe0203f0..242b83893 100644 --- a/backends/tofino/bf-p4c/logging/collect_diagnostic_checks.h +++ b/backends/tofino/bf-p4c/logging/collect_diagnostic_checks.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_LOGGING_COLLECT_DIAGNOSTIC_CHECKS_H_ #define BACKENDS_TOFINO_BF_P4C_LOGGING_COLLECT_DIAGNOSTIC_CHECKS_H_ #include "bf-p4c/bf-p4c-options.h" diff --git a/backends/tofino/bf-p4c/logging/constrained_fields.cpp b/backends/tofino/bf-p4c/logging/constrained_fields.cpp index 4fe37339a..4dfdaa6d8 100644 --- a/backends/tofino/bf-p4c/logging/constrained_fields.cpp +++ b/backends/tofino/bf-p4c/logging/constrained_fields.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "constrained_fields.h" /* ConstrainedSlice */ diff --git a/backends/tofino/bf-p4c/logging/constrained_fields.h b/backends/tofino/bf-p4c/logging/constrained_fields.h index 430113a07..0fcab5154 100644 --- a/backends/tofino/bf-p4c/logging/constrained_fields.h +++ b/backends/tofino/bf-p4c/logging/constrained_fields.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_LOGGING_CONSTRAINED_FIELDS_H_ #define BACKENDS_TOFINO_BF_P4C_LOGGING_CONSTRAINED_FIELDS_H_ diff --git a/backends/tofino/bf-p4c/logging/container_size_extractor.cpp b/backends/tofino/bf-p4c/logging/container_size_extractor.cpp index 4dbe929c9..286553cfe 100644 --- a/backends/tofino/bf-p4c/logging/container_size_extractor.cpp +++ b/backends/tofino/bf-p4c/logging/container_size_extractor.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/logging/container_size_extractor.h" #include diff --git a/backends/tofino/bf-p4c/logging/container_size_extractor.h b/backends/tofino/bf-p4c/logging/container_size_extractor.h index fcf0f82eb..23c460ac1 100644 --- a/backends/tofino/bf-p4c/logging/container_size_extractor.h +++ b/backends/tofino/bf-p4c/logging/container_size_extractor.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_LOGGING_CONTAINER_SIZE_EXTRACTOR_H_ #define BF_P4C_LOGGING_CONTAINER_SIZE_EXTRACTOR_H_ diff --git a/backends/tofino/bf-p4c/logging/event_logger.cpp b/backends/tofino/bf-p4c/logging/event_logger.cpp index cb1f58587..a314145bd 100644 --- a/backends/tofino/bf-p4c/logging/event_logger.cpp +++ b/backends/tofino/bf-p4c/logging/event_logger.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "event_logger.h" #include diff --git a/backends/tofino/bf-p4c/logging/event_logger.h b/backends/tofino/bf-p4c/logging/event_logger.h index 5a0f7a861..a7e4105cc 100644 --- a/backends/tofino/bf-p4c/logging/event_logger.h +++ b/backends/tofino/bf-p4c/logging/event_logger.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_LOGGING_EVENT_LOGGER_H_ #define _BACKENDS_TOFINO_BF_P4C_LOGGING_EVENT_LOGGER_H_ diff --git a/backends/tofino/bf-p4c/logging/filelog.cpp b/backends/tofino/bf-p4c/logging/filelog.cpp index d316daa68..9af4cde25 100644 --- a/backends/tofino/bf-p4c/logging/filelog.cpp +++ b/backends/tofino/bf-p4c/logging/filelog.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "filelog.h" std::set Logging::FileLog::filesWritten; diff --git a/backends/tofino/bf-p4c/logging/filelog.h b/backends/tofino/bf-p4c/logging/filelog.h index 63f92bdba..232024a58 100644 --- a/backends/tofino/bf-p4c/logging/filelog.h +++ b/backends/tofino/bf-p4c/logging/filelog.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_LOGGING_FILELOG_H_ #define _BACKENDS_TOFINO_BF_P4C_LOGGING_FILELOG_H_ diff --git a/backends/tofino/bf-p4c/logging/group_constraint_extractor.cpp b/backends/tofino/bf-p4c/logging/group_constraint_extractor.cpp index e1ff5d999..c3b62297b 100644 --- a/backends/tofino/bf-p4c/logging/group_constraint_extractor.cpp +++ b/backends/tofino/bf-p4c/logging/group_constraint_extractor.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "group_constraint_extractor.h" using Group = GroupConstraintExtractor::Group; diff --git a/backends/tofino/bf-p4c/logging/group_constraint_extractor.h b/backends/tofino/bf-p4c/logging/group_constraint_extractor.h index 313137e8d..7582e0570 100644 --- a/backends/tofino/bf-p4c/logging/group_constraint_extractor.h +++ b/backends/tofino/bf-p4c/logging/group_constraint_extractor.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_LOGGING_GROUP_CONSTRAINT_EXTRACTOR_H_ #define BF_P4C_LOGGING_GROUP_CONSTRAINT_EXTRACTOR_H_ diff --git a/backends/tofino/bf-p4c/logging/logging.h b/backends/tofino/bf-p4c/logging/logging.h index fceebc8a0..244222cf6 100644 --- a/backends/tofino/bf-p4c/logging/logging.h +++ b/backends/tofino/bf-p4c/logging/logging.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_LOGGING_LOGGING_H_ #define _BACKENDS_TOFINO_BF_P4C_LOGGING_LOGGING_H_ diff --git a/backends/tofino/bf-p4c/logging/manifest.cpp b/backends/tofino/bf-p4c/logging/manifest.cpp index 9b58d0460..c3ca147c1 100644 --- a/backends/tofino/bf-p4c/logging/manifest.cpp +++ b/backends/tofino/bf-p4c/logging/manifest.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "manifest.h" #include diff --git a/backends/tofino/bf-p4c/logging/manifest.h b/backends/tofino/bf-p4c/logging/manifest.h index 034d4065b..c90eff394 100644 --- a/backends/tofino/bf-p4c/logging/manifest.h +++ b/backends/tofino/bf-p4c/logging/manifest.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_LOGGING_MANIFEST_H_ #define _BACKENDS_TOFINO_BF_P4C_LOGGING_MANIFEST_H_ diff --git a/backends/tofino/bf-p4c/logging/pass_manager.cpp b/backends/tofino/bf-p4c/logging/pass_manager.cpp index 5560c9f81..21312b13f 100644 --- a/backends/tofino/bf-p4c/logging/pass_manager.cpp +++ b/backends/tofino/bf-p4c/logging/pass_manager.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "pass_manager.h" int Logging::PassManager::invocationCount = -1; diff --git a/backends/tofino/bf-p4c/logging/pass_manager.h b/backends/tofino/bf-p4c/logging/pass_manager.h index 114ab9ff6..021a333d6 100644 --- a/backends/tofino/bf-p4c/logging/pass_manager.h +++ b/backends/tofino/bf-p4c/logging/pass_manager.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_LOGGING_PASS_MANAGER_H_ #define _BACKENDS_TOFINO_BF_P4C_LOGGING_PASS_MANAGER_H_ diff --git a/backends/tofino/bf-p4c/logging/phv_logging.cpp b/backends/tofino/bf-p4c/logging/phv_logging.cpp index de2a68594..937190f92 100644 --- a/backends/tofino/bf-p4c/logging/phv_logging.cpp +++ b/backends/tofino/bf-p4c/logging/phv_logging.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/logging/phv_logging.h" #include "bf-p4c/bf-p4c-options.h" diff --git a/backends/tofino/bf-p4c/logging/phv_logging.h b/backends/tofino/bf-p4c/logging/phv_logging.h index 72c002932..e2c2d279b 100644 --- a/backends/tofino/bf-p4c/logging/phv_logging.h +++ b/backends/tofino/bf-p4c/logging/phv_logging.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_LOGGING_PHV_LOGGING_H_ #define BF_P4C_LOGGING_PHV_LOGGING_H_ diff --git a/backends/tofino/bf-p4c/logging/rapidjson_adapter.h b/backends/tofino/bf-p4c/logging/rapidjson_adapter.h index 8dd66d245..1ce541475 100644 --- a/backends/tofino/bf-p4c/logging/rapidjson_adapter.h +++ b/backends/tofino/bf-p4c/logging/rapidjson_adapter.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_LOGGING_RAPIDJSON_ADAPTER_H_ #define _BACKENDS_TOFINO_BF_P4C_LOGGING_RAPIDJSON_ADAPTER_H_ diff --git a/backends/tofino/bf-p4c/logging/resources.cpp b/backends/tofino/bf-p4c/logging/resources.cpp index f05b5ccc7..5cd54613f 100644 --- a/backends/tofino/bf-p4c/logging/resources.cpp +++ b/backends/tofino/bf-p4c/logging/resources.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* clang-format off */ #include diff --git a/backends/tofino/bf-p4c/logging/resources.h b/backends/tofino/bf-p4c/logging/resources.h index 208e78b70..559ef2223 100644 --- a/backends/tofino/bf-p4c/logging/resources.h +++ b/backends/tofino/bf-p4c/logging/resources.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_LOGGING_RESOURCES_H_ #define _BACKENDS_TOFINO_BF_P4C_LOGGING_RESOURCES_H_ diff --git a/backends/tofino/bf-p4c/logging/resources_clot.cpp b/backends/tofino/bf-p4c/logging/resources_clot.cpp index 6f82cf72c..a6496901b 100644 --- a/backends/tofino/bf-p4c/logging/resources_clot.cpp +++ b/backends/tofino/bf-p4c/logging/resources_clot.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* clang-format off */ #include diff --git a/backends/tofino/bf-p4c/logging/resources_clot.h b/backends/tofino/bf-p4c/logging/resources_clot.h index 5944f1661..5c32b7af4 100644 --- a/backends/tofino/bf-p4c/logging/resources_clot.h +++ b/backends/tofino/bf-p4c/logging/resources_clot.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_LOGGING_RESOURCES_CLOT_H_ #define _BACKENDS_TOFINO_BF_P4C_LOGGING_RESOURCES_CLOT_H_ diff --git a/backends/tofino/bf-p4c/logging/resources_parser.cpp b/backends/tofino/bf-p4c/logging/resources_parser.cpp index 265761cba..309e721c7 100644 --- a/backends/tofino/bf-p4c/logging/resources_parser.cpp +++ b/backends/tofino/bf-p4c/logging/resources_parser.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* clang-format off */ #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/logging/resources_parser.h b/backends/tofino/bf-p4c/logging/resources_parser.h index 27715765a..616408869 100644 --- a/backends/tofino/bf-p4c/logging/resources_parser.h +++ b/backends/tofino/bf-p4c/logging/resources_parser.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_LOGGING_RESOURCES_PARSER_H_ #define _BACKENDS_TOFINO_BF_P4C_LOGGING_RESOURCES_PARSER_H_ diff --git a/backends/tofino/bf-p4c/logging/source_info_logging.cpp b/backends/tofino/bf-p4c/logging/source_info_logging.cpp index 227aae0df..68587af0c 100644 --- a/backends/tofino/bf-p4c/logging/source_info_logging.cpp +++ b/backends/tofino/bf-p4c/logging/source_info_logging.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "source_info_logging.h" #include diff --git a/backends/tofino/bf-p4c/logging/source_info_logging.h b/backends/tofino/bf-p4c/logging/source_info_logging.h index ee0b1a160..19c00306a 100644 --- a/backends/tofino/bf-p4c/logging/source_info_logging.h +++ b/backends/tofino/bf-p4c/logging/source_info_logging.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_LOGGING_SOURCE_INFO_LOGGING_H_ #define BF_P4C_LOGGING_SOURCE_INFO_LOGGING_H_ diff --git a/backends/tofino/bf-p4c/logging/test_phv.cpp b/backends/tofino/bf-p4c/logging/test_phv.cpp index a5031221c..a9404c365 100644 --- a/backends/tofino/bf-p4c/logging/test_phv.cpp +++ b/backends/tofino/bf-p4c/logging/test_phv.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/mau/action_analysis.cpp b/backends/tofino/bf-p4c/mau/action_analysis.cpp index d1fc49d4c..3d6ebdb64 100644 --- a/backends/tofino/bf-p4c/mau/action_analysis.cpp +++ b/backends/tofino/bf-p4c/mau/action_analysis.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "action_analysis.h" #include "bf-p4c/common/slice.h" diff --git a/backends/tofino/bf-p4c/mau/action_analysis.h b/backends/tofino/bf-p4c/mau/action_analysis.h index dc1d85cd4..0072344f4 100644 --- a/backends/tofino/bf-p4c/mau/action_analysis.h +++ b/backends/tofino/bf-p4c/mau/action_analysis.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_ACTION_ANALYSIS_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_ACTION_ANALYSIS_H_ diff --git a/backends/tofino/bf-p4c/mau/action_data_bus.cpp b/backends/tofino/bf-p4c/mau/action_data_bus.cpp index 61f020dc0..3722d207e 100644 --- a/backends/tofino/bf-p4c/mau/action_data_bus.cpp +++ b/backends/tofino/bf-p4c/mau/action_data_bus.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "action_data_bus.h" #include "bf-p4c/mau/resource.h" diff --git a/backends/tofino/bf-p4c/mau/action_data_bus.h b/backends/tofino/bf-p4c/mau/action_data_bus.h index e8528504f..203706bf3 100644 --- a/backends/tofino/bf-p4c/mau/action_data_bus.h +++ b/backends/tofino/bf-p4c/mau/action_data_bus.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_ACTION_DATA_BUS_H_ #define BF_P4C_MAU_ACTION_DATA_BUS_H_ diff --git a/backends/tofino/bf-p4c/mau/action_format.cpp b/backends/tofino/bf-p4c/mau/action_format.cpp index cbaec9e2c..a713fa5bd 100644 --- a/backends/tofino/bf-p4c/mau/action_format.cpp +++ b/backends/tofino/bf-p4c/mau/action_format.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/action_format.h" #include diff --git a/backends/tofino/bf-p4c/mau/action_format.h b/backends/tofino/bf-p4c/mau/action_format.h index 707fbd588..a4068de29 100644 --- a/backends/tofino/bf-p4c/mau/action_format.h +++ b/backends/tofino/bf-p4c/mau/action_format.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_ACTION_FORMAT_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_ACTION_FORMAT_H_ diff --git a/backends/tofino/bf-p4c/mau/action_mutex.cpp b/backends/tofino/bf-p4c/mau/action_mutex.cpp index 4aedc27c4..ed34d5fd8 100644 --- a/backends/tofino/bf-p4c/mau/action_mutex.cpp +++ b/backends/tofino/bf-p4c/mau/action_mutex.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/action_mutex.h" /** diff --git a/backends/tofino/bf-p4c/mau/action_mutex.h b/backends/tofino/bf-p4c/mau/action_mutex.h index d274c5814..138316fb1 100644 --- a/backends/tofino/bf-p4c/mau/action_mutex.h +++ b/backends/tofino/bf-p4c/mau/action_mutex.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_ACTION_MUTEX_H_ #define BF_P4C_MAU_ACTION_MUTEX_H_ diff --git a/backends/tofino/bf-p4c/mau/add_always_run.cpp b/backends/tofino/bf-p4c/mau/add_always_run.cpp index 81bf4c3f9..69163944b 100644 --- a/backends/tofino/bf-p4c/mau/add_always_run.cpp +++ b/backends/tofino/bf-p4c/mau/add_always_run.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "add_always_run.h" #include "bf-p4c/common/empty_tableseq.h" diff --git a/backends/tofino/bf-p4c/mau/add_always_run.h b/backends/tofino/bf-p4c/mau/add_always_run.h index 3894b3e05..901e3501d 100644 --- a/backends/tofino/bf-p4c/mau/add_always_run.h +++ b/backends/tofino/bf-p4c/mau/add_always_run.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_ADD_ALWAYS_RUN_H_ #define BF_P4C_MAU_ADD_ALWAYS_RUN_H_ diff --git a/backends/tofino/bf-p4c/mau/adjust_byte_count.cpp b/backends/tofino/bf-p4c/mau/adjust_byte_count.cpp index 142ae1202..013f78b8d 100644 --- a/backends/tofino/bf-p4c/mau/adjust_byte_count.cpp +++ b/backends/tofino/bf-p4c/mau/adjust_byte_count.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/adjust_byte_count.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/mau/adjust_byte_count.h b/backends/tofino/bf-p4c/mau/adjust_byte_count.h index a0f3da9c0..4f7563ff3 100644 --- a/backends/tofino/bf-p4c/mau/adjust_byte_count.h +++ b/backends/tofino/bf-p4c/mau/adjust_byte_count.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_ADJUST_BYTE_COUNT_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_ADJUST_BYTE_COUNT_H_ diff --git a/backends/tofino/bf-p4c/mau/asm_format_hash.h b/backends/tofino/bf-p4c/mau/asm_format_hash.h index db6db27f7..545dc5628 100644 --- a/backends/tofino/bf-p4c/mau/asm_format_hash.h +++ b/backends/tofino/bf-p4c/mau/asm_format_hash.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_ASM_FORMAT_HASH_H_ #define BF_P4C_MAU_ASM_FORMAT_HASH_H_ diff --git a/backends/tofino/bf-p4c/mau/asm_hash_output.cpp b/backends/tofino/bf-p4c/mau/asm_hash_output.cpp index d2e16dd52..cf2102b12 100644 --- a/backends/tofino/bf-p4c/mau/asm_hash_output.cpp +++ b/backends/tofino/bf-p4c/mau/asm_hash_output.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "asm_hash_output.h" void emit_ixbar_gather_map(const PhvInfo &phv, std::multimap &match_data_map, diff --git a/backends/tofino/bf-p4c/mau/asm_hash_output.h b/backends/tofino/bf-p4c/mau/asm_hash_output.h index 38e69b883..9840ca4f9 100644 --- a/backends/tofino/bf-p4c/mau/asm_hash_output.h +++ b/backends/tofino/bf-p4c/mau/asm_hash_output.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_ASM_HASH_OUTPUT_H_ #define BF_P4C_MAU_ASM_HASH_OUTPUT_H_ diff --git a/backends/tofino/bf-p4c/mau/asm_output.cpp b/backends/tofino/bf-p4c/mau/asm_output.cpp index 608a35c03..f90391fa2 100644 --- a/backends/tofino/bf-p4c/mau/asm_output.cpp +++ b/backends/tofino/bf-p4c/mau/asm_output.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/asm_output.h" #include diff --git a/backends/tofino/bf-p4c/mau/asm_output.h b/backends/tofino/bf-p4c/mau/asm_output.h index c8b4cfe19..dc8b819a9 100644 --- a/backends/tofino/bf-p4c/mau/asm_output.h +++ b/backends/tofino/bf-p4c/mau/asm_output.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_ASM_OUTPUT_H_ #define BF_P4C_MAU_ASM_OUTPUT_H_ diff --git a/backends/tofino/bf-p4c/mau/attached_entries.h b/backends/tofino/bf-p4c/mau/attached_entries.h index bffd5739e..227ed0893 100644 --- a/backends/tofino/bf-p4c/mau/attached_entries.h +++ b/backends/tofino/bf-p4c/mau/attached_entries.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_ATTACHED_ENTRIES_H_ #define BF_P4C_MAU_ATTACHED_ENTRIES_H_ diff --git a/backends/tofino/bf-p4c/mau/attached_info.cpp b/backends/tofino/bf-p4c/mau/attached_info.cpp index 872cf8828..791332fd7 100644 --- a/backends/tofino/bf-p4c/mau/attached_info.cpp +++ b/backends/tofino/bf-p4c/mau/attached_info.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/attached_info.h" #include "bf-p4c/common/slice.h" diff --git a/backends/tofino/bf-p4c/mau/attached_info.h b/backends/tofino/bf-p4c/mau/attached_info.h index ddb4df719..85f6f71b6 100644 --- a/backends/tofino/bf-p4c/mau/attached_info.h +++ b/backends/tofino/bf-p4c/mau/attached_info.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_ATTACHED_INFO_H_ #define BF_P4C_MAU_ATTACHED_INFO_H_ diff --git a/backends/tofino/bf-p4c/mau/attached_output.cpp b/backends/tofino/bf-p4c/mau/attached_output.cpp index a539bd6c7..692e5bc26 100644 --- a/backends/tofino/bf-p4c/mau/attached_output.cpp +++ b/backends/tofino/bf-p4c/mau/attached_output.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/attached_output.h" #include "bf-p4c/mau/action_format.h" diff --git a/backends/tofino/bf-p4c/mau/attached_output.h b/backends/tofino/bf-p4c/mau/attached_output.h index 5106d7ea4..132ad6d62 100644 --- a/backends/tofino/bf-p4c/mau/attached_output.h +++ b/backends/tofino/bf-p4c/mau/attached_output.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_ATTACHED_OUTPUT_H_ #define BF_P4C_MAU_ATTACHED_OUTPUT_H_ diff --git a/backends/tofino/bf-p4c/mau/build_power_graph.cpp b/backends/tofino/bf-p4c/mau/build_power_graph.cpp index b3a7db950..f9b2a1b86 100644 --- a/backends/tofino/bf-p4c/mau/build_power_graph.cpp +++ b/backends/tofino/bf-p4c/mau/build_power_graph.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/build_power_graph.h" #include "bf-p4c/bf-p4c-options.h" diff --git a/backends/tofino/bf-p4c/mau/build_power_graph.h b/backends/tofino/bf-p4c/mau/build_power_graph.h index 0886fd5f6..0d5bdfa5b 100644 --- a/backends/tofino/bf-p4c/mau/build_power_graph.h +++ b/backends/tofino/bf-p4c/mau/build_power_graph.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_BUILD_POWER_GRAPH_H_ #define BF_P4C_MAU_BUILD_POWER_GRAPH_H_ diff --git a/backends/tofino/bf-p4c/mau/check_duplicate.h b/backends/tofino/bf-p4c/mau/check_duplicate.h index 8ec5b3b43..60a1527ce 100644 --- a/backends/tofino/bf-p4c/mau/check_duplicate.h +++ b/backends/tofino/bf-p4c/mau/check_duplicate.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_CHECK_DUPLICATE_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_CHECK_DUPLICATE_H_ diff --git a/backends/tofino/bf-p4c/mau/db-gateway.cpp b/backends/tofino/bf-p4c/mau/db-gateway.cpp index 3c34ed3e3..70ff29260 100644 --- a/backends/tofino/bf-p4c/mau/db-gateway.cpp +++ b/backends/tofino/bf-p4c/mau/db-gateway.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/phv_fields.h" #include "gateway.h" #include "ir/dbprint.h" diff --git a/backends/tofino/bf-p4c/mau/default_next.h b/backends/tofino/bf-p4c/mau/default_next.h index 6e542fbbb..5663d1c4a 100644 --- a/backends/tofino/bf-p4c/mau/default_next.h +++ b/backends/tofino/bf-p4c/mau/default_next.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_DEFAULT_NEXT_H_ #define BF_P4C_MAU_DEFAULT_NEXT_H_ diff --git a/backends/tofino/bf-p4c/mau/determine_power_usage.cpp b/backends/tofino/bf-p4c/mau/determine_power_usage.cpp index 3f6eba97e..a9b1e1479 100644 --- a/backends/tofino/bf-p4c/mau/determine_power_usage.cpp +++ b/backends/tofino/bf-p4c/mau/determine_power_usage.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/determine_power_usage.h" #include diff --git a/backends/tofino/bf-p4c/mau/determine_power_usage.h b/backends/tofino/bf-p4c/mau/determine_power_usage.h index 3331a577f..ad9cf10e9 100644 --- a/backends/tofino/bf-p4c/mau/determine_power_usage.h +++ b/backends/tofino/bf-p4c/mau/determine_power_usage.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_DETERMINE_POWER_USAGE_H_ #define BF_P4C_MAU_DETERMINE_POWER_USAGE_H_ diff --git a/backends/tofino/bf-p4c/mau/dump_json_graph.cpp b/backends/tofino/bf-p4c/mau/dump_json_graph.cpp index 04872bd2c..7ee897971 100644 --- a/backends/tofino/bf-p4c/mau/dump_json_graph.cpp +++ b/backends/tofino/bf-p4c/mau/dump_json_graph.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/dump_json_graph.h" using namespace P4; diff --git a/backends/tofino/bf-p4c/mau/dump_json_graph.h b/backends/tofino/bf-p4c/mau/dump_json_graph.h index 3573dc782..4ed7f411d 100644 --- a/backends/tofino/bf-p4c/mau/dump_json_graph.h +++ b/backends/tofino/bf-p4c/mau/dump_json_graph.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_DUMP_JSON_GRAPH_H_ #define BF_P4C_MAU_DUMP_JSON_GRAPH_H_ diff --git a/backends/tofino/bf-p4c/mau/dynamic_dep_metrics.cpp b/backends/tofino/bf-p4c/mau/dynamic_dep_metrics.cpp index 108c432aa..f626fdba6 100644 --- a/backends/tofino/bf-p4c/mau/dynamic_dep_metrics.cpp +++ b/backends/tofino/bf-p4c/mau/dynamic_dep_metrics.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/dynamic_dep_metrics.h" void DynamicDependencyMetrics::score_on_seq(const IR::MAU::TableSeq *seq, const IR::MAU::Table *tbl, diff --git a/backends/tofino/bf-p4c/mau/dynamic_dep_metrics.h b/backends/tofino/bf-p4c/mau/dynamic_dep_metrics.h index e9cc2d57e..ac32582d3 100644 --- a/backends/tofino/bf-p4c/mau/dynamic_dep_metrics.h +++ b/backends/tofino/bf-p4c/mau/dynamic_dep_metrics.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_DYNAMIC_DEP_METRICS_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_DYNAMIC_DEP_METRICS_H_ diff --git a/backends/tofino/bf-p4c/mau/dynhash.cpp b/backends/tofino/bf-p4c/mau/dynhash.cpp index 7dfd60dd4..b1f8f8103 100644 --- a/backends/tofino/bf-p4c/mau/dynhash.cpp +++ b/backends/tofino/bf-p4c/mau/dynhash.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/dynhash.h" #include "bf-p4c/common/asm_output.h" diff --git a/backends/tofino/bf-p4c/mau/dynhash.h b/backends/tofino/bf-p4c/mau/dynhash.h index 9ec069fec..97f66af49 100644 --- a/backends/tofino/bf-p4c/mau/dynhash.h +++ b/backends/tofino/bf-p4c/mau/dynhash.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_DYNHASH_H_ #define BF_P4C_MAU_DYNHASH_H_ diff --git a/backends/tofino/bf-p4c/mau/empty_controls.h b/backends/tofino/bf-p4c/mau/empty_controls.h index a4b35cabd..795c34f72 100644 --- a/backends/tofino/bf-p4c/mau/empty_controls.h +++ b/backends/tofino/bf-p4c/mau/empty_controls.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_EMPTY_CONTROLS_H_ #define BF_P4C_MAU_EMPTY_CONTROLS_H_ diff --git a/backends/tofino/bf-p4c/mau/field_use.cpp b/backends/tofino/bf-p4c/mau/field_use.cpp index 7760ca681..39b1ac693 100644 --- a/backends/tofino/bf-p4c/mau/field_use.cpp +++ b/backends/tofino/bf-p4c/mau/field_use.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "field_use.h" #include "ir/ir.h" diff --git a/backends/tofino/bf-p4c/mau/field_use.h b/backends/tofino/bf-p4c/mau/field_use.h index b5397df06..e78d826e8 100644 --- a/backends/tofino/bf-p4c/mau/field_use.h +++ b/backends/tofino/bf-p4c/mau/field_use.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_FIELD_USE_H_ #define BF_P4C_MAU_FIELD_USE_H_ diff --git a/backends/tofino/bf-p4c/mau/finalize_mau_pred_deps_power.cpp b/backends/tofino/bf-p4c/mau/finalize_mau_pred_deps_power.cpp index 20c28e66b..318e1b1b9 100644 --- a/backends/tofino/bf-p4c/mau/finalize_mau_pred_deps_power.cpp +++ b/backends/tofino/bf-p4c/mau/finalize_mau_pred_deps_power.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/finalize_mau_pred_deps_power.h" #include diff --git a/backends/tofino/bf-p4c/mau/finalize_mau_pred_deps_power.h b/backends/tofino/bf-p4c/mau/finalize_mau_pred_deps_power.h index 7d338fe5c..449eb8035 100644 --- a/backends/tofino/bf-p4c/mau/finalize_mau_pred_deps_power.h +++ b/backends/tofino/bf-p4c/mau/finalize_mau_pred_deps_power.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_FINALIZE_MAU_PRED_DEPS_POWER_H_ #define BF_P4C_MAU_FINALIZE_MAU_PRED_DEPS_POWER_H_ diff --git a/backends/tofino/bf-p4c/mau/gateway.cpp b/backends/tofino/bf-p4c/mau/gateway.cpp index 1221d636b..7c81214c4 100644 --- a/backends/tofino/bf-p4c/mau/gateway.cpp +++ b/backends/tofino/bf-p4c/mau/gateway.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "gateway.h" #include diff --git a/backends/tofino/bf-p4c/mau/gateway.h b/backends/tofino/bf-p4c/mau/gateway.h index c42267268..5dbc679fd 100644 --- a/backends/tofino/bf-p4c/mau/gateway.h +++ b/backends/tofino/bf-p4c/mau/gateway.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_GATEWAY_H_ #define BF_P4C_MAU_GATEWAY_H_ diff --git a/backends/tofino/bf-p4c/mau/gen_prim_json.cpp b/backends/tofino/bf-p4c/mau/gen_prim_json.cpp index af38cc853..1df7e3511 100644 --- a/backends/tofino/bf-p4c/mau/gen_prim_json.cpp +++ b/backends/tofino/bf-p4c/mau/gen_prim_json.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/gen_prim_json.h" #include "bf-p4c/mau/mau_visitor.h" diff --git a/backends/tofino/bf-p4c/mau/gen_prim_json.h b/backends/tofino/bf-p4c/mau/gen_prim_json.h index 5a24cc2f3..fa965d830 100644 --- a/backends/tofino/bf-p4c/mau/gen_prim_json.h +++ b/backends/tofino/bf-p4c/mau/gen_prim_json.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_GEN_PRIM_JSON_H_ #define BF_P4C_MAU_GEN_PRIM_JSON_H_ diff --git a/backends/tofino/bf-p4c/mau/handle_assign.cpp b/backends/tofino/bf-p4c/mau/handle_assign.cpp index d1d7d20ad..00202f99c 100644 --- a/backends/tofino/bf-p4c/mau/handle_assign.cpp +++ b/backends/tofino/bf-p4c/mau/handle_assign.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/handle_assign.h" #include "bf-p4c/mau/input_xbar.h" diff --git a/backends/tofino/bf-p4c/mau/handle_assign.h b/backends/tofino/bf-p4c/mau/handle_assign.h index a6b358c6e..777b3f67f 100644 --- a/backends/tofino/bf-p4c/mau/handle_assign.h +++ b/backends/tofino/bf-p4c/mau/handle_assign.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_HANDLE_ASSIGN_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_HANDLE_ASSIGN_H_ diff --git a/backends/tofino/bf-p4c/mau/hash_function.cpp b/backends/tofino/bf-p4c/mau/hash_function.cpp index e156e378a..ca154d5e7 100644 --- a/backends/tofino/bf-p4c/mau/hash_function.cpp +++ b/backends/tofino/bf-p4c/mau/hash_function.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* clang-format off */ #include #include "ir/ir.h" diff --git a/backends/tofino/bf-p4c/mau/hash_function.h b/backends/tofino/bf-p4c/mau/hash_function.h index 76ccc90d6..4a144479c 100644 --- a/backends/tofino/bf-p4c/mau/hash_function.h +++ b/backends/tofino/bf-p4c/mau/hash_function.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_HASH_FUNCTION_H_ #define BF_P4C_MAU_HASH_FUNCTION_H_ diff --git a/backends/tofino/bf-p4c/mau/hash_mask_annotations.h b/backends/tofino/bf-p4c/mau/hash_mask_annotations.h index d144f7b83..41d161bc1 100644 --- a/backends/tofino/bf-p4c/mau/hash_mask_annotations.h +++ b/backends/tofino/bf-p4c/mau/hash_mask_annotations.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_HASH_MASK_ANNOTATIONS_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_HASH_MASK_ANNOTATIONS_H_ diff --git a/backends/tofino/bf-p4c/mau/input_xbar.cpp b/backends/tofino/bf-p4c/mau/input_xbar.cpp index f354a2e68..14865b73a 100644 --- a/backends/tofino/bf-p4c/mau/input_xbar.cpp +++ b/backends/tofino/bf-p4c/mau/input_xbar.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "input_xbar.h" #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/mau/input_xbar.h b/backends/tofino/bf-p4c/mau/input_xbar.h index 5e3af6dd2..aa4e3bfc7 100644 --- a/backends/tofino/bf-p4c/mau/input_xbar.h +++ b/backends/tofino/bf-p4c/mau/input_xbar.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_INPUT_XBAR_H_ #define BF_P4C_MAU_INPUT_XBAR_H_ diff --git a/backends/tofino/bf-p4c/mau/instruction_adjustment.cpp b/backends/tofino/bf-p4c/mau/instruction_adjustment.cpp index 4a7d2ec10..a2ef820f2 100644 --- a/backends/tofino/bf-p4c/mau/instruction_adjustment.cpp +++ b/backends/tofino/bf-p4c/mau/instruction_adjustment.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/instruction_adjustment.h" #include diff --git a/backends/tofino/bf-p4c/mau/instruction_adjustment.h b/backends/tofino/bf-p4c/mau/instruction_adjustment.h index cafd2eb25..8fb904fd6 100644 --- a/backends/tofino/bf-p4c/mau/instruction_adjustment.h +++ b/backends/tofino/bf-p4c/mau/instruction_adjustment.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_INSTRUCTION_ADJUSTMENT_H_ #define BF_P4C_MAU_INSTRUCTION_ADJUSTMENT_H_ diff --git a/backends/tofino/bf-p4c/mau/instruction_memory.cpp b/backends/tofino/bf-p4c/mau/instruction_memory.cpp index a124a1543..7baa57076 100644 --- a/backends/tofino/bf-p4c/mau/instruction_memory.cpp +++ b/backends/tofino/bf-p4c/mau/instruction_memory.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* clang-format off */ #include "bf-p4c/mau/instruction_memory.h" diff --git a/backends/tofino/bf-p4c/mau/instruction_memory.h b/backends/tofino/bf-p4c/mau/instruction_memory.h index 270a287c0..949dbf39b 100644 --- a/backends/tofino/bf-p4c/mau/instruction_memory.h +++ b/backends/tofino/bf-p4c/mau/instruction_memory.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_INSTRUCTION_MEMORY_H_ #define BF_P4C_MAU_INSTRUCTION_MEMORY_H_ diff --git a/backends/tofino/bf-p4c/mau/instruction_selection.cpp b/backends/tofino/bf-p4c/mau/instruction_selection.cpp index 0a081c758..a83696b54 100644 --- a/backends/tofino/bf-p4c/mau/instruction_selection.cpp +++ b/backends/tofino/bf-p4c/mau/instruction_selection.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/instruction_selection.h" #include diff --git a/backends/tofino/bf-p4c/mau/instruction_selection.h b/backends/tofino/bf-p4c/mau/instruction_selection.h index 03f419c88..8d2d88d38 100644 --- a/backends/tofino/bf-p4c/mau/instruction_selection.h +++ b/backends/tofino/bf-p4c/mau/instruction_selection.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_INSTRUCTION_SELECTION_H_ #define BF_P4C_MAU_INSTRUCTION_SELECTION_H_ diff --git a/backends/tofino/bf-p4c/mau/ixbar_expr.cpp b/backends/tofino/bf-p4c/mau/ixbar_expr.cpp index cf0938868..9fa8c0ba8 100644 --- a/backends/tofino/bf-p4c/mau/ixbar_expr.cpp +++ b/backends/tofino/bf-p4c/mau/ixbar_expr.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "ixbar_expr.h" #include "common/slice.h" diff --git a/backends/tofino/bf-p4c/mau/ixbar_expr.h b/backends/tofino/bf-p4c/mau/ixbar_expr.h index beca3a149..4553bc86b 100644 --- a/backends/tofino/bf-p4c/mau/ixbar_expr.h +++ b/backends/tofino/bf-p4c/mau/ixbar_expr.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_IXBAR_EXPR_H_ #define BF_P4C_MAU_IXBAR_EXPR_H_ diff --git a/backends/tofino/bf-p4c/mau/ixbar_info.cpp b/backends/tofino/bf-p4c/mau/ixbar_info.cpp index 8af53181f..57c2eaa8e 100644 --- a/backends/tofino/bf-p4c/mau/ixbar_info.cpp +++ b/backends/tofino/bf-p4c/mau/ixbar_info.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/ixbar_info.h" #include "bf-p4c/common/table_printer.h" diff --git a/backends/tofino/bf-p4c/mau/ixbar_info.h b/backends/tofino/bf-p4c/mau/ixbar_info.h index 46e7db045..b40611c25 100644 --- a/backends/tofino/bf-p4c/mau/ixbar_info.h +++ b/backends/tofino/bf-p4c/mau/ixbar_info.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_IXBAR_INFO_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_IXBAR_INFO_H_ diff --git a/backends/tofino/bf-p4c/mau/ixbar_realign.cpp b/backends/tofino/bf-p4c/mau/ixbar_realign.cpp index bb3c94987..cfc09cdaa 100644 --- a/backends/tofino/bf-p4c/mau/ixbar_realign.cpp +++ b/backends/tofino/bf-p4c/mau/ixbar_realign.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/ixbar_realign.h" #include "bf-p4c/mau/table_summary.h" diff --git a/backends/tofino/bf-p4c/mau/ixbar_realign.h b/backends/tofino/bf-p4c/mau/ixbar_realign.h index 43a8b8b3e..6887f52c8 100644 --- a/backends/tofino/bf-p4c/mau/ixbar_realign.h +++ b/backends/tofino/bf-p4c/mau/ixbar_realign.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_IXBAR_REALIGN_H_ #define BF_P4C_MAU_IXBAR_REALIGN_H_ diff --git a/backends/tofino/bf-p4c/mau/jbay_next_table.cpp b/backends/tofino/bf-p4c/mau/jbay_next_table.cpp index 3e8035750..def5c346e 100644 --- a/backends/tofino/bf-p4c/mau/jbay_next_table.cpp +++ b/backends/tofino/bf-p4c/mau/jbay_next_table.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "jbay_next_table.h" #include diff --git a/backends/tofino/bf-p4c/mau/jbay_next_table.h b/backends/tofino/bf-p4c/mau/jbay_next_table.h index cf53953c4..36014bf9b 100644 --- a/backends/tofino/bf-p4c/mau/jbay_next_table.h +++ b/backends/tofino/bf-p4c/mau/jbay_next_table.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_JBAY_NEXT_TABLE_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_JBAY_NEXT_TABLE_H_ diff --git a/backends/tofino/bf-p4c/mau/mau_alloc.cpp b/backends/tofino/bf-p4c/mau/mau_alloc.cpp index 119957c77..66df3fedb 100644 --- a/backends/tofino/bf-p4c/mau/mau_alloc.cpp +++ b/backends/tofino/bf-p4c/mau/mau_alloc.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "mau_alloc.h" #include "bf-p4c/common/utils.h" diff --git a/backends/tofino/bf-p4c/mau/mau_alloc.h b/backends/tofino/bf-p4c/mau/mau_alloc.h index f632fd0bb..e280ebc78 100644 --- a/backends/tofino/bf-p4c/mau/mau_alloc.h +++ b/backends/tofino/bf-p4c/mau/mau_alloc.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_MAU_ALLOC_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_MAU_ALLOC_H_ diff --git a/backends/tofino/bf-p4c/mau/mau_power.cpp b/backends/tofino/bf-p4c/mau/mau_power.cpp index fee70787d..c9595b0e1 100644 --- a/backends/tofino/bf-p4c/mau/mau_power.cpp +++ b/backends/tofino/bf-p4c/mau/mau_power.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/mau_power.h" #include diff --git a/backends/tofino/bf-p4c/mau/mau_power.h b/backends/tofino/bf-p4c/mau/mau_power.h index 26464ed5d..550c5ebbf 100644 --- a/backends/tofino/bf-p4c/mau/mau_power.h +++ b/backends/tofino/bf-p4c/mau/mau_power.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_MAU_POWER_H_ #define BF_P4C_MAU_MAU_POWER_H_ diff --git a/backends/tofino/bf-p4c/mau/mau_spec.cpp b/backends/tofino/bf-p4c/mau/mau_spec.cpp index 155b65513..061fa1d56 100644 --- a/backends/tofino/bf-p4c/mau/mau_spec.cpp +++ b/backends/tofino/bf-p4c/mau/mau_spec.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/mau_spec.h" #define MAU_SPEC_UNSUPPORTED \ diff --git a/backends/tofino/bf-p4c/mau/mau_spec.h b/backends/tofino/bf-p4c/mau/mau_spec.h index afb09498b..d984b13fd 100644 --- a/backends/tofino/bf-p4c/mau/mau_spec.h +++ b/backends/tofino/bf-p4c/mau/mau_spec.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_MAU_SPEC_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_MAU_SPEC_H_ diff --git a/backends/tofino/bf-p4c/mau/mau_visitor.h b/backends/tofino/bf-p4c/mau/mau_visitor.h index 9bef602d4..36163c78f 100644 --- a/backends/tofino/bf-p4c/mau/mau_visitor.h +++ b/backends/tofino/bf-p4c/mau/mau_visitor.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_MAU_VISITOR_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_MAU_VISITOR_H_ diff --git a/backends/tofino/bf-p4c/mau/memories.cpp b/backends/tofino/bf-p4c/mau/memories.cpp index 0133457ac..428fdfcf9 100644 --- a/backends/tofino/bf-p4c/mau/memories.cpp +++ b/backends/tofino/bf-p4c/mau/memories.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/memories.h" #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/mau/memories.h b/backends/tofino/bf-p4c/mau/memories.h index a7e1becda..a27059aaa 100644 --- a/backends/tofino/bf-p4c/mau/memories.h +++ b/backends/tofino/bf-p4c/mau/memories.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_MEMORIES_H_ #define BF_P4C_MAU_MEMORIES_H_ diff --git a/backends/tofino/bf-p4c/mau/next_table.h b/backends/tofino/bf-p4c/mau/next_table.h index 008f0b78d..6234556bc 100644 --- a/backends/tofino/bf-p4c/mau/next_table.h +++ b/backends/tofino/bf-p4c/mau/next_table.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_NEXT_TABLE_H_ #define BF_P4C_MAU_NEXT_TABLE_H_ diff --git a/backends/tofino/bf-p4c/mau/payload_gateway.cpp b/backends/tofino/bf-p4c/mau/payload_gateway.cpp index 243b42346..9e367b429 100644 --- a/backends/tofino/bf-p4c/mau/payload_gateway.cpp +++ b/backends/tofino/bf-p4c/mau/payload_gateway.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/payload_gateway.h" #include diff --git a/backends/tofino/bf-p4c/mau/payload_gateway.h b/backends/tofino/bf-p4c/mau/payload_gateway.h index 6a8783572..f4e32a522 100644 --- a/backends/tofino/bf-p4c/mau/payload_gateway.h +++ b/backends/tofino/bf-p4c/mau/payload_gateway.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_PAYLOAD_GATEWAY_H_ #define BF_P4C_MAU_PAYLOAD_GATEWAY_H_ diff --git a/backends/tofino/bf-p4c/mau/power_spec.h b/backends/tofino/bf-p4c/mau/power_spec.h index b74acb9ff..7cfcdbf00 100644 --- a/backends/tofino/bf-p4c/mau/power_spec.h +++ b/backends/tofino/bf-p4c/mau/power_spec.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MAU_POWER_SPEC_H_ #define BACKENDS_TOFINO_BF_P4C_MAU_POWER_SPEC_H_ diff --git a/backends/tofino/bf-p4c/mau/push_pop.h b/backends/tofino/bf-p4c/mau/push_pop.h index 9ebc6b09c..a61bd2339 100644 --- a/backends/tofino/bf-p4c/mau/push_pop.h +++ b/backends/tofino/bf-p4c/mau/push_pop.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_PUSH_POP_H_ #define BF_P4C_MAU_PUSH_POP_H_ diff --git a/backends/tofino/bf-p4c/mau/reduction_or.cpp b/backends/tofino/bf-p4c/mau/reduction_or.cpp index 051e2ba06..30eb1644f 100644 --- a/backends/tofino/bf-p4c/mau/reduction_or.cpp +++ b/backends/tofino/bf-p4c/mau/reduction_or.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/reduction_or.h" /** diff --git a/backends/tofino/bf-p4c/mau/reduction_or.h b/backends/tofino/bf-p4c/mau/reduction_or.h index befc14189..70bd81df5 100644 --- a/backends/tofino/bf-p4c/mau/reduction_or.h +++ b/backends/tofino/bf-p4c/mau/reduction_or.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_REDUCTION_OR_H_ #define BF_P4C_MAU_REDUCTION_OR_H_ diff --git a/backends/tofino/bf-p4c/mau/remove_act_tables.cpp b/backends/tofino/bf-p4c/mau/remove_act_tables.cpp index 760d3900a..954720af6 100644 --- a/backends/tofino/bf-p4c/mau/remove_act_tables.cpp +++ b/backends/tofino/bf-p4c/mau/remove_act_tables.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "remove_act_tables.h" bool AnalyzeActionTables::preorder(IR::P4Control *control) { return false; } diff --git a/backends/tofino/bf-p4c/mau/remove_act_tables.h b/backends/tofino/bf-p4c/mau/remove_act_tables.h index 1139dc62c..efc924fb1 100644 --- a/backends/tofino/bf-p4c/mau/remove_act_tables.h +++ b/backends/tofino/bf-p4c/mau/remove_act_tables.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _BACKENDS_TOFINO_BF_P4C_MAU_REMOVE_ACT_TABLES_H_ #define _BACKENDS_TOFINO_BF_P4C_MAU_REMOVE_ACT_TABLES_H_ diff --git a/backends/tofino/bf-p4c/mau/remove_noop_gateway.h b/backends/tofino/bf-p4c/mau/remove_noop_gateway.h index cb1330e89..b0917e597 100644 --- a/backends/tofino/bf-p4c/mau/remove_noop_gateway.h +++ b/backends/tofino/bf-p4c/mau/remove_noop_gateway.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_REMOVE_NOOP_GATEWAY_H_ #define BF_P4C_MAU_REMOVE_NOOP_GATEWAY_H_ diff --git a/backends/tofino/bf-p4c/mau/resource.cpp b/backends/tofino/bf-p4c/mau/resource.cpp index de8619257..00ae44d96 100644 --- a/backends/tofino/bf-p4c/mau/resource.cpp +++ b/backends/tofino/bf-p4c/mau/resource.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "resource.h" TableResourceAlloc *TableResourceAlloc::rename(const IR::MAU::Table *tbl, int stage_table, diff --git a/backends/tofino/bf-p4c/mau/resource.h b/backends/tofino/bf-p4c/mau/resource.h index d93502cee..64f094344 100644 --- a/backends/tofino/bf-p4c/mau/resource.h +++ b/backends/tofino/bf-p4c/mau/resource.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_RESOURCE_H_ #define BF_P4C_MAU_RESOURCE_H_ diff --git a/backends/tofino/bf-p4c/mau/resource_estimate.cpp b/backends/tofino/bf-p4c/mau/resource_estimate.cpp index ef9b1a346..e5e0c6079 100644 --- a/backends/tofino/bf-p4c/mau/resource_estimate.cpp +++ b/backends/tofino/bf-p4c/mau/resource_estimate.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "resource_estimate.h" #include "hash_mask_annotations.h" diff --git a/backends/tofino/bf-p4c/mau/resource_estimate.h b/backends/tofino/bf-p4c/mau/resource_estimate.h index 5cb68caef..a43f71ea4 100644 --- a/backends/tofino/bf-p4c/mau/resource_estimate.h +++ b/backends/tofino/bf-p4c/mau/resource_estimate.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_RESOURCE_ESTIMATE_H_ #define BF_P4C_MAU_RESOURCE_ESTIMATE_H_ diff --git a/backends/tofino/bf-p4c/mau/selector_update.cpp b/backends/tofino/bf-p4c/mau/selector_update.cpp index 284a7b29a..9c5a1af00 100644 --- a/backends/tofino/bf-p4c/mau/selector_update.cpp +++ b/backends/tofino/bf-p4c/mau/selector_update.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "selector_update.h" #include diff --git a/backends/tofino/bf-p4c/mau/selector_update.h b/backends/tofino/bf-p4c/mau/selector_update.h index 826bfb9aa..00fcd0664 100644 --- a/backends/tofino/bf-p4c/mau/selector_update.h +++ b/backends/tofino/bf-p4c/mau/selector_update.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_SELECTOR_UPDATE_H_ #define BF_P4C_MAU_SELECTOR_UPDATE_H_ diff --git a/backends/tofino/bf-p4c/mau/simple_power_graph.cpp b/backends/tofino/bf-p4c/mau/simple_power_graph.cpp index 09f93ec18..d7b852f11 100644 --- a/backends/tofino/bf-p4c/mau/simple_power_graph.cpp +++ b/backends/tofino/bf-p4c/mau/simple_power_graph.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "simple_power_graph.h" #include diff --git a/backends/tofino/bf-p4c/mau/simple_power_graph.h b/backends/tofino/bf-p4c/mau/simple_power_graph.h index e94065839..44fcb4d39 100644 --- a/backends/tofino/bf-p4c/mau/simple_power_graph.h +++ b/backends/tofino/bf-p4c/mau/simple_power_graph.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_SIMPLE_POWER_GRAPH_H_ #define BF_P4C_MAU_SIMPLE_POWER_GRAPH_H_ diff --git a/backends/tofino/bf-p4c/mau/split_gateways.cpp b/backends/tofino/bf-p4c/mau/split_gateways.cpp index 4694080e9..16f141772 100644 --- a/backends/tofino/bf-p4c/mau/split_gateways.cpp +++ b/backends/tofino/bf-p4c/mau/split_gateways.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "split_gateways.h" #include "ir/ir.h" diff --git a/backends/tofino/bf-p4c/mau/split_gateways.h b/backends/tofino/bf-p4c/mau/split_gateways.h index cc8545891..ccfbafbea 100644 --- a/backends/tofino/bf-p4c/mau/split_gateways.h +++ b/backends/tofino/bf-p4c/mau/split_gateways.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_SPLIT_GATEWAYS_H_ #define BF_P4C_MAU_SPLIT_GATEWAYS_H_ diff --git a/backends/tofino/bf-p4c/mau/stateful_alu.cpp b/backends/tofino/bf-p4c/mau/stateful_alu.cpp index c9c7e3e8d..0c9206dd3 100644 --- a/backends/tofino/bf-p4c/mau/stateful_alu.cpp +++ b/backends/tofino/bf-p4c/mau/stateful_alu.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "stateful_alu.h" #include diff --git a/backends/tofino/bf-p4c/mau/stateful_alu.h b/backends/tofino/bf-p4c/mau/stateful_alu.h index ffc460622..b16e3af1e 100644 --- a/backends/tofino/bf-p4c/mau/stateful_alu.h +++ b/backends/tofino/bf-p4c/mau/stateful_alu.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup stateful_alu Stateful ALU Overview * \brief Content related to stateful ALU diff --git a/backends/tofino/bf-p4c/mau/static_entries_const_prop.h b/backends/tofino/bf-p4c/mau/static_entries_const_prop.h index 4ce09c2ed..bfdb1f24b 100644 --- a/backends/tofino/bf-p4c/mau/static_entries_const_prop.h +++ b/backends/tofino/bf-p4c/mau/static_entries_const_prop.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_STATIC_ENTRIES_CONST_PROP_H_ #define BF_P4C_MAU_STATIC_ENTRIES_CONST_PROP_H_ diff --git a/backends/tofino/bf-p4c/mau/table_control_deps.cpp b/backends/tofino/bf-p4c/mau/table_control_deps.cpp index 63ef747df..ad1c15476 100644 --- a/backends/tofino/bf-p4c/mau/table_control_deps.cpp +++ b/backends/tofino/bf-p4c/mau/table_control_deps.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "table_control_deps.h" #include "lib/algorithm.h" diff --git a/backends/tofino/bf-p4c/mau/table_control_deps.h b/backends/tofino/bf-p4c/mau/table_control_deps.h index 95642ddb0..ec609bb7b 100644 --- a/backends/tofino/bf-p4c/mau/table_control_deps.h +++ b/backends/tofino/bf-p4c/mau/table_control_deps.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TABLE_CONTROL_DEPS_H_ #define BF_P4C_MAU_TABLE_CONTROL_DEPS_H_ diff --git a/backends/tofino/bf-p4c/mau/table_dependency_graph.cpp b/backends/tofino/bf-p4c/mau/table_dependency_graph.cpp index fad49626f..9727bd934 100644 --- a/backends/tofino/bf-p4c/mau/table_dependency_graph.cpp +++ b/backends/tofino/bf-p4c/mau/table_dependency_graph.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/table_dependency_graph.h" #include diff --git a/backends/tofino/bf-p4c/mau/table_dependency_graph.h b/backends/tofino/bf-p4c/mau/table_dependency_graph.h index 8af88a03c..cbec8ef79 100644 --- a/backends/tofino/bf-p4c/mau/table_dependency_graph.h +++ b/backends/tofino/bf-p4c/mau/table_dependency_graph.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TABLE_DEPENDENCY_GRAPH_H_ #define BF_P4C_MAU_TABLE_DEPENDENCY_GRAPH_H_ diff --git a/backends/tofino/bf-p4c/mau/table_flow_graph.cpp b/backends/tofino/bf-p4c/mau/table_flow_graph.cpp index 9d5d01b51..c1058582a 100644 --- a/backends/tofino/bf-p4c/mau/table_flow_graph.cpp +++ b/backends/tofino/bf-p4c/mau/table_flow_graph.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/table_flow_graph.h" #include diff --git a/backends/tofino/bf-p4c/mau/table_flow_graph.h b/backends/tofino/bf-p4c/mau/table_flow_graph.h index ce921705b..f961656cd 100644 --- a/backends/tofino/bf-p4c/mau/table_flow_graph.h +++ b/backends/tofino/bf-p4c/mau/table_flow_graph.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TABLE_FLOW_GRAPH_H_ #define BF_P4C_MAU_TABLE_FLOW_GRAPH_H_ diff --git a/backends/tofino/bf-p4c/mau/table_format.cpp b/backends/tofino/bf-p4c/mau/table_format.cpp index 9224c61b1..593c1778f 100644 --- a/backends/tofino/bf-p4c/mau/table_format.cpp +++ b/backends/tofino/bf-p4c/mau/table_format.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "table_format.h" #include "gateway.h" diff --git a/backends/tofino/bf-p4c/mau/table_format.h b/backends/tofino/bf-p4c/mau/table_format.h index 0b1d288c8..49db8ffae 100644 --- a/backends/tofino/bf-p4c/mau/table_format.h +++ b/backends/tofino/bf-p4c/mau/table_format.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TABLE_FORMAT_H_ #define BF_P4C_MAU_TABLE_FORMAT_H_ diff --git a/backends/tofino/bf-p4c/mau/table_injected_deps.cpp b/backends/tofino/bf-p4c/mau/table_injected_deps.cpp index 63a4d924f..83843d1c6 100644 --- a/backends/tofino/bf-p4c/mau/table_injected_deps.cpp +++ b/backends/tofino/bf-p4c/mau/table_injected_deps.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "table_injected_deps.h" #include diff --git a/backends/tofino/bf-p4c/mau/table_injected_deps.h b/backends/tofino/bf-p4c/mau/table_injected_deps.h index 1865a594d..06eaa565d 100644 --- a/backends/tofino/bf-p4c/mau/table_injected_deps.h +++ b/backends/tofino/bf-p4c/mau/table_injected_deps.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TABLE_INJECTED_DEPS_H_ #define BF_P4C_MAU_TABLE_INJECTED_DEPS_H_ diff --git a/backends/tofino/bf-p4c/mau/table_layout.cpp b/backends/tofino/bf-p4c/mau/table_layout.cpp index 92d329869..88a06347f 100644 --- a/backends/tofino/bf-p4c/mau/table_layout.cpp +++ b/backends/tofino/bf-p4c/mau/table_layout.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/table_layout.h" #include diff --git a/backends/tofino/bf-p4c/mau/table_layout.h b/backends/tofino/bf-p4c/mau/table_layout.h index d7515ce4c..ed536965f 100644 --- a/backends/tofino/bf-p4c/mau/table_layout.h +++ b/backends/tofino/bf-p4c/mau/table_layout.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TABLE_LAYOUT_H_ #define BF_P4C_MAU_TABLE_LAYOUT_H_ diff --git a/backends/tofino/bf-p4c/mau/table_mutex.cpp b/backends/tofino/bf-p4c/mau/table_mutex.cpp index a4d02a2fe..de00f5368 100644 --- a/backends/tofino/bf-p4c/mau/table_mutex.cpp +++ b/backends/tofino/bf-p4c/mau/table_mutex.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/table_mutex.h" #include "bf-p4c/lib/error_type.h" diff --git a/backends/tofino/bf-p4c/mau/table_mutex.h b/backends/tofino/bf-p4c/mau/table_mutex.h index 4d9401c7b..19887cc7f 100644 --- a/backends/tofino/bf-p4c/mau/table_mutex.h +++ b/backends/tofino/bf-p4c/mau/table_mutex.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TABLE_MUTEX_H_ #define BF_P4C_MAU_TABLE_MUTEX_H_ diff --git a/backends/tofino/bf-p4c/mau/table_placement.cpp b/backends/tofino/bf-p4c/mau/table_placement.cpp index 52d1712c6..c44a12e0e 100644 --- a/backends/tofino/bf-p4c/mau/table_placement.cpp +++ b/backends/tofino/bf-p4c/mau/table_placement.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/table_placement.h" #ifdef MULTITHREAD diff --git a/backends/tofino/bf-p4c/mau/table_placement.h b/backends/tofino/bf-p4c/mau/table_placement.h index d953cd62f..a6cc58c4e 100644 --- a/backends/tofino/bf-p4c/mau/table_placement.h +++ b/backends/tofino/bf-p4c/mau/table_placement.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup table_placement Table placement * \brief Content related to table placement diff --git a/backends/tofino/bf-p4c/mau/table_seqdeps.cpp b/backends/tofino/bf-p4c/mau/table_seqdeps.cpp index fe82d2c2b..4b4c50d22 100644 --- a/backends/tofino/bf-p4c/mau/table_seqdeps.cpp +++ b/backends/tofino/bf-p4c/mau/table_seqdeps.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "table_seqdeps.h" #include "ir/ir.h" diff --git a/backends/tofino/bf-p4c/mau/table_seqdeps.h b/backends/tofino/bf-p4c/mau/table_seqdeps.h index 7af3490f9..0490810f0 100644 --- a/backends/tofino/bf-p4c/mau/table_seqdeps.h +++ b/backends/tofino/bf-p4c/mau/table_seqdeps.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TABLE_SEQDEPS_H_ #define BF_P4C_MAU_TABLE_SEQDEPS_H_ diff --git a/backends/tofino/bf-p4c/mau/table_summary.cpp b/backends/tofino/bf-p4c/mau/table_summary.cpp index d78daa717..b4b50fbb2 100644 --- a/backends/tofino/bf-p4c/mau/table_summary.cpp +++ b/backends/tofino/bf-p4c/mau/table_summary.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup backtracking_phv_allocation_and_table_placement \ * Backtracking in PHV allocation and table placement diff --git a/backends/tofino/bf-p4c/mau/table_summary.h b/backends/tofino/bf-p4c/mau/table_summary.h index 7fbe32e0b..35e5bc8ae 100644 --- a/backends/tofino/bf-p4c/mau/table_summary.h +++ b/backends/tofino/bf-p4c/mau/table_summary.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TABLE_SUMMARY_H_ #define BF_P4C_MAU_TABLE_SUMMARY_H_ diff --git a/backends/tofino/bf-p4c/mau/tofino/action_data_bus.cpp b/backends/tofino/bf-p4c/mau/tofino/action_data_bus.cpp index d361c3451..76e9793f2 100644 --- a/backends/tofino/bf-p4c/mau/tofino/action_data_bus.cpp +++ b/backends/tofino/bf-p4c/mau/tofino/action_data_bus.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "action_data_bus.h" #include "bf-p4c/mau/resource.h" diff --git a/backends/tofino/bf-p4c/mau/tofino/action_data_bus.h b/backends/tofino/bf-p4c/mau/tofino/action_data_bus.h index 4ed0d264e..a3f026498 100644 --- a/backends/tofino/bf-p4c/mau/tofino/action_data_bus.h +++ b/backends/tofino/bf-p4c/mau/tofino/action_data_bus.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TOFINO_ACTION_DATA_BUS_H_ #define BF_P4C_MAU_TOFINO_ACTION_DATA_BUS_H_ diff --git a/backends/tofino/bf-p4c/mau/tofino/asm_output.cpp b/backends/tofino/bf-p4c/mau/tofino/asm_output.cpp index 91e405c48..55c22a6cd 100644 --- a/backends/tofino/bf-p4c/mau/tofino/asm_output.cpp +++ b/backends/tofino/bf-p4c/mau/tofino/asm_output.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/asm_output.h" #include diff --git a/backends/tofino/bf-p4c/mau/tofino/asm_output.h b/backends/tofino/bf-p4c/mau/tofino/asm_output.h index 60190759e..1b42cdef4 100644 --- a/backends/tofino/bf-p4c/mau/tofino/asm_output.h +++ b/backends/tofino/bf-p4c/mau/tofino/asm_output.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TOFINO_ASM_OUTPUT_H_ #define BF_P4C_MAU_TOFINO_ASM_OUTPUT_H_ diff --git a/backends/tofino/bf-p4c/mau/tofino/input_xbar.cpp b/backends/tofino/bf-p4c/mau/tofino/input_xbar.cpp index a4eb4ff2f..7da7908d8 100644 --- a/backends/tofino/bf-p4c/mau/tofino/input_xbar.cpp +++ b/backends/tofino/bf-p4c/mau/tofino/input_xbar.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* clang-format off */ #include "input_xbar.h" #include "bf-p4c/common/slice.h" diff --git a/backends/tofino/bf-p4c/mau/tofino/input_xbar.h b/backends/tofino/bf-p4c/mau/tofino/input_xbar.h index 83c620495..305061704 100644 --- a/backends/tofino/bf-p4c/mau/tofino/input_xbar.h +++ b/backends/tofino/bf-p4c/mau/tofino/input_xbar.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TOFINO_INPUT_XBAR_H_ #define BF_P4C_MAU_TOFINO_INPUT_XBAR_H_ diff --git a/backends/tofino/bf-p4c/mau/tofino/instruction_memory.h b/backends/tofino/bf-p4c/mau/tofino/instruction_memory.h index 77170d520..0fd163901 100644 --- a/backends/tofino/bf-p4c/mau/tofino/instruction_memory.h +++ b/backends/tofino/bf-p4c/mau/tofino/instruction_memory.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TOFINO_INSTRUCTION_MEMORY_H_ #define BF_P4C_MAU_TOFINO_INSTRUCTION_MEMORY_H_ diff --git a/backends/tofino/bf-p4c/mau/tofino/mau_spec.cpp b/backends/tofino/bf-p4c/mau/tofino/mau_spec.cpp index ed952c0f4..bc3de68e5 100644 --- a/backends/tofino/bf-p4c/mau/tofino/mau_spec.cpp +++ b/backends/tofino/bf-p4c/mau/tofino/mau_spec.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/mau_spec.h" #include "input_xbar.h" diff --git a/backends/tofino/bf-p4c/mau/tofino/memories.cpp b/backends/tofino/bf-p4c/mau/tofino/memories.cpp index 315410bcc..1dffd02cb 100644 --- a/backends/tofino/bf-p4c/mau/tofino/memories.cpp +++ b/backends/tofino/bf-p4c/mau/tofino/memories.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/tofino/memories.h" #include diff --git a/backends/tofino/bf-p4c/mau/tofino/memories.h b/backends/tofino/bf-p4c/mau/tofino/memories.h index 25accf043..5fe0b45ad 100644 --- a/backends/tofino/bf-p4c/mau/tofino/memories.h +++ b/backends/tofino/bf-p4c/mau/tofino/memories.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_TOFINO_MEMORIES_H_ #define BF_P4C_MAU_TOFINO_MEMORIES_H_ diff --git a/backends/tofino/bf-p4c/mau/validate_actions.cpp b/backends/tofino/bf-p4c/mau/validate_actions.cpp index 7318c9149..f9a160dfc 100644 --- a/backends/tofino/bf-p4c/mau/validate_actions.cpp +++ b/backends/tofino/bf-p4c/mau/validate_actions.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "validate_actions.h" #include "bf-p4c/mau/action_analysis.h" diff --git a/backends/tofino/bf-p4c/mau/validate_actions.h b/backends/tofino/bf-p4c/mau/validate_actions.h index accf982bf..3477f9bee 100644 --- a/backends/tofino/bf-p4c/mau/validate_actions.h +++ b/backends/tofino/bf-p4c/mau/validate_actions.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_VALIDATE_ACTIONS_H_ #define BF_P4C_MAU_VALIDATE_ACTIONS_H_ diff --git a/backends/tofino/bf-p4c/mau/walk_power_graph.cpp b/backends/tofino/bf-p4c/mau/walk_power_graph.cpp index 9bf29d5e7..2611b6679 100644 --- a/backends/tofino/bf-p4c/mau/walk_power_graph.cpp +++ b/backends/tofino/bf-p4c/mau/walk_power_graph.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/walk_power_graph.h" #include diff --git a/backends/tofino/bf-p4c/mau/walk_power_graph.h b/backends/tofino/bf-p4c/mau/walk_power_graph.h index 157258233..679ade693 100644 --- a/backends/tofino/bf-p4c/mau/walk_power_graph.h +++ b/backends/tofino/bf-p4c/mau/walk_power_graph.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MAU_WALK_POWER_GRAPH_H_ #define BF_P4C_MAU_WALK_POWER_GRAPH_H_ diff --git a/backends/tofino/bf-p4c/midend.cpp b/backends/tofino/bf-p4c/midend.cpp index f76098bab..0af650e43 100644 --- a/backends/tofino/bf-p4c/midend.cpp +++ b/backends/tofino/bf-p4c/midend.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup midend Midend * \brief Overview of midend passes diff --git a/backends/tofino/bf-p4c/midend.h b/backends/tofino/bf-p4c/midend.h index 8c5679e2d..54ec1ff00 100644 --- a/backends/tofino/bf-p4c/midend.h +++ b/backends/tofino/bf-p4c/midend.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_H_ #define BF_P4C_MIDEND_H_ diff --git a/backends/tofino/bf-p4c/midend/action_synthesis_policy.h b/backends/tofino/bf-p4c/midend/action_synthesis_policy.h index 17f9b09e0..d8d8bb291 100644 --- a/backends/tofino/bf-p4c/midend/action_synthesis_policy.h +++ b/backends/tofino/bf-p4c/midend/action_synthesis_policy.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_ACTION_SYNTHESIS_POLICY_H_ #define BF_P4C_MIDEND_ACTION_SYNTHESIS_POLICY_H_ diff --git a/backends/tofino/bf-p4c/midend/alpm.cpp b/backends/tofino/bf-p4c/midend/alpm.cpp index 79bfed033..40d678b3a 100644 --- a/backends/tofino/bf-p4c/midend/alpm.cpp +++ b/backends/tofino/bf-p4c/midend/alpm.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "alpm.h" #include diff --git a/backends/tofino/bf-p4c/midend/alpm.h b/backends/tofino/bf-p4c/midend/alpm.h index a195026db..393430bd5 100644 --- a/backends/tofino/bf-p4c/midend/alpm.h +++ b/backends/tofino/bf-p4c/midend/alpm.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup alpm BFN::AlpmImplementation * \ingroup midend diff --git a/backends/tofino/bf-p4c/midend/annotate_with_in_hash.cpp b/backends/tofino/bf-p4c/midend/annotate_with_in_hash.cpp index 4a8737c21..7d40d295e 100644 --- a/backends/tofino/bf-p4c/midend/annotate_with_in_hash.cpp +++ b/backends/tofino/bf-p4c/midend/annotate_with_in_hash.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/annotate_with_in_hash.h" #include "bf-p4c/midend/path_linearizer.h" diff --git a/backends/tofino/bf-p4c/midend/annotate_with_in_hash.h b/backends/tofino/bf-p4c/midend/annotate_with_in_hash.h index e23a5c41f..fd616d5e7 100644 --- a/backends/tofino/bf-p4c/midend/annotate_with_in_hash.h +++ b/backends/tofino/bf-p4c/midend/annotate_with_in_hash.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup AnnotateWithInHash BFN::AnnotateWithInHash * \ingroup midend diff --git a/backends/tofino/bf-p4c/midend/blockmap.h b/backends/tofino/bf-p4c/midend/blockmap.h index ffc40c6fd..4c07ae143 100644 --- a/backends/tofino/bf-p4c/midend/blockmap.h +++ b/backends/tofino/bf-p4c/midend/blockmap.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_BLOCKMAP_H_ #define BF_P4C_MIDEND_BLOCKMAP_H_ diff --git a/backends/tofino/bf-p4c/midend/check_design_pattern.cpp b/backends/tofino/bf-p4c/midend/check_design_pattern.cpp index 911c39411..bb4f69243 100644 --- a/backends/tofino/bf-p4c/midend/check_design_pattern.cpp +++ b/backends/tofino/bf-p4c/midend/check_design_pattern.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "check_design_pattern.h" #include "lib/error.h" diff --git a/backends/tofino/bf-p4c/midend/check_design_pattern.h b/backends/tofino/bf-p4c/midend/check_design_pattern.h index 60124b8cb..d5607661b 100644 --- a/backends/tofino/bf-p4c/midend/check_design_pattern.h +++ b/backends/tofino/bf-p4c/midend/check_design_pattern.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup CheckDesignPattern BFN::CheckDesignPattern * \ingroup midend diff --git a/backends/tofino/bf-p4c/midend/check_header_alignment.cpp b/backends/tofino/bf-p4c/midend/check_header_alignment.cpp index 17a0bfc38..a7cc58a2d 100644 --- a/backends/tofino/bf-p4c/midend/check_header_alignment.cpp +++ b/backends/tofino/bf-p4c/midend/check_header_alignment.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/check_header_alignment.h" #include "bf-p4c/common/bridged_packing.h" diff --git a/backends/tofino/bf-p4c/midend/check_header_alignment.h b/backends/tofino/bf-p4c/midend/check_header_alignment.h index 852b76e76..be0f0008b 100644 --- a/backends/tofino/bf-p4c/midend/check_header_alignment.h +++ b/backends/tofino/bf-p4c/midend/check_header_alignment.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_CHECK_HEADER_ALIGNMENT_H_ #define BF_P4C_MIDEND_CHECK_HEADER_ALIGNMENT_H_ diff --git a/backends/tofino/bf-p4c/midend/check_register_actions.cpp b/backends/tofino/bf-p4c/midend/check_register_actions.cpp index 1c76987bd..dae649f24 100644 --- a/backends/tofino/bf-p4c/midend/check_register_actions.cpp +++ b/backends/tofino/bf-p4c/midend/check_register_actions.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/check_register_actions.h" #include "bf-p4c/lib/safe_width.h" diff --git a/backends/tofino/bf-p4c/midend/check_register_actions.h b/backends/tofino/bf-p4c/midend/check_register_actions.h index 004996af0..015159776 100644 --- a/backends/tofino/bf-p4c/midend/check_register_actions.h +++ b/backends/tofino/bf-p4c/midend/check_register_actions.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MIDEND_CHECK_REGISTER_ACTIONS_H_ #define BACKENDS_TOFINO_BF_P4C_MIDEND_CHECK_REGISTER_ACTIONS_H_ diff --git a/backends/tofino/bf-p4c/midend/check_unsupported.cpp b/backends/tofino/bf-p4c/midend/check_unsupported.cpp index 2703ace73..b27da6314 100644 --- a/backends/tofino/bf-p4c/midend/check_unsupported.cpp +++ b/backends/tofino/bf-p4c/midend/check_unsupported.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/check_unsupported.h" #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/midend/check_unsupported.h b/backends/tofino/bf-p4c/midend/check_unsupported.h index ac02a9a52..49963ad7f 100644 --- a/backends/tofino/bf-p4c/midend/check_unsupported.h +++ b/backends/tofino/bf-p4c/midend/check_unsupported.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_CHECK_UNSUPPORTED_H_ #define BF_P4C_MIDEND_CHECK_UNSUPPORTED_H_ diff --git a/backends/tofino/bf-p4c/midend/collect_pipelines.cpp b/backends/tofino/bf-p4c/midend/collect_pipelines.cpp index 46a4f3a52..53d4a79c0 100644 --- a/backends/tofino/bf-p4c/midend/collect_pipelines.cpp +++ b/backends/tofino/bf-p4c/midend/collect_pipelines.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * Collect pipelines form program. */ diff --git a/backends/tofino/bf-p4c/midend/collect_pipelines.h b/backends/tofino/bf-p4c/midend/collect_pipelines.h index 7631d0738..603f0d11c 100644 --- a/backends/tofino/bf-p4c/midend/collect_pipelines.h +++ b/backends/tofino/bf-p4c/midend/collect_pipelines.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * Detects multiple pipelines in a program */ diff --git a/backends/tofino/bf-p4c/midend/copy_block_pragmas.cpp b/backends/tofino/bf-p4c/midend/copy_block_pragmas.cpp index e33a57911..0e55a3803 100644 --- a/backends/tofino/bf-p4c/midend/copy_block_pragmas.cpp +++ b/backends/tofino/bf-p4c/midend/copy_block_pragmas.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "copy_block_pragmas.h" #include "frontends/p4/methodInstance.h" diff --git a/backends/tofino/bf-p4c/midend/copy_block_pragmas.h b/backends/tofino/bf-p4c/midend/copy_block_pragmas.h index 51757bcad..ae7e5308c 100644 --- a/backends/tofino/bf-p4c/midend/copy_block_pragmas.h +++ b/backends/tofino/bf-p4c/midend/copy_block_pragmas.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_COPY_BLOCK_PRAGMAS_H_ #define BF_P4C_MIDEND_COPY_BLOCK_PRAGMAS_H_ diff --git a/backends/tofino/bf-p4c/midend/copy_header.cpp b/backends/tofino/bf-p4c/midend/copy_header.cpp index 716a2e081..80625f6fc 100644 --- a/backends/tofino/bf-p4c/midend/copy_header.cpp +++ b/backends/tofino/bf-p4c/midend/copy_header.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "copy_header.h" #include "boost/range/adaptor/reversed.hpp" diff --git a/backends/tofino/bf-p4c/midend/copy_header.h b/backends/tofino/bf-p4c/midend/copy_header.h index 045364bf9..97447e366 100644 --- a/backends/tofino/bf-p4c/midend/copy_header.h +++ b/backends/tofino/bf-p4c/midend/copy_header.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MIDEND_COPY_HEADER_H_ #define BACKENDS_TOFINO_BF_P4C_MIDEND_COPY_HEADER_H_ diff --git a/backends/tofino/bf-p4c/midend/defuse.cpp b/backends/tofino/bf-p4c/midend/defuse.cpp index 9a7aa0004..a1ae2da9d 100644 --- a/backends/tofino/bf-p4c/midend/defuse.cpp +++ b/backends/tofino/bf-p4c/midend/defuse.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "defuse.h" #include "frontends/p4/methodInstance.h" diff --git a/backends/tofino/bf-p4c/midend/defuse.h b/backends/tofino/bf-p4c/midend/defuse.h index 15c766b27..f09d241fb 100644 --- a/backends/tofino/bf-p4c/midend/defuse.h +++ b/backends/tofino/bf-p4c/midend/defuse.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_DEFUSE_H_ #define BF_P4C_MIDEND_DEFUSE_H_ diff --git a/backends/tofino/bf-p4c/midend/desugar_varbit_extract.cpp b/backends/tofino/bf-p4c/midend/desugar_varbit_extract.cpp index 8596991d0..cc897ba7d 100644 --- a/backends/tofino/bf-p4c/midend/desugar_varbit_extract.cpp +++ b/backends/tofino/bf-p4c/midend/desugar_varbit_extract.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "desugar_varbit_extract.h" #include diff --git a/backends/tofino/bf-p4c/midend/desugar_varbit_extract.h b/backends/tofino/bf-p4c/midend/desugar_varbit_extract.h index b40904f8f..a212615b4 100644 --- a/backends/tofino/bf-p4c/midend/desugar_varbit_extract.h +++ b/backends/tofino/bf-p4c/midend/desugar_varbit_extract.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup DesugarVarbitExtract DesugarVarbitExtract * \ingroup midend diff --git a/backends/tofino/bf-p4c/midend/detect_multiple_pipelines.cpp b/backends/tofino/bf-p4c/midend/detect_multiple_pipelines.cpp index ce2c41b45..cab2bb7b9 100644 --- a/backends/tofino/bf-p4c/midend/detect_multiple_pipelines.cpp +++ b/backends/tofino/bf-p4c/midend/detect_multiple_pipelines.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * Detects program with multiple pipelines. */ diff --git a/backends/tofino/bf-p4c/midend/detect_multiple_pipelines.h b/backends/tofino/bf-p4c/midend/detect_multiple_pipelines.h index b76b957ea..554cef693 100644 --- a/backends/tofino/bf-p4c/midend/detect_multiple_pipelines.h +++ b/backends/tofino/bf-p4c/midend/detect_multiple_pipelines.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * Detects multiple pipelines in a program */ diff --git a/backends/tofino/bf-p4c/midend/drop_packet_with_mirror_engine.cpp b/backends/tofino/bf-p4c/midend/drop_packet_with_mirror_engine.cpp index 6db02a186..169f4361e 100644 --- a/backends/tofino/bf-p4c/midend/drop_packet_with_mirror_engine.cpp +++ b/backends/tofino/bf-p4c/midend/drop_packet_with_mirror_engine.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "drop_packet_with_mirror_engine.h" #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/midend/drop_packet_with_mirror_engine.h b/backends/tofino/bf-p4c/midend/drop_packet_with_mirror_engine.h index 9096be1c0..0a8a2f8d7 100644 --- a/backends/tofino/bf-p4c/midend/drop_packet_with_mirror_engine.h +++ b/backends/tofino/bf-p4c/midend/drop_packet_with_mirror_engine.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * Impact for Large Packets Dropped at Ingress Deparser * Description: If the ingress deparser drops a packet it is possible that no diff --git a/backends/tofino/bf-p4c/midend/elim_cast.cpp b/backends/tofino/bf-p4c/midend/elim_cast.cpp index 76e3cf021..46504389f 100644 --- a/backends/tofino/bf-p4c/midend/elim_cast.cpp +++ b/backends/tofino/bf-p4c/midend/elim_cast.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "elim_cast.h" #include "bf-p4c/common/slice.h" diff --git a/backends/tofino/bf-p4c/midend/elim_cast.h b/backends/tofino/bf-p4c/midend/elim_cast.h index a93e714c1..c3975a770 100644 --- a/backends/tofino/bf-p4c/midend/elim_cast.h +++ b/backends/tofino/bf-p4c/midend/elim_cast.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup ElimCasts BFN::ElimCasts * \ingroup midend diff --git a/backends/tofino/bf-p4c/midend/eliminate_tuples.cpp b/backends/tofino/bf-p4c/midend/eliminate_tuples.cpp index 301f75670..393cbbb6d 100644 --- a/backends/tofino/bf-p4c/midend/eliminate_tuples.cpp +++ b/backends/tofino/bf-p4c/midend/eliminate_tuples.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/eliminate_tuples.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/midend/eliminate_tuples.h b/backends/tofino/bf-p4c/midend/eliminate_tuples.h index 48c70ef8c..3e7ab440b 100644 --- a/backends/tofino/bf-p4c/midend/eliminate_tuples.h +++ b/backends/tofino/bf-p4c/midend/eliminate_tuples.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_ELIMINATE_TUPLES_H_ #define BF_P4C_MIDEND_ELIMINATE_TUPLES_H_ diff --git a/backends/tofino/bf-p4c/midend/fold_constant_hashes.cpp b/backends/tofino/bf-p4c/midend/fold_constant_hashes.cpp index bba67c6a5..148a26204 100644 --- a/backends/tofino/bf-p4c/midend/fold_constant_hashes.cpp +++ b/backends/tofino/bf-p4c/midend/fold_constant_hashes.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* clang-format off */ #include "bf-p4c/midend/fold_constant_hashes.h" diff --git a/backends/tofino/bf-p4c/midend/fold_constant_hashes.h b/backends/tofino/bf-p4c/midend/fold_constant_hashes.h index 55bb560f2..c6fba41e5 100644 --- a/backends/tofino/bf-p4c/midend/fold_constant_hashes.h +++ b/backends/tofino/bf-p4c/midend/fold_constant_hashes.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_FOLD_CONSTANT_HASHES_H_ #define BF_P4C_MIDEND_FOLD_CONSTANT_HASHES_H_ diff --git a/backends/tofino/bf-p4c/midend/initialize_mirror_io_select.cpp b/backends/tofino/bf-p4c/midend/initialize_mirror_io_select.cpp index 258578f5b..6d82344e2 100644 --- a/backends/tofino/bf-p4c/midend/initialize_mirror_io_select.cpp +++ b/backends/tofino/bf-p4c/midend/initialize_mirror_io_select.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/initialize_mirror_io_select.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/midend/initialize_mirror_io_select.h b/backends/tofino/bf-p4c/midend/initialize_mirror_io_select.h index e065765db..9fa56b645 100644 --- a/backends/tofino/bf-p4c/midend/initialize_mirror_io_select.h +++ b/backends/tofino/bf-p4c/midend/initialize_mirror_io_select.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef INITIALIZE_MIRROR_IO_SELECT_H_ #define INITIALIZE_MIRROR_IO_SELECT_H_ diff --git a/backends/tofino/bf-p4c/midend/move_to_egress.cpp b/backends/tofino/bf-p4c/midend/move_to_egress.cpp index ebd94a357..8466fea07 100644 --- a/backends/tofino/bf-p4c/midend/move_to_egress.cpp +++ b/backends/tofino/bf-p4c/midend/move_to_egress.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "move_to_egress.h" #include "ir/dump.h" diff --git a/backends/tofino/bf-p4c/midend/move_to_egress.h b/backends/tofino/bf-p4c/midend/move_to_egress.h index 97d3cd709..fd1c0c5a0 100644 --- a/backends/tofino/bf-p4c/midend/move_to_egress.h +++ b/backends/tofino/bf-p4c/midend/move_to_egress.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_MOVE_TO_EGRESS_H_ #define BF_P4C_MIDEND_MOVE_TO_EGRESS_H_ diff --git a/backends/tofino/bf-p4c/midend/normalize_hash_list.cpp b/backends/tofino/bf-p4c/midend/normalize_hash_list.cpp index 847f8d825..26d1c2718 100644 --- a/backends/tofino/bf-p4c/midend/normalize_hash_list.cpp +++ b/backends/tofino/bf-p4c/midend/normalize_hash_list.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "normalize_hash_list.h" #include diff --git a/backends/tofino/bf-p4c/midend/normalize_hash_list.h b/backends/tofino/bf-p4c/midend/normalize_hash_list.h index fe98c66cd..ba19d00f3 100644 --- a/backends/tofino/bf-p4c/midend/normalize_hash_list.h +++ b/backends/tofino/bf-p4c/midend/normalize_hash_list.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_NORMALIZE_HASH_LIST_H_ #define BF_P4C_MIDEND_NORMALIZE_HASH_LIST_H_ diff --git a/backends/tofino/bf-p4c/midend/normalize_params.cpp b/backends/tofino/bf-p4c/midend/normalize_params.cpp index c14374ba5..97234314a 100644 --- a/backends/tofino/bf-p4c/midend/normalize_params.cpp +++ b/backends/tofino/bf-p4c/midend/normalize_params.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/normalize_params.h" /** Checks whether any path expression name has @name as its root. This is diff --git a/backends/tofino/bf-p4c/midend/normalize_params.h b/backends/tofino/bf-p4c/midend/normalize_params.h index 2e8a5f625..90448cc93 100644 --- a/backends/tofino/bf-p4c/midend/normalize_params.h +++ b/backends/tofino/bf-p4c/midend/normalize_params.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _MIDEND_NORMALIZE_PARAMS_H_ #define _MIDEND_NORMALIZE_PARAMS_H_ diff --git a/backends/tofino/bf-p4c/midend/param_binding.cpp b/backends/tofino/bf-p4c/midend/param_binding.cpp index a659989c4..87e969b2b 100644 --- a/backends/tofino/bf-p4c/midend/param_binding.cpp +++ b/backends/tofino/bf-p4c/midend/param_binding.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "param_binding.h" #include "frontends/p4/typeMap.h" diff --git a/backends/tofino/bf-p4c/midend/param_binding.h b/backends/tofino/bf-p4c/midend/param_binding.h index c74a0c536..d020318e7 100644 --- a/backends/tofino/bf-p4c/midend/param_binding.h +++ b/backends/tofino/bf-p4c/midend/param_binding.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _MIDEND_PARAM_BINDING_H_ #define _MIDEND_PARAM_BINDING_H_ diff --git a/backends/tofino/bf-p4c/midend/parser_enforce_depth_req.cpp b/backends/tofino/bf-p4c/midend/parser_enforce_depth_req.cpp index 83e28f07f..e3ab85857 100644 --- a/backends/tofino/bf-p4c/midend/parser_enforce_depth_req.cpp +++ b/backends/tofino/bf-p4c/midend/parser_enforce_depth_req.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "parser_enforce_depth_req.h" #include diff --git a/backends/tofino/bf-p4c/midend/parser_enforce_depth_req.h b/backends/tofino/bf-p4c/midend/parser_enforce_depth_req.h index bbc9f4c38..c046af8f7 100644 --- a/backends/tofino/bf-p4c/midend/parser_enforce_depth_req.h +++ b/backends/tofino/bf-p4c/midend/parser_enforce_depth_req.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_PARSER_ENFORCE_DEPTH_REQ_H_ #define BF_P4C_MIDEND_PARSER_ENFORCE_DEPTH_REQ_H_ diff --git a/backends/tofino/bf-p4c/midend/parser_graph.cpp b/backends/tofino/bf-p4c/midend/parser_graph.cpp index a289404dc..64383a022 100644 --- a/backends/tofino/bf-p4c/midend/parser_graph.cpp +++ b/backends/tofino/bf-p4c/midend/parser_graph.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "parser_graph.h" #include diff --git a/backends/tofino/bf-p4c/midend/parser_graph.h b/backends/tofino/bf-p4c/midend/parser_graph.h index 49a04ac57..afcca2605 100644 --- a/backends/tofino/bf-p4c/midend/parser_graph.h +++ b/backends/tofino/bf-p4c/midend/parser_graph.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MIDEND_PARSER_GRAPH_H_ #define BACKENDS_TOFINO_BF_P4C_MIDEND_PARSER_GRAPH_H_ diff --git a/backends/tofino/bf-p4c/midend/path_linearizer.cpp b/backends/tofino/bf-p4c/midend/path_linearizer.cpp index 1bc28ea96..4784c260c 100644 --- a/backends/tofino/bf-p4c/midend/path_linearizer.cpp +++ b/backends/tofino/bf-p4c/midend/path_linearizer.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "path_linearizer.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/midend/path_linearizer.h b/backends/tofino/bf-p4c/midend/path_linearizer.h index 98ea7660a..4199d6b2b 100644 --- a/backends/tofino/bf-p4c/midend/path_linearizer.h +++ b/backends/tofino/bf-p4c/midend/path_linearizer.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_PATH_LINEARIZER_H_ #define BF_P4C_MIDEND_PATH_LINEARIZER_H_ diff --git a/backends/tofino/bf-p4c/midend/ping_pong_generation.cpp b/backends/tofino/bf-p4c/midend/ping_pong_generation.cpp index ed66c6ab1..29269980c 100644 --- a/backends/tofino/bf-p4c/midend/ping_pong_generation.cpp +++ b/backends/tofino/bf-p4c/midend/ping_pong_generation.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * Detects registers that are used by ingress and ghost, creates * a duplicate tables and registers if needed and attaches diff --git a/backends/tofino/bf-p4c/midend/ping_pong_generation.h b/backends/tofino/bf-p4c/midend/ping_pong_generation.h index 59e5c1fe3..cc9f1fb91 100644 --- a/backends/tofino/bf-p4c/midend/ping_pong_generation.h +++ b/backends/tofino/bf-p4c/midend/ping_pong_generation.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MIDEND_PING_PONG_GENERATION_H_ #define BACKENDS_TOFINO_BF_P4C_MIDEND_PING_PONG_GENERATION_H_ diff --git a/backends/tofino/bf-p4c/midend/register_read_write.cpp b/backends/tofino/bf-p4c/midend/register_read_write.cpp index e4e1c8dd4..1a23809dc 100644 --- a/backends/tofino/bf-p4c/midend/register_read_write.cpp +++ b/backends/tofino/bf-p4c/midend/register_read_write.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "register_read_write.h" #include "bf-p4c/arch/helpers.h" diff --git a/backends/tofino/bf-p4c/midend/register_read_write.h b/backends/tofino/bf-p4c/midend/register_read_write.h index 873709fc3..baf18a1c9 100644 --- a/backends/tofino/bf-p4c/midend/register_read_write.h +++ b/backends/tofino/bf-p4c/midend/register_read_write.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MIDEND_REGISTER_READ_WRITE_H_ #define BACKENDS_TOFINO_BF_P4C_MIDEND_REGISTER_READ_WRITE_H_ diff --git a/backends/tofino/bf-p4c/midend/remove_action_params.h b/backends/tofino/bf-p4c/midend/remove_action_params.h index fee30cafd..c05227080 100644 --- a/backends/tofino/bf-p4c/midend/remove_action_params.h +++ b/backends/tofino/bf-p4c/midend/remove_action_params.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup RemoveActionParameters BFN::RemoveActionParameters * \ingroup midend diff --git a/backends/tofino/bf-p4c/midend/remove_select_booleans.h b/backends/tofino/bf-p4c/midend/remove_select_booleans.h index 1a100d9a3..9fb3c9b9f 100644 --- a/backends/tofino/bf-p4c/midend/remove_select_booleans.h +++ b/backends/tofino/bf-p4c/midend/remove_select_booleans.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup RemoveSelectBooleans BFN::RemoveSelectBooleans * \ingroup midend diff --git a/backends/tofino/bf-p4c/midend/rewrite_egress_intrinsic_metadata_header.h b/backends/tofino/bf-p4c/midend/rewrite_egress_intrinsic_metadata_header.h index aa71fa9bf..824579c99 100644 --- a/backends/tofino/bf-p4c/midend/rewrite_egress_intrinsic_metadata_header.h +++ b/backends/tofino/bf-p4c/midend/rewrite_egress_intrinsic_metadata_header.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_REWRITE_EGRESS_INTRINSIC_METADATA_HEADER_H_ #define BF_P4C_MIDEND_REWRITE_EGRESS_INTRINSIC_METADATA_HEADER_H_ diff --git a/backends/tofino/bf-p4c/midend/rewrite_flexible_header.h b/backends/tofino/bf-p4c/midend/rewrite_flexible_header.h index 47ae74656..021902b37 100644 --- a/backends/tofino/bf-p4c/midend/rewrite_flexible_header.h +++ b/backends/tofino/bf-p4c/midend/rewrite_flexible_header.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup RewriteFlexibleStruct BFN::RewriteFlexibleStruct * \ingroup midend diff --git a/backends/tofino/bf-p4c/midend/simplifyIfStatement.cpp b/backends/tofino/bf-p4c/midend/simplifyIfStatement.cpp index 4819afa4f..58aa22901 100644 --- a/backends/tofino/bf-p4c/midend/simplifyIfStatement.cpp +++ b/backends/tofino/bf-p4c/midend/simplifyIfStatement.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "simplifyIfStatement.h" #include "bf-p4c/midend/path_linearizer.h" diff --git a/backends/tofino/bf-p4c/midend/simplifyIfStatement.h b/backends/tofino/bf-p4c/midend/simplifyIfStatement.h index 651e5b506..e28ba3507 100644 --- a/backends/tofino/bf-p4c/midend/simplifyIfStatement.h +++ b/backends/tofino/bf-p4c/midend/simplifyIfStatement.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup SimplifyIfStatement P4::SimplifyIfStatement * \ingroup midend diff --git a/backends/tofino/bf-p4c/midend/simplify_args.cpp b/backends/tofino/bf-p4c/midend/simplify_args.cpp index faaa18f14..02162eee7 100644 --- a/backends/tofino/bf-p4c/midend/simplify_args.cpp +++ b/backends/tofino/bf-p4c/midend/simplify_args.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "simplify_args.h" #include diff --git a/backends/tofino/bf-p4c/midend/simplify_args.h b/backends/tofino/bf-p4c/midend/simplify_args.h index 2c51277e0..c8f4128ab 100644 --- a/backends/tofino/bf-p4c/midend/simplify_args.h +++ b/backends/tofino/bf-p4c/midend/simplify_args.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup SimplifyEmitArgs BFN::SimplifyEmitArgs * \ingroup midend diff --git a/backends/tofino/bf-p4c/midend/simplify_key_policy.h b/backends/tofino/bf-p4c/midend/simplify_key_policy.h index 5590b3734..9db46c4ae 100644 --- a/backends/tofino/bf-p4c/midend/simplify_key_policy.h +++ b/backends/tofino/bf-p4c/midend/simplify_key_policy.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_SIMPLIFY_KEY_POLICY_H_ #define BF_P4C_MIDEND_SIMPLIFY_KEY_POLICY_H_ diff --git a/backends/tofino/bf-p4c/midend/simplify_nested_if.cpp b/backends/tofino/bf-p4c/midend/simplify_nested_if.cpp index cf8e5cfe7..ccd06e33a 100644 --- a/backends/tofino/bf-p4c/midend/simplify_nested_if.cpp +++ b/backends/tofino/bf-p4c/midend/simplify_nested_if.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "simplify_nested_if.h" #include diff --git a/backends/tofino/bf-p4c/midend/simplify_nested_if.h b/backends/tofino/bf-p4c/midend/simplify_nested_if.h index 06c3ffff8..191ca6777 100644 --- a/backends/tofino/bf-p4c/midend/simplify_nested_if.h +++ b/backends/tofino/bf-p4c/midend/simplify_nested_if.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup SimplifyNestedIf P4::SimplifyNestedIf * \ingroup midend diff --git a/backends/tofino/bf-p4c/midend/simplify_references.cpp b/backends/tofino/bf-p4c/midend/simplify_references.cpp index 6c6faaa6d..15cc9a30b 100644 --- a/backends/tofino/bf-p4c/midend/simplify_references.cpp +++ b/backends/tofino/bf-p4c/midend/simplify_references.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "simplify_references.h" #include "bf-p4c/common/utils.h" diff --git a/backends/tofino/bf-p4c/midend/simplify_references.h b/backends/tofino/bf-p4c/midend/simplify_references.h index aea9f81bd..07cc4caf1 100644 --- a/backends/tofino/bf-p4c/midend/simplify_references.h +++ b/backends/tofino/bf-p4c/midend/simplify_references.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef _MIDEND_SIMPLIFY_REFERENCES_H_ #define _MIDEND_SIMPLIFY_REFERENCES_H_ diff --git a/backends/tofino/bf-p4c/midend/table_mutex.cpp b/backends/tofino/bf-p4c/midend/table_mutex.cpp index d7028d6c9..cc57c1e61 100644 --- a/backends/tofino/bf-p4c/midend/table_mutex.cpp +++ b/backends/tofino/bf-p4c/midend/table_mutex.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "table_mutex.h" #include "frontends/p4/methodInstance.h" diff --git a/backends/tofino/bf-p4c/midend/table_mutex.h b/backends/tofino/bf-p4c/midend/table_mutex.h index a15e6175a..2b6f0f80d 100644 --- a/backends/tofino/bf-p4c/midend/table_mutex.h +++ b/backends/tofino/bf-p4c/midend/table_mutex.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_MIDEND_TABLE_MUTEX_H_ #define BACKENDS_TOFINO_BF_P4C_MIDEND_TABLE_MUTEX_H_ diff --git a/backends/tofino/bf-p4c/midend/type_categories.cpp b/backends/tofino/bf-p4c/midend/type_categories.cpp index 53fd8d765..168a84d04 100644 --- a/backends/tofino/bf-p4c/midend/type_categories.cpp +++ b/backends/tofino/bf-p4c/midend/type_categories.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "type_categories.h" #include diff --git a/backends/tofino/bf-p4c/midend/type_categories.h b/backends/tofino/bf-p4c/midend/type_categories.h index 99f82e5e6..fd592bf1c 100644 --- a/backends/tofino/bf-p4c/midend/type_categories.h +++ b/backends/tofino/bf-p4c/midend/type_categories.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_TYPE_CATEGORIES_H_ #define BF_P4C_MIDEND_TYPE_CATEGORIES_H_ diff --git a/backends/tofino/bf-p4c/midend/type_checker.cpp b/backends/tofino/bf-p4c/midend/type_checker.cpp index be7a58e72..045b19532 100644 --- a/backends/tofino/bf-p4c/midend/type_checker.cpp +++ b/backends/tofino/bf-p4c/midend/type_checker.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/type_checker.h" namespace BFN { diff --git a/backends/tofino/bf-p4c/midend/type_checker.h b/backends/tofino/bf-p4c/midend/type_checker.h index 52a8af5b1..b0dc90ab9 100644 --- a/backends/tofino/bf-p4c/midend/type_checker.h +++ b/backends/tofino/bf-p4c/midend/type_checker.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_MIDEND_TYPE_CHECKER_H_ #define BF_P4C_MIDEND_TYPE_CHECKER_H_ diff --git a/backends/tofino/bf-p4c/p4c-barefoot.cpp b/backends/tofino/bf-p4c/p4c-barefoot.cpp index ff841fcea..6df09437e 100644 --- a/backends/tofino/bf-p4c/p4c-barefoot.cpp +++ b/backends/tofino/bf-p4c/p4c-barefoot.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup bf_p4c Overview of bf-p4c * \brief Overview of passes performed by the bf-p4c binary. diff --git a/backends/tofino/bf-p4c/parde/add_metadata_pov.cpp b/backends/tofino/bf-p4c/parde/add_metadata_pov.cpp index 47a4c8ee1..39cbb6f8a 100644 --- a/backends/tofino/bf-p4c/parde/add_metadata_pov.cpp +++ b/backends/tofino/bf-p4c/parde/add_metadata_pov.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "add_metadata_pov.h" #include "bf-p4c/phv/phv_fields.h" diff --git a/backends/tofino/bf-p4c/parde/add_metadata_pov.h b/backends/tofino/bf-p4c/parde/add_metadata_pov.h index 5fa475e7c..a6a17be3a 100644 --- a/backends/tofino/bf-p4c/parde/add_metadata_pov.h +++ b/backends/tofino/bf-p4c/parde/add_metadata_pov.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_ADD_METADATA_POV_H_ #define BF_P4C_PARDE_ADD_METADATA_POV_H_ diff --git a/backends/tofino/bf-p4c/parde/add_parde_metadata.cpp b/backends/tofino/bf-p4c/parde/add_parde_metadata.cpp index 8d7d1043b..7faaa674d 100644 --- a/backends/tofino/bf-p4c/parde/add_parde_metadata.cpp +++ b/backends/tofino/bf-p4c/parde/add_parde_metadata.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/add_parde_metadata.h" #include "bf-p4c/arch/bridge_metadata.h" diff --git a/backends/tofino/bf-p4c/parde/add_parde_metadata.h b/backends/tofino/bf-p4c/parde/add_parde_metadata.h index afe5760f2..849cd9b82 100644 --- a/backends/tofino/bf-p4c/parde/add_parde_metadata.h +++ b/backends/tofino/bf-p4c/parde/add_parde_metadata.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_ADD_PARDE_METADATA_H_ #define BF_P4C_PARDE_ADD_PARDE_METADATA_H_ diff --git a/backends/tofino/bf-p4c/parde/adjust_extract.cpp b/backends/tofino/bf-p4c/parde/adjust_extract.cpp index 441ee7d5b..cf2e34052 100644 --- a/backends/tofino/bf-p4c/parde/adjust_extract.cpp +++ b/backends/tofino/bf-p4c/parde/adjust_extract.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/adjust_extract.h" #include diff --git a/backends/tofino/bf-p4c/parde/adjust_extract.h b/backends/tofino/bf-p4c/parde/adjust_extract.h index e0594fa33..c2e96c6c0 100644 --- a/backends/tofino/bf-p4c/parde/adjust_extract.h +++ b/backends/tofino/bf-p4c/parde/adjust_extract.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_ADJUST_EXTRACT_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_ADJUST_EXTRACT_H_ diff --git a/backends/tofino/bf-p4c/parde/allocate_parser_checksum.cpp b/backends/tofino/bf-p4c/parde/allocate_parser_checksum.cpp index c2c23eeb0..651e34f62 100644 --- a/backends/tofino/bf-p4c/parde/allocate_parser_checksum.cpp +++ b/backends/tofino/bf-p4c/parde/allocate_parser_checksum.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "allocate_parser_checksum.h" #include diff --git a/backends/tofino/bf-p4c/parde/allocate_parser_checksum.h b/backends/tofino/bf-p4c/parde/allocate_parser_checksum.h index b24bb9bc2..b887997cc 100644 --- a/backends/tofino/bf-p4c/parde/allocate_parser_checksum.h +++ b/backends/tofino/bf-p4c/parde/allocate_parser_checksum.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_ALLOCATE_PARSER_CHECKSUM_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_ALLOCATE_PARSER_CHECKSUM_H_ diff --git a/backends/tofino/bf-p4c/parde/allocate_parser_match_register.cpp b/backends/tofino/bf-p4c/parde/allocate_parser_match_register.cpp index bf30668be..87178dce5 100644 --- a/backends/tofino/bf-p4c/parde/allocate_parser_match_register.cpp +++ b/backends/tofino/bf-p4c/parde/allocate_parser_match_register.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* clang-format off */ #include #include diff --git a/backends/tofino/bf-p4c/parde/allocate_parser_match_register.h b/backends/tofino/bf-p4c/parde/allocate_parser_match_register.h index d9038a408..7b974eb27 100644 --- a/backends/tofino/bf-p4c/parde/allocate_parser_match_register.h +++ b/backends/tofino/bf-p4c/parde/allocate_parser_match_register.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_ALLOCATE_PARSER_MATCH_REGISTER_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_ALLOCATE_PARSER_MATCH_REGISTER_H_ diff --git a/backends/tofino/bf-p4c/parde/asm_output.h b/backends/tofino/bf-p4c/parde/asm_output.h index 7e7aebe85..1527a0bf0 100644 --- a/backends/tofino/bf-p4c/parde/asm_output.h +++ b/backends/tofino/bf-p4c/parde/asm_output.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_ASM_OUTPUT_H_ #define BF_P4C_PARDE_ASM_OUTPUT_H_ diff --git a/backends/tofino/bf-p4c/parde/characterize_parser.h b/backends/tofino/bf-p4c/parde/characterize_parser.h index c3dbb215c..e3120475b 100644 --- a/backends/tofino/bf-p4c/parde/characterize_parser.h +++ b/backends/tofino/bf-p4c/parde/characterize_parser.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CHARACTERIZE_PARSER_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CHARACTERIZE_PARSER_H_ diff --git a/backends/tofino/bf-p4c/parde/check_parser_multi_write.cpp b/backends/tofino/bf-p4c/parde/check_parser_multi_write.cpp index 4f79b945d..8cd55b6b9 100644 --- a/backends/tofino/bf-p4c/parde/check_parser_multi_write.cpp +++ b/backends/tofino/bf-p4c/parde/check_parser_multi_write.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "check_parser_multi_write.h" #include "bf-p4c/common/utils.h" diff --git a/backends/tofino/bf-p4c/parde/check_parser_multi_write.h b/backends/tofino/bf-p4c/parde/check_parser_multi_write.h index dcc20ff20..39bde2a1d 100644 --- a/backends/tofino/bf-p4c/parde/check_parser_multi_write.h +++ b/backends/tofino/bf-p4c/parde/check_parser_multi_write.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_CHECK_PARSER_MULTI_WRITE_H_ #define BF_P4C_PARDE_CHECK_PARSER_MULTI_WRITE_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/allocate_clot.cpp b/backends/tofino/bf-p4c/parde/clot/allocate_clot.cpp index 1d7eb69e4..c6959db1c 100644 --- a/backends/tofino/bf-p4c/parde/clot/allocate_clot.cpp +++ b/backends/tofino/bf-p4c/parde/clot/allocate_clot.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "allocate_clot.h" #include diff --git a/backends/tofino/bf-p4c/parde/clot/allocate_clot.h b/backends/tofino/bf-p4c/parde/clot/allocate_clot.h index 073a8b5cd..f57fb89c0 100644 --- a/backends/tofino/bf-p4c/parde/clot/allocate_clot.h +++ b/backends/tofino/bf-p4c/parde/clot/allocate_clot.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_ALLOCATE_CLOT_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_ALLOCATE_CLOT_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/check_clot_groups.cpp b/backends/tofino/bf-p4c/parde/clot/check_clot_groups.cpp index c142b1699..aa699ec5e 100644 --- a/backends/tofino/bf-p4c/parde/clot/check_clot_groups.cpp +++ b/backends/tofino/bf-p4c/parde/clot/check_clot_groups.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "check_clot_groups.h" bool CheckClotGroups::preorder(const IR::BFN::AbstractDeparser *dp) { diff --git a/backends/tofino/bf-p4c/parde/clot/check_clot_groups.h b/backends/tofino/bf-p4c/parde/clot/check_clot_groups.h index 366974b3c..58f66786d 100644 --- a/backends/tofino/bf-p4c/parde/clot/check_clot_groups.h +++ b/backends/tofino/bf-p4c/parde/clot/check_clot_groups.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_CHECK_CLOT_GROUPS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_CHECK_CLOT_GROUPS_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/clot.cpp b/backends/tofino/bf-p4c/parde/clot/clot.cpp index 13b92aa1e..e752aa2f6 100644 --- a/backends/tofino/bf-p4c/parde/clot/clot.cpp +++ b/backends/tofino/bf-p4c/parde/clot/clot.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "clot.h" #include diff --git a/backends/tofino/bf-p4c/parde/clot/clot.h b/backends/tofino/bf-p4c/parde/clot/clot.h index 43993a136..498e32a72 100644 --- a/backends/tofino/bf-p4c/parde/clot/clot.h +++ b/backends/tofino/bf-p4c/parde/clot/clot.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_CLOT_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_CLOT_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/clot_candidate.cpp b/backends/tofino/bf-p4c/parde/clot/clot_candidate.cpp index 36504b27d..ce14a1e56 100644 --- a/backends/tofino/bf-p4c/parde/clot/clot_candidate.cpp +++ b/backends/tofino/bf-p4c/parde/clot/clot_candidate.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "clot_candidate.h" #include "bf-p4c/common/table_printer.h" diff --git a/backends/tofino/bf-p4c/parde/clot/clot_candidate.h b/backends/tofino/bf-p4c/parde/clot/clot_candidate.h index 7138629d5..af70a0c1b 100644 --- a/backends/tofino/bf-p4c/parde/clot/clot_candidate.h +++ b/backends/tofino/bf-p4c/parde/clot/clot_candidate.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_CLOT_CANDIDATE_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_CLOT_CANDIDATE_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/clot_info.cpp b/backends/tofino/bf-p4c/parde/clot/clot_info.cpp index a12ac8458..22d8c44e7 100644 --- a/backends/tofino/bf-p4c/parde/clot/clot_info.cpp +++ b/backends/tofino/bf-p4c/parde/clot/clot_info.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "clot_info.h" #include diff --git a/backends/tofino/bf-p4c/parde/clot/clot_info.h b/backends/tofino/bf-p4c/parde/clot/clot_info.h index 663d9244c..cbb52cc29 100644 --- a/backends/tofino/bf-p4c/parde/clot/clot_info.h +++ b/backends/tofino/bf-p4c/parde/clot/clot_info.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_CLOT_INFO_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_CLOT_INFO_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/deparse_graph.cpp b/backends/tofino/bf-p4c/parde/clot/deparse_graph.cpp index cbade919c..ab7062369 100644 --- a/backends/tofino/bf-p4c/parde/clot/deparse_graph.cpp +++ b/backends/tofino/bf-p4c/parde/clot/deparse_graph.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "deparse_graph.h" DeparseGraph::Node DeparseGraph::addField(const PHV::Field *f) { diff --git a/backends/tofino/bf-p4c/parde/clot/deparse_graph.h b/backends/tofino/bf-p4c/parde/clot/deparse_graph.h index fa16c7839..2c754d402 100644 --- a/backends/tofino/bf-p4c/parde/clot/deparse_graph.h +++ b/backends/tofino/bf-p4c/parde/clot/deparse_graph.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_DEPARSE_GRAPH_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_DEPARSE_GRAPH_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/field_pov_analysis.cpp b/backends/tofino/bf-p4c/parde/clot/field_pov_analysis.cpp index 17c01f590..1b2af2149 100644 --- a/backends/tofino/bf-p4c/parde/clot/field_pov_analysis.cpp +++ b/backends/tofino/bf-p4c/parde/clot/field_pov_analysis.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "field_pov_analysis.h" bool FieldPovAnalysis::preorder(const IR::BFN::EmitField *emit) { diff --git a/backends/tofino/bf-p4c/parde/clot/field_pov_analysis.h b/backends/tofino/bf-p4c/parde/clot/field_pov_analysis.h index 888911142..f9c4c66c2 100644 --- a/backends/tofino/bf-p4c/parde/clot/field_pov_analysis.h +++ b/backends/tofino/bf-p4c/parde/clot/field_pov_analysis.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_FIELD_POV_ANALYSIS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_FIELD_POV_ANALYSIS_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/field_slice_extract_info.cpp b/backends/tofino/bf-p4c/parde/clot/field_slice_extract_info.cpp index 9701d1344..fe9197865 100644 --- a/backends/tofino/bf-p4c/parde/clot/field_slice_extract_info.cpp +++ b/backends/tofino/bf-p4c/parde/clot/field_slice_extract_info.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "field_slice_extract_info.h" void FieldSliceExtractInfo::update(const IR::BFN::ParserState *state, unsigned stack_offset, diff --git a/backends/tofino/bf-p4c/parde/clot/field_slice_extract_info.h b/backends/tofino/bf-p4c/parde/clot/field_slice_extract_info.h index b31033e42..11455c47c 100644 --- a/backends/tofino/bf-p4c/parde/clot/field_slice_extract_info.h +++ b/backends/tofino/bf-p4c/parde/clot/field_slice_extract_info.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_FIELD_SLICE_EXTRACT_INFO_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_FIELD_SLICE_EXTRACT_INFO_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/field_slice_set.h b/backends/tofino/bf-p4c/parde/clot/field_slice_set.h index dbda3a412..2b6f0b12a 100644 --- a/backends/tofino/bf-p4c/parde/clot/field_slice_set.h +++ b/backends/tofino/bf-p4c/parde/clot/field_slice_set.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_FIELD_SLICE_SET_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_FIELD_SLICE_SET_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/header_validity_analysis.cpp b/backends/tofino/bf-p4c/parde/clot/header_validity_analysis.cpp index e6f3b93b4..49ab02849 100644 --- a/backends/tofino/bf-p4c/parde/clot/header_validity_analysis.cpp +++ b/backends/tofino/bf-p4c/parde/clot/header_validity_analysis.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "header_validity_analysis.h" HeaderValidityAnalysis::HeaderValidityAnalysis(const PhvInfo &phvInfo, diff --git a/backends/tofino/bf-p4c/parde/clot/header_validity_analysis.h b/backends/tofino/bf-p4c/parde/clot/header_validity_analysis.h index 8b7a8cba2..2b499c453 100644 --- a/backends/tofino/bf-p4c/parde/clot/header_validity_analysis.h +++ b/backends/tofino/bf-p4c/parde/clot/header_validity_analysis.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_HEADER_VALIDITY_ANALYSIS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_HEADER_VALIDITY_ANALYSIS_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/merge_desugared_varbit_valids.cpp b/backends/tofino/bf-p4c/parde/clot/merge_desugared_varbit_valids.cpp index aef1e7bb3..cbc5c0914 100644 --- a/backends/tofino/bf-p4c/parde/clot/merge_desugared_varbit_valids.cpp +++ b/backends/tofino/bf-p4c/parde/clot/merge_desugared_varbit_valids.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "merge_desugared_varbit_valids.h" #include diff --git a/backends/tofino/bf-p4c/parde/clot/merge_desugared_varbit_valids.h b/backends/tofino/bf-p4c/parde/clot/merge_desugared_varbit_valids.h index 066933f41..8ebd1bf5a 100644 --- a/backends/tofino/bf-p4c/parde/clot/merge_desugared_varbit_valids.h +++ b/backends/tofino/bf-p4c/parde/clot/merge_desugared_varbit_valids.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_MERGE_DESUGARED_VARBIT_VALIDS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_MERGE_DESUGARED_VARBIT_VALIDS_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/pragma/do_not_use_clot.cpp b/backends/tofino/bf-p4c/parde/clot/pragma/do_not_use_clot.cpp index 48a1c521e..5c3763816 100644 --- a/backends/tofino/bf-p4c/parde/clot/pragma/do_not_use_clot.cpp +++ b/backends/tofino/bf-p4c/parde/clot/pragma/do_not_use_clot.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/clot/pragma/do_not_use_clot.h" #include diff --git a/backends/tofino/bf-p4c/parde/clot/pragma/do_not_use_clot.h b/backends/tofino/bf-p4c/parde/clot/pragma/do_not_use_clot.h index 972f16338..8145173db 100644 --- a/backends/tofino/bf-p4c/parde/clot/pragma/do_not_use_clot.h +++ b/backends/tofino/bf-p4c/parde/clot/pragma/do_not_use_clot.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_PRAGMA_DO_NOT_USE_CLOT_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_PRAGMA_DO_NOT_USE_CLOT_H_ diff --git a/backends/tofino/bf-p4c/parde/clot/pseudoheader.cpp b/backends/tofino/bf-p4c/parde/clot/pseudoheader.cpp index 11458ba50..9d8c6e7c4 100644 --- a/backends/tofino/bf-p4c/parde/clot/pseudoheader.cpp +++ b/backends/tofino/bf-p4c/parde/clot/pseudoheader.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "pseudoheader.h" int Pseudoheader::nextId = 0; diff --git a/backends/tofino/bf-p4c/parde/clot/pseudoheader.h b/backends/tofino/bf-p4c/parde/clot/pseudoheader.h index bcd665820..719b30d2b 100644 --- a/backends/tofino/bf-p4c/parde/clot/pseudoheader.h +++ b/backends/tofino/bf-p4c/parde/clot/pseudoheader.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_PSEUDOHEADER_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_CLOT_PSEUDOHEADER_H_ diff --git a/backends/tofino/bf-p4c/parde/coalesce_learning.cpp b/backends/tofino/bf-p4c/parde/coalesce_learning.cpp index d93dfd71d..374fd0c2f 100644 --- a/backends/tofino/bf-p4c/parde/coalesce_learning.cpp +++ b/backends/tofino/bf-p4c/parde/coalesce_learning.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "coalesce_learning.h" bool CoalesceLearning::preorder(IR::BFN::LearningTableEntry *lte) { diff --git a/backends/tofino/bf-p4c/parde/coalesce_learning.h b/backends/tofino/bf-p4c/parde/coalesce_learning.h index 7a38a132e..21ed1dd65 100644 --- a/backends/tofino/bf-p4c/parde/coalesce_learning.h +++ b/backends/tofino/bf-p4c/parde/coalesce_learning.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_COALESCE_LEARNING_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_COALESCE_LEARNING_H_ diff --git a/backends/tofino/bf-p4c/parde/collect_parser_usedef.h b/backends/tofino/bf-p4c/parde/collect_parser_usedef.h index 3fbd15841..03b76b3a8 100644 --- a/backends/tofino/bf-p4c/parde/collect_parser_usedef.h +++ b/backends/tofino/bf-p4c/parde/collect_parser_usedef.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_COLLECT_PARSER_USEDEF_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_COLLECT_PARSER_USEDEF_H_ diff --git a/backends/tofino/bf-p4c/parde/common/allocators.h b/backends/tofino/bf-p4c/parde/common/allocators.h index 236abe20d..3fc299377 100644 --- a/backends/tofino/bf-p4c/parde/common/allocators.h +++ b/backends/tofino/bf-p4c/parde/common/allocators.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_COMMON_ALLOCATORS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_COMMON_ALLOCATORS_H_ diff --git a/backends/tofino/bf-p4c/parde/common/match_reducer.h b/backends/tofino/bf-p4c/parde/common/match_reducer.h index f89a2743e..d5ba65f6e 100644 --- a/backends/tofino/bf-p4c/parde/common/match_reducer.h +++ b/backends/tofino/bf-p4c/parde/common/match_reducer.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_COMMON_MATCH_REDUCER_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_COMMON_MATCH_REDUCER_H_ diff --git a/backends/tofino/bf-p4c/parde/count_strided_header_refs.cpp b/backends/tofino/bf-p4c/parde/count_strided_header_refs.cpp index 88e69dbaa..063d59c3b 100644 --- a/backends/tofino/bf-p4c/parde/count_strided_header_refs.cpp +++ b/backends/tofino/bf-p4c/parde/count_strided_header_refs.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "count_strided_header_refs.h" #include "ir/ir.h" diff --git a/backends/tofino/bf-p4c/parde/count_strided_header_refs.h b/backends/tofino/bf-p4c/parde/count_strided_header_refs.h index 325b08a69..a4790b548 100644 --- a/backends/tofino/bf-p4c/parde/count_strided_header_refs.h +++ b/backends/tofino/bf-p4c/parde/count_strided_header_refs.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_COUNT_STRIDED_HEADER_REFS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_COUNT_STRIDED_HEADER_REFS_H_ diff --git a/backends/tofino/bf-p4c/parde/create_pov_encoder.cpp b/backends/tofino/bf-p4c/parde/create_pov_encoder.cpp index be9f9105f..1b3f40504 100644 --- a/backends/tofino/bf-p4c/parde/create_pov_encoder.cpp +++ b/backends/tofino/bf-p4c/parde/create_pov_encoder.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/create_pov_encoder.h" static const IR::Entry *create_static_entry(unsigned key_size, unsigned match, diff --git a/backends/tofino/bf-p4c/parde/create_pov_encoder.h b/backends/tofino/bf-p4c/parde/create_pov_encoder.h index 0777dd65b..843f68e0e 100644 --- a/backends/tofino/bf-p4c/parde/create_pov_encoder.h +++ b/backends/tofino/bf-p4c/parde/create_pov_encoder.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_CREATE_POV_ENCODER_H_ #define BF_P4C_PARDE_CREATE_POV_ENCODER_H_ diff --git a/backends/tofino/bf-p4c/parde/decaf.cpp b/backends/tofino/bf-p4c/parde/decaf.cpp index 4f9506a1d..6505ac732 100644 --- a/backends/tofino/bf-p4c/parde/decaf.cpp +++ b/backends/tofino/bf-p4c/parde/decaf.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "decaf.h" #include diff --git a/backends/tofino/bf-p4c/parde/decaf.h b/backends/tofino/bf-p4c/parde/decaf.h index 56ff4c298..fa8368564 100644 --- a/backends/tofino/bf-p4c/parde/decaf.h +++ b/backends/tofino/bf-p4c/parde/decaf.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_DECAF_H_ #define BF_P4C_PARDE_DECAF_H_ diff --git a/backends/tofino/bf-p4c/parde/deparser_checksum_update.cpp b/backends/tofino/bf-p4c/parde/deparser_checksum_update.cpp index 15d172f13..2575f6e66 100644 --- a/backends/tofino/bf-p4c/parde/deparser_checksum_update.cpp +++ b/backends/tofino/bf-p4c/parde/deparser_checksum_update.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/deparser_checksum_update.h" #include diff --git a/backends/tofino/bf-p4c/parde/deparser_checksum_update.h b/backends/tofino/bf-p4c/parde/deparser_checksum_update.h index d7a8516a5..19706d08f 100644 --- a/backends/tofino/bf-p4c/parde/deparser_checksum_update.h +++ b/backends/tofino/bf-p4c/parde/deparser_checksum_update.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_DEPARSER_CHECKSUM_UPDATE_H_ #define BF_P4C_PARDE_DEPARSER_CHECKSUM_UPDATE_H_ diff --git a/backends/tofino/bf-p4c/parde/deparser_output.cpp b/backends/tofino/bf-p4c/parde/deparser_output.cpp index 2035d861e..210b26587 100644 --- a/backends/tofino/bf-p4c/parde/deparser_output.cpp +++ b/backends/tofino/bf-p4c/parde/deparser_output.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/alias.h" #include "bf-p4c/common/asm_output.h" #include "bf-p4c/common/autoindent.h" diff --git a/backends/tofino/bf-p4c/parde/dump_parser.h b/backends/tofino/bf-p4c/parde/dump_parser.h index 02b2ca13a..effa48467 100644 --- a/backends/tofino/bf-p4c/parde/dump_parser.h +++ b/backends/tofino/bf-p4c/parde/dump_parser.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_DUMP_PARSER_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_DUMP_PARSER_H_ diff --git a/backends/tofino/bf-p4c/parde/extract_deparser.cpp b/backends/tofino/bf-p4c/parde/extract_deparser.cpp index 057e16494..55351aa57 100644 --- a/backends/tofino/bf-p4c/parde/extract_deparser.cpp +++ b/backends/tofino/bf-p4c/parde/extract_deparser.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/extract_deparser.h" #include "bf-p4c/bf-p4c-options.h" diff --git a/backends/tofino/bf-p4c/parde/extract_deparser.h b/backends/tofino/bf-p4c/parde/extract_deparser.h index 028f42031..363d19c6d 100644 --- a/backends/tofino/bf-p4c/parde/extract_deparser.h +++ b/backends/tofino/bf-p4c/parde/extract_deparser.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_EXTRACT_DEPARSER_H_ #define BF_P4C_PARDE_EXTRACT_DEPARSER_H_ diff --git a/backends/tofino/bf-p4c/parde/extract_parser.cpp b/backends/tofino/bf-p4c/parde/extract_parser.cpp index 7477a0d65..28516bcab 100644 --- a/backends/tofino/bf-p4c/parde/extract_parser.cpp +++ b/backends/tofino/bf-p4c/parde/extract_parser.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "extract_parser.h" #include diff --git a/backends/tofino/bf-p4c/parde/extract_parser.h b/backends/tofino/bf-p4c/parde/extract_parser.h index 63e0ec384..129f6088c 100644 --- a/backends/tofino/bf-p4c/parde/extract_parser.h +++ b/backends/tofino/bf-p4c/parde/extract_parser.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_EXTRACT_PARSER_H_ #define BF_P4C_PARDE_EXTRACT_PARSER_H_ diff --git a/backends/tofino/bf-p4c/parde/field_packing.cpp b/backends/tofino/bf-p4c/parde/field_packing.cpp index ebc9ee0ee..7a82d4392 100644 --- a/backends/tofino/bf-p4c/parde/field_packing.cpp +++ b/backends/tofino/bf-p4c/parde/field_packing.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/field_packing.h" #include "bf-p4c/parde/marshal.h" diff --git a/backends/tofino/bf-p4c/parde/field_packing.h b/backends/tofino/bf-p4c/parde/field_packing.h index 905ed3259..8b517e2d3 100644 --- a/backends/tofino/bf-p4c/parde/field_packing.h +++ b/backends/tofino/bf-p4c/parde/field_packing.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_FIELD_PACKING_H_ #define BF_P4C_PARDE_FIELD_PACKING_H_ diff --git a/backends/tofino/bf-p4c/parde/header_output.cpp b/backends/tofino/bf-p4c/parde/header_output.cpp index b82ee5a47..3f0f8f0e5 100644 --- a/backends/tofino/bf-p4c/parde/header_output.cpp +++ b/backends/tofino/bf-p4c/parde/header_output.cpp @@ -1,17 +1,17 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ diff --git a/backends/tofino/bf-p4c/parde/infer_payload_offset.cpp b/backends/tofino/bf-p4c/parde/infer_payload_offset.cpp index c5faee8ff..dbb3ea10c 100644 --- a/backends/tofino/bf-p4c/parde/infer_payload_offset.cpp +++ b/backends/tofino/bf-p4c/parde/infer_payload_offset.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "infer_payload_offset.h" #include diff --git a/backends/tofino/bf-p4c/parde/infer_payload_offset.h b/backends/tofino/bf-p4c/parde/infer_payload_offset.h index 4e4a657b7..802e2805d 100644 --- a/backends/tofino/bf-p4c/parde/infer_payload_offset.h +++ b/backends/tofino/bf-p4c/parde/infer_payload_offset.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_INFER_PAYLOAD_OFFSET_H_ #define BF_P4C_PARDE_INFER_PAYLOAD_OFFSET_H_ diff --git a/backends/tofino/bf-p4c/parde/lower_parser.cpp b/backends/tofino/bf-p4c/parde/lower_parser.cpp index 78ba9e59b..90ce04099 100644 --- a/backends/tofino/bf-p4c/parde/lower_parser.cpp +++ b/backends/tofino/bf-p4c/parde/lower_parser.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/lower_parser.h" #include diff --git a/backends/tofino/bf-p4c/parde/lower_parser.h b/backends/tofino/bf-p4c/parde/lower_parser.h index 5955b47a3..d4397dd84 100644 --- a/backends/tofino/bf-p4c/parde/lower_parser.h +++ b/backends/tofino/bf-p4c/parde/lower_parser.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWER_PARSER_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWER_PARSER_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/compute_buffer_requirements.cpp b/backends/tofino/bf-p4c/parde/lowered/compute_buffer_requirements.cpp index 230782ce4..75ab049a5 100644 --- a/backends/tofino/bf-p4c/parde/lowered/compute_buffer_requirements.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/compute_buffer_requirements.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "compute_buffer_requirements.h" #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/parde/lowered/compute_buffer_requirements.h b/backends/tofino/bf-p4c/parde/lowered/compute_buffer_requirements.h index 218098f2e..3bbbec6c8 100644 --- a/backends/tofino/bf-p4c/parde/lowered/compute_buffer_requirements.h +++ b/backends/tofino/bf-p4c/parde/lowered/compute_buffer_requirements.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_COMPUTE_BUFFER_REQUIREMENTS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_COMPUTE_BUFFER_REQUIREMENTS_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/compute_init_zero_containers.cpp b/backends/tofino/bf-p4c/parde/lowered/compute_init_zero_containers.cpp index 785807b87..975c19bb2 100644 --- a/backends/tofino/bf-p4c/parde/lowered/compute_init_zero_containers.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/compute_init_zero_containers.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "compute_init_zero_containers.h" namespace Parde::Lowered { diff --git a/backends/tofino/bf-p4c/parde/lowered/compute_init_zero_containers.h b/backends/tofino/bf-p4c/parde/lowered/compute_init_zero_containers.h index 0093fb0ec..dacee59d2 100644 --- a/backends/tofino/bf-p4c/parde/lowered/compute_init_zero_containers.h +++ b/backends/tofino/bf-p4c/parde/lowered/compute_init_zero_containers.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_COMPUTE_INIT_ZERO_CONTAINERS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_COMPUTE_INIT_ZERO_CONTAINERS_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/compute_lowered_deparser_ir.cpp b/backends/tofino/bf-p4c/parde/lowered/compute_lowered_deparser_ir.cpp index 664f4a187..7be6a0aa9 100644 --- a/backends/tofino/bf-p4c/parde/lowered/compute_lowered_deparser_ir.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/compute_lowered_deparser_ir.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "compute_lowered_deparser_ir.h" #include "bf-p4c/common/ir_utils.h" diff --git a/backends/tofino/bf-p4c/parde/lowered/compute_lowered_deparser_ir.h b/backends/tofino/bf-p4c/parde/lowered/compute_lowered_deparser_ir.h index 62ab4d7c2..af2ccee09 100644 --- a/backends/tofino/bf-p4c/parde/lowered/compute_lowered_deparser_ir.h +++ b/backends/tofino/bf-p4c/parde/lowered/compute_lowered_deparser_ir.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_COMPUTE_LOWERED_DEPARSER_IR_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_COMPUTE_LOWERED_DEPARSER_IR_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/compute_lowered_parser_ir.cpp b/backends/tofino/bf-p4c/parde/lowered/compute_lowered_parser_ir.cpp index bd2bfcb23..b1d07a06f 100644 --- a/backends/tofino/bf-p4c/parde/lowered/compute_lowered_parser_ir.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/compute_lowered_parser_ir.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "compute_lowered_parser_ir.h" #include "extract_simplifier.h" diff --git a/backends/tofino/bf-p4c/parde/lowered/compute_lowered_parser_ir.h b/backends/tofino/bf-p4c/parde/lowered/compute_lowered_parser_ir.h index 9950409fa..f716f1a3e 100644 --- a/backends/tofino/bf-p4c/parde/lowered/compute_lowered_parser_ir.h +++ b/backends/tofino/bf-p4c/parde/lowered/compute_lowered_parser_ir.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_COMPUTE_LOWERED_PARSER_IR_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_COMPUTE_LOWERED_PARSER_IR_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/compute_multi_write_containers.cpp b/backends/tofino/bf-p4c/parde/lowered/compute_multi_write_containers.cpp index 8941a3734..776a14163 100644 --- a/backends/tofino/bf-p4c/parde/lowered/compute_multi_write_containers.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/compute_multi_write_containers.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "compute_multi_write_containers.h" namespace Parde::Lowered { diff --git a/backends/tofino/bf-p4c/parde/lowered/compute_multi_write_containers.h b/backends/tofino/bf-p4c/parde/lowered/compute_multi_write_containers.h index 76ea9e3a7..0d955a348 100644 --- a/backends/tofino/bf-p4c/parde/lowered/compute_multi_write_containers.h +++ b/backends/tofino/bf-p4c/parde/lowered/compute_multi_write_containers.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_COMPUTE_MULTI_WRITE_CONTAINERS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_COMPUTE_MULTI_WRITE_CONTAINERS_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/eliminate_empty_states.cpp b/backends/tofino/bf-p4c/parde/lowered/eliminate_empty_states.cpp index a53aff4bd..b89a6b7c1 100644 --- a/backends/tofino/bf-p4c/parde/lowered/eliminate_empty_states.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/eliminate_empty_states.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "eliminate_empty_states.h" #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/parde/lowered/eliminate_empty_states.h b/backends/tofino/bf-p4c/parde/lowered/eliminate_empty_states.h index 63e14c664..d65b1b13e 100644 --- a/backends/tofino/bf-p4c/parde/lowered/eliminate_empty_states.h +++ b/backends/tofino/bf-p4c/parde/lowered/eliminate_empty_states.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_ELIMINATE_EMPTY_STATES_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_ELIMINATE_EMPTY_STATES_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/extract_simplifier.cpp b/backends/tofino/bf-p4c/parde/lowered/extract_simplifier.cpp index e2c76a441..1c230ed58 100644 --- a/backends/tofino/bf-p4c/parde/lowered/extract_simplifier.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/extract_simplifier.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "extract_simplifier.h" #include diff --git a/backends/tofino/bf-p4c/parde/lowered/extract_simplifier.h b/backends/tofino/bf-p4c/parde/lowered/extract_simplifier.h index 112ca4342..6ff03344c 100644 --- a/backends/tofino/bf-p4c/parde/lowered/extract_simplifier.h +++ b/backends/tofino/bf-p4c/parde/lowered/extract_simplifier.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_EXTRACT_SIMPLIFIER_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_EXTRACT_SIMPLIFIER_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/helpers.cpp b/backends/tofino/bf-p4c/parde/lowered/helpers.cpp index ed26517f4..a5e64be6d 100644 --- a/backends/tofino/bf-p4c/parde/lowered/helpers.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/helpers.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "helpers.h" #include diff --git a/backends/tofino/bf-p4c/parde/lowered/helpers.h b/backends/tofino/bf-p4c/parde/lowered/helpers.h index 10cf73200..2d7bf25ed 100644 --- a/backends/tofino/bf-p4c/parde/lowered/helpers.h +++ b/backends/tofino/bf-p4c/parde/lowered/helpers.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_HELPERS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_HELPERS_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/hoist_common_match_operations.cpp b/backends/tofino/bf-p4c/parde/lowered/hoist_common_match_operations.cpp index 58c59b589..acd05f2bd 100644 --- a/backends/tofino/bf-p4c/parde/lowered/hoist_common_match_operations.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/hoist_common_match_operations.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "hoist_common_match_operations.h" #include "bf-p4c/ir/ir_enums.h" diff --git a/backends/tofino/bf-p4c/parde/lowered/hoist_common_match_operations.h b/backends/tofino/bf-p4c/parde/lowered/hoist_common_match_operations.h index 8b7a4f8a5..d536a741d 100644 --- a/backends/tofino/bf-p4c/parde/lowered/hoist_common_match_operations.h +++ b/backends/tofino/bf-p4c/parde/lowered/hoist_common_match_operations.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_HOIST_COMMON_MATCH_OPERATIONS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_HOIST_COMMON_MATCH_OPERATIONS_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/merge_lowered_parser_states.cpp b/backends/tofino/bf-p4c/parde/lowered/merge_lowered_parser_states.cpp index fba1e8e34..b030e03e3 100644 --- a/backends/tofino/bf-p4c/parde/lowered/merge_lowered_parser_states.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/merge_lowered_parser_states.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "merge_lowered_parser_states.h" namespace Parde::Lowered { diff --git a/backends/tofino/bf-p4c/parde/lowered/merge_lowered_parser_states.h b/backends/tofino/bf-p4c/parde/lowered/merge_lowered_parser_states.h index 5133f3915..5b4c48890 100644 --- a/backends/tofino/bf-p4c/parde/lowered/merge_lowered_parser_states.h +++ b/backends/tofino/bf-p4c/parde/lowered/merge_lowered_parser_states.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_MERGE_LOWERED_PARSER_STATES_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_MERGE_LOWERED_PARSER_STATES_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/rewrite_emit_clot.cpp b/backends/tofino/bf-p4c/parde/lowered/rewrite_emit_clot.cpp index 3367cae23..45ef8358a 100644 --- a/backends/tofino/bf-p4c/parde/lowered/rewrite_emit_clot.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/rewrite_emit_clot.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "rewrite_emit_clot.h" namespace Parde::Lowered { diff --git a/backends/tofino/bf-p4c/parde/lowered/rewrite_emit_clot.h b/backends/tofino/bf-p4c/parde/lowered/rewrite_emit_clot.h index 17cb69bb3..e7937e241 100644 --- a/backends/tofino/bf-p4c/parde/lowered/rewrite_emit_clot.h +++ b/backends/tofino/bf-p4c/parde/lowered/rewrite_emit_clot.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_REWRITE_EMIT_CLOT_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_REWRITE_EMIT_CLOT_H_ diff --git a/backends/tofino/bf-p4c/parde/lowered/split_greedy_parser_states.cpp b/backends/tofino/bf-p4c/parde/lowered/split_greedy_parser_states.cpp index 647a4964b..a9856f889 100644 --- a/backends/tofino/bf-p4c/parde/lowered/split_greedy_parser_states.cpp +++ b/backends/tofino/bf-p4c/parde/lowered/split_greedy_parser_states.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "split_greedy_parser_states.h" namespace Parde::Lowered { diff --git a/backends/tofino/bf-p4c/parde/lowered/split_greedy_parser_states.h b/backends/tofino/bf-p4c/parde/lowered/split_greedy_parser_states.h index 3c7068466..4a96558e5 100644 --- a/backends/tofino/bf-p4c/parde/lowered/split_greedy_parser_states.h +++ b/backends/tofino/bf-p4c/parde/lowered/split_greedy_parser_states.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_SPLIT_GREEDY_PARSER_STATES_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_LOWERED_SPLIT_GREEDY_PARSER_STATES_H_ diff --git a/backends/tofino/bf-p4c/parde/marshal.cpp b/backends/tofino/bf-p4c/parde/marshal.cpp index e00d29807..088e86f12 100644 --- a/backends/tofino/bf-p4c/parde/marshal.cpp +++ b/backends/tofino/bf-p4c/parde/marshal.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "marshal.h" #include "ir/ir.h" diff --git a/backends/tofino/bf-p4c/parde/marshal.h b/backends/tofino/bf-p4c/parde/marshal.h index a8e0d7ffc..026789516 100644 --- a/backends/tofino/bf-p4c/parde/marshal.h +++ b/backends/tofino/bf-p4c/parde/marshal.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef PARDE_MARSHAL_H_ #define PARDE_MARSHAL_H_ diff --git a/backends/tofino/bf-p4c/parde/match_register.cpp b/backends/tofino/bf-p4c/parde/match_register.cpp index 379b9d837..bddbb046d 100644 --- a/backends/tofino/bf-p4c/parde/match_register.cpp +++ b/backends/tofino/bf-p4c/parde/match_register.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "match_register.h" #include diff --git a/backends/tofino/bf-p4c/parde/match_register.h b/backends/tofino/bf-p4c/parde/match_register.h index 8f8939464..10337890f 100644 --- a/backends/tofino/bf-p4c/parde/match_register.h +++ b/backends/tofino/bf-p4c/parde/match_register.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_MATCH_REGISTER_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_MATCH_REGISTER_H_ diff --git a/backends/tofino/bf-p4c/parde/merge_parser_state.cpp b/backends/tofino/bf-p4c/parde/merge_parser_state.cpp index 5bc2df89f..d1cd3a85a 100644 --- a/backends/tofino/bf-p4c/parde/merge_parser_state.cpp +++ b/backends/tofino/bf-p4c/parde/merge_parser_state.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/merge_parser_state.h" #include diff --git a/backends/tofino/bf-p4c/parde/merge_parser_state.h b/backends/tofino/bf-p4c/parde/merge_parser_state.h index 3858ec853..c34aa8f3c 100644 --- a/backends/tofino/bf-p4c/parde/merge_parser_state.h +++ b/backends/tofino/bf-p4c/parde/merge_parser_state.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_MERGE_PARSER_STATE_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_MERGE_PARSER_STATE_H_ diff --git a/backends/tofino/bf-p4c/parde/mirror/const_mirror_session_opt.cpp b/backends/tofino/bf-p4c/parde/mirror/const_mirror_session_opt.cpp index 3024b2957..98dc1a559 100644 --- a/backends/tofino/bf-p4c/parde/mirror/const_mirror_session_opt.cpp +++ b/backends/tofino/bf-p4c/parde/mirror/const_mirror_session_opt.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/mirror/const_mirror_session_opt.h" #include "ir/ir.h" diff --git a/backends/tofino/bf-p4c/parde/mirror/const_mirror_session_opt.h b/backends/tofino/bf-p4c/parde/mirror/const_mirror_session_opt.h index cbd0f6105..90531974f 100644 --- a/backends/tofino/bf-p4c/parde/mirror/const_mirror_session_opt.h +++ b/backends/tofino/bf-p4c/parde/mirror/const_mirror_session_opt.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_MIRROR_CONST_MIRROR_SESSION_OPT_H_ #define BF_P4C_PARDE_MIRROR_CONST_MIRROR_SESSION_OPT_H_ diff --git a/backends/tofino/bf-p4c/parde/parde_spec.h b/backends/tofino/bf-p4c/parde/parde_spec.h index 06369aa01..e1db30623 100644 --- a/backends/tofino/bf-p4c/parde/parde_spec.h +++ b/backends/tofino/bf-p4c/parde/parde_spec.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_PARDE_SPEC_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_PARDE_SPEC_H_ diff --git a/backends/tofino/bf-p4c/parde/parde_utils.h b/backends/tofino/bf-p4c/parde/parde_utils.h index 55ee0c107..3ed8a15ee 100644 --- a/backends/tofino/bf-p4c/parde/parde_utils.h +++ b/backends/tofino/bf-p4c/parde/parde_utils.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_PARDE_UTILS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_PARDE_UTILS_H_ diff --git a/backends/tofino/bf-p4c/parde/parde_visitor.h b/backends/tofino/bf-p4c/parde/parde_visitor.h index fdc42170a..0e5db5254 100644 --- a/backends/tofino/bf-p4c/parde/parde_visitor.h +++ b/backends/tofino/bf-p4c/parde/parde_visitor.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_PARDE_VISITOR_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_PARDE_VISITOR_H_ diff --git a/backends/tofino/bf-p4c/parde/parser_dominator_builder.cpp b/backends/tofino/bf-p4c/parde/parser_dominator_builder.cpp index c34f2f6d7..d8e40c0fb 100644 --- a/backends/tofino/bf-p4c/parde/parser_dominator_builder.cpp +++ b/backends/tofino/bf-p4c/parde/parser_dominator_builder.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "parser_dominator_builder.h" Visitor::profile_t ParserDominatorBuilder::init_apply(const IR::Node *root) { diff --git a/backends/tofino/bf-p4c/parde/parser_dominator_builder.h b/backends/tofino/bf-p4c/parde/parser_dominator_builder.h index 8496afd4b..82469103f 100644 --- a/backends/tofino/bf-p4c/parde/parser_dominator_builder.h +++ b/backends/tofino/bf-p4c/parde/parser_dominator_builder.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_PARSER_DOMINATOR_BUILDER_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_PARSER_DOMINATOR_BUILDER_H_ diff --git a/backends/tofino/bf-p4c/parde/parser_header_sequences.cpp b/backends/tofino/bf-p4c/parde/parser_header_sequences.cpp index f51c4a62b..d245dbfc4 100644 --- a/backends/tofino/bf-p4c/parde/parser_header_sequences.cpp +++ b/backends/tofino/bf-p4c/parde/parser_header_sequences.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "parser_header_sequences.h" Visitor::profile_t ParserHeaderSequences::init_apply(const IR::Node *node) { diff --git a/backends/tofino/bf-p4c/parde/parser_header_sequences.h b/backends/tofino/bf-p4c/parde/parser_header_sequences.h index 953f880f9..b8f9723c7 100644 --- a/backends/tofino/bf-p4c/parde/parser_header_sequences.h +++ b/backends/tofino/bf-p4c/parde/parser_header_sequences.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_PARSER_HEADER_SEQUENCES_H_ #define BF_P4C_PARDE_PARSER_HEADER_SEQUENCES_H_ diff --git a/backends/tofino/bf-p4c/parde/parser_info.h b/backends/tofino/bf-p4c/parde/parser_info.h index 7e772f9cd..6c30b8012 100644 --- a/backends/tofino/bf-p4c/parde/parser_info.h +++ b/backends/tofino/bf-p4c/parde/parser_info.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_PARSER_INFO_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_PARSER_INFO_H_ diff --git a/backends/tofino/bf-p4c/parde/parser_loops_info.cpp b/backends/tofino/bf-p4c/parde/parser_loops_info.cpp index bfb4afe22..e311467ad 100644 --- a/backends/tofino/bf-p4c/parde/parser_loops_info.cpp +++ b/backends/tofino/bf-p4c/parde/parser_loops_info.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "parser_loops_info.h" #include diff --git a/backends/tofino/bf-p4c/parde/parser_loops_info.h b/backends/tofino/bf-p4c/parde/parser_loops_info.h index 849edf1f6..bd17ec4cd 100644 --- a/backends/tofino/bf-p4c/parde/parser_loops_info.h +++ b/backends/tofino/bf-p4c/parde/parser_loops_info.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_PARSER_LOOPS_INFO_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_PARSER_LOOPS_INFO_H_ diff --git a/backends/tofino/bf-p4c/parde/parser_output.cpp b/backends/tofino/bf-p4c/parde/parser_output.cpp index e9694448b..9046dce95 100644 --- a/backends/tofino/bf-p4c/parde/parser_output.cpp +++ b/backends/tofino/bf-p4c/parde/parser_output.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/parde/parser_query.cpp b/backends/tofino/bf-p4c/parde/parser_query.cpp index 6da5b76c5..873740496 100644 --- a/backends/tofino/bf-p4c/parde/parser_query.cpp +++ b/backends/tofino/bf-p4c/parde/parser_query.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "parser_query.h" #include "bf-p4c/parde/parser_info.h" diff --git a/backends/tofino/bf-p4c/parde/parser_query.h b/backends/tofino/bf-p4c/parde/parser_query.h index ccc9ee0d6..b8b6bc06a 100644 --- a/backends/tofino/bf-p4c/parde/parser_query.h +++ b/backends/tofino/bf-p4c/parde/parser_query.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_PARSER_QUERY_H_ #define BF_P4C_PARDE_PARSER_QUERY_H_ diff --git a/backends/tofino/bf-p4c/parde/phase0.cpp b/backends/tofino/bf-p4c/parde/phase0.cpp index 2a4d797c3..2507cfdc5 100644 --- a/backends/tofino/bf-p4c/parde/phase0.cpp +++ b/backends/tofino/bf-p4c/parde/phase0.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/phase0.h" #include diff --git a/backends/tofino/bf-p4c/parde/phase0.h b/backends/tofino/bf-p4c/parde/phase0.h index 6af3837be..e521dc413 100644 --- a/backends/tofino/bf-p4c/parde/phase0.h +++ b/backends/tofino/bf-p4c/parde/phase0.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_PHASE0_H_ #define BF_P4C_PARDE_PHASE0_H_ diff --git a/backends/tofino/bf-p4c/parde/reset_invalidated_checksum_headers.h b/backends/tofino/bf-p4c/parde/reset_invalidated_checksum_headers.h index 7be905452..1b2864cf9 100644 --- a/backends/tofino/bf-p4c/parde/reset_invalidated_checksum_headers.h +++ b/backends/tofino/bf-p4c/parde/reset_invalidated_checksum_headers.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_RESET_INVALIDATED_CHECKSUM_HEADERS_H_ #define BF_P4C_PARDE_RESET_INVALIDATED_CHECKSUM_HEADERS_H_ diff --git a/backends/tofino/bf-p4c/parde/resolve_negative_extract.h b/backends/tofino/bf-p4c/parde/resolve_negative_extract.h index 19b93b79f..d9d4fc241 100644 --- a/backends/tofino/bf-p4c/parde/resolve_negative_extract.h +++ b/backends/tofino/bf-p4c/parde/resolve_negative_extract.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_RESOLVE_NEGATIVE_EXTRACT_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_RESOLVE_NEGATIVE_EXTRACT_H_ diff --git a/backends/tofino/bf-p4c/parde/rewrite_parser_locals.cpp b/backends/tofino/bf-p4c/parde/rewrite_parser_locals.cpp index 33d812f32..6b08ad4e5 100644 --- a/backends/tofino/bf-p4c/parde/rewrite_parser_locals.cpp +++ b/backends/tofino/bf-p4c/parde/rewrite_parser_locals.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/rewrite_parser_locals.h" bool GetSelectFieldInfo::preorder(const IR::BFN::Select *select) { diff --git a/backends/tofino/bf-p4c/parde/rewrite_parser_locals.h b/backends/tofino/bf-p4c/parde/rewrite_parser_locals.h index 8f4cc14d4..7be7f75b5 100644 --- a/backends/tofino/bf-p4c/parde/rewrite_parser_locals.h +++ b/backends/tofino/bf-p4c/parde/rewrite_parser_locals.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_REWRITE_PARSER_LOCALS_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_REWRITE_PARSER_LOCALS_H_ #include "bf-p4c/phv/phv_fields.h" diff --git a/backends/tofino/bf-p4c/parde/split_parser_state.cpp b/backends/tofino/bf-p4c/parde/split_parser_state.cpp index 566e940b9..6abc0cfe7 100644 --- a/backends/tofino/bf-p4c/parde/split_parser_state.cpp +++ b/backends/tofino/bf-p4c/parde/split_parser_state.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "split_parser_state.h" #include "bf-p4c/common/utils.h" diff --git a/backends/tofino/bf-p4c/parde/split_parser_state.h b/backends/tofino/bf-p4c/parde/split_parser_state.h index c83a9f9d4..6d1262016 100644 --- a/backends/tofino/bf-p4c/parde/split_parser_state.h +++ b/backends/tofino/bf-p4c/parde/split_parser_state.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PARDE_SPLIT_PARSER_STATE_H_ #define BACKENDS_TOFINO_BF_P4C_PARDE_SPLIT_PARSER_STATE_H_ diff --git a/backends/tofino/bf-p4c/parde/stack_push_shims.h b/backends/tofino/bf-p4c/parde/stack_push_shims.h index d0026f5e6..4ca1be8af 100644 --- a/backends/tofino/bf-p4c/parde/stack_push_shims.h +++ b/backends/tofino/bf-p4c/parde/stack_push_shims.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_STACK_PUSH_SHIMS_H_ #define BF_P4C_PARDE_STACK_PUSH_SHIMS_H_ diff --git a/backends/tofino/bf-p4c/parde/update_parser_write_mode.h b/backends/tofino/bf-p4c/parde/update_parser_write_mode.h index 580e4b660..a3815e551 100644 --- a/backends/tofino/bf-p4c/parde/update_parser_write_mode.h +++ b/backends/tofino/bf-p4c/parde/update_parser_write_mode.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PARDE_UPDATE_PARSER_WRITE_MODE_H_ #define BF_P4C_PARDE_UPDATE_PARSER_WRITE_MODE_H_ diff --git a/backends/tofino/bf-p4c/phv/action_packing_validator_interface.h b/backends/tofino/bf-p4c/phv/action_packing_validator_interface.h index c1cf9c72e..e06fe75d4 100644 --- a/backends/tofino/bf-p4c/phv/action_packing_validator_interface.h +++ b/backends/tofino/bf-p4c/phv/action_packing_validator_interface.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ACTION_PACKING_VALIDATOR_INTERFACE_H_ #define BF_P4C_PHV_ACTION_PACKING_VALIDATOR_INTERFACE_H_ diff --git a/backends/tofino/bf-p4c/phv/action_phv_constraints.cpp b/backends/tofino/bf-p4c/phv/action_phv_constraints.cpp index 0d8d6ea46..0cad41da6 100644 --- a/backends/tofino/bf-p4c/phv/action_phv_constraints.cpp +++ b/backends/tofino/bf-p4c/phv/action_phv_constraints.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/action_phv_constraints.h" #include diff --git a/backends/tofino/bf-p4c/phv/action_phv_constraints.h b/backends/tofino/bf-p4c/phv/action_phv_constraints.h index 7ce1f63b2..4410b71ad 100644 --- a/backends/tofino/bf-p4c/phv/action_phv_constraints.h +++ b/backends/tofino/bf-p4c/phv/action_phv_constraints.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ACTION_PHV_CONSTRAINTS_H_ #define BF_P4C_PHV_ACTION_PHV_CONSTRAINTS_H_ diff --git a/backends/tofino/bf-p4c/phv/action_source_tracker.cpp b/backends/tofino/bf-p4c/phv/action_source_tracker.cpp index 4e6a910fe..476f45735 100644 --- a/backends/tofino/bf-p4c/phv/action_source_tracker.cpp +++ b/backends/tofino/bf-p4c/phv/action_source_tracker.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/action_source_tracker.h" #include "bf-p4c/common/asm_output.h" diff --git a/backends/tofino/bf-p4c/phv/action_source_tracker.h b/backends/tofino/bf-p4c/phv/action_source_tracker.h index 639e11613..5e4f4d032 100644 --- a/backends/tofino/bf-p4c/phv/action_source_tracker.h +++ b/backends/tofino/bf-p4c/phv/action_source_tracker.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ACTION_SOURCE_TRACKER_H_ #define BF_P4C_PHV_ACTION_SOURCE_TRACKER_H_ diff --git a/backends/tofino/bf-p4c/phv/add_alias_allocation.cpp b/backends/tofino/bf-p4c/phv/add_alias_allocation.cpp index 9286e1653..4d7b0471c 100644 --- a/backends/tofino/bf-p4c/phv/add_alias_allocation.cpp +++ b/backends/tofino/bf-p4c/phv/add_alias_allocation.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/add_alias_allocation.h" namespace PHV { diff --git a/backends/tofino/bf-p4c/phv/add_alias_allocation.h b/backends/tofino/bf-p4c/phv/add_alias_allocation.h index 79d10caa4..76138e8ca 100644 --- a/backends/tofino/bf-p4c/phv/add_alias_allocation.h +++ b/backends/tofino/bf-p4c/phv/add_alias_allocation.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ADD_ALIAS_ALLOCATION_H_ #define BF_P4C_PHV_ADD_ALIAS_ALLOCATION_H_ diff --git a/backends/tofino/bf-p4c/phv/add_initialization.cpp b/backends/tofino/bf-p4c/phv/add_initialization.cpp index e493c8dba..2d031b7a2 100644 --- a/backends/tofino/bf-p4c/phv/add_initialization.cpp +++ b/backends/tofino/bf-p4c/phv/add_initialization.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/add_initialization.h" #include "boost/optional/optional_io.hpp" diff --git a/backends/tofino/bf-p4c/phv/add_initialization.h b/backends/tofino/bf-p4c/phv/add_initialization.h index 708cd33e6..414c93ec7 100644 --- a/backends/tofino/bf-p4c/phv/add_initialization.h +++ b/backends/tofino/bf-p4c/phv/add_initialization.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_ADD_INITIALIZATION_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_ADD_INITIALIZATION_H_ diff --git a/backends/tofino/bf-p4c/phv/add_special_constraints.cpp b/backends/tofino/bf-p4c/phv/add_special_constraints.cpp index c9e49bfb5..bcba03096 100644 --- a/backends/tofino/bf-p4c/phv/add_special_constraints.cpp +++ b/backends/tofino/bf-p4c/phv/add_special_constraints.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/add_special_constraints.h" #include "bf-p4c/arch/bridge_metadata.h" diff --git a/backends/tofino/bf-p4c/phv/add_special_constraints.h b/backends/tofino/bf-p4c/phv/add_special_constraints.h index 87006db9d..c261c73d8 100644 --- a/backends/tofino/bf-p4c/phv/add_special_constraints.h +++ b/backends/tofino/bf-p4c/phv/add_special_constraints.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ADD_SPECIAL_CONSTRAINTS_H_ #define BF_P4C_PHV_ADD_SPECIAL_CONSTRAINTS_H_ diff --git a/backends/tofino/bf-p4c/phv/alloc_setting.h b/backends/tofino/bf-p4c/phv/alloc_setting.h index 4cdc20f84..ffaace1e3 100644 --- a/backends/tofino/bf-p4c/phv/alloc_setting.h +++ b/backends/tofino/bf-p4c/phv/alloc_setting.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ALLOC_SETTING_H_ #define BF_P4C_PHV_ALLOC_SETTING_H_ diff --git a/backends/tofino/bf-p4c/phv/allocate_phv.cpp b/backends/tofino/bf-p4c/phv/allocate_phv.cpp index 59bbb5a51..8a6d1dc18 100644 --- a/backends/tofino/bf-p4c/phv/allocate_phv.cpp +++ b/backends/tofino/bf-p4c/phv/allocate_phv.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/allocate_phv.h" #include diff --git a/backends/tofino/bf-p4c/phv/allocate_phv.h b/backends/tofino/bf-p4c/phv/allocate_phv.h index a3cfaf23d..e58f43d08 100644 --- a/backends/tofino/bf-p4c/phv/allocate_phv.h +++ b/backends/tofino/bf-p4c/phv/allocate_phv.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ALLOCATE_PHV_H_ #define BF_P4C_PHV_ALLOCATE_PHV_H_ diff --git a/backends/tofino/bf-p4c/phv/allocate_temps_and_finalize_liverange.cpp b/backends/tofino/bf-p4c/phv/allocate_temps_and_finalize_liverange.cpp index e2dc7f188..4cddcf4c3 100644 --- a/backends/tofino/bf-p4c/phv/allocate_temps_and_finalize_liverange.cpp +++ b/backends/tofino/bf-p4c/phv/allocate_temps_and_finalize_liverange.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/allocate_temps_and_finalize_liverange.h" #include diff --git a/backends/tofino/bf-p4c/phv/allocate_temps_and_finalize_liverange.h b/backends/tofino/bf-p4c/phv/allocate_temps_and_finalize_liverange.h index 91600a5b7..216e60192 100644 --- a/backends/tofino/bf-p4c/phv/allocate_temps_and_finalize_liverange.h +++ b/backends/tofino/bf-p4c/phv/allocate_temps_and_finalize_liverange.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ALLOCATE_TEMPS_AND_FINALIZE_LIVERANGE_H_ #define BF_P4C_PHV_ALLOCATE_TEMPS_AND_FINALIZE_LIVERANGE_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/build_mutex.cpp b/backends/tofino/bf-p4c/phv/analysis/build_mutex.cpp index 9ee68ee96..b85ae7d3e 100644 --- a/backends/tofino/bf-p4c/phv/analysis/build_mutex.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/build_mutex.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/build_mutex.h" Visitor::profile_t BuildMutex::init_apply(const IR::Node *root) { diff --git a/backends/tofino/bf-p4c/phv/analysis/build_mutex.h b/backends/tofino/bf-p4c/phv/analysis/build_mutex.h index 54551d714..fb62e4022 100644 --- a/backends/tofino/bf-p4c/phv/analysis/build_mutex.h +++ b/backends/tofino/bf-p4c/phv/analysis/build_mutex.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_BUILD_MUTEX_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_BUILD_MUTEX_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/critical_path_clusters.cpp b/backends/tofino/bf-p4c/phv/analysis/critical_path_clusters.cpp index 59c664094..4f2194208 100644 --- a/backends/tofino/bf-p4c/phv/analysis/critical_path_clusters.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/critical_path_clusters.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/critical_path_clusters.h" Visitor::profile_t CalcCriticalPathClusters::init_apply(const IR::Node *root) { diff --git a/backends/tofino/bf-p4c/phv/analysis/critical_path_clusters.h b/backends/tofino/bf-p4c/phv/analysis/critical_path_clusters.h index fff950702..f2093d9c2 100644 --- a/backends/tofino/bf-p4c/phv/analysis/critical_path_clusters.h +++ b/backends/tofino/bf-p4c/phv/analysis/critical_path_clusters.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ANALYSIS_CRITICAL_PATH_CLUSTERS_H_ #define BF_P4C_PHV_ANALYSIS_CRITICAL_PATH_CLUSTERS_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/dark.cpp b/backends/tofino/bf-p4c/phv/analysis/dark.cpp index 280c115eb..ca9c3d7c7 100644 --- a/backends/tofino/bf-p4c/phv/analysis/dark.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/dark.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/dark.h" #include diff --git a/backends/tofino/bf-p4c/phv/analysis/dark.h b/backends/tofino/bf-p4c/phv/analysis/dark.h index 2cca745d5..c480bd0df 100644 --- a/backends/tofino/bf-p4c/phv/analysis/dark.h +++ b/backends/tofino/bf-p4c/phv/analysis/dark.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_DARK_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_DARK_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/dark_live_range.cpp b/backends/tofino/bf-p4c/phv/analysis/dark_live_range.cpp index 1a84af4f3..4e58101f3 100644 --- a/backends/tofino/bf-p4c/phv/analysis/dark_live_range.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/dark_live_range.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/dark_live_range.h" #include diff --git a/backends/tofino/bf-p4c/phv/analysis/dark_live_range.h b/backends/tofino/bf-p4c/phv/analysis/dark_live_range.h index 28894ab1e..88282e2e0 100644 --- a/backends/tofino/bf-p4c/phv/analysis/dark_live_range.h +++ b/backends/tofino/bf-p4c/phv/analysis/dark_live_range.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ANALYSIS_DARK_LIVE_RANGE_H_ #define BF_P4C_PHV_ANALYSIS_DARK_LIVE_RANGE_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/deparser_zero.cpp b/backends/tofino/bf-p4c/phv/analysis/deparser_zero.cpp index 5d0fa7540..281eade75 100644 --- a/backends/tofino/bf-p4c/phv/analysis/deparser_zero.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/deparser_zero.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/deparser_zero.h" Visitor::profile_t IdentifyDeparserZeroCandidates::init_apply(const IR::Node *root) { diff --git a/backends/tofino/bf-p4c/phv/analysis/deparser_zero.h b/backends/tofino/bf-p4c/phv/analysis/deparser_zero.h index f87bd9ef7..799d9a59b 100644 --- a/backends/tofino/bf-p4c/phv/analysis/deparser_zero.h +++ b/backends/tofino/bf-p4c/phv/analysis/deparser_zero.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ANALYSIS_DEPARSER_ZERO_H_ #define BF_P4C_PHV_ANALYSIS_DEPARSER_ZERO_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/dominator_tree.cpp b/backends/tofino/bf-p4c/phv/analysis/dominator_tree.cpp index 0d25726a7..450954a5a 100644 --- a/backends/tofino/bf-p4c/phv/analysis/dominator_tree.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/dominator_tree.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/dominator_tree.h" #include diff --git a/backends/tofino/bf-p4c/phv/analysis/dominator_tree.h b/backends/tofino/bf-p4c/phv/analysis/dominator_tree.h index 90cb85e60..61c0b0e77 100644 --- a/backends/tofino/bf-p4c/phv/analysis/dominator_tree.h +++ b/backends/tofino/bf-p4c/phv/analysis/dominator_tree.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_DOMINATOR_TREE_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_DOMINATOR_TREE_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/header_mutex.cpp b/backends/tofino/bf-p4c/phv/analysis/header_mutex.cpp index 078971f04..27be32ac2 100644 --- a/backends/tofino/bf-p4c/phv/analysis/header_mutex.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/header_mutex.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/header_mutex.h" #include diff --git a/backends/tofino/bf-p4c/phv/analysis/header_mutex.h b/backends/tofino/bf-p4c/phv/analysis/header_mutex.h index c753553b6..6bd828448 100644 --- a/backends/tofino/bf-p4c/phv/analysis/header_mutex.h +++ b/backends/tofino/bf-p4c/phv/analysis/header_mutex.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_HEADER_MUTEX_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_HEADER_MUTEX_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/jbay_phv_analysis.cpp b/backends/tofino/bf-p4c/phv/analysis/jbay_phv_analysis.cpp index b6e8af22d..282a40505 100644 --- a/backends/tofino/bf-p4c/phv/analysis/jbay_phv_analysis.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/jbay_phv_analysis.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "jbay_phv_analysis.h" #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/phv/analysis/jbay_phv_analysis.h b/backends/tofino/bf-p4c/phv/analysis/jbay_phv_analysis.h index 20b2c2c97..351af811a 100644 --- a/backends/tofino/bf-p4c/phv/analysis/jbay_phv_analysis.h +++ b/backends/tofino/bf-p4c/phv/analysis/jbay_phv_analysis.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_JBAY_PHV_ANALYSIS_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_JBAY_PHV_ANALYSIS_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/live_range_shrinking.cpp b/backends/tofino/bf-p4c/phv/analysis/live_range_shrinking.cpp index e1bd4813a..700d75612 100644 --- a/backends/tofino/bf-p4c/phv/analysis/live_range_shrinking.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/live_range_shrinking.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/live_range_shrinking.h" #include "bf-p4c/lib/error_type.h" diff --git a/backends/tofino/bf-p4c/phv/analysis/live_range_shrinking.h b/backends/tofino/bf-p4c/phv/analysis/live_range_shrinking.h index 889b95c02..0aa15aef3 100644 --- a/backends/tofino/bf-p4c/phv/analysis/live_range_shrinking.h +++ b/backends/tofino/bf-p4c/phv/analysis/live_range_shrinking.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_LIVE_RANGE_SHRINKING_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_LIVE_RANGE_SHRINKING_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/memoize_min_stage.cpp b/backends/tofino/bf-p4c/phv/analysis/memoize_min_stage.cpp index 3ef7071ca..54f36b8cf 100644 --- a/backends/tofino/bf-p4c/phv/analysis/memoize_min_stage.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/memoize_min_stage.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/memoize_min_stage.h" Visitor::profile_t MemoizeStage::init_apply(const IR::Node *root) { diff --git a/backends/tofino/bf-p4c/phv/analysis/memoize_min_stage.h b/backends/tofino/bf-p4c/phv/analysis/memoize_min_stage.h index b8d96a97b..bf77ef8a4 100644 --- a/backends/tofino/bf-p4c/phv/analysis/memoize_min_stage.h +++ b/backends/tofino/bf-p4c/phv/analysis/memoize_min_stage.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_MEMOIZE_MIN_STAGE_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_MEMOIZE_MIN_STAGE_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/meta_live_range.cpp b/backends/tofino/bf-p4c/phv/analysis/meta_live_range.cpp index 80211943a..b25571780 100644 --- a/backends/tofino/bf-p4c/phv/analysis/meta_live_range.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/meta_live_range.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "phv/analysis/meta_live_range.h" cstring MetadataLiveRange::printAccess(int access) { diff --git a/backends/tofino/bf-p4c/phv/analysis/meta_live_range.h b/backends/tofino/bf-p4c/phv/analysis/meta_live_range.h index 0c6cb733d..b5484e539 100644 --- a/backends/tofino/bf-p4c/phv/analysis/meta_live_range.h +++ b/backends/tofino/bf-p4c/phv/analysis/meta_live_range.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ANALYSIS_META_LIVE_RANGE_H_ #define BF_P4C_PHV_ANALYSIS_META_LIVE_RANGE_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/mocha.cpp b/backends/tofino/bf-p4c/phv/analysis/mocha.cpp index 36fa116c9..913b84bca 100644 --- a/backends/tofino/bf-p4c/phv/analysis/mocha.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/mocha.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/mocha.h" #include "bf-p4c/common/pragma/all_pragmas.h" diff --git a/backends/tofino/bf-p4c/phv/analysis/mocha.h b/backends/tofino/bf-p4c/phv/analysis/mocha.h index 287196f6c..cbe852786 100644 --- a/backends/tofino/bf-p4c/phv/analysis/mocha.h +++ b/backends/tofino/bf-p4c/phv/analysis/mocha.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_MOCHA_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_MOCHA_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/mutex_overlay.cpp b/backends/tofino/bf-p4c/phv/analysis/mutex_overlay.cpp index 1ba7b2ec4..494a3e64f 100644 --- a/backends/tofino/bf-p4c/phv/analysis/mutex_overlay.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/mutex_overlay.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/mutex_overlay.h" #include diff --git a/backends/tofino/bf-p4c/phv/analysis/mutex_overlay.h b/backends/tofino/bf-p4c/phv/analysis/mutex_overlay.h index d593822f2..d7d17a3e2 100644 --- a/backends/tofino/bf-p4c/phv/analysis/mutex_overlay.h +++ b/backends/tofino/bf-p4c/phv/analysis/mutex_overlay.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_MUTEX_OVERLAY_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_MUTEX_OVERLAY_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/non_mocha_dark_fields.cpp b/backends/tofino/bf-p4c/phv/analysis/non_mocha_dark_fields.cpp index 3bc105098..bb046d3b2 100644 --- a/backends/tofino/bf-p4c/phv/analysis/non_mocha_dark_fields.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/non_mocha_dark_fields.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/non_mocha_dark_fields.h" #include "bf-p4c/logging/event_logger.h" diff --git a/backends/tofino/bf-p4c/phv/analysis/non_mocha_dark_fields.h b/backends/tofino/bf-p4c/phv/analysis/non_mocha_dark_fields.h index 15e541b9c..fff97801f 100644 --- a/backends/tofino/bf-p4c/phv/analysis/non_mocha_dark_fields.h +++ b/backends/tofino/bf-p4c/phv/analysis/non_mocha_dark_fields.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef P4C_BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_NON_MOCHA_DARK_FIELDS_H_ #define P4C_BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_NON_MOCHA_DARK_FIELDS_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/pack_conflicts.cpp b/backends/tofino/bf-p4c/phv/analysis/pack_conflicts.cpp index 3a6cc04cc..2399d6811 100644 --- a/backends/tofino/bf-p4c/phv/analysis/pack_conflicts.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/pack_conflicts.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "pack_conflicts.h" #include "lib/log.h" diff --git a/backends/tofino/bf-p4c/phv/analysis/pack_conflicts.h b/backends/tofino/bf-p4c/phv/analysis/pack_conflicts.h index 2efb074a5..45309da4c 100644 --- a/backends/tofino/bf-p4c/phv/analysis/pack_conflicts.h +++ b/backends/tofino/bf-p4c/phv/analysis/pack_conflicts.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_PACK_CONFLICTS_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_ANALYSIS_PACK_CONFLICTS_H_ diff --git a/backends/tofino/bf-p4c/phv/analysis/parser_critical_path.cpp b/backends/tofino/bf-p4c/phv/analysis/parser_critical_path.cpp index 66e262c81..7d6b1d403 100644 --- a/backends/tofino/bf-p4c/phv/analysis/parser_critical_path.cpp +++ b/backends/tofino/bf-p4c/phv/analysis/parser_critical_path.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "parser_critical_path.h" #include "ir/ir.h" diff --git a/backends/tofino/bf-p4c/phv/analysis/parser_critical_path.h b/backends/tofino/bf-p4c/phv/analysis/parser_critical_path.h index e7179376b..02eabfc05 100644 --- a/backends/tofino/bf-p4c/phv/analysis/parser_critical_path.h +++ b/backends/tofino/bf-p4c/phv/analysis/parser_critical_path.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ANALYSIS_PARSER_CRITICAL_PATH_H_ #define BF_P4C_PHV_ANALYSIS_PARSER_CRITICAL_PATH_H_ diff --git a/backends/tofino/bf-p4c/phv/asm_output.cpp b/backends/tofino/bf-p4c/phv/asm_output.cpp index cdea19b6e..6b4441567 100644 --- a/backends/tofino/bf-p4c/phv/asm_output.cpp +++ b/backends/tofino/bf-p4c/phv/asm_output.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "asm_output.h" #include diff --git a/backends/tofino/bf-p4c/phv/asm_output.h b/backends/tofino/bf-p4c/phv/asm_output.h index 836bd03d1..6e0e6da69 100644 --- a/backends/tofino/bf-p4c/phv/asm_output.h +++ b/backends/tofino/bf-p4c/phv/asm_output.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ASM_OUTPUT_H_ #define BF_P4C_PHV_ASM_OUTPUT_H_ diff --git a/backends/tofino/bf-p4c/phv/auto_init_metadata.cpp b/backends/tofino/bf-p4c/phv/auto_init_metadata.cpp index dadcce9d8..a79b292a0 100644 --- a/backends/tofino/bf-p4c/phv/auto_init_metadata.cpp +++ b/backends/tofino/bf-p4c/phv/auto_init_metadata.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "auto_init_metadata.h" #include "bf-p4c/common/pragma/all_pragmas.h" diff --git a/backends/tofino/bf-p4c/phv/auto_init_metadata.h b/backends/tofino/bf-p4c/phv/auto_init_metadata.h index 4bb03eef0..ec4759a36 100644 --- a/backends/tofino/bf-p4c/phv/auto_init_metadata.h +++ b/backends/tofino/bf-p4c/phv/auto_init_metadata.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_AUTO_INIT_METADATA_H_ #define BF_P4C_PHV_AUTO_INIT_METADATA_H_ diff --git a/backends/tofino/bf-p4c/phv/check_unallocated.cpp b/backends/tofino/bf-p4c/phv/check_unallocated.cpp index bb2272a4f..61df9d3f5 100644 --- a/backends/tofino/bf-p4c/phv/check_unallocated.cpp +++ b/backends/tofino/bf-p4c/phv/check_unallocated.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/check_unallocated.h" #include diff --git a/backends/tofino/bf-p4c/phv/check_unallocated.h b/backends/tofino/bf-p4c/phv/check_unallocated.h index be01cc25b..b9136bfdf 100644 --- a/backends/tofino/bf-p4c/phv/check_unallocated.h +++ b/backends/tofino/bf-p4c/phv/check_unallocated.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_CHECK_UNALLOCATED_H_ #define BF_P4C_PHV_CHECK_UNALLOCATED_H_ diff --git a/backends/tofino/bf-p4c/phv/cluster_phv_operations.cpp b/backends/tofino/bf-p4c/phv/cluster_phv_operations.cpp index d91dd9cef..408a433a6 100644 --- a/backends/tofino/bf-p4c/phv/cluster_phv_operations.cpp +++ b/backends/tofino/bf-p4c/phv/cluster_phv_operations.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/cluster_phv_operations.h" #include "bf-p4c/ir/bitrange.h" diff --git a/backends/tofino/bf-p4c/phv/cluster_phv_operations.h b/backends/tofino/bf-p4c/phv/cluster_phv_operations.h index 0555ee4a8..1b31015ba 100644 --- a/backends/tofino/bf-p4c/phv/cluster_phv_operations.h +++ b/backends/tofino/bf-p4c/phv/cluster_phv_operations.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_CLUSTER_PHV_OPERATIONS_H_ #define BF_P4C_PHV_CLUSTER_PHV_OPERATIONS_H_ diff --git a/backends/tofino/bf-p4c/phv/collect_strided_headers.h b/backends/tofino/bf-p4c/phv/collect_strided_headers.h index 9efb607be..73c0f80ba 100644 --- a/backends/tofino/bf-p4c/phv/collect_strided_headers.h +++ b/backends/tofino/bf-p4c/phv/collect_strided_headers.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_COLLECT_STRIDED_HEADERS_H_ #define BF_P4C_PHV_COLLECT_STRIDED_HEADERS_H_ diff --git a/backends/tofino/bf-p4c/phv/collect_table_keys.cpp b/backends/tofino/bf-p4c/phv/collect_table_keys.cpp index 7c2435282..08e32f031 100644 --- a/backends/tofino/bf-p4c/phv/collect_table_keys.cpp +++ b/backends/tofino/bf-p4c/phv/collect_table_keys.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/collect_table_keys.h" namespace PHV { diff --git a/backends/tofino/bf-p4c/phv/collect_table_keys.h b/backends/tofino/bf-p4c/phv/collect_table_keys.h index af62d1288..ec90632cc 100644 --- a/backends/tofino/bf-p4c/phv/collect_table_keys.h +++ b/backends/tofino/bf-p4c/phv/collect_table_keys.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_COLLECT_TABLE_KEYS_H_ #define BF_P4C_PHV_COLLECT_TABLE_KEYS_H_ diff --git a/backends/tofino/bf-p4c/phv/constraints/constraints.cpp b/backends/tofino/bf-p4c/phv/constraints/constraints.cpp index f1db1931b..5c7d12689 100644 --- a/backends/tofino/bf-p4c/phv/constraints/constraints.cpp +++ b/backends/tofino/bf-p4c/phv/constraints/constraints.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "constraints.h" namespace Constraints { diff --git a/backends/tofino/bf-p4c/phv/constraints/constraints.h b/backends/tofino/bf-p4c/phv/constraints/constraints.h index 0dba16b75..a8dbd9737 100644 --- a/backends/tofino/bf-p4c/phv/constraints/constraints.h +++ b/backends/tofino/bf-p4c/phv/constraints/constraints.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_CONSTRAINTS_CONSTRAINTS_H_ #define BF_P4C_PHV_CONSTRAINTS_CONSTRAINTS_H_ diff --git a/backends/tofino/bf-p4c/phv/create_thread_local_instances.cpp b/backends/tofino/bf-p4c/phv/create_thread_local_instances.cpp index 09b5da292..822704927 100644 --- a/backends/tofino/bf-p4c/phv/create_thread_local_instances.cpp +++ b/backends/tofino/bf-p4c/phv/create_thread_local_instances.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/create_thread_local_instances.h" #include "bf-p4c/ir/gress.h" diff --git a/backends/tofino/bf-p4c/phv/create_thread_local_instances.h b/backends/tofino/bf-p4c/phv/create_thread_local_instances.h index 9525a1729..f22bfba30 100644 --- a/backends/tofino/bf-p4c/phv/create_thread_local_instances.h +++ b/backends/tofino/bf-p4c/phv/create_thread_local_instances.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_CREATE_THREAD_LOCAL_INSTANCES_H_ #define BF_P4C_PHV_CREATE_THREAD_LOCAL_INSTANCES_H_ diff --git a/backends/tofino/bf-p4c/phv/dump_table_flow_graph.h b/backends/tofino/bf-p4c/phv/dump_table_flow_graph.h index 717f0e63a..5934d3a00 100644 --- a/backends/tofino/bf-p4c/phv/dump_table_flow_graph.h +++ b/backends/tofino/bf-p4c/phv/dump_table_flow_graph.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_DUMP_TABLE_FLOW_GRAPH_H_ #define BF_P4C_PHV_DUMP_TABLE_FLOW_GRAPH_H_ diff --git a/backends/tofino/bf-p4c/phv/error.h b/backends/tofino/bf-p4c/phv/error.h index 8da6cf86e..0b30c9402 100644 --- a/backends/tofino/bf-p4c/phv/error.h +++ b/backends/tofino/bf-p4c/phv/error.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_ERROR_H_ #define BF_P4C_PHV_ERROR_H_ diff --git a/backends/tofino/bf-p4c/phv/fieldslice_live_range.cpp b/backends/tofino/bf-p4c/phv/fieldslice_live_range.cpp index ec0ed7a7d..705979ec9 100644 --- a/backends/tofino/bf-p4c/phv/fieldslice_live_range.cpp +++ b/backends/tofino/bf-p4c/phv/fieldslice_live_range.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "fieldslice_live_range.h" #include diff --git a/backends/tofino/bf-p4c/phv/fieldslice_live_range.h b/backends/tofino/bf-p4c/phv/fieldslice_live_range.h index ffaefaf4a..238dd0b2d 100644 --- a/backends/tofino/bf-p4c/phv/fieldslice_live_range.h +++ b/backends/tofino/bf-p4c/phv/fieldslice_live_range.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_FIELDSLICE_LIVE_RANGE_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_FIELDSLICE_LIVE_RANGE_H_ diff --git a/backends/tofino/bf-p4c/phv/finalize_physical_liverange.cpp b/backends/tofino/bf-p4c/phv/finalize_physical_liverange.cpp index d7fb96594..bb1742b83 100644 --- a/backends/tofino/bf-p4c/phv/finalize_physical_liverange.cpp +++ b/backends/tofino/bf-p4c/phv/finalize_physical_liverange.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/finalize_physical_liverange.h" #include diff --git a/backends/tofino/bf-p4c/phv/finalize_physical_liverange.h b/backends/tofino/bf-p4c/phv/finalize_physical_liverange.h index 3c949a432..3ed504087 100644 --- a/backends/tofino/bf-p4c/phv/finalize_physical_liverange.h +++ b/backends/tofino/bf-p4c/phv/finalize_physical_liverange.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_FINALIZE_PHYSICAL_LIVERANGE_H_ #define BF_P4C_PHV_FINALIZE_PHYSICAL_LIVERANGE_H_ diff --git a/backends/tofino/bf-p4c/phv/finalize_stage_allocation.cpp b/backends/tofino/bf-p4c/phv/finalize_stage_allocation.cpp index 7f0e7af74..b5ddd837e 100644 --- a/backends/tofino/bf-p4c/phv/finalize_stage_allocation.cpp +++ b/backends/tofino/bf-p4c/phv/finalize_stage_allocation.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/finalize_stage_allocation.h" bool CalcMaxPhysicalStages::preorder(const IR::MAU::Table *tbl) { diff --git a/backends/tofino/bf-p4c/phv/finalize_stage_allocation.h b/backends/tofino/bf-p4c/phv/finalize_stage_allocation.h index 4e82b0e21..5dd3454c4 100644 --- a/backends/tofino/bf-p4c/phv/finalize_stage_allocation.h +++ b/backends/tofino/bf-p4c/phv/finalize_stage_allocation.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_FINALIZE_STAGE_ALLOCATION_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_FINALIZE_STAGE_ALLOCATION_H_ diff --git a/backends/tofino/bf-p4c/phv/init_in_mau.h b/backends/tofino/bf-p4c/phv/init_in_mau.h index 0ca1ba179..1bcce465c 100644 --- a/backends/tofino/bf-p4c/phv/init_in_mau.h +++ b/backends/tofino/bf-p4c/phv/init_in_mau.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_INIT_IN_MAU_H_ #define BF_P4C_PHV_INIT_IN_MAU_H_ diff --git a/backends/tofino/bf-p4c/phv/legacy_action_packing_validator.cpp b/backends/tofino/bf-p4c/phv/legacy_action_packing_validator.cpp index 7d8e54704..cef82f5ed 100644 --- a/backends/tofino/bf-p4c/phv/legacy_action_packing_validator.cpp +++ b/backends/tofino/bf-p4c/phv/legacy_action_packing_validator.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/legacy_action_packing_validator.h" #include diff --git a/backends/tofino/bf-p4c/phv/legacy_action_packing_validator.h b/backends/tofino/bf-p4c/phv/legacy_action_packing_validator.h index 4c652e843..31dc71029 100644 --- a/backends/tofino/bf-p4c/phv/legacy_action_packing_validator.h +++ b/backends/tofino/bf-p4c/phv/legacy_action_packing_validator.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_LEGACY_ACTION_PACKING_VALIDATOR_H_ #define BF_P4C_PHV_LEGACY_ACTION_PACKING_VALIDATOR_H_ diff --git a/backends/tofino/bf-p4c/phv/live_range_split.cpp b/backends/tofino/bf-p4c/phv/live_range_split.cpp index be8dcedc3..e7fb08f25 100644 --- a/backends/tofino/bf-p4c/phv/live_range_split.cpp +++ b/backends/tofino/bf-p4c/phv/live_range_split.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "live_range_split.h" #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/phv/live_range_split.h b/backends/tofino/bf-p4c/phv/live_range_split.h index 3be4ebba3..d033c6059 100644 --- a/backends/tofino/bf-p4c/phv/live_range_split.h +++ b/backends/tofino/bf-p4c/phv/live_range_split.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_LIVE_RANGE_SPLIT_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_LIVE_RANGE_SPLIT_H_ diff --git a/backends/tofino/bf-p4c/phv/make_clusters.cpp b/backends/tofino/bf-p4c/phv/make_clusters.cpp index 19ccd9fc5..da7555fda 100644 --- a/backends/tofino/bf-p4c/phv/make_clusters.cpp +++ b/backends/tofino/bf-p4c/phv/make_clusters.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/make_clusters.h" #include diff --git a/backends/tofino/bf-p4c/phv/make_clusters.h b/backends/tofino/bf-p4c/phv/make_clusters.h index d6cb596a5..351d33548 100644 --- a/backends/tofino/bf-p4c/phv/make_clusters.h +++ b/backends/tofino/bf-p4c/phv/make_clusters.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_MAKE_CLUSTERS_H_ #define BF_P4C_PHV_MAKE_CLUSTERS_H_ diff --git a/backends/tofino/bf-p4c/phv/mau_backtracker.cpp b/backends/tofino/bf-p4c/phv/mau_backtracker.cpp index 88ef4a5c2..7023a7ddc 100644 --- a/backends/tofino/bf-p4c/phv/mau_backtracker.cpp +++ b/backends/tofino/bf-p4c/phv/mau_backtracker.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/mau_backtracker.h" #include "bf-p4c/phv/allocate_phv.h" diff --git a/backends/tofino/bf-p4c/phv/mau_backtracker.h b/backends/tofino/bf-p4c/phv/mau_backtracker.h index 3f2def950..b4d30c4c0 100644 --- a/backends/tofino/bf-p4c/phv/mau_backtracker.h +++ b/backends/tofino/bf-p4c/phv/mau_backtracker.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_MAU_BACKTRACKER_H_ #define BF_P4C_PHV_MAU_BACKTRACKER_H_ diff --git a/backends/tofino/bf-p4c/phv/optimize_phv.cpp b/backends/tofino/bf-p4c/phv/optimize_phv.cpp index 4e335f242..0ff10e682 100644 --- a/backends/tofino/bf-p4c/phv/optimize_phv.cpp +++ b/backends/tofino/bf-p4c/phv/optimize_phv.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/optimize_phv.h" /** diff --git a/backends/tofino/bf-p4c/phv/optimize_phv.h b/backends/tofino/bf-p4c/phv/optimize_phv.h index 35a238235..51bce8317 100644 --- a/backends/tofino/bf-p4c/phv/optimize_phv.h +++ b/backends/tofino/bf-p4c/phv/optimize_phv.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_OPTIMIZE_PHV_H_ #define BF_P4C_PHV_OPTIMIZE_PHV_H_ diff --git a/backends/tofino/bf-p4c/phv/parde_phv_constraints.cpp b/backends/tofino/bf-p4c/phv/parde_phv_constraints.cpp index de4a6474d..e935fa8b3 100644 --- a/backends/tofino/bf-p4c/phv/parde_phv_constraints.cpp +++ b/backends/tofino/bf-p4c/phv/parde_phv_constraints.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/parde_phv_constraints.h" Visitor::profile_t PardePhvConstraints::init_apply(const IR::Node *root) { diff --git a/backends/tofino/bf-p4c/phv/parde_phv_constraints.h b/backends/tofino/bf-p4c/phv/parde_phv_constraints.h index 7059c426a..e1996af42 100644 --- a/backends/tofino/bf-p4c/phv/parde_phv_constraints.h +++ b/backends/tofino/bf-p4c/phv/parde_phv_constraints.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_PARDE_PHV_CONSTRAINTS_H_ #define BF_P4C_PHV_PARDE_PHV_CONSTRAINTS_H_ diff --git a/backends/tofino/bf-p4c/phv/parser_extract_balance_score.h b/backends/tofino/bf-p4c/phv/parser_extract_balance_score.h index 85053e1c6..c39e5ab20 100644 --- a/backends/tofino/bf-p4c/phv/parser_extract_balance_score.h +++ b/backends/tofino/bf-p4c/phv/parser_extract_balance_score.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_PARSER_EXTRACT_BALANCE_SCORE_H_ #define BF_P4C_PHV_PARSER_EXTRACT_BALANCE_SCORE_H_ diff --git a/backends/tofino/bf-p4c/phv/parser_packing_validator_interface.h b/backends/tofino/bf-p4c/phv/parser_packing_validator_interface.h index 5d767fe9e..21aabd16e 100644 --- a/backends/tofino/bf-p4c/phv/parser_packing_validator_interface.h +++ b/backends/tofino/bf-p4c/phv/parser_packing_validator_interface.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_PARSER_PACKING_VALIDATOR_INTERFACE_H_ #define BF_P4C_PHV_PARSER_PACKING_VALIDATOR_INTERFACE_H_ diff --git a/backends/tofino/bf-p4c/phv/phv.cpp b/backends/tofino/bf-p4c/phv/phv.cpp index e78689625..0915a0dc4 100644 --- a/backends/tofino/bf-p4c/phv/phv.cpp +++ b/backends/tofino/bf-p4c/phv/phv.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/phv.h" #include diff --git a/backends/tofino/bf-p4c/phv/phv.h b/backends/tofino/bf-p4c/phv/phv.h index 0ff701063..f8c6ef063 100644 --- a/backends/tofino/bf-p4c/phv/phv.h +++ b/backends/tofino/bf-p4c/phv/phv.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_PHV_H_ #define BF_P4C_PHV_PHV_H_ diff --git a/backends/tofino/bf-p4c/phv/phv_analysis.cpp b/backends/tofino/bf-p4c/phv/phv_analysis.cpp index 36bc6810b..e0e8931b0 100644 --- a/backends/tofino/bf-p4c/phv/phv_analysis.cpp +++ b/backends/tofino/bf-p4c/phv/phv_analysis.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "phv_analysis.h" #include diff --git a/backends/tofino/bf-p4c/phv/phv_analysis.h b/backends/tofino/bf-p4c/phv/phv_analysis.h index 1b350e7ce..ea13e1f69 100644 --- a/backends/tofino/bf-p4c/phv/phv_analysis.h +++ b/backends/tofino/bf-p4c/phv/phv_analysis.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /** * \defgroup phv_allocatioin PHV allocation * \brief Content related to %PHV allocation diff --git a/backends/tofino/bf-p4c/phv/phv_fields.cpp b/backends/tofino/bf-p4c/phv/phv_fields.cpp index 6a1623fcd..c50536b76 100644 --- a/backends/tofino/bf-p4c/phv/phv_fields.cpp +++ b/backends/tofino/bf-p4c/phv/phv_fields.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/phv_fields.h" #include diff --git a/backends/tofino/bf-p4c/phv/phv_fields.h b/backends/tofino/bf-p4c/phv/phv_fields.h index 0f5102239..9d38f3aa6 100644 --- a/backends/tofino/bf-p4c/phv/phv_fields.h +++ b/backends/tofino/bf-p4c/phv/phv_fields.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_PHV_FIELDS_H_ #define BF_P4C_PHV_PHV_FIELDS_H_ diff --git a/backends/tofino/bf-p4c/phv/phv_parde_mau_use.cpp b/backends/tofino/bf-p4c/phv/phv_parde_mau_use.cpp index deaf3778b..13a280e21 100644 --- a/backends/tofino/bf-p4c/phv/phv_parde_mau_use.cpp +++ b/backends/tofino/bf-p4c/phv/phv_parde_mau_use.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/phv_parde_mau_use.h" #include "bf-p4c/phv/phv_fields.h" diff --git a/backends/tofino/bf-p4c/phv/phv_parde_mau_use.h b/backends/tofino/bf-p4c/phv/phv_parde_mau_use.h index 4cb8e5105..28ad393fb 100644 --- a/backends/tofino/bf-p4c/phv/phv_parde_mau_use.h +++ b/backends/tofino/bf-p4c/phv/phv_parde_mau_use.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_PHV_PARDE_MAU_USE_H_ #define BF_P4C_PHV_PHV_PARDE_MAU_USE_H_ diff --git a/backends/tofino/bf-p4c/phv/phv_spec.cpp b/backends/tofino/bf-p4c/phv/phv_spec.cpp index 17cd16dbb..81a027fb1 100644 --- a/backends/tofino/bf-p4c/phv/phv_spec.cpp +++ b/backends/tofino/bf-p4c/phv/phv_spec.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/phv_spec.h" #include diff --git a/backends/tofino/bf-p4c/phv/phv_spec.h b/backends/tofino/bf-p4c/phv/phv_spec.h index 0ea4ab9ec..98b56d37e 100644 --- a/backends/tofino/bf-p4c/phv/phv_spec.h +++ b/backends/tofino/bf-p4c/phv/phv_spec.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PHV_SPEC_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PHV_SPEC_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_alias.cpp b/backends/tofino/bf-p4c/phv/pragma/pa_alias.cpp index 48749ddd6..855efec5c 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_alias.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/pa_alias.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_alias.h" #include diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_alias.h b/backends/tofino/bf-p4c/phv/pragma/pa_alias.h index b3c6a1f08..4834d9028 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_alias.h +++ b/backends/tofino/bf-p4c/phv/pragma/pa_alias.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_ALIAS_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_ALIAS_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_atomic.cpp b/backends/tofino/bf-p4c/phv/pragma/pa_atomic.cpp index 506b97d37..295075661 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_atomic.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/pa_atomic.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_atomic.h" #include diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_atomic.h b/backends/tofino/bf-p4c/phv/pragma/pa_atomic.h index 7211138f9..59571a1b0 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_atomic.h +++ b/backends/tofino/bf-p4c/phv/pragma/pa_atomic.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_ATOMIC_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_ATOMIC_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_byte_pack.cpp b/backends/tofino/bf-p4c/phv/pragma/pa_byte_pack.cpp index fa721ef01..9d05d58f2 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_byte_pack.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/pa_byte_pack.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_byte_pack.h" #include diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_byte_pack.h b/backends/tofino/bf-p4c/phv/pragma/pa_byte_pack.h index 745e7de7a..54ff37aa1 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_byte_pack.h +++ b/backends/tofino/bf-p4c/phv/pragma/pa_byte_pack.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_BYTE_PACK_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_BYTE_PACK_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_container_size.cpp b/backends/tofino/bf-p4c/phv/pragma/pa_container_size.cpp index e6f2a93d8..4cb3b5168 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_container_size.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/pa_container_size.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_container_size.h" #include diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_container_size.h b/backends/tofino/bf-p4c/phv/pragma/pa_container_size.h index 1a68e7af7..9dcf29adb 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_container_size.h +++ b/backends/tofino/bf-p4c/phv/pragma/pa_container_size.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_CONTAINER_SIZE_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_CONTAINER_SIZE_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_container_type.cpp b/backends/tofino/bf-p4c/phv/pragma/pa_container_type.cpp index deec1ce58..da113cc5f 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_container_type.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/pa_container_type.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_container_type.h" #include diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_container_type.h b/backends/tofino/bf-p4c/phv/pragma/pa_container_type.h index a00f5e377..f33a54521 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_container_type.h +++ b/backends/tofino/bf-p4c/phv/pragma/pa_container_type.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_CONTAINER_TYPE_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_CONTAINER_TYPE_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_deparser_zero.cpp b/backends/tofino/bf-p4c/phv/pragma/pa_deparser_zero.cpp index 6578dcf4c..d95d00d9b 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_deparser_zero.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/pa_deparser_zero.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_deparser_zero.h" #include "bf-p4c/phv/pragma/phv_pragmas.h" diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_deparser_zero.h b/backends/tofino/bf-p4c/phv/pragma/pa_deparser_zero.h index 62f98a8f2..98b458509 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_deparser_zero.h +++ b/backends/tofino/bf-p4c/phv/pragma/pa_deparser_zero.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_DEPARSER_ZERO_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_DEPARSER_ZERO_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_mutually_exclusive.cpp b/backends/tofino/bf-p4c/phv/pragma/pa_mutually_exclusive.cpp index 61d664a8a..585b9fcdc 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_mutually_exclusive.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/pa_mutually_exclusive.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_mutually_exclusive.h" #include diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_mutually_exclusive.h b/backends/tofino/bf-p4c/phv/pragma/pa_mutually_exclusive.h index bdb3e13de..52736eb49 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_mutually_exclusive.h +++ b/backends/tofino/bf-p4c/phv/pragma/pa_mutually_exclusive.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_MUTUALLY_EXCLUSIVE_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_MUTUALLY_EXCLUSIVE_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_no_init.cpp b/backends/tofino/bf-p4c/phv/pragma/pa_no_init.cpp index c8ffd3a1f..fd7a61c3a 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_no_init.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/pa_no_init.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_no_init.h" #include diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_no_init.h b/backends/tofino/bf-p4c/phv/pragma/pa_no_init.h index 18b84b978..bccc43b89 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_no_init.h +++ b/backends/tofino/bf-p4c/phv/pragma/pa_no_init.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_NO_INIT_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_NO_INIT_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_no_overlay.cpp b/backends/tofino/bf-p4c/phv/pragma/pa_no_overlay.cpp index dc87c895d..97ca7ffa4 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_no_overlay.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/pa_no_overlay.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_no_overlay.h" #include diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_no_overlay.h b/backends/tofino/bf-p4c/phv/pragma/pa_no_overlay.h index fdd71bb10..3eefacbb2 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_no_overlay.h +++ b/backends/tofino/bf-p4c/phv/pragma/pa_no_overlay.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_NO_OVERLAY_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_NO_OVERLAY_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_no_pack.cpp b/backends/tofino/bf-p4c/phv/pragma/pa_no_pack.cpp index 8bb62407c..7133d9845 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_no_pack.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/pa_no_pack.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_no_pack.h" #include "bf-p4c/phv/pragma/phv_pragmas.h" diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_no_pack.h b/backends/tofino/bf-p4c/phv/pragma/pa_no_pack.h index d952dcbc0..4a4c05570 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_no_pack.h +++ b/backends/tofino/bf-p4c/phv/pragma/pa_no_pack.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_NO_PACK_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_NO_PACK_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_solitary.cpp b/backends/tofino/bf-p4c/phv/pragma/pa_solitary.cpp index 32905c94a..cee1a5a09 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_solitary.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/pa_solitary.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_solitary.h" #include diff --git a/backends/tofino/bf-p4c/phv/pragma/pa_solitary.h b/backends/tofino/bf-p4c/phv/pragma/pa_solitary.h index 4650e46c5..af1dc458d 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pa_solitary.h +++ b/backends/tofino/bf-p4c/phv/pragma/pa_solitary.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_SOLITARY_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_SOLITARY_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/phv_pragmas.cpp b/backends/tofino/bf-p4c/phv/pragma/phv_pragmas.cpp index 1e89dac42..feeed438f 100644 --- a/backends/tofino/bf-p4c/phv/pragma/phv_pragmas.cpp +++ b/backends/tofino/bf-p4c/phv/pragma/phv_pragmas.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/phv_pragmas.h" /// @returns true if for the associated \@pragmaName, the @p gress is either ingress or egress. diff --git a/backends/tofino/bf-p4c/phv/pragma/phv_pragmas.h b/backends/tofino/bf-p4c/phv/pragma/phv_pragmas.h index 21f7e9421..cf16dbfff 100644 --- a/backends/tofino/bf-p4c/phv/pragma/phv_pragmas.h +++ b/backends/tofino/bf-p4c/phv/pragma/phv_pragmas.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PHV_PRAGMAS_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PHV_PRAGMAS_H_ diff --git a/backends/tofino/bf-p4c/phv/pragma/pretty_print.h b/backends/tofino/bf-p4c/phv/pragma/pretty_print.h index 5332e0935..4880993be 100644 --- a/backends/tofino/bf-p4c/phv/pragma/pretty_print.h +++ b/backends/tofino/bf-p4c/phv/pragma/pretty_print.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_PRAGMA_PRETTY_PRINT_H_ #define BF_P4C_PHV_PRAGMA_PRETTY_PRINT_H_ diff --git a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_dfs_iterator.cpp b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_dfs_iterator.cpp index d2545f69d..7f32d6c61 100644 --- a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_dfs_iterator.cpp +++ b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_dfs_iterator.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/slicing/phv_slicing_dfs_iterator.h" #include diff --git a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_dfs_iterator.h b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_dfs_iterator.h index ceafec835..f3144387c 100644 --- a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_dfs_iterator.h +++ b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_dfs_iterator.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_SLICING_PHV_SLICING_DFS_ITERATOR_H_ #define BF_P4C_PHV_SLICING_PHV_SLICING_DFS_ITERATOR_H_ diff --git a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_iterator.cpp b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_iterator.cpp index bfd15a8f3..36f6ecb24 100644 --- a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_iterator.cpp +++ b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_iterator.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/slicing/phv_slicing_iterator.h" #include "bf-p4c/phv/action_packing_validator_interface.h" diff --git a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_iterator.h b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_iterator.h index b5969502f..b147f0898 100644 --- a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_iterator.h +++ b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_iterator.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_SLICING_PHV_SLICING_ITERATOR_H_ #define BF_P4C_PHV_SLICING_PHV_SLICING_ITERATOR_H_ diff --git a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_split.cpp b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_split.cpp index 9201af41e..ce4029ee0 100644 --- a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_split.cpp +++ b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_split.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/slicing/phv_slicing_split.h" #include diff --git a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_split.h b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_split.h index 8da6d07c2..d119aafbc 100644 --- a/backends/tofino/bf-p4c/phv/slicing/phv_slicing_split.h +++ b/backends/tofino/bf-p4c/phv/slicing/phv_slicing_split.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_SLICING_PHV_SLICING_SPLIT_H_ #define BF_P4C_PHV_SLICING_PHV_SLICING_SPLIT_H_ diff --git a/backends/tofino/bf-p4c/phv/slicing/types.h b/backends/tofino/bf-p4c/phv/slicing/types.h index 468cc5eef..7e7f3ae05 100644 --- a/backends/tofino/bf-p4c/phv/slicing/types.h +++ b/backends/tofino/bf-p4c/phv/slicing/types.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_SLICING_TYPES_H_ #define BF_P4C_PHV_SLICING_TYPES_H_ diff --git a/backends/tofino/bf-p4c/phv/solver/action_constraint_solver.cpp b/backends/tofino/bf-p4c/phv/solver/action_constraint_solver.cpp index d5327fe4e..45f2b250b 100644 --- a/backends/tofino/bf-p4c/phv/solver/action_constraint_solver.cpp +++ b/backends/tofino/bf-p4c/phv/solver/action_constraint_solver.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "phv/solver/action_constraint_solver.h" #include diff --git a/backends/tofino/bf-p4c/phv/solver/action_constraint_solver.h b/backends/tofino/bf-p4c/phv/solver/action_constraint_solver.h index 1198e52f8..bdfd57be4 100644 --- a/backends/tofino/bf-p4c/phv/solver/action_constraint_solver.h +++ b/backends/tofino/bf-p4c/phv/solver/action_constraint_solver.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_SOLVER_ACTION_CONSTRAINT_SOLVER_H_ #define BF_P4C_PHV_SOLVER_ACTION_CONSTRAINT_SOLVER_H_ diff --git a/backends/tofino/bf-p4c/phv/solver/symbolic_bitvec.cpp b/backends/tofino/bf-p4c/phv/solver/symbolic_bitvec.cpp index aea903d18..46aa9ddd7 100644 --- a/backends/tofino/bf-p4c/phv/solver/symbolic_bitvec.cpp +++ b/backends/tofino/bf-p4c/phv/solver/symbolic_bitvec.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "phv/solver/symbolic_bitvec.h" #include "lib/exceptions.h" diff --git a/backends/tofino/bf-p4c/phv/solver/symbolic_bitvec.h b/backends/tofino/bf-p4c/phv/solver/symbolic_bitvec.h index 3096d87df..7b8fd1188 100644 --- a/backends/tofino/bf-p4c/phv/solver/symbolic_bitvec.h +++ b/backends/tofino/bf-p4c/phv/solver/symbolic_bitvec.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_SOLVER_SYMBOLIC_BITVEC_H_ #define BF_P4C_PHV_SOLVER_SYMBOLIC_BITVEC_H_ diff --git a/backends/tofino/bf-p4c/phv/split_padding.cpp b/backends/tofino/bf-p4c/phv/split_padding.cpp index 5614f2e9b..1d89f8641 100644 --- a/backends/tofino/bf-p4c/phv/split_padding.cpp +++ b/backends/tofino/bf-p4c/phv/split_padding.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "split_padding.h" #include "bf-p4c/common/ir_utils.h" diff --git a/backends/tofino/bf-p4c/phv/split_padding.h b/backends/tofino/bf-p4c/phv/split_padding.h index 499cb5ac0..b6c282015 100644 --- a/backends/tofino/bf-p4c/phv/split_padding.h +++ b/backends/tofino/bf-p4c/phv/split_padding.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_SPLIT_PADDING_H_ #define BF_P4C_PHV_SPLIT_PADDING_H_ diff --git a/backends/tofino/bf-p4c/phv/table_phv_constraints.cpp b/backends/tofino/bf-p4c/phv/table_phv_constraints.cpp index f23351772..a89a6a84e 100644 --- a/backends/tofino/bf-p4c/phv/table_phv_constraints.cpp +++ b/backends/tofino/bf-p4c/phv/table_phv_constraints.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/table_phv_constraints.h" #include "bf-p4c/mau/table_layout.h" diff --git a/backends/tofino/bf-p4c/phv/table_phv_constraints.h b/backends/tofino/bf-p4c/phv/table_phv_constraints.h index bacad75a3..a60fc139f 100644 --- a/backends/tofino/bf-p4c/phv/table_phv_constraints.h +++ b/backends/tofino/bf-p4c/phv/table_phv_constraints.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_TABLE_PHV_CONSTRAINTS_H_ #define BF_P4C_PHV_TABLE_PHV_CONSTRAINTS_H_ diff --git a/backends/tofino/bf-p4c/phv/transforms/auto_alias.cpp b/backends/tofino/bf-p4c/phv/transforms/auto_alias.cpp index 763aa7d1e..dd34b6045 100644 --- a/backends/tofino/bf-p4c/phv/transforms/auto_alias.cpp +++ b/backends/tofino/bf-p4c/phv/transforms/auto_alias.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/transforms/auto_alias.h" Visitor::profile_t DetermineCandidateHeaders::init_apply(const IR::Node *root) { diff --git a/backends/tofino/bf-p4c/phv/transforms/auto_alias.h b/backends/tofino/bf-p4c/phv/transforms/auto_alias.h index c14c9e23f..8b919e3bf 100644 --- a/backends/tofino/bf-p4c/phv/transforms/auto_alias.h +++ b/backends/tofino/bf-p4c/phv/transforms/auto_alias.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_TRANSFORMS_AUTO_ALIAS_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_TRANSFORMS_AUTO_ALIAS_H_ diff --git a/backends/tofino/bf-p4c/phv/utils/container_equivalence.cpp b/backends/tofino/bf-p4c/phv/utils/container_equivalence.cpp index ef4057cdf..76a9f5899 100644 --- a/backends/tofino/bf-p4c/phv/utils/container_equivalence.cpp +++ b/backends/tofino/bf-p4c/phv/utils/container_equivalence.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/utils/container_equivalence.h" namespace PHV { diff --git a/backends/tofino/bf-p4c/phv/utils/container_equivalence.h b/backends/tofino/bf-p4c/phv/utils/container_equivalence.h index 1984d2b72..cb663dcb7 100644 --- a/backends/tofino/bf-p4c/phv/utils/container_equivalence.h +++ b/backends/tofino/bf-p4c/phv/utils/container_equivalence.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #pragma once #include "bf-p4c/phv/utils/utils.h" diff --git a/backends/tofino/bf-p4c/phv/utils/live_range_report.cpp b/backends/tofino/bf-p4c/phv/utils/live_range_report.cpp index 57b560df1..3cba0c037 100644 --- a/backends/tofino/bf-p4c/phv/utils/live_range_report.cpp +++ b/backends/tofino/bf-p4c/phv/utils/live_range_report.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/utils/live_range_report.h" #include "bf-p4c/common/table_printer.h" diff --git a/backends/tofino/bf-p4c/phv/utils/live_range_report.h b/backends/tofino/bf-p4c/phv/utils/live_range_report.h index 407838276..204be3137 100644 --- a/backends/tofino/bf-p4c/phv/utils/live_range_report.h +++ b/backends/tofino/bf-p4c/phv/utils/live_range_report.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_UTILS_LIVE_RANGE_REPORT_H_ #define BF_P4C_PHV_UTILS_LIVE_RANGE_REPORT_H_ diff --git a/backends/tofino/bf-p4c/phv/utils/liverange_opti_utils.cpp b/backends/tofino/bf-p4c/phv/utils/liverange_opti_utils.cpp index d706b6c6f..8c10e7cf1 100644 --- a/backends/tofino/bf-p4c/phv/utils/liverange_opti_utils.cpp +++ b/backends/tofino/bf-p4c/phv/utils/liverange_opti_utils.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/utils/liverange_opti_utils.h" #include "bf-p4c/phv/utils/utils.h" diff --git a/backends/tofino/bf-p4c/phv/utils/liverange_opti_utils.h b/backends/tofino/bf-p4c/phv/utils/liverange_opti_utils.h index 8f24af6a9..20132debc 100644 --- a/backends/tofino/bf-p4c/phv/utils/liverange_opti_utils.h +++ b/backends/tofino/bf-p4c/phv/utils/liverange_opti_utils.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_UTILS_LIVERANGE_OPTI_UTILS_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_UTILS_LIVERANGE_OPTI_UTILS_H_ diff --git a/backends/tofino/bf-p4c/phv/utils/report.cpp b/backends/tofino/bf-p4c/phv/utils/report.cpp index b72880b16..00a83c86d 100644 --- a/backends/tofino/bf-p4c/phv/utils/report.cpp +++ b/backends/tofino/bf-p4c/phv/utils/report.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/utils/report.h" #include diff --git a/backends/tofino/bf-p4c/phv/utils/report.h b/backends/tofino/bf-p4c/phv/utils/report.h index d2188d443..43dab4128 100644 --- a/backends/tofino/bf-p4c/phv/utils/report.h +++ b/backends/tofino/bf-p4c/phv/utils/report.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_UTILS_REPORT_H_ #define BF_P4C_PHV_UTILS_REPORT_H_ diff --git a/backends/tofino/bf-p4c/phv/utils/slice_alloc.cpp b/backends/tofino/bf-p4c/phv/utils/slice_alloc.cpp index 473b4b42f..9f62002e3 100644 --- a/backends/tofino/bf-p4c/phv/utils/slice_alloc.cpp +++ b/backends/tofino/bf-p4c/phv/utils/slice_alloc.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/utils/slice_alloc.h" #include diff --git a/backends/tofino/bf-p4c/phv/utils/slice_alloc.h b/backends/tofino/bf-p4c/phv/utils/slice_alloc.h index 22adfcb59..894b079ac 100644 --- a/backends/tofino/bf-p4c/phv/utils/slice_alloc.h +++ b/backends/tofino/bf-p4c/phv/utils/slice_alloc.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_UTILS_SLICE_ALLOC_H_ #define BF_P4C_PHV_UTILS_SLICE_ALLOC_H_ diff --git a/backends/tofino/bf-p4c/phv/utils/tables_to_ids.h b/backends/tofino/bf-p4c/phv/utils/tables_to_ids.h index 50d3391d7..ff4a7fa05 100644 --- a/backends/tofino/bf-p4c/phv/utils/tables_to_ids.h +++ b/backends/tofino/bf-p4c/phv/utils/tables_to_ids.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_PHV_UTILS_TABLES_TO_IDS_H_ #define BACKENDS_TOFINO_BF_P4C_PHV_UTILS_TABLES_TO_IDS_H_ diff --git a/backends/tofino/bf-p4c/phv/utils/utils.cpp b/backends/tofino/bf-p4c/phv/utils/utils.cpp index 76d026091..9d2e47fa6 100644 --- a/backends/tofino/bf-p4c/phv/utils/utils.cpp +++ b/backends/tofino/bf-p4c/phv/utils/utils.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/utils/utils.h" #include diff --git a/backends/tofino/bf-p4c/phv/utils/utils.h b/backends/tofino/bf-p4c/phv/utils/utils.h index f135e760a..7b358d841 100644 --- a/backends/tofino/bf-p4c/phv/utils/utils.h +++ b/backends/tofino/bf-p4c/phv/utils/utils.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_UTILS_UTILS_H_ #define BF_P4C_PHV_UTILS_UTILS_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/action_packing_validator.cpp b/backends/tofino/bf-p4c/phv/v2/action_packing_validator.cpp index 3d6dd0fa5..bfb5065fa 100644 --- a/backends/tofino/bf-p4c/phv/v2/action_packing_validator.cpp +++ b/backends/tofino/bf-p4c/phv/v2/action_packing_validator.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/action_packing_validator.h" #include diff --git a/backends/tofino/bf-p4c/phv/v2/action_packing_validator.h b/backends/tofino/bf-p4c/phv/v2/action_packing_validator.h index c914a3f9c..b1148459e 100644 --- a/backends/tofino/bf-p4c/phv/v2/action_packing_validator.h +++ b/backends/tofino/bf-p4c/phv/v2/action_packing_validator.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_ACTION_PACKING_VALIDATOR_H_ #define BF_P4C_PHV_V2_ACTION_PACKING_VALIDATOR_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/allocator_base.cpp b/backends/tofino/bf-p4c/phv/v2/allocator_base.cpp index 5ea7cfdce..4db093d4a 100644 --- a/backends/tofino/bf-p4c/phv/v2/allocator_base.cpp +++ b/backends/tofino/bf-p4c/phv/v2/allocator_base.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/allocator_base.h" #include diff --git a/backends/tofino/bf-p4c/phv/v2/allocator_base.h b/backends/tofino/bf-p4c/phv/v2/allocator_base.h index c673c70c4..e5703d577 100644 --- a/backends/tofino/bf-p4c/phv/v2/allocator_base.h +++ b/backends/tofino/bf-p4c/phv/v2/allocator_base.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_ALLOCATOR_BASE_H_ #define BF_P4C_PHV_V2_ALLOCATOR_BASE_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/allocator_metrics.h b/backends/tofino/bf-p4c/phv/v2/allocator_metrics.h index e411790de..3837a1631 100644 --- a/backends/tofino/bf-p4c/phv/v2/allocator_metrics.h +++ b/backends/tofino/bf-p4c/phv/v2/allocator_metrics.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_ALLOCATOR_METRICS_H_ #define BF_P4C_PHV_V2_ALLOCATOR_METRICS_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/copacker.cpp b/backends/tofino/bf-p4c/phv/v2/copacker.cpp index db0501302..ed22f9203 100644 --- a/backends/tofino/bf-p4c/phv/v2/copacker.cpp +++ b/backends/tofino/bf-p4c/phv/v2/copacker.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/copacker.h" #include diff --git a/backends/tofino/bf-p4c/phv/v2/copacker.h b/backends/tofino/bf-p4c/phv/v2/copacker.h index 64199c21d..fbf1a7986 100644 --- a/backends/tofino/bf-p4c/phv/v2/copacker.h +++ b/backends/tofino/bf-p4c/phv/v2/copacker.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_COPACKER_H_ #define BF_P4C_PHV_V2_COPACKER_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/greedy_allocator.cpp b/backends/tofino/bf-p4c/phv/v2/greedy_allocator.cpp index 3d9286bff..ba9fab6dd 100644 --- a/backends/tofino/bf-p4c/phv/v2/greedy_allocator.cpp +++ b/backends/tofino/bf-p4c/phv/v2/greedy_allocator.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/greedy_allocator.h" #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/phv/v2/greedy_allocator.h b/backends/tofino/bf-p4c/phv/v2/greedy_allocator.h index 0eb3e2b40..29f9c8c1f 100644 --- a/backends/tofino/bf-p4c/phv/v2/greedy_allocator.h +++ b/backends/tofino/bf-p4c/phv/v2/greedy_allocator.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_GREEDY_ALLOCATOR_H_ #define BF_P4C_PHV_V2_GREEDY_ALLOCATOR_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/greedy_tx_score.cpp b/backends/tofino/bf-p4c/phv/v2/greedy_tx_score.cpp index 89c6d5ad2..378dea359 100644 --- a/backends/tofino/bf-p4c/phv/v2/greedy_tx_score.cpp +++ b/backends/tofino/bf-p4c/phv/v2/greedy_tx_score.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/greedy_tx_score.h" #include diff --git a/backends/tofino/bf-p4c/phv/v2/greedy_tx_score.h b/backends/tofino/bf-p4c/phv/v2/greedy_tx_score.h index 8851c329e..085558234 100644 --- a/backends/tofino/bf-p4c/phv/v2/greedy_tx_score.h +++ b/backends/tofino/bf-p4c/phv/v2/greedy_tx_score.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_GREEDY_TX_SCORE_H_ #define BF_P4C_PHV_V2_GREEDY_TX_SCORE_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/kind_size_indexed_map.cpp b/backends/tofino/bf-p4c/phv/v2/kind_size_indexed_map.cpp index e431a72f7..54702c6fa 100644 --- a/backends/tofino/bf-p4c/phv/v2/kind_size_indexed_map.cpp +++ b/backends/tofino/bf-p4c/phv/v2/kind_size_indexed_map.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/kind_size_indexed_map.h" namespace PHV { diff --git a/backends/tofino/bf-p4c/phv/v2/kind_size_indexed_map.h b/backends/tofino/bf-p4c/phv/v2/kind_size_indexed_map.h index 98bde05ef..247c63a06 100644 --- a/backends/tofino/bf-p4c/phv/v2/kind_size_indexed_map.h +++ b/backends/tofino/bf-p4c/phv/v2/kind_size_indexed_map.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_KIND_SIZE_INDEXED_MAP_H_ #define BF_P4C_PHV_V2_KIND_SIZE_INDEXED_MAP_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/metadata_initialization.cpp b/backends/tofino/bf-p4c/phv/v2/metadata_initialization.cpp index 0e8d2a17a..cf87bdda5 100644 --- a/backends/tofino/bf-p4c/phv/v2/metadata_initialization.cpp +++ b/backends/tofino/bf-p4c/phv/v2/metadata_initialization.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "metadata_initialization.h" namespace { diff --git a/backends/tofino/bf-p4c/phv/v2/metadata_initialization.h b/backends/tofino/bf-p4c/phv/v2/metadata_initialization.h index 2d46b8d7e..94791f04e 100644 --- a/backends/tofino/bf-p4c/phv/v2/metadata_initialization.h +++ b/backends/tofino/bf-p4c/phv/v2/metadata_initialization.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_METADATA_INITIALIZATION_H_ #define BF_P4C_PHV_V2_METADATA_INITIALIZATION_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/parser_packing_validator.cpp b/backends/tofino/bf-p4c/phv/v2/parser_packing_validator.cpp index 7c0b9498e..578786a36 100644 --- a/backends/tofino/bf-p4c/phv/v2/parser_packing_validator.cpp +++ b/backends/tofino/bf-p4c/phv/v2/parser_packing_validator.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/parser_packing_validator.h" #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/phv/v2/parser_packing_validator.h b/backends/tofino/bf-p4c/phv/v2/parser_packing_validator.h index 0941115fc..ea730796a 100644 --- a/backends/tofino/bf-p4c/phv/v2/parser_packing_validator.h +++ b/backends/tofino/bf-p4c/phv/v2/parser_packing_validator.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_PARSER_PACKING_VALIDATOR_H_ #define BF_P4C_PHV_V2_PARSER_PACKING_VALIDATOR_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/phv_allocation_v2.cpp b/backends/tofino/bf-p4c/phv/v2/phv_allocation_v2.cpp index 736f936de..430efcff9 100644 --- a/backends/tofino/bf-p4c/phv/v2/phv_allocation_v2.cpp +++ b/backends/tofino/bf-p4c/phv/v2/phv_allocation_v2.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/phv_allocation_v2.h" #include "bf-p4c/phv/v2/allocator_base.h" diff --git a/backends/tofino/bf-p4c/phv/v2/phv_allocation_v2.h b/backends/tofino/bf-p4c/phv/v2/phv_allocation_v2.h index 19de42b73..dc8bab683 100644 --- a/backends/tofino/bf-p4c/phv/v2/phv_allocation_v2.h +++ b/backends/tofino/bf-p4c/phv/v2/phv_allocation_v2.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_PHV_ALLOCATION_V2_H_ #define BF_P4C_PHV_V2_PHV_ALLOCATION_V2_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/phv_kit.cpp b/backends/tofino/bf-p4c/phv/v2/phv_kit.cpp index 272a3e270..7f9be0a8c 100644 --- a/backends/tofino/bf-p4c/phv/v2/phv_kit.cpp +++ b/backends/tofino/bf-p4c/phv/v2/phv_kit.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/phv_kit.h" #include "bf-p4c/phv/slicing/phv_slicing_iterator.h" diff --git a/backends/tofino/bf-p4c/phv/v2/phv_kit.h b/backends/tofino/bf-p4c/phv/v2/phv_kit.h index bcb2ad019..f753ed5d3 100644 --- a/backends/tofino/bf-p4c/phv/v2/phv_kit.h +++ b/backends/tofino/bf-p4c/phv/v2/phv_kit.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_PHV_KIT_H_ #define BF_P4C_PHV_V2_PHV_KIT_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/smart_packing.cpp b/backends/tofino/bf-p4c/phv/v2/smart_packing.cpp index 1fb75e698..26d9140a4 100644 --- a/backends/tofino/bf-p4c/phv/v2/smart_packing.cpp +++ b/backends/tofino/bf-p4c/phv/v2/smart_packing.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/smart_packing.h" #include diff --git a/backends/tofino/bf-p4c/phv/v2/smart_packing.h b/backends/tofino/bf-p4c/phv/v2/smart_packing.h index 7f8dd874d..adfe02445 100644 --- a/backends/tofino/bf-p4c/phv/v2/smart_packing.h +++ b/backends/tofino/bf-p4c/phv/v2/smart_packing.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef SMART_PACKING_H_ #define SMART_PACKING_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/sort_macros.h b/backends/tofino/bf-p4c/phv/v2/sort_macros.h index 028737e97..35067a97e 100644 --- a/backends/tofino/bf-p4c/phv/v2/sort_macros.h +++ b/backends/tofino/bf-p4c/phv/v2/sort_macros.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_SORT_MACROS_H_ #define BF_P4C_PHV_V2_SORT_MACROS_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/table_replay_friendly_constraints.cpp b/backends/tofino/bf-p4c/phv/v2/table_replay_friendly_constraints.cpp index 0c5cd5c55..6be3b1c66 100644 --- a/backends/tofino/bf-p4c/phv/v2/table_replay_friendly_constraints.cpp +++ b/backends/tofino/bf-p4c/phv/v2/table_replay_friendly_constraints.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "table_replay_friendly_constraints.h" std::ostream &operator<<(std::ostream &out, const AllocInfo &ai) { diff --git a/backends/tofino/bf-p4c/phv/v2/table_replay_friendly_constraints.h b/backends/tofino/bf-p4c/phv/v2/table_replay_friendly_constraints.h index 02cdb4989..6d4d6eec8 100644 --- a/backends/tofino/bf-p4c/phv/v2/table_replay_friendly_constraints.h +++ b/backends/tofino/bf-p4c/phv/v2/table_replay_friendly_constraints.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_TABLE_REPLAY_FRIENDLY_CONSTRAINTS_H_ #define BF_P4C_PHV_V2_TABLE_REPLAY_FRIENDLY_CONSTRAINTS_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/trivial_allocator.cpp b/backends/tofino/bf-p4c/phv/v2/trivial_allocator.cpp index f54285e08..5d1f4fbb5 100644 --- a/backends/tofino/bf-p4c/phv/v2/trivial_allocator.cpp +++ b/backends/tofino/bf-p4c/phv/v2/trivial_allocator.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/trivial_allocator.h" #include diff --git a/backends/tofino/bf-p4c/phv/v2/trivial_allocator.h b/backends/tofino/bf-p4c/phv/v2/trivial_allocator.h index b2999bcb9..87436f149 100644 --- a/backends/tofino/bf-p4c/phv/v2/trivial_allocator.h +++ b/backends/tofino/bf-p4c/phv/v2/trivial_allocator.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_TRIVIAL_ALLOCATOR_H_ #define BF_P4C_PHV_V2_TRIVIAL_ALLOCATOR_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/tx_score.cpp b/backends/tofino/bf-p4c/phv/v2/tx_score.cpp index 6a7b5bfec..c4a9eb4de 100644 --- a/backends/tofino/bf-p4c/phv/v2/tx_score.cpp +++ b/backends/tofino/bf-p4c/phv/v2/tx_score.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/tx_score.h" #include diff --git a/backends/tofino/bf-p4c/phv/v2/tx_score.h b/backends/tofino/bf-p4c/phv/v2/tx_score.h index 6ce6796e8..3323b2af6 100644 --- a/backends/tofino/bf-p4c/phv/v2/tx_score.h +++ b/backends/tofino/bf-p4c/phv/v2/tx_score.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_TX_SCORE_H_ #define BF_P4C_PHV_V2_TX_SCORE_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/types.cpp b/backends/tofino/bf-p4c/phv/v2/types.cpp index b9a78f648..5c49633b0 100644 --- a/backends/tofino/bf-p4c/phv/v2/types.cpp +++ b/backends/tofino/bf-p4c/phv/v2/types.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/types.h" namespace PHV { diff --git a/backends/tofino/bf-p4c/phv/v2/types.h b/backends/tofino/bf-p4c/phv/v2/types.h index 89a4c1233..1b791d854 100644 --- a/backends/tofino/bf-p4c/phv/v2/types.h +++ b/backends/tofino/bf-p4c/phv/v2/types.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_TYPES_H_ #define BF_P4C_PHV_V2_TYPES_H_ diff --git a/backends/tofino/bf-p4c/phv/v2/utils_v2.cpp b/backends/tofino/bf-p4c/phv/v2/utils_v2.cpp index 1f0c04994..4befa81b6 100644 --- a/backends/tofino/bf-p4c/phv/v2/utils_v2.cpp +++ b/backends/tofino/bf-p4c/phv/v2/utils_v2.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "bf-p4c/phv/utils/utils.h" diff --git a/backends/tofino/bf-p4c/phv/v2/utils_v2.h b/backends/tofino/bf-p4c/phv/v2/utils_v2.h index 7c99d7d30..47ce390a1 100644 --- a/backends/tofino/bf-p4c/phv/v2/utils_v2.h +++ b/backends/tofino/bf-p4c/phv/v2/utils_v2.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_V2_UTILS_V2_H_ #define BF_P4C_PHV_V2_UTILS_V2_H_ diff --git a/backends/tofino/bf-p4c/phv/validate_allocation.cpp b/backends/tofino/bf-p4c/phv/validate_allocation.cpp index af5871503..66d0872fd 100644 --- a/backends/tofino/bf-p4c/phv/validate_allocation.cpp +++ b/backends/tofino/bf-p4c/phv/validate_allocation.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "validate_allocation.h" #include diff --git a/backends/tofino/bf-p4c/phv/validate_allocation.h b/backends/tofino/bf-p4c/phv/validate_allocation.h index 642b29589..cbb5dfc4c 100644 --- a/backends/tofino/bf-p4c/phv/validate_allocation.h +++ b/backends/tofino/bf-p4c/phv/validate_allocation.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_P4C_PHV_VALIDATE_ALLOCATION_H_ #define BF_P4C_PHV_VALIDATE_ALLOCATION_H_ diff --git a/backends/tofino/bf-p4c/test/gtest/action_analysis.cpp b/backends/tofino/bf-p4c/test/gtest/action_analysis.cpp index 5db2c4956..446b4f920 100644 --- a/backends/tofino/bf-p4c/test/gtest/action_analysis.cpp +++ b/backends/tofino/bf-p4c/test/gtest/action_analysis.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/action_analysis.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/action_format_helper.cpp b/backends/tofino/bf-p4c/test/gtest/action_format_helper.cpp index e00244d32..bf69571f6 100644 --- a/backends/tofino/bf-p4c/test/gtest/action_format_helper.cpp +++ b/backends/tofino/bf-p4c/test/gtest/action_format_helper.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/action_format.h" #include "bf-p4c/phv/phv.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/action_mutex.cpp b/backends/tofino/bf-p4c/test/gtest/action_mutex.cpp index ee76c04a8..e19157863 100644 --- a/backends/tofino/bf-p4c/test/gtest/action_mutex.cpp +++ b/backends/tofino/bf-p4c/test/gtest/action_mutex.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/action_mutex.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/action_phv.cpp b/backends/tofino/bf-p4c/test/gtest/action_phv.cpp index d7ebcfcb7..9d6c0c53b 100644 --- a/backends/tofino/bf-p4c/test/gtest/action_phv.cpp +++ b/backends/tofino/bf-p4c/test/gtest/action_phv.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/add_always_run.cpp b/backends/tofino/bf-p4c/test/gtest/add_always_run.cpp index 37dbfdddf..af14701f7 100644 --- a/backends/tofino/bf-p4c/test/gtest/add_always_run.cpp +++ b/backends/tofino/bf-p4c/test/gtest/add_always_run.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/add_always_run.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/annotate_with_in_hash.cpp b/backends/tofino/bf-p4c/test/gtest/annotate_with_in_hash.cpp index ced160148..58944bb4b 100644 --- a/backends/tofino/bf-p4c/test/gtest/annotate_with_in_hash.cpp +++ b/backends/tofino/bf-p4c/test/gtest/annotate_with_in_hash.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * This test tests whether the @in_hash annotation is applied correctly * in the BFN::AnnotateWithInHash pass. diff --git a/backends/tofino/bf-p4c/test/gtest/attached_info.cpp b/backends/tofino/bf-p4c/test/gtest/attached_info.cpp old mode 100755 new mode 100644 index 1967c6026..c14593a6a --- a/backends/tofino/bf-p4c/test/gtest/attached_info.cpp +++ b/backends/tofino/bf-p4c/test/gtest/attached_info.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/attached_info.h" #include "bf_gtest_helpers.h" diff --git a/backends/tofino/bf-p4c/test/gtest/bf_gtest_helpers.cpp b/backends/tofino/bf-p4c/test/gtest/bf_gtest_helpers.cpp index e24bda205..1b384e59f 100644 --- a/backends/tofino/bf-p4c/test/gtest/bf_gtest_helpers.cpp +++ b/backends/tofino/bf-p4c/test/gtest/bf_gtest_helpers.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf_gtest_helpers.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/bf_gtest_helpers.h b/backends/tofino/bf-p4c/test/gtest/bf_gtest_helpers.h index 45a6f6014..987258f20 100644 --- a/backends/tofino/bf-p4c/test/gtest/bf_gtest_helpers.h +++ b/backends/tofino/bf-p4c/test/gtest/bf_gtest_helpers.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BF_GTEST_HELPERS_H_ #define BF_GTEST_HELPERS_H_ diff --git a/backends/tofino/bf-p4c/test/gtest/bfrt_pvs.cpp b/backends/tofino/bf-p4c/test/gtest/bfrt_pvs.cpp index 664e21cc4..092f6b5e3 100644 --- a/backends/tofino/bf-p4c/test/gtest/bfrt_pvs.cpp +++ b/backends/tofino/bf-p4c/test/gtest/bfrt_pvs.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * The test checks the contents of bfrt.json corresponding to parser value set (PVS) * specialized for different types (bit string, serializable enum, struct). diff --git a/backends/tofino/bf-p4c/test/gtest/bitrange.cpp b/backends/tofino/bf-p4c/test/gtest/bitrange.cpp index 1b90296f5..bab874791 100644 --- a/backends/tofino/bf-p4c/test/gtest/bitrange.cpp +++ b/backends/tofino/bf-p4c/test/gtest/bitrange.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/ir/bitrange.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/build_super_cluster.cpp b/backends/tofino/bf-p4c/test/gtest/build_super_cluster.cpp index eef7c7828..a93384ef0 100644 --- a/backends/tofino/bf-p4c/test/gtest/build_super_cluster.cpp +++ b/backends/tofino/bf-p4c/test/gtest/build_super_cluster.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/checksum.cpp b/backends/tofino/bf-p4c/test/gtest/checksum.cpp index c9e36df5f..99d5b3dd1 100644 --- a/backends/tofino/bf-p4c/test/gtest/checksum.cpp +++ b/backends/tofino/bf-p4c/test/gtest/checksum.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/clot.cpp b/backends/tofino/bf-p4c/test/gtest/clot.cpp index 73b0eb5d2..93df8d7c2 100644 --- a/backends/tofino/bf-p4c/test/gtest/clot.cpp +++ b/backends/tofino/bf-p4c/test/gtest/clot.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/constrained_field_map_builder.cpp b/backends/tofino/bf-p4c/test/gtest/constrained_field_map_builder.cpp index 675ca1ce9..ff2b77f73 100644 --- a/backends/tofino/bf-p4c/test/gtest/constrained_field_map_builder.cpp +++ b/backends/tofino/bf-p4c/test/gtest/constrained_field_map_builder.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/container_action.cpp b/backends/tofino/bf-p4c/test/gtest/container_action.cpp index 05f8903cc..140d11032 100644 --- a/backends/tofino/bf-p4c/test/gtest/container_action.cpp +++ b/backends/tofino/bf-p4c/test/gtest/container_action.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/container_size_extractor.cpp b/backends/tofino/bf-p4c/test/gtest/container_size_extractor.cpp index be1f68e07..9b195b68e 100644 --- a/backends/tofino/bf-p4c/test/gtest/container_size_extractor.cpp +++ b/backends/tofino/bf-p4c/test/gtest/container_size_extractor.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/logging/container_size_extractor.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/copy_header.cpp b/backends/tofino/bf-p4c/test/gtest/copy_header.cpp index f930526da..39c80c179 100644 --- a/backends/tofino/bf-p4c/test/gtest/copy_header.cpp +++ b/backends/tofino/bf-p4c/test/gtest/copy_header.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/copy_header.h" #include "bf-p4c/midend/elim_cast.h" diff --git a/backends/tofino/bf-p4c/test/gtest/critical_path_clusters.cpp b/backends/tofino/bf-p4c/test/gtest/critical_path_clusters.cpp index 5bc756ec5..7797d1c82 100644 --- a/backends/tofino/bf-p4c/test/gtest/critical_path_clusters.cpp +++ b/backends/tofino/bf-p4c/test/gtest/critical_path_clusters.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/critical_path_clusters.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/custom_header_stack_name.cpp b/backends/tofino/bf-p4c/test/gtest/custom_header_stack_name.cpp index a1e04dd3d..e9b4109d2 100644 --- a/backends/tofino/bf-p4c/test/gtest/custom_header_stack_name.cpp +++ b/backends/tofino/bf-p4c/test/gtest/custom_header_stack_name.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * This test tests whether the intrinsic metadata identifiers on bf-runtime file * are correct for different pipes. diff --git a/backends/tofino/bf-p4c/test/gtest/dominator_tree.cpp b/backends/tofino/bf-p4c/test/gtest/dominator_tree.cpp index 2ed4cf64e..d7b181456 100644 --- a/backends/tofino/bf-p4c/test/gtest/dominator_tree.cpp +++ b/backends/tofino/bf-p4c/test/gtest/dominator_tree.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/dominator_tree.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/dynamic_dep_metrics.cpp b/backends/tofino/bf-p4c/test/gtest/dynamic_dep_metrics.cpp index a702a2dca..1f0ebfdd6 100644 --- a/backends/tofino/bf-p4c/test/gtest/dynamic_dep_metrics.cpp +++ b/backends/tofino/bf-p4c/test/gtest/dynamic_dep_metrics.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/dynamic_dep_metrics.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/elim_cast.cpp b/backends/tofino/bf-p4c/test/gtest/elim_cast.cpp old mode 100755 new mode 100644 index e56be192c..3fb47d68f --- a/backends/tofino/bf-p4c/test/gtest/elim_cast.cpp +++ b/backends/tofino/bf-p4c/test/gtest/elim_cast.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/elim_cast.h" #include "bf_gtest_helpers.h" diff --git a/backends/tofino/bf-p4c/test/gtest/equiv_align_extractor.cpp b/backends/tofino/bf-p4c/test/gtest/equiv_align_extractor.cpp index 4ed94ce19..a475bf2de 100644 --- a/backends/tofino/bf-p4c/test/gtest/equiv_align_extractor.cpp +++ b/backends/tofino/bf-p4c/test/gtest/equiv_align_extractor.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/error_reporter.cpp b/backends/tofino/bf-p4c/test/gtest/error_reporter.cpp index 792499ed8..dcfadb8e0 100644 --- a/backends/tofino/bf-p4c/test/gtest/error_reporter.cpp +++ b/backends/tofino/bf-p4c/test/gtest/error_reporter.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "bf-p4c/arch/arch.h" diff --git a/backends/tofino/bf-p4c/test/gtest/event_logger.cpp b/backends/tofino/bf-p4c/test/gtest/event_logger.cpp index 1da3545ba..1c58e7576 100644 --- a/backends/tofino/bf-p4c/test/gtest/event_logger.cpp +++ b/backends/tofino/bf-p4c/test/gtest/event_logger.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/logging/event_logger.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/field_alignment.cpp b/backends/tofino/bf-p4c/test/gtest/field_alignment.cpp index 449415eb6..1d92c4e8d 100644 --- a/backends/tofino/bf-p4c/test/gtest/field_alignment.cpp +++ b/backends/tofino/bf-p4c/test/gtest/field_alignment.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/field_defuse.cpp b/backends/tofino/bf-p4c/test/gtest/field_defuse.cpp index 52f67910e..6dad2b63b 100644 --- a/backends/tofino/bf-p4c/test/gtest/field_defuse.cpp +++ b/backends/tofino/bf-p4c/test/gtest/field_defuse.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/field_defuse.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/field_packing.cpp b/backends/tofino/bf-p4c/test/gtest/field_packing.cpp index 7fd8492f2..db56db52d 100644 --- a/backends/tofino/bf-p4c/test/gtest/field_packing.cpp +++ b/backends/tofino/bf-p4c/test/gtest/field_packing.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/parde/field_packing.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/flatrock_hdr_asm.cpp b/backends/tofino/bf-p4c/test/gtest/flatrock_hdr_asm.cpp index b82ee5a47..3f0f8f0e5 100644 --- a/backends/tofino/bf-p4c/test/gtest/flatrock_hdr_asm.cpp +++ b/backends/tofino/bf-p4c/test/gtest/flatrock_hdr_asm.cpp @@ -1,17 +1,17 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ diff --git a/backends/tofino/bf-p4c/test/gtest/flatrock_metadata_packer.cpp b/backends/tofino/bf-p4c/test/gtest/flatrock_metadata_packer.cpp index b82ee5a47..3f0f8f0e5 100644 --- a/backends/tofino/bf-p4c/test/gtest/flatrock_metadata_packer.cpp +++ b/backends/tofino/bf-p4c/test/gtest/flatrock_metadata_packer.cpp @@ -1,17 +1,17 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ diff --git a/backends/tofino/bf-p4c/test/gtest/flatrock_parser.cpp b/backends/tofino/bf-p4c/test/gtest/flatrock_parser.cpp index b82ee5a47..3f0f8f0e5 100644 --- a/backends/tofino/bf-p4c/test/gtest/flatrock_parser.cpp +++ b/backends/tofino/bf-p4c/test/gtest/flatrock_parser.cpp @@ -1,17 +1,17 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ diff --git a/backends/tofino/bf-p4c/test/gtest/fold_constant_hashes.cpp b/backends/tofino/bf-p4c/test/gtest/fold_constant_hashes.cpp index 2f46156c6..e2292b948 100644 --- a/backends/tofino/bf-p4c/test/gtest/fold_constant_hashes.cpp +++ b/backends/tofino/bf-p4c/test/gtest/fold_constant_hashes.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * This test covers folding of hash functions with constant inputs. */ diff --git a/backends/tofino/bf-p4c/test/gtest/gateway_control_flow.cpp b/backends/tofino/bf-p4c/test/gtest/gateway_control_flow.cpp index b7820ffa0..8daf6c8ea 100644 --- a/backends/tofino/bf-p4c/test/gtest/gateway_control_flow.cpp +++ b/backends/tofino/bf-p4c/test/gtest/gateway_control_flow.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/ir/gateway_control_flow.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/hidden_merged.cpp b/backends/tofino/bf-p4c/test/gtest/hidden_merged.cpp index 5716e470c..e45194a50 100644 --- a/backends/tofino/bf-p4c/test/gtest/hidden_merged.cpp +++ b/backends/tofino/bf-p4c/test/gtest/hidden_merged.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf_gtest_helpers.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/initialize_mirror_io_select.cpp b/backends/tofino/bf-p4c/test/gtest/initialize_mirror_io_select.cpp index e664fae0c..b613c577f 100644 --- a/backends/tofino/bf-p4c/test/gtest/initialize_mirror_io_select.cpp +++ b/backends/tofino/bf-p4c/test/gtest/initialize_mirror_io_select.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * This test covers initialization of eg_intr_md_for_dprsr.mirror_io_select * on Tofino2 targets if it's not explicitly set. diff --git a/backends/tofino/bf-p4c/test/gtest/input_xbar.cpp b/backends/tofino/bf-p4c/test/gtest/input_xbar.cpp index b9bf4491d..a4384a494 100644 --- a/backends/tofino/bf-p4c/test/gtest/input_xbar.cpp +++ b/backends/tofino/bf-p4c/test/gtest/input_xbar.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/tofino/input_xbar.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/ir_utils.cpp b/backends/tofino/bf-p4c/test/gtest/ir_utils.cpp index 3a4868539..a9c4c82f3 100644 --- a/backends/tofino/bf-p4c/test/gtest/ir_utils.cpp +++ b/backends/tofino/bf-p4c/test/gtest/ir_utils.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/ir_utils.h" #include "gmock/gmock.h" diff --git a/backends/tofino/bf-p4c/test/gtest/jbay_next_table.cpp b/backends/tofino/bf-p4c/test/gtest/jbay_next_table.cpp index 632a72957..7a85275f7 100644 --- a/backends/tofino/bf-p4c/test/gtest/jbay_next_table.cpp +++ b/backends/tofino/bf-p4c/test/gtest/jbay_next_table.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/jbay_next_table.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/mask_exact_match_hash_bits.cpp b/backends/tofino/bf-p4c/test/gtest/mask_exact_match_hash_bits.cpp index cc6177052..2d31fb1a4 100644 --- a/backends/tofino/bf-p4c/test/gtest/mask_exact_match_hash_bits.cpp +++ b/backends/tofino/bf-p4c/test/gtest/mask_exact_match_hash_bits.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/mau_control_flow_visitor.cpp b/backends/tofino/bf-p4c/test/gtest/mau_control_flow_visitor.cpp index 91eccade8..ac4cf4f3d 100644 --- a/backends/tofino/bf-p4c/test/gtest/mau_control_flow_visitor.cpp +++ b/backends/tofino/bf-p4c/test/gtest/mau_control_flow_visitor.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/mau_group_extractor.cpp b/backends/tofino/bf-p4c/test/gtest/mau_group_extractor.cpp index de37cf91c..ce9649e8c 100644 --- a/backends/tofino/bf-p4c/test/gtest/mau_group_extractor.cpp +++ b/backends/tofino/bf-p4c/test/gtest/mau_group_extractor.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/mau_indirect_externs_single_action.cpp b/backends/tofino/bf-p4c/test/gtest/mau_indirect_externs_single_action.cpp index 21b125192..e04b8eacf 100644 --- a/backends/tofino/bf-p4c/test/gtest/mau_indirect_externs_single_action.cpp +++ b/backends/tofino/bf-p4c/test/gtest/mau_indirect_externs_single_action.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "bf-p4c/test/gtest/tofino_gtest_utils.h" diff --git a/backends/tofino/bf-p4c/test/gtest/meta_live_range.cpp b/backends/tofino/bf-p4c/test/gtest/meta_live_range.cpp index cd3ba1ff2..425b5851b 100644 --- a/backends/tofino/bf-p4c/test/gtest/meta_live_range.cpp +++ b/backends/tofino/bf-p4c/test/gtest/meta_live_range.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/meta_live_range.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/mocha_dark.cpp b/backends/tofino/bf-p4c/test/gtest/mocha_dark.cpp index c73db09e3..a4a3f3f99 100644 --- a/backends/tofino/bf-p4c/test/gtest/mocha_dark.cpp +++ b/backends/tofino/bf-p4c/test/gtest/mocha_dark.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/multipipe_bf_runtime.cpp b/backends/tofino/bf-p4c/test/gtest/multipipe_bf_runtime.cpp index bc56f61da..0d934c787 100644 --- a/backends/tofino/bf-p4c/test/gtest/multipipe_bf_runtime.cpp +++ b/backends/tofino/bf-p4c/test/gtest/multipipe_bf_runtime.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * This test tests whether the intrinsic metadata identifiers on bf-runtime file * are correct for different pipes. diff --git a/backends/tofino/bf-p4c/test/gtest/multiple_apply.cpp b/backends/tofino/bf-p4c/test/gtest/multiple_apply.cpp index ec93eac4f..402c183da 100644 --- a/backends/tofino/bf-p4c/test/gtest/multiple_apply.cpp +++ b/backends/tofino/bf-p4c/test/gtest/multiple_apply.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/multiple_apply.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/no_co_pack.cpp b/backends/tofino/bf-p4c/test/gtest/no_co_pack.cpp index d3e72a647..c1f701911 100644 --- a/backends/tofino/bf-p4c/test/gtest/no_co_pack.cpp +++ b/backends/tofino/bf-p4c/test/gtest/no_co_pack.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/normalize_hash_list.cpp b/backends/tofino/bf-p4c/test/gtest/normalize_hash_list.cpp index 5fd04063e..c510fc7e6 100644 --- a/backends/tofino/bf-p4c/test/gtest/normalize_hash_list.cpp +++ b/backends/tofino/bf-p4c/test/gtest/normalize_hash_list.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * Verify hash list normalization */ diff --git a/backends/tofino/bf-p4c/test/gtest/pa_atomic.cpp b/backends/tofino/bf-p4c/test/gtest/pa_atomic.cpp index 085e91df3..0da613e8e 100644 --- a/backends/tofino/bf-p4c/test/gtest/pa_atomic.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pa_atomic.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_atomic.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/pa_byte_pack.cpp b/backends/tofino/bf-p4c/test/gtest/pa_byte_pack.cpp index 1b217bee1..966c2d73f 100644 --- a/backends/tofino/bf-p4c/test/gtest/pa_byte_pack.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pa_byte_pack.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_byte_pack.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/pa_container_size.cpp b/backends/tofino/bf-p4c/test/gtest/pa_container_size.cpp index 79b10f879..f6a65a7de 100644 --- a/backends/tofino/bf-p4c/test/gtest/pa_container_size.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pa_container_size.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_container_size.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/pa_container_type.cpp b/backends/tofino/bf-p4c/test/gtest/pa_container_type.cpp index 734e85912..6156b3ec1 100644 --- a/backends/tofino/bf-p4c/test/gtest/pa_container_type.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pa_container_type.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_container_type.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/pa_mutually_exclusive_pragma.cpp b/backends/tofino/bf-p4c/test/gtest/pa_mutually_exclusive_pragma.cpp index 5173d47c0..902b4252f 100644 --- a/backends/tofino/bf-p4c/test/gtest/pa_mutually_exclusive_pragma.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pa_mutually_exclusive_pragma.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/pa_no_overlay.cpp b/backends/tofino/bf-p4c/test/gtest/pa_no_overlay.cpp index e3bd5c2b6..4a3d6eb7a 100644 --- a/backends/tofino/bf-p4c/test/gtest/pa_no_overlay.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pa_no_overlay.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/pa_solitary.cpp b/backends/tofino/bf-p4c/test/gtest/pa_solitary.cpp index a728b4f2b..49722192b 100644 --- a/backends/tofino/bf-p4c/test/gtest/pa_solitary.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pa_solitary.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/pragma/pa_solitary.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/parser_constant_extract.cpp b/backends/tofino/bf-p4c/test/gtest/parser_constant_extract.cpp index 2ef63a8bb..2cc14ed1f 100644 --- a/backends/tofino/bf-p4c/test/gtest/parser_constant_extract.cpp +++ b/backends/tofino/bf-p4c/test/gtest/parser_constant_extract.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/parser_container_valid.cpp b/backends/tofino/bf-p4c/test/gtest/parser_container_valid.cpp index 0b928ca46..097d7be66 100644 --- a/backends/tofino/bf-p4c/test/gtest/parser_container_valid.cpp +++ b/backends/tofino/bf-p4c/test/gtest/parser_container_valid.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * Tests related to container valid coming out of parser */ diff --git a/backends/tofino/bf-p4c/test/gtest/parser_critical_path.cpp b/backends/tofino/bf-p4c/test/gtest/parser_critical_path.cpp index b0d8aed4e..6be2fb493 100644 --- a/backends/tofino/bf-p4c/test/gtest/parser_critical_path.cpp +++ b/backends/tofino/bf-p4c/test/gtest/parser_critical_path.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/analysis/parser_critical_path.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/parser_elim_lowered_zero_extracts.cpp b/backends/tofino/bf-p4c/test/gtest/parser_elim_lowered_zero_extracts.cpp index 702baaad4..d214449bc 100644 --- a/backends/tofino/bf-p4c/test/gtest/parser_elim_lowered_zero_extracts.cpp +++ b/backends/tofino/bf-p4c/test/gtest/parser_elim_lowered_zero_extracts.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * Verify that parser pad requirements are enforced correctly. * diff --git a/backends/tofino/bf-p4c/test/gtest/parser_enforce_depth_req.cpp b/backends/tofino/bf-p4c/test/gtest/parser_enforce_depth_req.cpp index df32561c2..eae07cd3c 100644 --- a/backends/tofino/bf-p4c/test/gtest/parser_enforce_depth_req.cpp +++ b/backends/tofino/bf-p4c/test/gtest/parser_enforce_depth_req.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * Verify that parser pad requirements are enforced correctly. * diff --git a/backends/tofino/bf-p4c/test/gtest/parser_extract_overlay.cpp b/backends/tofino/bf-p4c/test/gtest/parser_extract_overlay.cpp index d7a7009ee..c78c9c6c9 100644 --- a/backends/tofino/bf-p4c/test/gtest/parser_extract_overlay.cpp +++ b/backends/tofino/bf-p4c/test/gtest/parser_extract_overlay.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * Verify that parser pad requirements are enforced correctly. * diff --git a/backends/tofino/bf-p4c/test/gtest/parser_extract_reorder.cpp b/backends/tofino/bf-p4c/test/gtest/parser_extract_reorder.cpp index e624856af..60f3a299f 100644 --- a/backends/tofino/bf-p4c/test/gtest/parser_extract_reorder.cpp +++ b/backends/tofino/bf-p4c/test/gtest/parser_extract_reorder.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * Verify that parser pad requirements are enforced correctly. * diff --git a/backends/tofino/bf-p4c/test/gtest/parser_state_merge.cpp b/backends/tofino/bf-p4c/test/gtest/parser_state_merge.cpp index abd55d617..8e6b73ffd 100644 --- a/backends/tofino/bf-p4c/test/gtest/parser_state_merge.cpp +++ b/backends/tofino/bf-p4c/test/gtest/parser_state_merge.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * Tests related to the merging of parser states. */ diff --git a/backends/tofino/bf-p4c/test/gtest/path_linearizer.cpp b/backends/tofino/bf-p4c/test/gtest/path_linearizer.cpp index b8c694d39..50181560b 100644 --- a/backends/tofino/bf-p4c/test/gtest/path_linearizer.cpp +++ b/backends/tofino/bf-p4c/test/gtest/path_linearizer.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/path_linearizer.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/payload_gateway.cpp b/backends/tofino/bf-p4c/test/gtest/payload_gateway.cpp index e7a7ebc04..6dea172b8 100644 --- a/backends/tofino/bf-p4c/test/gtest/payload_gateway.cpp +++ b/backends/tofino/bf-p4c/test/gtest/payload_gateway.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf_gtest_helpers.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/phv/action_source_tracker.cpp b/backends/tofino/bf-p4c/test/gtest/phv/action_source_tracker.cpp index 47ed08435..d3c1f3597 100644 --- a/backends/tofino/bf-p4c/test/gtest/phv/action_source_tracker.cpp +++ b/backends/tofino/bf-p4c/test/gtest/phv/action_source_tracker.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/action_source_tracker.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/phv/fieldslice_live_range.cpp b/backends/tofino/bf-p4c/test/gtest/phv/fieldslice_live_range.cpp index 478f46130..56d232849 100644 --- a/backends/tofino/bf-p4c/test/gtest/phv/fieldslice_live_range.cpp +++ b/backends/tofino/bf-p4c/test/gtest/phv/fieldslice_live_range.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/fieldslice_live_range.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/phv/greedy_tx_score.cpp b/backends/tofino/bf-p4c/test/gtest/phv/greedy_tx_score.cpp index cbb6b98c9..71f905b10 100644 --- a/backends/tofino/bf-p4c/test/gtest/phv/greedy_tx_score.cpp +++ b/backends/tofino/bf-p4c/test/gtest/phv/greedy_tx_score.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/v2/greedy_tx_score.h" #include "bf-p4c/phv/phv.h" diff --git a/backends/tofino/bf-p4c/test/gtest/phv/slicing/iterator.cpp b/backends/tofino/bf-p4c/test/gtest/phv/slicing/iterator.cpp index 56c4a5116..43898694d 100644 --- a/backends/tofino/bf-p4c/test/gtest/phv/slicing/iterator.cpp +++ b/backends/tofino/bf-p4c/test/gtest/phv/slicing/iterator.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/test/gtest/phv/solver/action_constraint_solver.cpp b/backends/tofino/bf-p4c/test/gtest/phv/solver/action_constraint_solver.cpp index bd9331692..537559cac 100644 --- a/backends/tofino/bf-p4c/test/gtest/phv/solver/action_constraint_solver.cpp +++ b/backends/tofino/bf-p4c/test/gtest/phv/solver/action_constraint_solver.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/solver/action_constraint_solver.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/phv/solver/symbolic_bitvec.cpp b/backends/tofino/bf-p4c/test/gtest/phv/solver/symbolic_bitvec.cpp index b5a1a739b..68de585c6 100644 --- a/backends/tofino/bf-p4c/test/gtest/phv/solver/symbolic_bitvec.cpp +++ b/backends/tofino/bf-p4c/test/gtest/phv/solver/symbolic_bitvec.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/phv/solver/symbolic_bitvec.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/phv_crush.cpp b/backends/tofino/bf-p4c/test/gtest/phv_crush.cpp index 811a55cd2..2d9d8dd32 100644 --- a/backends/tofino/bf-p4c/test/gtest/phv_crush.cpp +++ b/backends/tofino/bf-p4c/test/gtest/phv_crush.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/test/gtest/phv_field.cpp b/backends/tofino/bf-p4c/test/gtest/phv_field.cpp index 6da044d77..d3e1ec145 100644 --- a/backends/tofino/bf-p4c/test/gtest/phv_field.cpp +++ b/backends/tofino/bf-p4c/test/gtest/phv_field.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "bf-p4c/device.h" diff --git a/backends/tofino/bf-p4c/test/gtest/phv_jbay.cpp b/backends/tofino/bf-p4c/test/gtest/phv_jbay.cpp index 983aeb235..dbc366182 100644 --- a/backends/tofino/bf-p4c/test/gtest/phv_jbay.cpp +++ b/backends/tofino/bf-p4c/test/gtest/phv_jbay.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/phv_tofino.cpp b/backends/tofino/bf-p4c/test/gtest/phv_tofino.cpp index 9554bd81a..14a0350f3 100644 --- a/backends/tofino/bf-p4c/test/gtest/phv_tofino.cpp +++ b/backends/tofino/bf-p4c/test/gtest/phv_tofino.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/post_midend_constant_folding.cpp b/backends/tofino/bf-p4c/test/gtest/post_midend_constant_folding.cpp index 0964af577..517411a91 100644 --- a/backends/tofino/bf-p4c/test/gtest/post_midend_constant_folding.cpp +++ b/backends/tofino/bf-p4c/test/gtest/post_midend_constant_folding.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf_gtest_helpers.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/power_schema_dot_prefix.cpp b/backends/tofino/bf-p4c/test/gtest/power_schema_dot_prefix.cpp index 47297683a..ecc0c9ca1 100644 --- a/backends/tofino/bf-p4c/test/gtest/power_schema_dot_prefix.cpp +++ b/backends/tofino/bf-p4c/test/gtest/power_schema_dot_prefix.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * This test tests whether a generated power.json file contains * names beginning with a dot, which is an issue for p4i. diff --git a/backends/tofino/bf-p4c/test/gtest/pragma_eg_intr_md_opt.cpp b/backends/tofino/bf-p4c/test/gtest/pragma_eg_intr_md_opt.cpp index e7085eb62..3632df232 100644 --- a/backends/tofino/bf-p4c/test/gtest/pragma_eg_intr_md_opt.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pragma_eg_intr_md_opt.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/pragma_no_gateway_conversion.cpp b/backends/tofino/bf-p4c/test/gtest/pragma_no_gateway_conversion.cpp index 58b35aeb2..d76a2445b 100644 --- a/backends/tofino/bf-p4c/test/gtest/pragma_no_gateway_conversion.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pragma_no_gateway_conversion.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf_gtest_helpers.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/pragma_sep_gat.cpp b/backends/tofino/bf-p4c/test/gtest/pragma_sep_gat.cpp index 84924432b..4125616e8 100644 --- a/backends/tofino/bf-p4c/test/gtest/pragma_sep_gat.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pragma_sep_gat.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf_gtest_helpers.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/pragma_stage.cpp b/backends/tofino/bf-p4c/test/gtest/pragma_stage.cpp index 0c8345830..74bf664d8 100644 --- a/backends/tofino/bf-p4c/test/gtest/pragma_stage.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pragma_stage.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf_gtest_helpers.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/pragmas_backward_quick_phv_bandwidth.cpp b/backends/tofino/bf-p4c/test/gtest/pragmas_backward_quick_phv_bandwidth.cpp index a7b69d5a2..310e4d6f4 100644 --- a/backends/tofino/bf-p4c/test/gtest/pragmas_backward_quick_phv_bandwidth.cpp +++ b/backends/tofino/bf-p4c/test/gtest/pragmas_backward_quick_phv_bandwidth.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/bf-p4c-options.h" #include "bf-p4c/control-plane/runtime.h" #include "bf_gtest_helpers.h" diff --git a/backends/tofino/bf-p4c/test/gtest/register_actions.cpp b/backends/tofino/bf-p4c/test/gtest/register_actions.cpp index f9b374afc..9da14b450 100644 --- a/backends/tofino/bf-p4c/test/gtest/register_actions.cpp +++ b/backends/tofino/bf-p4c/test/gtest/register_actions.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/bf-p4c-options.h" #include "bf-p4c/control-plane/runtime.h" #include "bf_gtest_helpers.h" diff --git a/backends/tofino/bf-p4c/test/gtest/register_read_write.cpp b/backends/tofino/bf-p4c/test/gtest/register_read_write.cpp index 5ccaca9e5..2a1b4a5d2 100644 --- a/backends/tofino/bf-p4c/test/gtest/register_read_write.cpp +++ b/backends/tofino/bf-p4c/test/gtest/register_read_write.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * This test covers slicing, downcasting, and upcasting * of the output of the read method of a Register extern. diff --git a/backends/tofino/bf-p4c/test/gtest/scc_toposort.cpp b/backends/tofino/bf-p4c/test/gtest/scc_toposort.cpp index d349c7123..9d9809025 100644 --- a/backends/tofino/bf-p4c/test/gtest/scc_toposort.cpp +++ b/backends/tofino/bf-p4c/test/gtest/scc_toposort.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/scc_toposort.h" #include "bf-p4c/test/gtest/tofino_gtest_utils.h" diff --git a/backends/tofino/bf-p4c/test/gtest/simplify_key_elim_casts.cpp b/backends/tofino/bf-p4c/test/gtest/simplify_key_elim_casts.cpp index 21440cef4..09ca3c419 100644 --- a/backends/tofino/bf-p4c/test/gtest/simplify_key_elim_casts.cpp +++ b/backends/tofino/bf-p4c/test/gtest/simplify_key_elim_casts.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - /* * This test tests whether the midend produces suitable output * for cast, slice, and concat statements used in the match key. diff --git a/backends/tofino/bf-p4c/test/gtest/slice.cpp b/backends/tofino/bf-p4c/test/gtest/slice.cpp index 3bf456c2a..01626c191 100644 --- a/backends/tofino/bf-p4c/test/gtest/slice.cpp +++ b/backends/tofino/bf-p4c/test/gtest/slice.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/common/slice.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/slice_comparison.cpp b/backends/tofino/bf-p4c/test/gtest/slice_comparison.cpp index 93dd49312..c486dd314 100644 --- a/backends/tofino/bf-p4c/test/gtest/slice_comparison.cpp +++ b/backends/tofino/bf-p4c/test/gtest/slice_comparison.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf_gtest_helpers.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/static_entries_const_prop.cpp b/backends/tofino/bf-p4c/test/gtest/static_entries_const_prop.cpp index 34aa8e653..e32c4d4db 100644 --- a/backends/tofino/bf-p4c/test/gtest/static_entries_const_prop.cpp +++ b/backends/tofino/bf-p4c/test/gtest/static_entries_const_prop.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/table_dependency_graph.cpp b/backends/tofino/bf-p4c/test/gtest/table_dependency_graph.cpp index 0c428dfba..e188dd669 100644 --- a/backends/tofino/bf-p4c/test/gtest/table_dependency_graph.cpp +++ b/backends/tofino/bf-p4c/test/gtest/table_dependency_graph.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/table_dependency_graph.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/table_flow_graph.cpp b/backends/tofino/bf-p4c/test/gtest/table_flow_graph.cpp index d84e7bc06..4b2f68239 100644 --- a/backends/tofino/bf-p4c/test/gtest/table_flow_graph.cpp +++ b/backends/tofino/bf-p4c/test/gtest/table_flow_graph.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/table_flow_graph.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/table_mutex.cpp b/backends/tofino/bf-p4c/test/gtest/table_mutex.cpp index 6cdfa5182..ab35f1cca 100644 --- a/backends/tofino/bf-p4c/test/gtest/table_mutex.cpp +++ b/backends/tofino/bf-p4c/test/gtest/table_mutex.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/mau/table_mutex.h" #include diff --git a/backends/tofino/bf-p4c/test/gtest/test_bf_gtest_helpers.cpp b/backends/tofino/bf-p4c/test/gtest/test_bf_gtest_helpers.cpp index 09e07223f..dbec68a35 100644 --- a/backends/tofino/bf-p4c/test/gtest/test_bf_gtest_helpers.cpp +++ b/backends/tofino/bf-p4c/test/gtest/test_bf_gtest_helpers.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include "bf-p4c/midend/elim_cast.h" diff --git a/backends/tofino/bf-p4c/test/gtest/tofino_gtest_utils.cpp b/backends/tofino/bf-p4c/test/gtest/tofino_gtest_utils.cpp index 5f66714d0..ada3d18cf 100644 --- a/backends/tofino/bf-p4c/test/gtest/tofino_gtest_utils.cpp +++ b/backends/tofino/bf-p4c/test/gtest/tofino_gtest_utils.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/test/gtest/tofino_gtest_utils.h" #include "bf-p4c/arch/arch.h" diff --git a/backends/tofino/bf-p4c/test/gtest/tofino_gtest_utils.h b/backends/tofino/bf-p4c/test/gtest/tofino_gtest_utils.h index 04c72ff4d..eadfdd022 100644 --- a/backends/tofino/bf-p4c/test/gtest/tofino_gtest_utils.h +++ b/backends/tofino/bf-p4c/test/gtest/tofino_gtest_utils.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_TEST_GTEST_TOFINO_GTEST_UTILS_H_ #define BACKENDS_TOFINO_BF_P4C_TEST_GTEST_TOFINO_GTEST_UTILS_H_ diff --git a/backends/tofino/bf-p4c/test/gtest/tofino_write_context.cpp b/backends/tofino/bf-p4c/test/gtest/tofino_write_context.cpp index 9c77015b5..4b154849c 100644 --- a/backends/tofino/bf-p4c/test/gtest/tofino_write_context.cpp +++ b/backends/tofino/bf-p4c/test/gtest/tofino_write_context.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/ir/tofino_write_context.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/tphv_slice.cpp b/backends/tofino/bf-p4c/test/gtest/tphv_slice.cpp index bfc544991..f91cfb494 100644 --- a/backends/tofino/bf-p4c/test/gtest/tphv_slice.cpp +++ b/backends/tofino/bf-p4c/test/gtest/tphv_slice.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include diff --git a/backends/tofino/bf-p4c/test/gtest/type_categories.cpp b/backends/tofino/bf-p4c/test/gtest/type_categories.cpp index c1c3c95c8..6237d6b34 100644 --- a/backends/tofino/bf-p4c/test/gtest/type_categories.cpp +++ b/backends/tofino/bf-p4c/test/gtest/type_categories.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/midend/type_categories.h" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/union_find.cpp b/backends/tofino/bf-p4c/test/gtest/union_find.cpp index 96c02d30f..2d25c5643 100644 --- a/backends/tofino/bf-p4c/test/gtest/union_find.cpp +++ b/backends/tofino/bf-p4c/test/gtest/union_find.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/lib/union_find.hpp" #include "gtest/gtest.h" diff --git a/backends/tofino/bf-p4c/test/gtest/v1model_translate.cpp b/backends/tofino/bf-p4c/test/gtest/v1model_translate.cpp index 0e8807533..8cfe098b0 100644 --- a/backends/tofino/bf-p4c/test/gtest/v1model_translate.cpp +++ b/backends/tofino/bf-p4c/test/gtest/v1model_translate.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include #include #include diff --git a/backends/tofino/bf-p4c/test/utils/super_cluster_builder.cpp b/backends/tofino/bf-p4c/test/utils/super_cluster_builder.cpp index 3030e78d4..58045ce9e 100644 --- a/backends/tofino/bf-p4c/test/utils/super_cluster_builder.cpp +++ b/backends/tofino/bf-p4c/test/utils/super_cluster_builder.cpp @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #include "bf-p4c/test/utils/super_cluster_builder.h" #include "bf-p4c/../p4c/lib/log.h" diff --git a/backends/tofino/bf-p4c/test/utils/super_cluster_builder.h b/backends/tofino/bf-p4c/test/utils/super_cluster_builder.h index 3a2cbcd84..f9edab550 100644 --- a/backends/tofino/bf-p4c/test/utils/super_cluster_builder.h +++ b/backends/tofino/bf-p4c/test/utils/super_cluster_builder.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_TEST_UTILS_SUPER_CLUSTER_BUILDER_H_ #define BACKENDS_TOFINO_BF_P4C_TEST_UTILS_SUPER_CLUSTER_BUILDER_H_ diff --git a/backends/tofino/bf-p4c/version.h b/backends/tofino/bf-p4c/version.h index ff762950e..420e878bb 100644 --- a/backends/tofino/bf-p4c/version.h +++ b/backends/tofino/bf-p4c/version.h @@ -1,22 +1,21 @@ /** * Copyright (C) 2024 Intel Corporation - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. - * - * + * + * * SPDX-License-Identifier: Apache-2.0 */ - #ifndef BACKENDS_TOFINO_BF_P4C_VERSION_H_ #define BACKENDS_TOFINO_BF_P4C_VERSION_H_