P4C
The P4 Compiler
Loading...
Searching...
No Matches
check_unallocated.h
1
19#ifndef BF_P4C_PHV_CHECK_UNALLOCATED_H_
20#define BF_P4C_PHV_CHECK_UNALLOCATED_H_
21
22#include <sstream>
23
24#include "backends/tofino/bf-p4c/mau/table_placement.h"
25#include "backends/tofino/bf-p4c/phv/phv_analysis.h"
26#include "backends/tofino/bf-p4c/phv/phv_fields.h"
27#include "backends/tofino/bf-p4c/phv/phv_parde_mau_use.h"
28#include "ir/ir.h"
29
35 const PhvInfo &phv;
36 const PhvUse &uses;
37 const ClotInfo &clot;
38 ordered_set<PHV::Field *> unallocated_fields;
39
42 void collect_unallocated_fields();
43
44 public:
45 CheckForUnallocatedTemps(const PhvInfo &phv, PhvUse &uses, const ClotInfo &clot,
46 PHV_AnalysisPass *phv_alloc);
47};
48
49#endif /* BF_P4C_PHV_CHECK_UNALLOCATED_H_ */
Definition check_unallocated.h:34
CheckForUnallocatedTemps(const PhvInfo &phv, PhvUse &uses, const ClotInfo &clot, PHV_AnalysisPass *phv_alloc)
Definition check_unallocated.cpp:23
Definition clot_info.h:41
Definition ir/pass_manager.h:40
Definition ordered_set.h:32
Definition phv_analysis.h:64
Definition phv_fields.h:1095
Definition phv_parde_mau_use.h:154