#include "AMDGPUArgumentUsageInfo.h"
#include "AMDGPU.h"
#include "AMDGPUTargetMachine.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIRegisterInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/NativeFormatting.h"
#include "llvm/Support/raw_ostream.h"
usingnamespacellvm;
#define DEBUG_TYPE …
INITIALIZE_PASS(…)
void ArgDescriptor::print(raw_ostream &OS,
const TargetRegisterInfo *TRI) const { … }
char AMDGPUArgumentUsageInfo::ID = …;
const AMDGPUFunctionArgInfo AMDGPUArgumentUsageInfo::ExternFunctionInfo{ … };
const AMDGPUFunctionArgInfo AMDGPUArgumentUsageInfo::FixedABIFunctionInfo
= …;
bool AMDGPUArgumentUsageInfo::doInitialization(Module &M) { … }
bool AMDGPUArgumentUsageInfo::doFinalization(Module &M) { … }
void AMDGPUArgumentUsageInfo::print(raw_ostream &OS, const Module *M) const { … }
std::tuple<const ArgDescriptor *, const TargetRegisterClass *, LLT>
AMDGPUFunctionArgInfo::getPreloadedValue(
AMDGPUFunctionArgInfo::PreloadedValue Value) const { … }
AMDGPUFunctionArgInfo AMDGPUFunctionArgInfo::fixedABILayout() { … }
const AMDGPUFunctionArgInfo &
AMDGPUArgumentUsageInfo::lookupFuncArgInfo(const Function &F) const { … }