![]() |
P4C
The P4 Compiler
|
#include <phv.h>
Classes | |
struct | PerStageInfo |
class | Ref |
struct | Register |
class | Slice |
Static Public Member Functions | |
static const std::set< std::string > & | aliases (const Register *reg, int stage) |
static std::string | db_regset (const bitvec &s) |
static const Slice * | get (gress_t gress, int stage, const std::string &name) |
static const Slice * | get (gress_t gress, int stg, const char *name) |
static const std::string | get_pov_name (int reg, int index) |
static unsigned | mau_groupsize () |
static int | num_regs () |
static const Register * | reg (int idx) |
static const Register * | reg (std::string name) |
static void | setuse (gress_t gress, const bitvec &u) |
static void | test_clear () |
static void | unsetuse (gress_t gress, const bitvec &u) |
static const bitvec & | use (gress_t gress) |
![]() | |
static void | asm_section (char *name, VECTOR(value_t) args, value_t data) |
static bool | no_sections_in_assembly () |
static void | output_all (json::map &ctxtJson) |
static void | process_all () |
static bool | section_in_assembly (const char *name) |
static int | start_section (int lineno, char *name, VECTOR(value_t) args) |
static Section * | test_get (const char *name) |
Protected Attributes | |
std::map< std::string, std::map< int, PerStageInfo > > | names [3] |
std::map< int, std::map< int, std::string > > | phv_pov_names |
std::vector< Register * > | regs |
Additional Inherited Members | |
![]() | |
Section (const char *name_) | |
virtual void | process () |
optionally process the data if not done during parsing | |
Copyright (C) 2024 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
SPDX-License-Identifier: Apache-2.0
struct Phv::PerStageInfo |
Class Members | ||
---|---|---|
int | max_stage = INT_MAX | |
Slice | slice |