13#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVMACHINELEGALIZER_H
14#define LLVM_LIB_TARGET_SPIRV_SPIRVMACHINELEGALIZER_H
Interface for Targets to specify which operations they can successfully select and how the others sho...
bool isTypeFoldingSupported(unsigned Opcode)
Representation of each machine instruction.
bool legalizeCustom(LegalizerHelper &Helper, MachineInstr &MI) const override
Called for instructions with the Custom LegalizationAction.
This is an optimization pass for GlobalISel generic memory operations.