LLVM 19.0.0git
|
This file implements the targeting of the Machinelegalizer class for RISC-V. More...
#include "RISCVLegalizerInfo.h"
#include "MCTargetDesc/RISCVMatInt.h"
#include "RISCVMachineFunctionInfo.h"
#include "RISCVSubtarget.h"
#include "llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h"
#include "llvm/CodeGen/GlobalISel/GenericMachineInstrs.h"
#include "llvm/CodeGen/GlobalISel/LegalizerHelper.h"
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetOpcodes.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Type.h"
Go to the source code of this file.
Functions | |
static LegalityPredicate | typeIsScalarFPArith (unsigned TypeIdx, const RISCVSubtarget &ST) |
static LegalityPredicate | typeIsLegalIntOrFPVec (unsigned TypeIdx, std::initializer_list< LLT > IntOrFPVecTys, const RISCVSubtarget &ST) |
static LegalityPredicate | typeIsLegalBoolVec (unsigned TypeIdx, std::initializer_list< LLT > BoolVecTys, const RISCVSubtarget &ST) |
static Type * | getTypeForLLT (LLT Ty, LLVMContext &C) |
This file implements the targeting of the Machinelegalizer class for RISC-V.
Definition in file RISCVLegalizerInfo.cpp.
|
static |
Definition at line 418 of file RISCVLegalizerInfo.cpp.
References llvm::CallingConv::C, llvm::IntegerType::get(), llvm::FixedVectorType::get(), llvm::LLT::getNumElements(), llvm::LLT::getScalarSizeInBits(), llvm::LLT::getSizeInBits(), and llvm::LLT::isVector().
|
static |
Definition at line 59 of file RISCVLegalizerInfo.cpp.
References llvm::LegalityPredicates::all(), P, and llvm::LegalityPredicates::typeInSet().
Referenced by llvm::RISCVLegalizerInfo::RISCVLegalizerInfo().
|
static |
Definition at line 44 of file RISCVLegalizerInfo.cpp.
References llvm::LegalityPredicates::all(), P, and llvm::LegalityPredicates::typeInSet().
Referenced by llvm::RISCVLegalizerInfo::RISCVLegalizerInfo().
|
static |
Definition at line 34 of file RISCVLegalizerInfo.cpp.
Referenced by llvm::RISCVLegalizerInfo::RISCVLegalizerInfo().