LLVM 20.0.0git
RISCVSelectionDAGInfo.cpp
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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
10#include "RISCVISelLowering.h"
11
12using namespace llvm;
13
15
17 return Opcode >= RISCVISD::FIRST_MEMORY_OPCODE &&
19}
20
22 return Opcode >= RISCVISD::FIRST_STRICTFP_OPCODE &&
24}
bool isTargetMemoryOpcode(unsigned Opcode) const override
Returns true if a node with the given target-specific opcode has a memory operand.
bool isTargetStrictFPOpcode(unsigned Opcode) const override
Returns true if a node with the given target-specific opcode has strict floating-point semantics.
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18