Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.h41 NumSGPR(0), in SIProgramInfo()
70 uint32_t NumSGPR; member
95 unsigned &NumSGPR,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp346 uint32_t NumSGPR, in emitCommonFunctionComments() argument
351 OutStreamer->emitRawComment(" NumSgprs: " + Twine(NumSGPR), false); in emitCommonFunctionComments()
497 CurrentProgramInfo.NumSGPR, in runOnMachineFunction()
931 ProgInfo.NumSGPR = Info.NumExplicitSGPR; in getSIProgramInfo()
955 if (ProgInfo.NumSGPR > MaxAddressableNumSGPRs) { in getSIProgramInfo()
960 ProgInfo.NumSGPR, DS_Error, in getSIProgramInfo()
964 ProgInfo.NumSGPR = MaxAddressableNumSGPRs - 1; in getSIProgramInfo()
969 ProgInfo.NumSGPR += ExtraSGPRs; in getSIProgramInfo()
981 ProgInfo.NumSGPR = std::max(ProgInfo.NumSGPR, WaveDispatchNumSGPR); in getSIProgramInfo()
987 std::max(ProgInfo.NumSGPR, 1u), STM.getMinNumSGPRs(MFI->getMaxWavesPerEU())); in getSIProgramInfo()
[all …]
DAMDGPUAsmPrinter.h72 unsigned &NumSGPR,
84 uint32_t NumSGPR,
DSIProgramInfo.h46 uint32_t NumSGPR = 0; member
DAMDGPUHSAMetadataStreamer.cpp229 HSACodeProps.mNumSGPRs = ProgramInfo.NumSGPR; in getHSACodeProps()
908 Kern[".sgpr_count"] = Kern.getDocument()->getNode(ProgramInfo.NumSGPR); in getHSAKernelProps()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp356 uint32_t NumSGPR, in emitCommonFunctionComments() argument
361 OutStreamer->emitRawComment(" NumSgprs: " + Twine(NumSGPR), false); in emitCommonFunctionComments()
510 CurrentProgramInfo.NumSGPR, in runOnMachineFunction()
993 ProgInfo.NumSGPR = Info.NumExplicitSGPR; in getSIProgramInfo()
1019 if (ProgInfo.NumSGPR > MaxAddressableNumSGPRs) { in getSIProgramInfo()
1024 ProgInfo.NumSGPR, DS_Error, in getSIProgramInfo()
1028 ProgInfo.NumSGPR = MaxAddressableNumSGPRs - 1; in getSIProgramInfo()
1033 ProgInfo.NumSGPR += ExtraSGPRs; in getSIProgramInfo()
1052 ProgInfo.NumSGPR = std::max(ProgInfo.NumSGPR, WaveDispatchNumSGPR); in getSIProgramInfo()
1059 std::max(ProgInfo.NumSGPR, 1u), STM.getMinNumSGPRs(MFI->getMaxWavesPerEU())); in getSIProgramInfo()
[all …]
DAMDGPUAsmPrinter.h72 unsigned &NumSGPR,
85 uint32_t NumSGPR,
DSIProgramInfo.h48 uint32_t NumSGPR = 0; member
DAMDGPUHSAMetadataStreamer.cpp214 HSACodeProps.mNumSGPRs = ProgramInfo.NumSGPR; in getHSACodeProps()
873 Kern[".sgpr_count"] = Kern.getDocument()->getNode(ProgramInfo.NumSGPR); in getHSAKernelProps()
/external/clang/lib/CodeGen/
DTargetInfo.cpp6905 unsigned NumSGPR = Attr->getNumSGPR(); in setTargetAttributes() local
6906 if (NumSGPR != 0) in setTargetAttributes()
6907 F->addFnAttr("amdgpu_num_sgpr", llvm::utostr(NumSGPR)); in setTargetAttributes()
/external/llvm-project/clang/lib/Sema/
DSemaDeclAttr.cpp6788 uint32_t NumSGPR = 0; in handleAMDGPUNumSGPRAttr() local
6790 if (!checkUInt32Argument(S, AL, NumSGPRExpr, NumSGPR)) in handleAMDGPUNumSGPRAttr()
6793 D->addAttr(::new (S.Context) AMDGPUNumSGPRAttr(S.Context, AL, NumSGPR)); in handleAMDGPUNumSGPRAttr()
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp9035 unsigned NumSGPR = Attr->getNumSGPR(); in setTargetAttributes() local
9037 if (NumSGPR != 0) in setTargetAttributes()
9038 F->addFnAttr("amdgpu-num-sgpr", llvm::utostr(NumSGPR)); in setTargetAttributes()
/external/clang/include/clang/Basic/
DAttr.td1065 let Args = [UnsignedArgument<"NumSGPR">];
/external/llvm-project/clang/include/clang/Basic/
DAttr.td1707 let Args = [UnsignedArgument<"NumSGPR">];