diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-03-29 10:18:08 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-03-29 10:18:08 +0000 |
| commit | 00ed9964c65962e2afc8e3c83a2f7114b0ce25a0 (patch) | |
| tree | 21404a5e99549c2f98d72eac05f9df0b484d2d28 /llvm/lib/Target/ARM64/ARM64.h | |
| parent | 3e38d290c872ae8d875b8dbe2d55262cee3a3cf9 (diff) | |
| download | bcm5719-llvm-00ed9964c65962e2afc8e3c83a2f7114b0ce25a0.tar.gz bcm5719-llvm-00ed9964c65962e2afc8e3c83a2f7114b0ce25a0.zip | |
ARM64: initial backend import
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.
llvm-svn: 205090
Diffstat (limited to 'llvm/lib/Target/ARM64/ARM64.h')
| -rw-r--r-- | llvm/lib/Target/ARM64/ARM64.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM64/ARM64.h b/llvm/lib/Target/ARM64/ARM64.h new file mode 100644 index 00000000000..f2c5e609986 --- /dev/null +++ b/llvm/lib/Target/ARM64/ARM64.h @@ -0,0 +1,48 @@ +//===-- 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 |

