Home
last modified time | relevance | path

Searched refs:NumSGPR (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAsmPrinter.cpp532 const MCExpr *NumSGPR, const MCExpr *ScratchSize, uint64_t CodeSize, in emitCommonFunctionComments() argument
535 OutStreamer->emitRawComment(" TotalNumSgprs: " + getMCExprStr(NumSGPR), in emitCommonFunctionComments()
762 CurrentProgramInfo.NumVGPR, CurrentProgramInfo.NumSGPR, in runOnMachineFunction()
952 ProgInfo.NumSGPR = GetSymRefExpr(RIK::RIK_NumSGPR); in getSIProgramInfo()
974 if (TryGetMCExprValue(ProgInfo.NumSGPR, NumSgpr) && in getSIProgramInfo()
982 ProgInfo.NumSGPR = CreateExpr(MaxAddressableNumSGPRs - 1); in getSIProgramInfo()
987 ProgInfo.NumSGPR = MCBinaryExpr::createAdd(ProgInfo.NumSGPR, ExtraSGPRs, Ctx); in getSIProgramInfo()
1058 ProgInfo.NumSGPR = AMDGPUMCExpr::createMax( in getSIProgramInfo()
1059 {ProgInfo.NumSGPR, CreateExpr(WaveDispatchNumSGPR)}, Ctx); in getSIProgramInfo()
1073 ProgInfo.NumSGPR = in getSIProgramInfo()
[all …]
H A DSIProgramInfo.h74 const MCExpr *NumSGPR = nullptr; member
H A DAMDGPUAsmPrinter.h71 const MCExpr *NumSGPR,
H A DSIProgramInfo.cpp68 NumSGPR = ZeroExpr; in reset()
H A DAMDGPUHSAMetadataStreamer.cpp521 ProgramInfo.NumSGPR); in getHSAKernelProps()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAMDGPU.cpp290 uint32_t NumSGPR = 0; in handleAMDGPUNumSGPRAttr() local
292 if (!SemaRef.checkUInt32Argument(AL, NumSGPRExpr, NumSGPR)) in handleAMDGPUNumSGPRAttr()
296 AMDGPUNumSGPRAttr(getASTContext(), AL, NumSGPR)); in handleAMDGPUNumSGPRAttr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp375 unsigned NumSGPR = Attr->getNumSGPR(); in setFunctionDeclAttributes() local
377 if (NumSGPR != 0) in setFunctionDeclAttributes()
378 F->addFnAttr("amdgpu-num-sgpr", llvm::utostr(NumSGPR)); in setFunctionDeclAttributes()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td2424 let Args = [UnsignedArgument<"NumSGPR">];