2013-01-31 12:12:40 +00:00
|
|
|
//==-- 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();
|
|
|
|
|
2013-02-15 14:32:20 +00:00
|
|
|
FunctionPass *createAArch64BranchFixupPass();
|
|
|
|
|
2014-02-20 16:00:08 +00:00
|
|
|
/// \brief Creates an AArch64-specific Target Transformation Info pass.
|
|
|
|
ImmutablePass *createAArch64TargetTransformInfoPass(
|
|
|
|
const AArch64TargetMachine *TM);
|
|
|
|
|
2013-01-31 12:12:40 +00:00
|
|
|
void LowerAArch64MachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
|
|
|
|
AArch64AsmPrinter &AP);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|