Lines Matching defs:CC
1179 auto CC = MF.getFunction().getCallingConv();
1182 MD->setEntryPoint(CC, MF.getFunction().getName());
1183 MD->setNumUsedVgprs(CC, CurrentProgramInfo.NumVGPRsForWavesPerEU);
1184 MD->setNumUsedSgprs(CC, CurrentProgramInfo.NumSGPRsForWavesPerEU);
1186 MD->setRsrc1(CC, CurrentProgramInfo.ComputePGMRSrc1);
1187 MD->setRsrc2(CC, CurrentProgramInfo.ComputePGMRSrc2);
1189 MD->setRsrc1(CC, S_00B028_VGPRS(CurrentProgramInfo.VGPRBlocks) |
1192 MD->setRsrc2(CC, S_00B84C_SCRATCH_EN(1));
1195 MD->setScratchSize(CC, alignTo(CurrentProgramInfo.ScratchSize, 16));
1197 MD->setRsrc2(CC, S_00B02C_EXTRA_LDS_SIZE(CurrentProgramInfo.LDSBlocks));