Home
last modified time | relevance | path

Searched refs:hlirType (Results 1 – 4 of 4) sorted by relevance

/external/bcc/src/cc/frontends/p4/compiler/
DtypeFactory.py12 def build(self, hlirType, asMetadata): argument
13 name = hlirType.name
14 if hlirType.name in self.type_map:
20 hlirType)
22 if isinstance(hlirType, p4_header):
24 type = EbpfMetadataType(hlirType, self.config)
26 type = EbpfHeaderType(hlirType, self.config)
28 raise CompilationException(True, "Unexpected type {0}", hlirType)
DebpfStructType.py14 self.hlirType = hlirParentType
20 "{0}.{1}: Saturated types", self.hlirType, self.name)
24 self.hlirType, widthInBits, signed, config)
41 for (fieldName, fieldSize) in self.hlirType.layout.items():
42 attributes = self.hlirType.attributes[fieldName]
74 return self.hlirType.length * 8
DebpfType.py9 def __init__(self, hlirType): argument
10 self.hlirType = hlirType
DebpfTable.py64 "{0} Mask wider than 32 bits", self.field.hlirType)