LLVM  10.0.0svn
Functions
AMDGPUCallLowering.cpp File Reference

This file implements the lowering of LLVM calls to machine code calls for GlobalISel. More...

#include "AMDGPUCallLowering.h"
#include "AMDGPU.h"
#include "AMDGPUISelLowering.h"
#include "AMDGPUSubtarget.h"
#include "SIISelLowering.h"
#include "SIMachineFunctionInfo.h"
#include "SIRegisterInfo.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "llvm/CodeGen/Analysis.h"
#include "llvm/CodeGen/CallingConvLower.h"
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/Support/LowLevelTypeImpl.h"
Include dependency graph for AMDGPUCallLowering.cpp:

Go to the source code of this file.

Functions

static LLT getMultipleType (LLT OrigTy, int Factor)
 
static void unpackRegsToOrigType (MachineIRBuilder &MIRBuilder, ArrayRef< Register > DstRegs, Register SrcReg, LLT SrcTy, LLT PartTy)
 
static void allocateHSAUserSGPRs (CCState &CCInfo, MachineIRBuilder &MIRBuilder, MachineFunction &MF, const SIRegisterInfo &TRI, SIMachineFunctionInfo &Info)
 
static void packSplitRegsToOrigType (MachineIRBuilder &MIRBuilder, ArrayRef< Register > OrigRegs, ArrayRef< Register > Regs, LLT LLTy, LLT PartLLT)
 

Detailed Description

This file implements the lowering of LLVM calls to machine code calls for GlobalISel.

Definition in file AMDGPUCallLowering.cpp.

Function Documentation

◆ allocateHSAUserSGPRs()

static void allocateHSAUserSGPRs ( CCState CCInfo,
MachineIRBuilder MIRBuilder,
MachineFunction MF,
const SIRegisterInfo TRI,
SIMachineFunctionInfo Info 
)
static

◆ getMultipleType()

static LLT getMultipleType ( LLT  OrigTy,
int  Factor 
)
static

◆ packSplitRegsToOrigType()

static void packSplitRegsToOrigType ( MachineIRBuilder MIRBuilder,
ArrayRef< Register OrigRegs,
ArrayRef< Register Regs,
LLT  LLTy,
LLT  PartLLT 
)
static

◆ unpackRegsToOrigType()

static void unpackRegsToOrigType ( MachineIRBuilder MIRBuilder,
ArrayRef< Register DstRegs,
Register  SrcReg,
LLT  SrcTy,
LLT  PartTy 
)
static