reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
62 CallingConv::ID CC = F.getCallingConv(); 63 if (CC != CallingConv::AMDGPU_KERNEL || F.arg_empty()) 69 const GCNSubtarget &ST = TM.getSubtarget<GCNSubtarget>(F); 70 LLVMContext &Ctx = F.getParent()->getContext(); 71 const DataLayout &DL = F.getParent()->getDataLayout(); 72 BasicBlock &EntryBlock = *F.begin(); 76 const uint64_t BaseOffset = ST.getExplicitKernelArgOffset(F); 80 const uint64_t TotalKernArgSize = ST.getKernArgSegmentSize(F, MaxAlign); 86 nullptr, F.getName() + ".kernarg.segment"); 95 for (Argument &Arg : F.args()) {