[SampleProfileLoader] Fix integer overflow in generateMDProfMetadata (#90217)
[llvm-project.git] / llvm / lib / Target / DirectX / DirectXRegisterInfo.cpp
blobc54b494f37304b4828cd1b9379825bbc2bafba5c
1 //===-- DirectXRegisterInfo.cpp - RegisterInfo for DirectX -*- 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 defines the DirectX specific subclass of TargetRegisterInfo.
11 //===----------------------------------------------------------------------===//
13 #include "DirectXRegisterInfo.h"
14 #include "DirectXFrameLowering.h"
15 #include "MCTargetDesc/DirectXMCTargetDesc.h"
16 #include "llvm/CodeGen/MachineFunction.h"
17 #include "llvm/CodeGen/TargetSubtargetInfo.h"
19 #define GET_REGINFO_TARGET_DESC
20 #include "DirectXGenRegisterInfo.inc"
22 using namespace llvm;
24 DirectXRegisterInfo::~DirectXRegisterInfo() {}