mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
7b837d8c75
This adds a second implementation of the AArch64 architecture to LLVM, accessible in parallel via the "arm64" triple. The plan over the coming weeks & months is to merge the two into a single backend, during which time thorough code review should naturally occur. Everything will be easier with the target in-tree though, hence this commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205090 91177308-0d34-0410-b5e6-96231b3b80d8
49 lines
1.6 KiB
C++
49 lines
1.6 KiB
C++
//===-- ARM64.h - Top-level interface for ARM64 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
|
|
// ARM64 back-end.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef TARGET_ARM64_H
|
|
#define TARGET_ARM64_H
|
|
|
|
#include "MCTargetDesc/ARM64BaseInfo.h"
|
|
#include "MCTargetDesc/ARM64MCTargetDesc.h"
|
|
#include "llvm/Target/TargetMachine.h"
|
|
#include "llvm/Support/DataTypes.h"
|
|
|
|
namespace llvm {
|
|
|
|
class ARM64TargetMachine;
|
|
class FunctionPass;
|
|
class MachineFunctionPass;
|
|
|
|
FunctionPass *createARM64DeadRegisterDefinitions();
|
|
FunctionPass *createARM64ConditionalCompares();
|
|
FunctionPass *createARM64AdvSIMDScalar();
|
|
FunctionPass *createARM64BranchRelaxation();
|
|
FunctionPass *createARM64ISelDag(ARM64TargetMachine &TM,
|
|
CodeGenOpt::Level OptLevel);
|
|
FunctionPass *createARM64StorePairSuppressPass();
|
|
FunctionPass *createARM64ExpandPseudoPass();
|
|
FunctionPass *createARM64LoadStoreOptimizationPass();
|
|
ModulePass *createARM64PromoteConstantPass();
|
|
FunctionPass *createARM64AddressTypePromotionPass();
|
|
/// \brief Creates an ARM-specific Target Transformation Info pass.
|
|
ImmutablePass *createARM64TargetTransformInfoPass(const ARM64TargetMachine *TM);
|
|
|
|
FunctionPass *createARM64CleanupLocalDynamicTLSPass();
|
|
|
|
FunctionPass *createARM64CollectLOHPass();
|
|
} // end namespace llvm
|
|
|
|
#endif
|