319319 get_method_table_view (world:: UInt , mt:: MTType ) = OverlayMethodTable (world, mt)
320320end
321321
322- abstract type AbstractGPUInterpreter <: CC.AbstractInterpreter end
323- struct GPUInterpreter <: AbstractGPUInterpreter
322+ struct GPUInterpreter <: CC.AbstractInterpreter
324323 world:: UInt
325324 method_table:: GPUMethodTableView
326325
@@ -446,7 +445,7 @@ struct DeferredCallInfo <: CC.CallInfo
446445end
447446
448447# recognize calls to gpuc.deferred and save DeferredCallInfo metadata
449- function CC. abstract_call_known (interp:: AbstractGPUInterpreter , @nospecialize (f),
448+ function CC. abstract_call_known (interp:: GPUInterpreter , @nospecialize (f),
450449 arginfo:: CC.ArgInfo , si:: CC.StmtInfo , sv:: CC.AbsIntState ,
451450 max_methods:: Int = CC. get_max_methods (interp, f, sv))
452451 (; fargs, argtypes) = arginfo
@@ -519,7 +518,7 @@ function find_deferred_edges(ir::CC.IRCode)
519518end
520519
521520if VERSION >= v " 1.11.0-"
522- function CC. ipo_dataflow_analysis! (interp:: AbstractGPUInterpreter , ir:: CC.IRCode ,
521+ function CC. ipo_dataflow_analysis! (interp:: GPUInterpreter , ir:: CC.IRCode ,
523522 caller:: CC.InferenceResult )
524523 edges = find_deferred_edges (ir)
525524 if ! isempty (edges)
@@ -530,7 +529,7 @@ function CC.ipo_dataflow_analysis!(interp::AbstractGPUInterpreter, ir::CC.IRCode
530529end
531530else # v1.10
532531# 1.10 doesn't have stack_analysis_result or ipo_dataflow_analysis
533- function CC. finish (interp:: AbstractGPUInterpreter , opt:: CC.OptimizationState , ir:: CC.IRCode ,
532+ function CC. finish (interp:: GPUInterpreter , opt:: CC.OptimizationState , ir:: CC.IRCode ,
534533 caller:: CC.InferenceResult )
535534 edges = find_deferred_edges (ir)
536535 if ! isempty (edges)
0 commit comments