LLVM 19.0.0git
ARM.h
Go to the documentation of this file.
1//===-- ARM.h - Top-level interface for ARM representation ------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file contains the entry points for global functions defined in the LLVM
10// ARM back-end.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_ARM_ARM_H
15#define LLVM_LIB_TARGET_ARM_ARM_H
16
19#include <functional>
20
21namespace llvm {
22
23class ARMAsmPrinter;
24class ARMBaseTargetMachine;
25class ARMRegisterBankInfo;
26class ARMSubtarget;
27class Function;
28class FunctionPass;
29class InstructionSelector;
30class MCInst;
31class MachineInstr;
32class PassRegistry;
33
35FunctionPass *createARMLowOverheadLoopsPass();
36FunctionPass *createARMBlockPlacementPass();
38FunctionPass *createARMISelDag(ARMBaseTargetMachine &TM,
39 CodeGenOptLevel OptLevel);
40FunctionPass *createA15SDOptimizerPass();
41FunctionPass *createARMLoadStoreOptimizationPass(bool PreAlloc = false);
42FunctionPass *createARMExpandPseudoPass();
51 std::function<bool(const Function &)> Ftor = nullptr);
54 const ARMRegisterBankInfo &RBI);
60
62 ARMAsmPrinter &AP);
63
82
83} // end namespace llvm
84
85#endif // LLVM_LIB_TARGET_ARM_ARM_H
aarch64 AArch64 CCMP Pass
IRTranslator LLVM IR MI
const char LLVMTargetMachineRef TM
This class provides the information for the target register banks.
FunctionPass class - This class is used to implement most global optimizations.
Definition: Pass.h:311
Instances of this class represent a single low-level machine instruction.
Definition: MCInst.h:184
Representation of each machine instruction.
Definition: MachineInstr.h:69
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:37
Pass interface - Implemented by all 'passes'.
Definition: Pass.h:94
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
void initializeARMConstantIslandsPass(PassRegistry &)
FunctionPass * createMVETPAndVPTOptimisationsPass()
createMVETPAndVPTOptimisationsPass
Pass * createMVELaneInterleavingPass()
FunctionPass * createARMOptimizeBarriersPass()
createARMOptimizeBarriersPass - Returns an instance of the remove double barriers pass.
InstructionSelector * createARMInstructionSelector(const ARMBaseTargetMachine &TM, const ARMSubtarget &STI, const ARMRegisterBankInfo &RBI)
void initializeMVETailPredicationPass(PassRegistry &)
void initializeMVELaneInterleavingPass(PassRegistry &)
Pass * createMVEGatherScatterLoweringPass()
FunctionPass * createARMISelDag(ARMBaseTargetMachine &TM, CodeGenOptLevel OptLevel)
createARMISelDag - This pass converts a legalized DAG into a ARM-specific DAG, ready for instruction ...
FunctionPass * createARMLowOverheadLoopsPass()
FunctionPass * createARMLoadStoreOptimizationPass(bool PreAlloc=false)
Returns an instance of the load / store optimization pass.
FunctionPass * createARMBranchTargetsPass()
void initializeARMBranchTargetsPass(PassRegistry &)
Pass * createMVETailPredicationPass()
FunctionPass * createARMBlockPlacementPass()
void initializeARMDAGToDAGISelPass(PassRegistry &)
void initializeARMParallelDSPPass(PassRegistry &)
CodeGenOptLevel
Code generation optimization level.
Definition: CodeGen.h:54
void initializeARMExpandPseudoPass(PassRegistry &)
FunctionPass * createA15SDOptimizerPass()
void initializeARMSLSHardeningPass(PassRegistry &)
void initializeThumb2ITBlockPass(PassRegistry &)
void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, ARMAsmPrinter &AP)
FunctionPass * createARMSLSHardeningPass()
FunctionPass * createARMConstantIslandPass()
createARMConstantIslandPass - returns an instance of the constpool island pass.
void initializeARMLowOverheadLoopsPass(PassRegistry &)
void initializeMVETPAndVPTOptimisationsPass(PassRegistry &)
void initializeThumb2SizeReducePass(PassRegistry &)
FunctionPass * createThumb2ITBlockPass()
createThumb2ITBlockPass - Returns an instance of the Thumb2 IT blocks insertion pass.
void initializeMVEGatherScatterLoweringPass(PassRegistry &)
FunctionPass * createARMExpandPseudoPass()
createARMExpandPseudoPass - returns an instance of the pseudo instruction expansion pass.
FunctionPass * createARMIndirectThunks()
void initializeARMFixCortexA57AES1742098Pass(PassRegistry &)
FunctionPass * createARMFixCortexA57AES1742098Pass()
Pass * createARMParallelDSPPass()
FunctionPass * createThumb2SizeReductionPass(std::function< bool(const Function &)> Ftor=nullptr)
createThumb2SizeReductionPass - Returns an instance of the Thumb2 size reduction pass.
void initializeMVEVPTBlockPass(PassRegistry &)
FunctionPass * createMLxExpansionPass()
void initializeARMLoadStoreOptPass(PassRegistry &)
void initializeARMPreAllocLoadStoreOptPass(PassRegistry &)
void initializeARMBlockPlacementPass(PassRegistry &)
FunctionPass * createMVEVPTBlockPass()
createMVEVPTBlock - Returns an instance of the MVE VPT block insertion pass.