#include "ABIInfoImpl.h"
#include "TargetInfo.h"
usingnamespaceclang;
usingnamespaceclang::CodeGen;
namespace {
class CSKYABIInfo : public DefaultABIInfo { … };
}
void CSKYABIInfo::computeInfo(CGFunctionInfo &FI) const { … }
RValue CSKYABIInfo::EmitVAArg(CodeGenFunction &CGF, Address VAListAddr,
QualType Ty, AggValueSlot Slot) const { … }
ABIArgInfo CSKYABIInfo::classifyArgumentType(QualType Ty, int &ArgGPRsLeft,
int &ArgFPRsLeft,
bool isReturnType) const { … }
ABIArgInfo CSKYABIInfo::classifyReturnType(QualType RetTy) const { … }
namespace {
class CSKYTargetCodeGenInfo : public TargetCodeGenInfo { … };
}
std::unique_ptr<TargetCodeGenInfo>
CodeGen::createCSKYTargetCodeGenInfo(CodeGenModule &CGM, unsigned FLen) { … }