LLVM: lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp File Reference (original) (raw)

This file implements the targeting of the Machinelegalizer class for AArch64. More...

#include "[AArch64LegalizerInfo.h](AArch64LegalizerInfo%5F8h%5Fsource.html)"
#include "[AArch64Subtarget.h](AArch64Subtarget%5F8h%5Fsource.html)"
#include "[llvm/ADT/STLExtras.h](STLExtras%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/GlobalISel/GenericMachineInstrs.h](GenericMachineInstrs%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/GlobalISel/LegalizerHelper.h](LegalizerHelper%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/GlobalISel/LegalizerInfo.h](LegalizerInfo%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/GlobalISel/MIPatternMatch.h](MIPatternMatch%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/GlobalISel/MachineIRBuilder.h](MachineIRBuilder%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/GlobalISel/Utils.h](CodeGen%5F2GlobalISel%5F2Utils%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/MachineInstr.h](MachineInstr%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/MachineInstrBuilder.h](MachineInstrBuilder%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/MachineRegisterInfo.h](MachineRegisterInfo%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/TargetOpcodes.h](TargetOpcodes%5F8h%5Fsource.html)"
#include "[llvm/IR/DerivedTypes.h](DerivedTypes%5F8h%5Fsource.html)"
#include "[llvm/IR/Intrinsics.h](Intrinsics%5F8h%5Fsource.html)"
#include "llvm/IR/IntrinsicsAArch64.h"
#include "[llvm/IR/Type.h](IR%5F2Type%5F8h%5Fsource.html)"
#include "[llvm/Support/MathExtras.h](MathExtras%5F8h%5Fsource.html)"
#include <initializer_list>

Go to the source code of this file.

Macros
#define DEBUG_TYPE "aarch64-legalinfo"
Functions
static void matchLDPSTPAddrMode (Register Root, Register &Base, int &Offset, MachineRegisterInfo &MRI)

Detailed Description

This file implements the targeting of the Machinelegalizer class for AArch64.

Todo

This should be generated by TableGen.

Definition in file AArch64LegalizerInfo.cpp.

Macro Definition Documentation

DEBUG_TYPE

#define DEBUG_TYPE "aarch64-legalinfo"

Definition at line 34 of file AArch64LegalizerInfo.cpp.

Function Documentation

matchLDPSTPAddrMode()

void matchLDPSTPAddrMode ( Register Root, Register & Base, int & Offset, MachineRegisterInfo & MRI ) static

Definition at line 1930 of file AArch64LegalizerInfo.cpp.

References llvm::sampleprof::Base, llvm::isShiftedInt(), llvm::MIPatternMatch::m_GPtrAdd(), llvm::MIPatternMatch::m_ICst(), llvm::MIPatternMatch::m_Reg(), llvm::MIPatternMatch::mi_match(), MRI, and llvm::Offset.