13#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVCALLLOWERING_H
14#define LLVM_LIB_TARGET_SPIRV_SPIRVCALLLOWERING_H
21class SPIRVGlobalRegistry;
22class SPIRVTargetLowering;
35 Register SwiftErrorVReg)
const override;
Analysis containing CSE Info
This file describes how to lower LLVM calls to machine code calls.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
FunctionLoweringInfo - This contains information that is global to a function that is used when lower...
Helper class to build MachineInstr.
Wrapper class representing virtual and physical registers.
bool lowerCall(MachineIRBuilder &MIRBuilder, CallLoweringInfo &Info) const override
This hook must be implemented to lower the given call instruction, including argument and return valu...
bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val, ArrayRef< Register > VRegs, FunctionLoweringInfo &FLI, Register SwiftErrorVReg) const override
This hook must be implemented to lower outgoing return values, described by Val, into the specified v...
bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F, ArrayRef< ArrayRef< Register > > VRegs, FunctionLoweringInfo &FLI) const override
This hook must be implemented to lower the incoming (formal) arguments, described by VRegs,...
LLVM Value Representation.
This is an optimization pass for GlobalISel generic memory operations.