1*700637cbSDimitry Andric //===----------------------------------------------------------------------===// 2*700637cbSDimitry Andric // 3*700637cbSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*700637cbSDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5*700637cbSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*700637cbSDimitry Andric // 7*700637cbSDimitry Andric //===----------------------------------------------------------------------===// 8*700637cbSDimitry Andric 9*700637cbSDimitry Andric #include "MipsSelectionDAGInfo.h" 10*700637cbSDimitry Andric #include "MipsISelLowering.h" 11*700637cbSDimitry Andric 12*700637cbSDimitry Andric using namespace llvm; 13*700637cbSDimitry Andric 14*700637cbSDimitry Andric MipsSelectionDAGInfo::~MipsSelectionDAGInfo() = default; 15*700637cbSDimitry Andric isTargetMemoryOpcode(unsigned Opcode) const16*700637cbSDimitry Andricbool MipsSelectionDAGInfo::isTargetMemoryOpcode(unsigned Opcode) const { 17*700637cbSDimitry Andric return Opcode >= MipsISD::FIRST_MEMORY_OPCODE && 18*700637cbSDimitry Andric Opcode <= MipsISD::LAST_MEMORY_OPCODE; 19*700637cbSDimitry Andric } 20