10b57cec5SDimitry Andric //=- AArch64MachineFunctionInfo.h - AArch64 machine function info -*- C++ -*-=// 20b57cec5SDimitry Andric // 30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric // 90b57cec5SDimitry Andric // This file declares AArch64-specific per-machine-function information. 100b57cec5SDimitry Andric // 110b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 120b57cec5SDimitry Andric 130b57cec5SDimitry Andric #ifndef LLVM_LIB_TARGET_AARCH64_AARCH64MACHINEFUNCTIONINFO_H 140b57cec5SDimitry Andric #define LLVM_LIB_TARGET_AARCH64_AARCH64MACHINEFUNCTIONINFO_H 150b57cec5SDimitry Andric 160b57cec5SDimitry Andric #include "llvm/ADT/ArrayRef.h" 170b57cec5SDimitry Andric #include "llvm/ADT/Optional.h" 180b57cec5SDimitry Andric #include "llvm/ADT/SmallPtrSet.h" 190b57cec5SDimitry Andric #include "llvm/ADT/SmallVector.h" 200b57cec5SDimitry Andric #include "llvm/CodeGen/CallingConvLower.h" 210b57cec5SDimitry Andric #include "llvm/CodeGen/MachineFunction.h" 22*480093f4SDimitry Andric #include "llvm/CodeGen/TargetFrameLowering.h" 238bcb0991SDimitry Andric #include "llvm/IR/Function.h" 240b57cec5SDimitry Andric #include "llvm/MC/MCLinkerOptimizationHint.h" 250b57cec5SDimitry Andric #include <cassert> 260b57cec5SDimitry Andric 270b57cec5SDimitry Andric namespace llvm { 280b57cec5SDimitry Andric 290b57cec5SDimitry Andric class MachineInstr; 300b57cec5SDimitry Andric 310b57cec5SDimitry Andric /// AArch64FunctionInfo - This class is derived from MachineFunctionInfo and 320b57cec5SDimitry Andric /// contains private AArch64-specific information for each MachineFunction. 330b57cec5SDimitry Andric class AArch64FunctionInfo final : public MachineFunctionInfo { 340b57cec5SDimitry Andric /// Number of bytes of arguments this function has on the stack. If the callee 350b57cec5SDimitry Andric /// is expected to restore the argument stack this should be a multiple of 16, 360b57cec5SDimitry Andric /// all usable during a tail call. 370b57cec5SDimitry Andric /// 380b57cec5SDimitry Andric /// The alternative would forbid tail call optimisation in some cases: if we 390b57cec5SDimitry Andric /// want to transfer control from a function with 8-bytes of stack-argument 400b57cec5SDimitry Andric /// space to a function with 16-bytes then misalignment of this value would 410b57cec5SDimitry Andric /// make a stack adjustment necessary, which could not be undone by the 420b57cec5SDimitry Andric /// callee. 430b57cec5SDimitry Andric unsigned BytesInStackArgArea = 0; 440b57cec5SDimitry Andric 450b57cec5SDimitry Andric /// The number of bytes to restore to deallocate space for incoming 460b57cec5SDimitry Andric /// arguments. Canonically 0 in the C calling convention, but non-zero when 470b57cec5SDimitry Andric /// callee is expected to pop the args. 480b57cec5SDimitry Andric unsigned ArgumentStackToRestore = 0; 490b57cec5SDimitry Andric 500b57cec5SDimitry Andric /// HasStackFrame - True if this function has a stack frame. Set by 510b57cec5SDimitry Andric /// determineCalleeSaves(). 520b57cec5SDimitry Andric bool HasStackFrame = false; 530b57cec5SDimitry Andric 540b57cec5SDimitry Andric /// Amount of stack frame size, not including callee-saved registers. 55*480093f4SDimitry Andric uint64_t LocalStackSize = 0; 56*480093f4SDimitry Andric 57*480093f4SDimitry Andric /// The start and end frame indices for the SVE callee saves. 58*480093f4SDimitry Andric int MinSVECSFrameIndex = 0; 59*480093f4SDimitry Andric int MaxSVECSFrameIndex = 0; 600b57cec5SDimitry Andric 610b57cec5SDimitry Andric /// Amount of stack frame size used for saving callee-saved registers. 62*480093f4SDimitry Andric unsigned CalleeSavedStackSize = 0; 63*480093f4SDimitry Andric unsigned SVECalleeSavedStackSize = 0; 64*480093f4SDimitry Andric bool HasCalleeSavedStackSize = false; 650b57cec5SDimitry Andric 660b57cec5SDimitry Andric /// Number of TLS accesses using the special (combinable) 670b57cec5SDimitry Andric /// _TLS_MODULE_BASE_ symbol. 680b57cec5SDimitry Andric unsigned NumLocalDynamicTLSAccesses = 0; 690b57cec5SDimitry Andric 700b57cec5SDimitry Andric /// FrameIndex for start of varargs area for arguments passed on the 710b57cec5SDimitry Andric /// stack. 720b57cec5SDimitry Andric int VarArgsStackIndex = 0; 730b57cec5SDimitry Andric 740b57cec5SDimitry Andric /// FrameIndex for start of varargs area for arguments passed in 750b57cec5SDimitry Andric /// general purpose registers. 760b57cec5SDimitry Andric int VarArgsGPRIndex = 0; 770b57cec5SDimitry Andric 780b57cec5SDimitry Andric /// Size of the varargs area for arguments passed in general purpose 790b57cec5SDimitry Andric /// registers. 800b57cec5SDimitry Andric unsigned VarArgsGPRSize = 0; 810b57cec5SDimitry Andric 820b57cec5SDimitry Andric /// FrameIndex for start of varargs area for arguments passed in 830b57cec5SDimitry Andric /// floating-point registers. 840b57cec5SDimitry Andric int VarArgsFPRIndex = 0; 850b57cec5SDimitry Andric 860b57cec5SDimitry Andric /// Size of the varargs area for arguments passed in floating-point 870b57cec5SDimitry Andric /// registers. 880b57cec5SDimitry Andric unsigned VarArgsFPRSize = 0; 890b57cec5SDimitry Andric 900b57cec5SDimitry Andric /// True if this function has a subset of CSRs that is handled explicitly via 910b57cec5SDimitry Andric /// copies. 920b57cec5SDimitry Andric bool IsSplitCSR = false; 930b57cec5SDimitry Andric 940b57cec5SDimitry Andric /// True when the stack gets realigned dynamically because the size of stack 950b57cec5SDimitry Andric /// frame is unknown at compile time. e.g., in case of VLAs. 960b57cec5SDimitry Andric bool StackRealigned = false; 970b57cec5SDimitry Andric 980b57cec5SDimitry Andric /// True when the callee-save stack area has unused gaps that may be used for 990b57cec5SDimitry Andric /// other stack allocations. 1000b57cec5SDimitry Andric bool CalleeSaveStackHasFreeSpace = false; 1010b57cec5SDimitry Andric 1020b57cec5SDimitry Andric /// SRetReturnReg - sret lowering includes returning the value of the 1030b57cec5SDimitry Andric /// returned struct in a register. This field holds the virtual register into 1040b57cec5SDimitry Andric /// which the sret argument is passed. 1050b57cec5SDimitry Andric unsigned SRetReturnReg = 0; 1068bcb0991SDimitry Andric /// SVE stack size (for predicates and data vectors) are maintained here 1078bcb0991SDimitry Andric /// rather than in FrameInfo, as the placement and Stack IDs are target 1088bcb0991SDimitry Andric /// specific. 1098bcb0991SDimitry Andric uint64_t StackSizeSVE = 0; 1108bcb0991SDimitry Andric 1118bcb0991SDimitry Andric /// HasCalculatedStackSizeSVE indicates whether StackSizeSVE is valid. 1128bcb0991SDimitry Andric bool HasCalculatedStackSizeSVE = false; 1130b57cec5SDimitry Andric 1140b57cec5SDimitry Andric /// Has a value when it is known whether or not the function uses a 1150b57cec5SDimitry Andric /// redzone, and no value otherwise. 1160b57cec5SDimitry Andric /// Initialized during frame lowering, unless the function has the noredzone 1170b57cec5SDimitry Andric /// attribute, in which case it is set to false at construction. 1180b57cec5SDimitry Andric Optional<bool> HasRedZone; 1190b57cec5SDimitry Andric 1200b57cec5SDimitry Andric /// ForwardedMustTailRegParms - A list of virtual and physical registers 1210b57cec5SDimitry Andric /// that must be forwarded to every musttail call. 1220b57cec5SDimitry Andric SmallVector<ForwardedRegister, 1> ForwardedMustTailRegParms; 1230b57cec5SDimitry Andric 1240b57cec5SDimitry Andric // Offset from SP-at-entry to the tagged base pointer. 1250b57cec5SDimitry Andric // Tagged base pointer is set up to point to the first (lowest address) tagged 1260b57cec5SDimitry Andric // stack slot. 127*480093f4SDimitry Andric unsigned TaggedBasePointerOffset = 0; 1280b57cec5SDimitry Andric 1290b57cec5SDimitry Andric public: 1300b57cec5SDimitry Andric AArch64FunctionInfo() = default; 1310b57cec5SDimitry Andric 1320b57cec5SDimitry Andric explicit AArch64FunctionInfo(MachineFunction &MF) { 1330b57cec5SDimitry Andric (void)MF; 1340b57cec5SDimitry Andric 1350b57cec5SDimitry Andric // If we already know that the function doesn't have a redzone, set 1360b57cec5SDimitry Andric // HasRedZone here. 1370b57cec5SDimitry Andric if (MF.getFunction().hasFnAttribute(Attribute::NoRedZone)) 1380b57cec5SDimitry Andric HasRedZone = false; 1390b57cec5SDimitry Andric } 1400b57cec5SDimitry Andric 1410b57cec5SDimitry Andric unsigned getBytesInStackArgArea() const { return BytesInStackArgArea; } 1420b57cec5SDimitry Andric void setBytesInStackArgArea(unsigned bytes) { BytesInStackArgArea = bytes; } 1430b57cec5SDimitry Andric 1440b57cec5SDimitry Andric unsigned getArgumentStackToRestore() const { return ArgumentStackToRestore; } 1450b57cec5SDimitry Andric void setArgumentStackToRestore(unsigned bytes) { 1460b57cec5SDimitry Andric ArgumentStackToRestore = bytes; 1470b57cec5SDimitry Andric } 1480b57cec5SDimitry Andric 1498bcb0991SDimitry Andric bool hasCalculatedStackSizeSVE() const { return HasCalculatedStackSizeSVE; } 1508bcb0991SDimitry Andric 1518bcb0991SDimitry Andric void setStackSizeSVE(uint64_t S) { 1528bcb0991SDimitry Andric HasCalculatedStackSizeSVE = true; 1538bcb0991SDimitry Andric StackSizeSVE = S; 1548bcb0991SDimitry Andric } 1558bcb0991SDimitry Andric 1568bcb0991SDimitry Andric uint64_t getStackSizeSVE() const { return StackSizeSVE; } 1578bcb0991SDimitry Andric 1580b57cec5SDimitry Andric bool hasStackFrame() const { return HasStackFrame; } 1590b57cec5SDimitry Andric void setHasStackFrame(bool s) { HasStackFrame = s; } 1600b57cec5SDimitry Andric 1610b57cec5SDimitry Andric bool isStackRealigned() const { return StackRealigned; } 1620b57cec5SDimitry Andric void setStackRealigned(bool s) { StackRealigned = s; } 1630b57cec5SDimitry Andric 1640b57cec5SDimitry Andric bool hasCalleeSaveStackFreeSpace() const { 1650b57cec5SDimitry Andric return CalleeSaveStackHasFreeSpace; 1660b57cec5SDimitry Andric } 1670b57cec5SDimitry Andric void setCalleeSaveStackHasFreeSpace(bool s) { 1680b57cec5SDimitry Andric CalleeSaveStackHasFreeSpace = s; 1690b57cec5SDimitry Andric } 1700b57cec5SDimitry Andric bool isSplitCSR() const { return IsSplitCSR; } 1710b57cec5SDimitry Andric void setIsSplitCSR(bool s) { IsSplitCSR = s; } 1720b57cec5SDimitry Andric 173*480093f4SDimitry Andric void setLocalStackSize(uint64_t Size) { LocalStackSize = Size; } 174*480093f4SDimitry Andric uint64_t getLocalStackSize() const { return LocalStackSize; } 1750b57cec5SDimitry Andric 176*480093f4SDimitry Andric void setCalleeSavedStackSize(unsigned Size) { 177*480093f4SDimitry Andric CalleeSavedStackSize = Size; 178*480093f4SDimitry Andric HasCalleeSavedStackSize = true; 179*480093f4SDimitry Andric } 180*480093f4SDimitry Andric 181*480093f4SDimitry Andric // When CalleeSavedStackSize has not been set (for example when 182*480093f4SDimitry Andric // some MachineIR pass is run in isolation), then recalculate 183*480093f4SDimitry Andric // the CalleeSavedStackSize directly from the CalleeSavedInfo. 184*480093f4SDimitry Andric // Note: This information can only be recalculated after PEI 185*480093f4SDimitry Andric // has assigned offsets to the callee save objects. 186*480093f4SDimitry Andric unsigned getCalleeSavedStackSize(const MachineFrameInfo &MFI) const { 187*480093f4SDimitry Andric bool ValidateCalleeSavedStackSize = false; 188*480093f4SDimitry Andric 189*480093f4SDimitry Andric #ifndef NDEBUG 190*480093f4SDimitry Andric // Make sure the calculated size derived from the CalleeSavedInfo 191*480093f4SDimitry Andric // equals the cached size that was calculated elsewhere (e.g. in 192*480093f4SDimitry Andric // determineCalleeSaves). 193*480093f4SDimitry Andric ValidateCalleeSavedStackSize = HasCalleeSavedStackSize; 194*480093f4SDimitry Andric #endif 195*480093f4SDimitry Andric 196*480093f4SDimitry Andric if (!HasCalleeSavedStackSize || ValidateCalleeSavedStackSize) { 197*480093f4SDimitry Andric assert(MFI.isCalleeSavedInfoValid() && "CalleeSavedInfo not calculated"); 198*480093f4SDimitry Andric if (MFI.getCalleeSavedInfo().empty()) 199*480093f4SDimitry Andric return 0; 200*480093f4SDimitry Andric 201*480093f4SDimitry Andric int64_t MinOffset = std::numeric_limits<int64_t>::max(); 202*480093f4SDimitry Andric int64_t MaxOffset = std::numeric_limits<int64_t>::min(); 203*480093f4SDimitry Andric for (const auto &Info : MFI.getCalleeSavedInfo()) { 204*480093f4SDimitry Andric int FrameIdx = Info.getFrameIdx(); 205*480093f4SDimitry Andric if (MFI.getStackID(FrameIdx) != TargetStackID::Default) 206*480093f4SDimitry Andric continue; 207*480093f4SDimitry Andric int64_t Offset = MFI.getObjectOffset(FrameIdx); 208*480093f4SDimitry Andric int64_t ObjSize = MFI.getObjectSize(FrameIdx); 209*480093f4SDimitry Andric MinOffset = std::min<int64_t>(Offset, MinOffset); 210*480093f4SDimitry Andric MaxOffset = std::max<int64_t>(Offset + ObjSize, MaxOffset); 211*480093f4SDimitry Andric } 212*480093f4SDimitry Andric 213*480093f4SDimitry Andric unsigned Size = alignTo(MaxOffset - MinOffset, 16); 214*480093f4SDimitry Andric assert((!HasCalleeSavedStackSize || getCalleeSavedStackSize() == Size) && 215*480093f4SDimitry Andric "Invalid size calculated for callee saves"); 216*480093f4SDimitry Andric return Size; 217*480093f4SDimitry Andric } 218*480093f4SDimitry Andric 219*480093f4SDimitry Andric return getCalleeSavedStackSize(); 220*480093f4SDimitry Andric } 221*480093f4SDimitry Andric 222*480093f4SDimitry Andric unsigned getCalleeSavedStackSize() const { 223*480093f4SDimitry Andric assert(HasCalleeSavedStackSize && 224*480093f4SDimitry Andric "CalleeSavedStackSize has not been calculated"); 225*480093f4SDimitry Andric return CalleeSavedStackSize; 226*480093f4SDimitry Andric } 227*480093f4SDimitry Andric 228*480093f4SDimitry Andric // Saves the CalleeSavedStackSize for SVE vectors in 'scalable bytes' 229*480093f4SDimitry Andric void setSVECalleeSavedStackSize(unsigned Size) { 230*480093f4SDimitry Andric SVECalleeSavedStackSize = Size; 231*480093f4SDimitry Andric } 232*480093f4SDimitry Andric unsigned getSVECalleeSavedStackSize() const { 233*480093f4SDimitry Andric return SVECalleeSavedStackSize; 234*480093f4SDimitry Andric } 235*480093f4SDimitry Andric 236*480093f4SDimitry Andric void setMinMaxSVECSFrameIndex(int Min, int Max) { 237*480093f4SDimitry Andric MinSVECSFrameIndex = Min; 238*480093f4SDimitry Andric MaxSVECSFrameIndex = Max; 239*480093f4SDimitry Andric } 240*480093f4SDimitry Andric 241*480093f4SDimitry Andric int getMinSVECSFrameIndex() const { return MinSVECSFrameIndex; } 242*480093f4SDimitry Andric int getMaxSVECSFrameIndex() const { return MaxSVECSFrameIndex; } 2430b57cec5SDimitry Andric 2440b57cec5SDimitry Andric void incNumLocalDynamicTLSAccesses() { ++NumLocalDynamicTLSAccesses; } 2450b57cec5SDimitry Andric unsigned getNumLocalDynamicTLSAccesses() const { 2460b57cec5SDimitry Andric return NumLocalDynamicTLSAccesses; 2470b57cec5SDimitry Andric } 2480b57cec5SDimitry Andric 2490b57cec5SDimitry Andric Optional<bool> hasRedZone() const { return HasRedZone; } 2500b57cec5SDimitry Andric void setHasRedZone(bool s) { HasRedZone = s; } 2510b57cec5SDimitry Andric 2520b57cec5SDimitry Andric int getVarArgsStackIndex() const { return VarArgsStackIndex; } 2530b57cec5SDimitry Andric void setVarArgsStackIndex(int Index) { VarArgsStackIndex = Index; } 2540b57cec5SDimitry Andric 2550b57cec5SDimitry Andric int getVarArgsGPRIndex() const { return VarArgsGPRIndex; } 2560b57cec5SDimitry Andric void setVarArgsGPRIndex(int Index) { VarArgsGPRIndex = Index; } 2570b57cec5SDimitry Andric 2580b57cec5SDimitry Andric unsigned getVarArgsGPRSize() const { return VarArgsGPRSize; } 2590b57cec5SDimitry Andric void setVarArgsGPRSize(unsigned Size) { VarArgsGPRSize = Size; } 2600b57cec5SDimitry Andric 2610b57cec5SDimitry Andric int getVarArgsFPRIndex() const { return VarArgsFPRIndex; } 2620b57cec5SDimitry Andric void setVarArgsFPRIndex(int Index) { VarArgsFPRIndex = Index; } 2630b57cec5SDimitry Andric 2640b57cec5SDimitry Andric unsigned getVarArgsFPRSize() const { return VarArgsFPRSize; } 2650b57cec5SDimitry Andric void setVarArgsFPRSize(unsigned Size) { VarArgsFPRSize = Size; } 2660b57cec5SDimitry Andric 2670b57cec5SDimitry Andric unsigned getSRetReturnReg() const { return SRetReturnReg; } 2680b57cec5SDimitry Andric void setSRetReturnReg(unsigned Reg) { SRetReturnReg = Reg; } 2690b57cec5SDimitry Andric 2700b57cec5SDimitry Andric unsigned getJumpTableEntrySize(int Idx) const { 2710b57cec5SDimitry Andric auto It = JumpTableEntryInfo.find(Idx); 2720b57cec5SDimitry Andric if (It != JumpTableEntryInfo.end()) 2730b57cec5SDimitry Andric return It->second.first; 2740b57cec5SDimitry Andric return 4; 2750b57cec5SDimitry Andric } 2760b57cec5SDimitry Andric MCSymbol *getJumpTableEntryPCRelSymbol(int Idx) const { 2770b57cec5SDimitry Andric return JumpTableEntryInfo.find(Idx)->second.second; 2780b57cec5SDimitry Andric } 2790b57cec5SDimitry Andric void setJumpTableEntryInfo(int Idx, unsigned Size, MCSymbol *PCRelSym) { 2800b57cec5SDimitry Andric JumpTableEntryInfo[Idx] = std::make_pair(Size, PCRelSym); 2810b57cec5SDimitry Andric } 2820b57cec5SDimitry Andric 2830b57cec5SDimitry Andric using SetOfInstructions = SmallPtrSet<const MachineInstr *, 16>; 2840b57cec5SDimitry Andric 2850b57cec5SDimitry Andric const SetOfInstructions &getLOHRelated() const { return LOHRelated; } 2860b57cec5SDimitry Andric 2870b57cec5SDimitry Andric // Shortcuts for LOH related types. 2880b57cec5SDimitry Andric class MILOHDirective { 2890b57cec5SDimitry Andric MCLOHType Kind; 2900b57cec5SDimitry Andric 2910b57cec5SDimitry Andric /// Arguments of this directive. Order matters. 2920b57cec5SDimitry Andric SmallVector<const MachineInstr *, 3> Args; 2930b57cec5SDimitry Andric 2940b57cec5SDimitry Andric public: 2950b57cec5SDimitry Andric using LOHArgs = ArrayRef<const MachineInstr *>; 2960b57cec5SDimitry Andric 2970b57cec5SDimitry Andric MILOHDirective(MCLOHType Kind, LOHArgs Args) 2980b57cec5SDimitry Andric : Kind(Kind), Args(Args.begin(), Args.end()) { 2990b57cec5SDimitry Andric assert(isValidMCLOHType(Kind) && "Invalid LOH directive type!"); 3000b57cec5SDimitry Andric } 3010b57cec5SDimitry Andric 3020b57cec5SDimitry Andric MCLOHType getKind() const { return Kind; } 3030b57cec5SDimitry Andric LOHArgs getArgs() const { return Args; } 3040b57cec5SDimitry Andric }; 3050b57cec5SDimitry Andric 3060b57cec5SDimitry Andric using MILOHArgs = MILOHDirective::LOHArgs; 3070b57cec5SDimitry Andric using MILOHContainer = SmallVector<MILOHDirective, 32>; 3080b57cec5SDimitry Andric 3090b57cec5SDimitry Andric const MILOHContainer &getLOHContainer() const { return LOHContainerSet; } 3100b57cec5SDimitry Andric 3110b57cec5SDimitry Andric /// Add a LOH directive of this @p Kind and this @p Args. 3120b57cec5SDimitry Andric void addLOHDirective(MCLOHType Kind, MILOHArgs Args) { 3130b57cec5SDimitry Andric LOHContainerSet.push_back(MILOHDirective(Kind, Args)); 3140b57cec5SDimitry Andric LOHRelated.insert(Args.begin(), Args.end()); 3150b57cec5SDimitry Andric } 3160b57cec5SDimitry Andric 3170b57cec5SDimitry Andric SmallVectorImpl<ForwardedRegister> &getForwardedMustTailRegParms() { 3180b57cec5SDimitry Andric return ForwardedMustTailRegParms; 3190b57cec5SDimitry Andric } 3200b57cec5SDimitry Andric 3210b57cec5SDimitry Andric unsigned getTaggedBasePointerOffset() const { 3220b57cec5SDimitry Andric return TaggedBasePointerOffset; 3230b57cec5SDimitry Andric } 3240b57cec5SDimitry Andric void setTaggedBasePointerOffset(unsigned Offset) { 3250b57cec5SDimitry Andric TaggedBasePointerOffset = Offset; 3260b57cec5SDimitry Andric } 3270b57cec5SDimitry Andric 3280b57cec5SDimitry Andric private: 3290b57cec5SDimitry Andric // Hold the lists of LOHs. 3300b57cec5SDimitry Andric MILOHContainer LOHContainerSet; 3310b57cec5SDimitry Andric SetOfInstructions LOHRelated; 3320b57cec5SDimitry Andric 3330b57cec5SDimitry Andric DenseMap<int, std::pair<unsigned, MCSymbol *>> JumpTableEntryInfo; 3340b57cec5SDimitry Andric }; 3350b57cec5SDimitry Andric 3360b57cec5SDimitry Andric } // end namespace llvm 3370b57cec5SDimitry Andric 3380b57cec5SDimitry Andric #endif // LLVM_LIB_TARGET_AARCH64_AARCH64MACHINEFUNCTIONINFO_H 339