-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmapping.h
More file actions
26 lines (21 loc) · 720 Bytes
/
Copy pathmapping.h
File metadata and controls
26 lines (21 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* contains functions and data for mappings between namespaces used in
* the chow allocator.
*/
#ifndef __GUARD_MAPPING_H
#define __GUARD_MAPPING_H
/*----------------------------INCLUDES----------------------------*/
#include <Shared.h>
#include "types.h"
#include "debug.h"
namespace Mapping {
/*-------------------------FUNCTIONS---------------------------*/
void CreateLiveRangeNameMap(Arena);
LRID SSAName2OrigLRID(Variable v);
void ConvertLiveInNamespaceSSAToLiveRange();
void ConvertLiveOutNamespaceSSAToLiveRange();
void CreateLiveRangeTypeMap(Arena, Unsigned_Int lr_count);
Def_Type LiveRangeDefType(LRID lrid);
void CreateSSANameTypeMap(Arena arena);
Def_Type SSANameDefType(Variable ssa_name);
}
#endif