Lines Matching defs:CCInfo
293 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs,
296 return checkReturn(CCInfo, Outs, TLI.CCAssignFnForReturn(CallConv, IsVarArg));
456 static void allocateHSAUserSGPRs(CCState &CCInfo,
466 CCInfo.AllocateReg(PrivateSegmentBufferReg);
472 CCInfo.AllocateReg(DispatchPtrReg);
480 CCInfo.AllocateReg(QueuePtrReg);
491 CCInfo.AllocateReg(InputPtrReg);
497 CCInfo.AllocateReg(DispatchIDReg);
503 CCInfo.AllocateReg(FlatScratchInitReg);
522 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext());
524 allocateHSAUserSGPRs(CCInfo, B, MF, *TRI, *Info);
576 TLI.allocateSpecialEntryInputVGPRs(CCInfo, MF, *TRI, *Info);
577 TLI.allocateSystemSGPRs(CCInfo, MF, *Info, F.getCallingConv(), false);
604 CCState CCInfo(CC, F.isVarArg(), MF, ArgLocs, F.getContext());
610 CCInfo.AllocateReg(ImplicitBufferPtrReg);
617 CCInfo.AllocateReg(FlatScratchInitReg);
686 CCInfo.AllocateReg(AMDGPU::VGPR0);
687 CCInfo.AllocateReg(AMDGPU::VGPR1);
717 TLI.allocateSpecialInputVGPRsFixed(CCInfo, MF, *TRI, *Info);
720 CCInfo.AllocateReg(Info->getScratchRSrcReg());
721 TLI.allocateSpecialInputSGPRs(CCInfo, MF, *TRI, *Info);
725 if (!determineAssignments(Assigner, SplitArgs, CCInfo))
729 if (!handleAssignments(Handler, SplitArgs, CCInfo, ArgLocs, B))
736 TLI.allocateSystemSGPRs(CCInfo, MF, *Info, CC, IsGraphics);
751 CCState &CCInfo,
842 if (!CCInfo.AllocateReg(OutgoingArg->getRegister()))
941 if (!CCInfo.AllocateReg(OutgoingArg->getRegister()))
1280 CCState CCInfo(Info.CallConv, Info.IsVarArg, MF, ArgLocs, F.getContext());
1290 if (!passSpecialInputs(MIRBuilder, CCInfo, ImplicitArgRegs, Info))
1296 if (!determineAssignments(Assigner, OutArgs, CCInfo))
1301 if (!handleAssignments(Handler, OutArgs, CCInfo, ArgLocs, MIRBuilder))
1463 CCState CCInfo(Info.CallConv, Info.IsVarArg, MF, ArgLocs, F.getContext());
1472 if (!passSpecialInputs(MIRBuilder, CCInfo, ImplicitArgRegs, Info))
1480 if (!determineAssignments(Assigner, OutArgs, CCInfo))
1484 if (!handleAssignments(Handler, OutArgs, CCInfo, ArgLocs, MIRBuilder))
1496 unsigned NumBytes = CCInfo.getStackSize();