LLVM: llvm::AMDGPU::PredicateMapping Struct Reference (original) (raw)

#include "[Target/AMDGPU/AMDGPURegBankLegalizeRules.h](AMDGPURegBankLegalizeRules%5F8h%5Fsource.html)"

Public Member Functions
PredicateMapping (std::initializer_list< UniformityLLTOpPredicateID > OpList, std::function< bool(const MachineInstr &)> TestFunc=nullptr)
bool match (const MachineInstr &MI, const MachineUniformityInfo &MUI, const MachineRegisterInfo &MRI) const
Public Attributes
SmallVector< UniformityLLTOpPredicateID, 4 > OpUniformityAndTypes
std::function< bool(const MachineInstr &)> TestFunc

Detailed Description

Definition at line 256 of file AMDGPURegBankLegalizeRules.h.

Constructor & Destructor Documentation

PredicateMapping::PredicateMapping ( std::initializer_list< UniformityLLTOpPredicateID > OpList,
std::function< bool(const MachineInstr &)> TestFunc = nullptr )

Definition at line 40 of file AMDGPURegBankLegalizeRules.cpp.

References OpUniformityAndTypes, and TestFunc.

Member Function Documentation

match()

bool PredicateMapping::match ( const MachineInstr & MI,
const MachineUniformityInfo & MUI,
const MachineRegisterInfo & MRI ) const

Definition at line 182 of file AMDGPURegBankLegalizeRules.cpp.

References llvm::AMDGPU::_, matchUniformityAndLLT(), MI, MRI, OpUniformityAndTypes, and TestFunc.

Member Data Documentation

OpUniformityAndTypes

SmallVector<UniformityLLTOpPredicateID, 4> llvm::AMDGPU::PredicateMapping::OpUniformityAndTypes

Definition at line 257 of file AMDGPURegBankLegalizeRules.h.

Referenced by match(), and PredicateMapping().

TestFunc

std::function<bool(const MachineInstr &)> llvm::AMDGPU::PredicateMapping::TestFunc

Definition at line 258 of file AMDGPURegBankLegalizeRules.h.

Referenced by match(), and PredicateMapping().


The documentation for this struct was generated from the following files: