P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
MatchSource Class Referenceabstract

#include <match_source.h>

Inheritance diagram for MatchSource:
[legend]

Public Member Functions

virtual void dbprint (std::ostream &out) const =0
 
virtual int fieldhibit () const =0
 
virtual int fieldlobit () const =0
 
virtual int get_lineno () const =0
 
virtual const char * name () const =0
 
virtual unsigned size () const =0
 
virtual int slicehibit () const =0
 
virtual int slicelobit () const =0
 
virtual std::string toString () const =0
 
- Public Member Functions inherited from P4::IHasDbPrint
void print () const
 

Detailed Description

Copyright (C) 2024 Intel Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

SPDX-License-Identifier: Apache-2.0 A source for a match key of a table. The source can either be from the input xbar, or from the galois field matrix, as indicated in uArch Section Exact Match Row Vertical/Horizontal (VH) Xbars. This class is the parent of HashMatchSource and Phv::Ref.

Member Function Documentation

◆ dbprint()

virtual void MatchSource::dbprint ( std::ostream & out) const
pure virtual

Implements P4::IHasDbPrint.