+
    :iL                        ^ RI t ^ RIt^ RIt^ RIHt ^ RIHt ^ RIHt	 ^ RI
Ht ^ RIHtHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHt ^ RIHt ] P2                  ! ]4      tR.t]P:                  ! ]	P<                  R4      t]P:                  ! ]	P@                  ^ 4      t!]P:                  ! ]	P@                  ^4      t"]P:                  ! ]	P@                  ^4      t#R t$ ! R R]%4      t& ! R R]%4      t' ! R R]'4      t(R# )    N)ir)Linkage)
llvm_types)create_constant_array)compile_extraFlags)global_compiler_lock)
cpu_target)	nrtdynmod)cgutils)lookup_environmentModuleCompilerc                  V    ^ RI p ^ RIpVP                  R\        V R4      ,          4      # )r   Na      #include <stdint.h>

    #ifndef HAVE_LONGDOUBLE
        #define HAVE_LONGDOUBLE %d
    #endif

    typedef struct {
        float real;
        float imag;
    } complex64;

    typedef struct {
        double real;
        double imag;
    } complex128;

    #if HAVE_LONGDOUBLE
    typedef struct {
        long double real;
        long double imag;
    } complex256;
    #endif

    typedef float float32;
    typedef double float64;
    #if HAVE_LONGDOUBLE
    typedef long double float128;
    #endif
    
complex256)numpytextwrapdedenthasattr)r   r   s     Q/var/www/html/photoedit/myenv/lib/python3.14/site-packages/numba/pycc/compiler.py
get_headerr      s/    ?? : %
&;' ( (    c                   0   a  ] tR t^Ct o RtR tR tRtV tR# )ExportEntryz(
A simple record for exporting symbols.
c                *    Wn         W n        W0n        R # N)symbol	signaturefunction)selfr   r   r   s   &&&&r   __init__ExportEntry.__init__H   s    " r   c                @    R V P                   : RV P                  : R2# )zExportEntry(, ))r   r   )r   s   &r   __repr__ExportEntry.__repr__M   s    (,T^^DDr   )r   r   r   N)	__name__
__module____qualname____firstlineno____doc__r    r%   __static_attributes____classdictcell____classdict__s   @r   r   r   C   s     !
E Er   r   c                     a  ] tR t^Qt o Rt]P                  ! ]P                  ]P                  ]P                  ]P                  34      t]P                  ! ]4      t]P                  ! ]P                  ]P                  ]P                  ]P                  ]P                  34      t]P                  ! ]4      tRR ltR tR t]R 4       tRR ltRR ltR tR	 tR
 tR tR tR tRtV tR# )_ModuleCompilerzA base class to compile Python modules to a single shared library or
extension module.

:param export_entries: a list of ExportEntry instances.
:param module_name: the name of the exported module.
c                    W n         R V n        . V n        Wn        RV n        W0n        \        P                  V n        \        P                  P                  ! V P                   3/ VB V n
        R# )FN)module_nameexport_python_wrapdll_exportsexport_entriesexternal_init_functionuse_nrtr
   typing_contexttarget_contextwith_aot_codegencontext)r   r6   r3   r8   aot_optionss   &&&&,r   r    _ModuleCompiler.__init__q   sb    &"',&*#(77!00AA- +-r   c                    R V: 2# )z._pycc_method_ )r   	func_names   &&r   _mangle_method_symbol%_ModuleCompiler._mangle_method_symbol   s    %.00r   c                    \         h)zAEmit generated Python wrapper and extension module code.
        )NotImplementedError)r   llvm_modules   &&r   _emit_python_wrapper$_ModuleCompiler._emit_python_wrapper   s
     "!r   c                   / V n         / V n        / V n        / V n        V P                  P                  4       pVP                  V P                  4      p\        4       pRVn	        V P                  '       g   RVn        RVn        V P                  '       d;   RVn        \        P                   ! V P                  4      w  rEVP#                  V4       V P$                   EF  p\'        V P(                  V P                  VP*                  VP,                  P.                  VP,                  P0                  V/ VR7      pVP2                  pVP4                   F-  p	V	P6                  P9                  R4      '       g   K&  RV	n        K/  	  VP<                  P>                  p
VP@                  PC                  V
4      pV P                  '       Ed   RVn        VP<                  PD                  pVP@                  PC                  V4      pV PG                  VPH                  4      Vn        RVn        VPJ                  PL                  PO                  VP<                  PP                  VP<                  PR                  4      pWP                   V&   VPT                  V P                  V&   VP<                  PV                  V P                  V&   VPX                   F  pVP2                  pVPZ                   F`  p	V	P6                  pVP9                  R4      '       g   K(  \]        V4      pVf   K9  VP_                  4       '       g   KQ  VV P                  V&   Kb  	  K  	  EKs  VPH                  Vn        V P`                  Pc                  VPH                  4       EK  	  V P                  '       d4   VPe                  R4      pV Pg                  V4       VP#                  V4       VPi                  4        VPk                  4        F_  pVP6                  V P`                  9  g   K   VP:                  \l        Pn                  \l        Pp                  09   d
   R	Vn9        KX  R
Vn9        Ka  	  V# )zpRead all the exported functions/modules in the translator
environment, and join them into a single LLVM module.
T)localslibrary__excinfo_unwrap_argslinkonce_odrinternalexternal_ZN08NumbaEnvwrapperdefaulthidden):exported_function_typesfunction_environmentsenvironment_gvsextra_environmentsr<   codegencreate_libraryr3   r   
no_compiler4   no_cpython_wrapperno_cfunc_wrapperr8   nrtr   create_nrt_moduleadd_ir_moduler6   r   r9   r   r   argsreturn_type_final_module	functionsname
startswithlinkagefndescllvm_func_namerK   get_functionllvm_cpython_wrapper_namerB   r   r:   	call_convget_function_typerestypeargtypesenvironmentenv_name_linking_librariesglobal_variablesr   	can_cacher5   appendcreate_ir_modulerG   finalizeget_defined_functionsr   privaterN   
visibility)r   rX   rK   flags
nrt_module_entrycresmodulegvrA   	llvm_funcwrappernamerQ   fnty	linkedlib	linkedmodgvnenvwrapper_modulefns   &                    r   _cull_exports_ModuleCompiler._cull_exports   sV   
 (*$%'"!"$,,&&((()9)9: &&&'+E$%)E"<<<EI%77EMJ!!*-((E !4!4dll % % 4 4 % ; ;U')7	<D **F&&77%%&=>>!/BJ ' 22I11)<I&&&$.	!"kkCC,,33K@#99%,,G",**44FFKK'')=)=?6:,,U3484D4D**51.2kk.B.B$$U+ ")!;!;I ) 7 7I'88 gg>>/::"4S"9C"#&==??CFD$;$;C$@ 9 "< "'	  ''5S )V """$55i@N%%n5!!.1 	//1Bwwd...::'//73C3C!DD$-BM$,BM 2 r   c                    W n         V P                  4       p\        VR 4      ;_uu_ 4       pVP                  VP	                  4       4       RRR4       R#   + '       g   i     R# ; iwbN)r4   r   openwriteemit_bitcoder   outputwrapkwsrK   fouts   &&&,  r   write_llvm_bitcode"_ModuleCompiler.write_llvm_bitcode   sI    "&$$&&$4JJw++-.      AA&	c                    W n         V P                  4       p\        VR 4      ;_uu_ 4       pVP                  VP	                  4       4       RRR4       R#   + '       g   i     R# ; ir   )r4   r   r   r   emit_native_objectr   s   &&&,  r   write_native_object#_ModuleCompiler.write_native_object   sI    "&$$&&$4JJw1134  r   c                j    \        V4      pR V9   d!   VP                  R4      '       d
   VR,          pV# )int_t)8163264)strendswith)r   tyobjret_vals   && r   	emit_type_ModuleCompiler.emit_type   s3    e*G 7884r   c                0  a  \         P                  P                  V4      w  r#\        VR ,           R4      ;_uu_ 4       pVP	                  \        4       4       VP	                  R4       S P                   F  pVP                  pS P                  VP                  P                  4      pRP                  V 3R lVP                  P                   4       4      pVP	                  RV: RV: RV: R24       K  	  R	R	R	4       R	#   + '       g   i     R	# ; i)
z.hwz
/* Prototypes */
r#   c              3   F   <"   T F  pSP                  V4      x  K  	  R # 5ir   )r   ).0argtyper   s   & r   	<genexpr>._ModuleCompiler.emit_header.<locals>.<genexpr>   s%      !M0KW "&!8!80Ks   !zextern  (z);
N)ospathsplitextr   r   r   r6   r   r   r   ra   joinr`   )	r   r   fnameextr   export_entryrd   rm   r`   s	   f&       r   emit_header_ModuleCompiler.emit_header   s    WW%%f-
%$,$$JJz|$JJ-. $ 3 3#**..)?)?)K)KLyy !M0<0F0F0K0K!M M

GT4HI !4 %$$$s   B<DD	c                *   . pV P                    F  pVP                  pV P                  V4      pV P                  V,          p\        P
                  ! WV4      pV P                  P                  W4      p\        P                  P                  V\        P                  P                  V\        P                  4      \        \        34      p	VP                  V	4       K  	  \        P                  P                  \        \        \         \        .4      p
VP                  V
4       \#        V P$                  V4      p\&        P(                  ! VVP*                  R4      pWn        RVn        \        P                  P1                  V\         \         .4      pV# )zg
Collect exported methods and emit a PyMethodDef array.

:returns: a pointer to the PyMethodDef array.
z.module_methodsrN   )r6   r   rB   rT   r   Functionr<   insert_const_stringConstantliteral_structbitcastlt
_void_starMETH_VARARGS_AND_KEYWORDSNULLrt   ZEROr   method_def_tyr   add_global_variabletypeinitializerrf   gep)r   rF   method_defsr}   rd   rh   r   lfuncmethod_namemethod_def_constsentinelmethod_array_initmethod_arraymethod_array_ptrs   &&            r   _emit_method_array"_ModuleCompiler._emit_method_array   s@    ((E<<D!77=N//6DKK>BE,,::;MK!{{99$$UBMM:* 
 /0 ) ;;--tT4.FG8$1$2D2DkR22;3D3I3I3DF $5 );;??<$Fr   c                   . pV P                    FB  pV P                  V,          pVP                  VP                  4      pVP	                  V4       KD  	  TP                  V P                  P                  4        Uu. uF  pVP                  VP                  4      NK   	  up4       \        V P                  V4      pV P                  P                  VRV4      p	V	P                  \        \        .4      # u upi )z
Emit an array of env_def_t structures (see modulemixin.c)
storing the pickled environment constants for each of the
exported functions.
z.module_environments)r6   rU   serialize_uncachedconstsrt   extendrW   valuesr   
env_def_tyr<   insert_unique_constr   r   )
r   rF   builderpyapienv_defsr}   r   env_defenv_defs_initr   s
   &&&&      r   _emit_environment_array'_ModuleCompiler._emit_environment_array  s     ((E,,U3C..szz:GOOG$	 ) 	..557
7 $$SZZ07
 	 .dooxH\\--k.D.;= vvtTl##
s   <$C5c           	        . pV P                    Fa  pV P                  V,          pV P                  P                  W4      pVP	                  \
        P                  4      pVP                  V4       Kc  	  TP                  V P                   Uu. uF<  pV P                  P                  VV4      P	                  \
        P                  4      NK>  	  up4       VP                  \
        P                  ! R4      4       \        \
        P                  V4      p	V P                  P                  VRV	4      pVP                  \        \        .4      # u upi )zR
Emit an array of Environment pointers that needs to be filled at
initialization.
Nz.module_envgvs)r6   rV   r<   declare_env_globalr   r   r   rt   r   rW   r   r   r   r   )
r   rF   r   r   env_settersr}   
envgv_namer   envgvenv_setters_inits
   &&&&      r   _emit_envgvs_array"_ModuleCompiler._emit_envgvs_array1  s   
 ((E--e4J00IBJJr}}-Eu%	 ) 	
 #55

 6
	 LL++ gbmm$% 6
 	 	2==./0L\\--k.>.>@ vvtTl##
s   AEc                6   V P                   '       d   \        P                  ! \        P                  VP
                  V P                  V P                  VP
                  .4      p\        P                  ! WV P                   4      pVP                  WWEV.4      # R# )z0
Emit call to "external" init function, if any.
N)
r7   r   FunctionTyper   _int32r   method_def_ptrenv_def_ptrr   call)	r   rF   r   modobjr   	env_arrayenvgv_arrayr   r   s	   &&&&&&&  r   _emit_module_init_code&_ModuleCompiler._emit_module_init_codeM  s    
 &&&??299$*KK1D1D$($4$4k6F6F$HID [0K0KLB<<\%0%2 3 3 r   )r<   r5   rV   r6   r4   rT   r7   rW   rU   r3   r9   r8   N)F)r'   r(   r)   r*   r+   r   LiteralStructTyper   
_int8_starr   r   r   PointerTyper   r   r   r    rB   rG   r	   r   r   r   r   r   r   r   r   r   r,   r-   r.   s   @r   r1   r1   Q   s      (("--*,--*,))*,--*9 :M
 ^^M2N %%r}}')yy')}}')}}')yy	'2 3J
 ..,K-1"
 Q Qf/5
J @$.$8 r   r1   c                   N  a  ] tR tRt o R t]! ]P                  ]P                  4      t]! ]P                  ]P                  4      t	]! ]P                  ]P                  ]]P                  4      t]! ]P                  ]P                  4      t]! ]P                  4      t]P                  t]P"                  ! ]P$                  ]]P&                  ]P                  34      t]P"                  ! ]]]]P&                  ]P,                  ]	]]	]3	4      t]R 4       t]R 4       tR tRtV tR# )r   i]  c                V    \         P                  ! \         P                  ! W4      4      # r   )r   r   r   )retr`   s   &*r   <lambda>ModuleCompiler.<lambda>_  s    "..1K"Lr   c                    \         P                  ! \        P                  \         P                  ! V P
                  4      \        P                  34      pRp\        P                  '       d
   VR,          pW3# )zV
Return the signature and name of the Python C API function to
initialize the module.
PyModule_Create2	TraceRefs)r   r   r   _pyobject_head_pr   module_def_tyr   _trace_refs_)r   r   rd   s   &  r   module_create_definition'ModuleCompiler.module_create_definition  sZ     OOB$7$7%'^^D4F4F%G%'YY%01	 "???KDr   c                v    \         P                  ! \        P                  R4      pVRV P                  ,           3# )zH
Return the name and signature of the module's initialization function.
PyInit_r@   )r   r   r   r  r3   )r   r   s   & r   module_init_definition%ModuleCompiler.module_init_definition  s0    
 OOB$7$7<	)d&6&6666r   c                   \         P                  ! V.V P                  O5!  pR Vn        V P                  P                  VV P                  4      p\         P                  P                  \        P                  \         P                  ! V P                  R4      \         P                  ! \        P                  R4      \         P                  ! \        P                  R4      34      p\        P                  ! VVP                   R4      pWEn        RVn        V P%                  V4      p\         P                  P                  VV\         P                  ! V P&                  R4      \         P                  ! \        P                  R4      V\         P                  ! V P(                  R4      \         P                  ! V P*                  R4      \         P                  ! V P(                  R4      \         P                  ! V P,                  R4      3	4      p\        P                  ! WP                   R4      pWxn        RVn        \         P                  ! V.V P.                  O5!  p	V	P1                  R4      p
\         P2                  ! V
4      pV P                  P5                  V4      pVP7                  VV\         P                  ! \        P8                  \:        P<                  4      34      pVP?                  \        P@                  ! W4      4      ;_uu_ 4        VPC                  \D        PG                  V	P                   PH                  PJ                  4      4       RRR4       V PM                  WV4      pV PO                  WV4      pV PQ                  WVWnV4      pVeh   VP?                  \        PR                  ! VV4      4      ;_uu_ 4        VPC                  \         P                  ! VP                   R4      4       RRR4       VPC                  V4       V PT                  PW                  V	PX                  4       R#   + '       g   i     L; i  + '       g   i     L[; i)rO   Nz.module_def_baserN   z.module_defEntry)-r   r   r  rf   r<   r   r3   r   r   r   _pyobject_head_init	m_init_ty_llvm_py_ssize_tr  r   r   r   r   r   
_char_star
inquiry_tytraverseproc_tyfreefunc_tyr
  append_basic_block	IRBuilderget_python_apir   r   sysapi_versionif_thenis_nullr   r   r   pointeera   r   r   r   is_not_nullr5   rt   rd   )r   rF   create_module_fnmod_name_constmod_def_base_initmod_def_baser   mod_def_initmod_defmod_init_fnr}   r   r   modr   r   r   s   &&               r   rG   #ModuleCompiler._emit_python_wrapper  s(    ;;{ST5R5RS#-  99+:>:J:JL KK66##[[.[[,,d3[[,,d3
 22;3D3I3I3EG $5 )..{;{{11[[$/[[,,b1[[$/[[--t4[[$/[[))40	
 --k;L;L.;=*$ kk+L0K0KL..w7,,u%++G4ll+#KK		3??CEF __W__W:;;KK[%5%5%=%=%I%IJK < 00uM	--kEJ))+*6;P?!4!4Wc!BCCBKK$78 D 	C 0 01 <; DCs   AP61Q	6Q		Q	r@   N)r'   r(   r)   r*   _ptr_funr   _int8r  visitproc_tyr  r   r  r  r  r   r  r   r   _pyobject_headr  module_def_base_tyr1   r   r  propertyr  r
  rG   r,   r-   r.   s   @r   r   r   ]  s?    LH BHH//1L "((--/J rxx!22+!}}.O 288==*K "IJ --		
( ((**
	
M   7 7G2 G2r   ))loggingr   r  llvmliter   llvmlite.bindingr   
numba.pyccr   r   numba.core.cgutilsr   numba.core.compilerr   r   numba.core.compiler_lockr	   numba.core.registryr
   numba.core.runtimer   
numba.corer   numba.core.environmentr   	getLoggerr'   logger__all__r   r   r   r   r   ONEr   r   objectr   r1   r   r@   r   r   <module>r>     s     	 
  $ ' 4 4 9 * (  5 
		8	$
	{{2==$'	{{299a kk"))QKK		37 !(HE& EIf IXb2_ b2r   