17#ifndef BACKENDS_EBPF_PSA_BACKEND_H_
18#define BACKENDS_EBPF_PSA_BACKEND_H_
20#include "ebpfPsaGen.h"
30 const IR::ToplevelBlock *toplevel =
nullptr;
40 corelib(P4::P4CoreLibrary::instance()),
45 void convert(
const IR::ToplevelBlock *tlb);
46 void codegen(std::ostream &cstream)
const {
49 ebpf_program->emit(&c);
50 cstream << c.toString();
Definition ebpf/codeGen.h:33
Definition ebpfPsaGen.h:47
Definition ebpf/psa/backend.h:24
Definition ebpf/target.h:44
Definition ebpfOptions.h:26
Definition coreLibrary.h:103
bool isv1() const
True if we are compiling a P4 v1.0 or v1.1 program.
Definition parser_options.cpp:473
Class used to encode maps from paths to declarations.
Definition referenceMap.h:66
void setIsV1(bool isv1)
Set boolean indicating whether map is for a P4_14 program to isV1.
Definition referenceMap.h:105
Definition codeGen.cpp:25