4 #include "fence_common.h"
12 const ModelAction *act;
16 PatchUnit(const ModelAction *act, memory_order mo) {
21 const ModelAction* getAct() {
25 memory_order getMO() {
34 SnapVector<PatchUnit*> *units;
37 Patch(const ModelAction *act, memory_order mo);
39 Patch(const ModelAction *act1, memory_order mo1, const ModelAction *act2,
44 bool canStrengthen(Inference *curInfer);
48 void addPatchUnit(const ModelAction *act, memory_order mo);
52 PatchUnit* get(int i);