aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/AArch64/AArch64.h
blob: 4de4faa581829281ba51d615e1c728fd05efdf8f (plain)
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
//==-- AArch64.h - Top-level interface for AArch64 representation -*- 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
// AArch64 back-end.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_TARGET_AARCH64_H
#define LLVM_TARGET_AARCH64_H

#include "MCTargetDesc/AArch64MCTargetDesc.h"
#include "llvm/Target/TargetMachine.h"

namespace llvm {

class AArch64AsmPrinter;
class FunctionPass;
class AArch64TargetMachine;
class MachineInstr;
class MCInst;

FunctionPass *createAArch64ISelDAG(AArch64TargetMachine &TM,
                                   CodeGenOpt::Level OptLevel);

FunctionPass *createAArch64CleanupLocalDynamicTLSPass();

FunctionPass *createAArch64BranchFixupPass();

void LowerAArch64MachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
                                      AArch64AsmPrinter &AP);


}

#endif