1*349cc55cSDimitry Andric //===-- CSKYInstrInfo.h - CSKY Instruction Information --------*- C++ -*---===// 2*349cc55cSDimitry Andric // 3*349cc55cSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*349cc55cSDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5*349cc55cSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*349cc55cSDimitry Andric // 7*349cc55cSDimitry Andric //===----------------------------------------------------------------------===// 8*349cc55cSDimitry Andric // 9*349cc55cSDimitry Andric // This file contains the CSKY implementation of the TargetInstrInfo class. 10*349cc55cSDimitry Andric // 11*349cc55cSDimitry Andric //===----------------------------------------------------------------------===// 12*349cc55cSDimitry Andric 13*349cc55cSDimitry Andric #include "CSKYInstrInfo.h" 14*349cc55cSDimitry Andric #include "llvm/MC/MCContext.h" 15*349cc55cSDimitry Andric 16*349cc55cSDimitry Andric #define DEBUG_TYPE "csky-instr-info" 17*349cc55cSDimitry Andric 18*349cc55cSDimitry Andric using namespace llvm; 19*349cc55cSDimitry Andric 20*349cc55cSDimitry Andric #define GET_INSTRINFO_CTOR_DTOR 21*349cc55cSDimitry Andric #include "CSKYGenInstrInfo.inc" 22*349cc55cSDimitry Andric 23*349cc55cSDimitry Andric CSKYInstrInfo::CSKYInstrInfo(CSKYSubtarget &STI) 24*349cc55cSDimitry Andric : CSKYGenInstrInfo(CSKY::ADJCALLSTACKDOWN, CSKY::ADJCALLSTACKUP), STI(STI) { 25*349cc55cSDimitry Andric } 26