1 //=- LoongArchInstrInfo.cpp - LoongArch Instruction Information -*- 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 contains the LoongArch implementation of the TargetInstrInfo class. 10 // 11 //===----------------------------------------------------------------------===// 12 13 #include "LoongArchInstrInfo.h" 14 15 using namespace llvm; 16 17 #define GET_INSTRINFO_CTOR_DTOR 18 #include "LoongArchGenInstrInfo.inc" 19 20 LoongArchInstrInfo::LoongArchInstrInfo(LoongArchSubtarget &STI) 21 // FIXME: add CFSetup and CFDestroy Inst when we implement function call. 22 : LoongArchGenInstrInfo(), 23 24 STI(STI) {} 25