LLVM  7.0.0
AArch64LegalizerInfo.h
Go to the documentation of this file.
1 //===- AArch64LegalizerInfo --------------------------------------*- C++ -*-==//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 /// \file
10 /// This file declares the targeting of the Machinelegalizer class for
11 /// AArch64.
12 /// \todo This should be generated by TableGen.
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_LIB_TARGET_AARCH64_AARCH64MACHINELEGALIZER_H
16 #define LLVM_LIB_TARGET_AARCH64_AARCH64MACHINELEGALIZER_H
17 
19 
20 namespace llvm {
21 
22 class LLVMContext;
23 class AArch64Subtarget;
24 
25 /// This class provides the information for the target register banks.
27 public:
29 
31  MachineIRBuilder &MIRBuilder) const override;
32 
33 private:
34  bool legalizeVaArg(MachineInstr &MI, MachineRegisterInfo &MRI,
35  MachineIRBuilder &MIRBuilder) const;
36 };
37 } // End llvm namespace.
38 #endif
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
This class provides the information for the target register banks.
unsigned const MachineRegisterInfo * MRI
AArch64LegalizerInfo(const AArch64Subtarget &ST)
bool legalizeCustom(MachineInstr &MI, MachineRegisterInfo &MRI, MachineIRBuilder &MIRBuilder) const override
MachineRegisterInfo - Keep track of information for virtual and physical registers, including vreg register classes, use/def chains for registers, etc.
Representation of each machine instruction.
Definition: MachineInstr.h:60
IRTranslator LLVM IR MI