write cache for global var
This commit is contained in:
8
include/opt/global_var_cache.h
Normal file
8
include/opt/global_var_cache.h
Normal file
@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
#include "mem2reg.h"
|
||||
#include <memory>
|
||||
#include <queue>
|
||||
#include "IR/IR_basic.h"
|
||||
#include "cfg.h"
|
||||
|
||||
std::shared_ptr<ModuleItem> GloabalVarCache(std::shared_ptr<ModuleItem> src);
|
@ -1,4 +1,5 @@
|
||||
#include "cfg.h"
|
||||
#include "gen.h"
|
||||
#include "global_var_cache.h"
|
||||
#include "mem2reg.h"
|
||||
#include "regalloc.h"
|
Reference in New Issue
Block a user