-
Notifications
You must be signed in to change notification settings - Fork 0
/
C65.h
44 lines (36 loc) · 1.23 KB
/
C65.h
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//===-- C65.h - Top-level interface for C65 Target --------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the entry points for global functions defined in the LLVM
// 6502 compatibles back-end.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_TARGET_C65_H
#define LLVM_TARGET_C65_H
#include "MCTargetDesc/C65MCTargetDesc.h"
namespace llvm {
class FunctionPass;
class C65TargetMachine;
class MachineInstr;
class AsmPrinter;
class MCInst;
FunctionPass *createC65ISelDag(C65TargetMachine &TM);
FunctionPass *createC65ZInstrExpanderPass();
FunctionPass *createC65RegSizeInsertPass();
void LowerC65MachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
AsmPrinter &AP, bool isDarwin);
} // end namespace llvm;
namespace C65AS {
enum AddressSpaces {
NEAR_ADDRESS = 0, ///< Near "address space"
FAR_ADDRESS = 1, ///< Far "address space"
LAST_ADDRESS = FAR_ADDRESS
};
}
#endif