
    ,h                     \    d Z ddlmZmZ ddlmZmZmZmZm	Z	m
Z
 ddlZdgZ G d de      Z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.
    )
RegexLexerwords)NameTextKeyword
WhitespaceNumberCommentNAMDGPULexerc                      e Zd ZdZdZdgZdgZdZdZe	j                  Zddefd	efd
ej                  fdefdej"                  fdej&                  fdej(                  fdej                  fdej                  f edd      ej                  fdefdej(                  fdefdej(                  fdej(                  fdej.                  fdej0                  fgiZy)r   z
    For AMD GPU assembly.
    AMDGPUamdgpuz*.isaz)https://gpuopen.com/amd-isa-documentationz2.8rootz\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]))opvaddrvdataoffsoffsetsrsrcformatoffsetoffenidxenglcdlcslctfeldslitunormz\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__namealiases	filenamesurlversion_addedre
IGNORECASEflagsr   r   r   	Attributer
   Singler   ReservedVariabler   r	   FloatIntegertokens     X/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/pygments/lexers/amdgpu.pyr   r      s    DjG	I
5CMMME 	Z +T^^<%t,/@'BRBRS4==)&7!4>>2   )./ 15@ "7+DMM* '*%t}}5DMM*.)6>>:)
Fr6   )r%   pygments.lexerr   r   pygments.tokenr   r   r   r   r	   r
   r+   __all__r   r5   r6   r7   <module>r;      s+    - K K 	/#* #r6   