K i\dZddlmZmZddlmZmZmZmZm Z m Z ddl Z dgZ GddeZ y)z pygments.lexers.amdgpu ~~~~~~~~~~~~~~~~~~~~~~ Lexers for the AMDGPU ISA assembly. :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexerwords)NameTextKeyword WhitespaceNumberCommentN AMDGPULexerceZdZdZdZdgZdgZdZdZe jZ dde fd e fd ejfd e fd ej"fd ej&fdej(fdejfdejfeddejfdefdej(fdefdej(fdej(fdej.fdej0fgiZy)r z For AMD GPU assembly. AMDGPUamdgpuz*.isaz)https://gpuopen.com/amd-isa-documentationz2.8rootz\s+z[\r\n]+z(([a-z_0-9])*:([a-z_0-9])*)z(\[|\]|\(|\)|,|\:|\&)z([;#]|//).*?\nz0((s_)?(scratch|ds|buffer|flat|image)_[a-z0-9_]+)z (_lo|_hi)z(vmcnt|lgkmcnt|expcnt)z(attr[0-9].[a-z]))opvaddrvdataoffsoffsetsrsrcformatoffsetoffenidxenglcdlcslctfeldslitunormz\b)suffixz(label_[a-z0-9]+)z (_L[0-9]*)z(s|v)_[a-z0-9_]+z(v[0-9.]+|vcc|exec|v)z s[0-9.]+|sz[0-9]+\.[^0-9]+z(0[xX][a-z0-9]+)|([0-9]+)N)__name__ __module__ __qualname____doc__namealiases filenamesurl version_addedre IGNORECASEflagsrrr Attributer SinglerReservedVariablerr FloatIntegertokens\/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pygments/lexers/amdgpu.pyr r s DjG I 5CM MME  Z   +T^^ < %t ,  / @'BRBR S 4== ) & 7 !4>> 2  )./15 @"7 + DMM * ' * %t}} 5 DMM *  . )6>> :) Fr6)r%pygments.lexerrrpygments.tokenrrrrr r r+__all__r r5r6r7r;s+-KK /#*#r6