LLVM  3.7.0
SIPrepareScratchRegs.cpp File Reference

This pass loads scratch pointer and scratch offset into a register or a frame index which can be used anywhere in the program. More...

#include "AMDGPU.h"
#include "AMDGPUSubtarget.h"
#include "SIDefines.h"
#include "SIInstrInfo.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/RegisterScavenging.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/LLVMContext.h"
Include dependency graph for SIPrepareScratchRegs.cpp:

Go to the source code of this file.

Detailed Description

This pass loads scratch pointer and scratch offset into a register or a frame index which can be used anywhere in the program.

These values will be used for spilling VGPRs.

Definition in file SIPrepareScratchRegs.cpp.