OpenCores
URL https://opencores.org/ocsvn/thor/thor/trunk

Subversion Repositories thor

[/] [thor/] [trunk/] [FT64v5/] [software/] [CC64/] [source/] [proto.h] - Blame information for rev 59

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 48 robfinch
#ifndef _PROTO_H
2
#define _PROTO_H
3
 
4
// Register.cpp
5
bool IsArgumentReg(int regno);
6
bool IsCalleeSave(int regno);
7
 
8
int64_t GetConstExpression(ENODE **pnode);
9
void GenMemop(int op, Operand *ap1, Operand *ap2, int ssize);
10
void GenerateHint(int num);
11
 
12
void SaveRegisterVars(int64_t mask, int64_t rmask);
13
void SaveFPRegisterVars(int64_t fpmask, int64_t fprmask);
14
void GenLdi(Operand *, Operand *);
15
void SaveRegisterVars(int64_t mask, int64_t rmask);
16
void SaveFPRegisterVars(int64_t mask, int64_t rmask);
17
void funcbottom(Statement *stmt);
18
Function *allocFunction(int id);
19
SYM *makeint2(std::string na);
20
int round8(int n);
21
int pwrof2(int64_t);
22
void ListCompound(Statement *stmt);
23
std::string TraceName(SYM *sp);
24
void MarkRemove(OCODE *ip);
25
void IRemove();
26
int roundSize(TYP *tp);
27
extern char *rtrim(char *);
28
extern int caselit(scase *casetab, int64_t);
29
Operand *make_indexed2(int lab, int i);
30
 
31
// MemoryManagement.cpp
32
void FreeFunction(Function *fn);
33
 
34
// Outcode.cpp
35
extern void genstorage(int64_t nbytes);
36
extern void GenerateByte(int64_t val);
37
extern void GenerateChar(int64_t val);
38
extern void genhalf(int64_t val);
39
extern void GenerateWord(int64_t val);
40
extern void GenerateLong(int64_t val);
41
extern void GenerateFloat(Float128 *val);
42
extern void GenerateQuad(Float128 *);
43
extern void GenerateReference(SYM *sp, int64_t offset);
44
extern void GenerateLabelReference(int n);
45
 
46
extern char *RegMoniker(int regno);
47
 
48
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.