a
    ¨ˆcC  ã                   @   sV   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„ deƒZdS )zÔ
    pygments.lexers.amdgpu
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexers for the AMDGPU ISA assembly.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚwords)ÚNameÚTextÚKeywordÚ
WhitespaceÚNumberÚCommentNÚAMDGPULexerc                   @   s¬   e Zd ZdZdZdgZdg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ed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jfgiZdS )r
   z:
    For AMD GPU assembly.

    .. versionadded:: 2.8
    ZAMDGPUZamdgpuz*.isaÚrootz\s+z[\r\n]+z(([a-z_0-9])*:([a-z_0-9])*)z(\[|\]|\(|\)|,|\:|\&)z([;#]|//).*?\nz(((s_)?(ds|buffer|flat|image)_[a-z0-9_]+)z	(_lo|_hi)z(vmcnt|lgkmcnt|expcnt))ÚopZvaddrZvdataZsoffsetZsrsrcÚformatÚoffsetZoffenZidxenZglcZdlcZslcZtfeZldsZlitZ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ÚreÚ
IGNORECASEÚflagsr   r   r   Ú	Attributer	   ÚSingler   ZReservedÚVariabler   r   ZFloatZIntegerÚtokens© r   r   úY/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/pygments/lexers/amdgpu.pyr
      s8   ýýíÿ)r   Zpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r   Ú__all__r
   r   r   r   r   Ú<module>   s
   
 