| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/pythran/analyses/__pycache__/ |
Upload File : |
�
cR�a� � �X � d Z ddlmZ ddlmZ ddlmZ ddlZd� Z G d� de� � Z
dS ) z0 Computes the Control Flow Graph of a function. � )�FunctionAnalysis)�isnum)�DiGraphNc �> � t | � � r | j rdS t | t j � � r
| j dk rdS t | t j t j t j f� � r | j rdS t | t j
� � r | j rdS dS )NT�TrueF)r �value�
isinstance�ast� Attribute�attr�List�Tuple�Set�elts�Dict�keys)�nodes �6/usr/lib/python3/dist-packages/pythran/analyses/cfg.py�is_true_predicater
s� � ��T�{�{� �t�z� ��t��$��
�&�&� �4�9��+>�+>��t��$���3�9�c�g�6�7�7� �D�I� ��t��$���!�!� �d�i� ��t��5� c � � � e Zd ZdZ e� � Z� fd�Zd� Zd� ZexZ xZ
ZexZxZ
ZexZZd� Zd� ZeZd� Zd� ZexZZd � Zd
� Zd� Z� xZS )�CFGa
Computes the Control Flow Graph of a function.
The processing of a node yields a pair containing
* the OUT nodes, to be linked with the IN nodes of the successor
* the RAISE nodes, nodes that stop the control flow (exception/break/...)
c �| �� t � � | _ t t | � � � � � d S )N)r �result�superr �__init__)�self� __class__s �r r zCFG.__init__&