25 lines · cpp
1//===-- DirectXInstrInfo.cpp - InstrInfo 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-exception6//7//===----------------------------------------------------------------------===//8//9// This file defines the DirectX specific subclass of TargetInstrInfo.10//11//===----------------------------------------------------------------------===//12 13#include "DirectXInstrInfo.h"14#include "DirectXSubtarget.h"15 16#define GET_INSTRINFO_CTOR_DTOR17#include "DirectXGenInstrInfo.inc"18 19using namespace llvm;20 21DirectXInstrInfo::DirectXInstrInfo(const DirectXSubtarget &STI)22 : DirectXGenInstrInfo(STI, RI) {}23 24DirectXInstrInfo::~DirectXInstrInfo() {}25