Lines Matching defs:CCInfo
285 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs,
288 return checkReturn(CCInfo, Outs, TLI.CCAssignFnForReturn(CallConv, IsVarArg));
448 static void allocateHSAUserSGPRs(CCState &CCInfo,
458 CCInfo.AllocateReg(PrivateSegmentBufferReg);
464 CCInfo.AllocateReg(DispatchPtrReg);
470 CCInfo.AllocateReg(QueuePtrReg);
481 CCInfo.AllocateReg(InputPtrReg);
487 CCInfo.AllocateReg(DispatchIDReg);
493 CCInfo.AllocateReg(FlatScratchInitReg);
512 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext());
514 allocateHSAUserSGPRs(CCInfo, B, MF, *TRI, *Info);
572 TLI.allocateSpecialEntryInputVGPRs(CCInfo, MF, *TRI, *Info);
573 TLI.allocateSystemSGPRs(CCInfo, MF, *Info, F.getCallingConv(), false);
600 CCState CCInfo(CC, F.isVarArg(), MF, ArgLocs, F.getContext());
606 CCInfo.AllocateReg(ImplicitBufferPtrReg);
613 CCInfo.AllocateReg(FlatScratchInitReg);
682 CCInfo.AllocateReg(AMDGPU::VGPR0);
683 CCInfo.AllocateReg(AMDGPU::VGPR1);
713 TLI.allocateSpecialInputVGPRsFixed(CCInfo, MF, *TRI, *Info);
716 CCInfo.AllocateReg(Info->getScratchRSrcReg());
717 TLI.allocateSpecialInputSGPRs(CCInfo, MF, *TRI, *Info);
721 if (!determineAssignments(Assigner, SplitArgs, CCInfo))
725 if (!handleAssignments(Handler, SplitArgs, CCInfo, ArgLocs, B))
732 TLI.allocateSystemSGPRs(CCInfo, MF, *Info, CC, IsGraphics);
747 CCState &CCInfo,
838 if (!CCInfo.AllocateReg(OutgoingArg->getRegister()))
937 if (!CCInfo.AllocateReg(OutgoingArg->getRegister()))
1279 CCState CCInfo(Info.CallConv, Info.IsVarArg, MF, ArgLocs, F.getContext());
1289 if (!passSpecialInputs(MIRBuilder, CCInfo, ImplicitArgRegs, Info))
1295 if (!determineAssignments(Assigner, OutArgs, CCInfo))
1300 if (!handleAssignments(Handler, OutArgs, CCInfo, ArgLocs, MIRBuilder))
1462 CCState CCInfo(Info.CallConv, Info.IsVarArg, MF, ArgLocs, F.getContext());
1471 if (!passSpecialInputs(MIRBuilder, CCInfo, ImplicitArgRegs, Info))
1479 if (!determineAssignments(Assigner, OutArgs, CCInfo))
1483 if (!handleAssignments(Handler, OutArgs, CCInfo, ArgLocs, MIRBuilder))
1495 unsigned NumBytes = CCInfo.getStackSize();