MCPcopy Create free account

hub / github.com/VKCOM/kphp / functions

Functions17,654 in github.com/VKCOM/kphp

Methodon_ffi_static_cast
on FFI::cast(), replace it with op_ffi_cast
compiler/pipes/instantiate-ffi-operations.cpp:387
Methodon_ffi_static_is_null
on FFI::is_null(), unwrap a call argument
compiler/pipes/instantiate-ffi-operations.cpp:337
Methodon_ffi_static_new
on FFI::new(), replace it with op_ffi_new
compiler/pipes/instantiate-ffi-operations.cpp:314
Methodon_finish
compiler/generics-reification.cpp:358
Methodon_finish
compiler/scheduler/task-pull.h:28
Methodon_finish
compiler/scheduler/pipe_with_progress.h:108
Methodon_finish
compiler/pipes/collect-main-edges.cpp:619
Methodon_finish
compiler/pipes/analyze-performance.cpp:586
Methodon_finish
compiler/pipes/cfg.h:20
Methodon_finish
compiler/pipes/collect-forkable-types.cpp:30
Methodon_finish
compiler/pipes/generate-virtual-methods.cpp:445
Methodon_finish
compiler/pipes/calc-bad-vars.cpp:747
Methodon_finish
compiler/pipes/check-classes.cpp:34
Methodon_finish
compiler/pipes/parse-and-apply-phpdoc.cpp:813
Methodon_finish
compiler/pipes/register-variables.cpp:248
Methodon_finish
compiler/pipes/inline-simple-functions.cpp:120
Methodon_finish
compiler/pipes/check-restrictions.h:19
Methodon_finish
compiler/pipes/register-kphp-configuration.cpp:29
Methodon_finish
compiler/pipes/wait-for-all-classes.cpp:27
Methodon_finish
compiler/pipes/optimization.cpp:432
Methodon_finish
compiler/pipes/code-gen.cpp:45
Methodon_finish
compiler/pipes/type-inferer.cpp:13
Methodon_finish
compiler/pipes/analyzer.cpp:118
Methodon_finish
compiler/pipes/filter-only-actually-used.cpp:293
Methodon_finish
compiler/pipes/calc-real-defines-values.cpp:55
Methodon_finish
compiler/pipes/sync.h:42
Methodon_finish
compiler/pipes/deduce-implicit-types-and-casts.cpp:462
Methodon_finished
runtime/kphp_tracing.cpp:713
Methodon_flush_packet
third-party/statshouse.h:696
Methodon_foreach
compiler/pipes/collect-main-edges.cpp:378
Methodon_fork
check that fork(...) is called correctly, as fork(f()) note, that we do this after replacing op_invoke_call with op_func_call, not earlier
compiler/pipes/check-func-calls-and-vararg.cpp:317
Methodon_func_call
compiler/const-manipulations.h:50
Methodon_func_call
compiler/const-manipulations.h:234
Methodon_func_call
compiler/const-manipulations.h:383
Methodon_func_call
compiler/const-manipulations.h:465
Methodon_func_call
check func call, that a call is valid (not abstract, etc) and provided a valid number of arguments also, check the number of arguments passed as callb
compiler/pipes/check-func-calls-and-vararg.cpp:210
Methodon_func_call
compiler/pipes/collect-main-edges.cpp:314
Methodon_func_call
compiler/pipes/collect-const-vars.cpp:66
Methodon_func_call
compiler/pipes/collect-const-vars.cpp:84
Methodon_func_call
compiler/pipes/collect-const-vars.cpp:103
Methodon_func_call
compiler/pipes/collect-const-vars.cpp:227
Methodon_func_call
compiler/pipes/early-optimization.cpp:81
Methodon_func_call
up to this point, all `$f = function() { ... }` have already been replaced with `$f = Lambda$xxx$$__construct(op_alloc)` such lambda classes have __in
compiler/pipes/convert-invoke-to-func-call.cpp:77
Methodon_func_call
for every `f(...)`, bind func_id for every call argument, patch it to fit @param of f() if f() is a generic function `f<T1,T2,...>(...)`, deduce insta
compiler/pipes/deduce-implicit-types-and-casts.cpp:565
Methodon_func_call_extern_modifying_arg_type
handles calls to extern functions that modify arg type for example, array_push($arr, $v) is like $arr[]=$v
compiler/pipes/collect-main-edges.cpp:224
Methodon_func_name
compiler/const-manipulations.h:42
Methodon_func_name
compiler/const-manipulations.h:225
Methodon_func_name
compiler/const-manipulations.h:270
Methodon_func_name
compiler/const-manipulations.h:345
Methodon_func_param
at first, for every function with `@param A` or other instances, add assumptions such arguments won't be splited (see CFG::split_var), so they can't b
compiler/pipes/deduce-implicit-types-and-casts.cpp:528
Methodon_function
compiler/pipes/collect-main-edges.cpp:532
Methodon_function
compiler/pipes/final-check.cpp:1034
Methodon_generic_func_call_instantiate
have `f<T>(...)`, create f$_$T and return it note, that we always know T due to the previous pipe (when omitted in code, it was auto-deduced if possib
compiler/pipes/instantiate-generics-and-lambdas.cpp:214
Methodon_if_user_recursion
1) handle `if ($x instanceof A)`, replace $x with a temp var inside its body 2) handle `if (!($x instanceof A)) return`, replace $x with a temp var ti
compiler/pipes/transform-to-smart-instanceof.cpp:27
Methodon_index
compiler/const-manipulations.h:68
Methodon_index
compiler/const-manipulations.h:370
Methodon_index
compiler/const-manipulations.h:572
Methodon_index_key
compiler/const-manipulations.h:66
Methodon_index_key
compiler/const-manipulations.h:201
Methodon_index_key
compiler/const-manipulations.h:460
Methodon_input_type_mismatch
runtime-common/stdlib/serialization/from-json-processor.h:53
Methodon_instance_prop
compiler/const-manipulations.h:46
Methodon_instance_prop
compiler/const-manipulations.h:558
Methodon_instance_prop
handle `$obj->field`, calc assumption for $obj and set var_id
compiler/pipes/deduce-implicit-types-and-casts.cpp:824
Methodon_invoke_call
here we replace op_invoke_call `$f(...)` with an op_func_call `$f->__invoke(...)` this can be done only here (not in deducing types), after all lambda
compiler/pipes/convert-invoke-to-func-call.cpp:90
Methodon_lambda
handle `function() { ... }` (lambdas were not replaced by lambda classes yet at this step of pipeline)
compiler/pipes/deduce-implicit-types-and-casts.cpp:819
Methodon_lambda_user_recursion
handle `fn() => $captured_var` — maybe, $captured_var from uses_list is modified (i.e. from smart instanceof or catch)
compiler/pipes/transform-to-smart-instanceof.cpp:67
Methodon_list
compiler/pipes/collect-main-edges.cpp:428
Methodon_list
compiler/pipes/early-optimization.cpp:42
Methodon_list
handle `list($a, $b) = ...`, patch rhs by indexes to fit @var if declared above
compiler/pipes/deduce-implicit-types-and-casts.cpp:775
Methodon_new_type_became_tpError
this callback is invoked immediately when new_type_ has become tp_Error during recalculation by default, we try to detect the reason and print it out
compiler/inferring/node-recalc.cpp:19
Methodon_new_type_became_tpError
when new_type_ became tp_Error but a node is restricted with phpdoc (example: @param string, but passed Exception) — then don't print it out, just ski
compiler/inferring/var-node.cpp:73
Methodon_non_const
compiler/const-manipulations.h:54
Methodon_non_const
compiler/const-manipulations.h:239
Methodon_non_const
compiler/const-manipulations.h:353
Methodon_non_const
compiler/const-manipulations.h:455
Methodon_non_const
compiler/const-manipulations.h:562
Methodon_op_callback_of_builtin_patch_if_lambda
have `array_map(fn(...) => ..., $array)` earlier, a lambda was wrapped to op_callback_of_builtin we need to pass that wrapped lambda back to the pipel
compiler/pipes/instantiate-generics-and-lambdas.cpp:269
Methodon_op_lambda_convert_to_construct_lambda_class
replace op_lambda with __construct call of a lambda class: have `function() { ... }` create a lambda class, which __invoke method calls this lambda (s
compiler/pipes/instantiate-generics-and-lambdas.cpp:241
Methodon_passed_callback_to_builtin
handle calls to built-in functions with callbacks: array_filter($a, function($v) { ... }), array_filter($a, 'cb') and similar (not to php functions wi
compiler/pipes/collect-main-edges.cpp:265
Methodon_phpdoc_for_var
when we meet @var {type} $v, 1) for primitives (strings, etc — no instances == no assumptions) we allow splitting by cfg, skip them 2) for non-primiti
compiler/pipes/deduce-implicit-types-and-casts.cpp:537
Methodon_pipe_finish
compiler/scheduler/pipe_with_progress.h:45
Methodon_pipe_process_input
compiler/scheduler/pipe_with_progress.h:38
Methodon_require
compiler/make/target.cpp:62
Methodon_restricted_type_mismatch
when a type restriction is broken (examples: 1) @param string, but passed int 2) @return int[], but actually return mixed) then we have an edge (edge-
compiler/inferring/var-node.cpp:83
Methodon_return
compiler/pipes/collect-main-edges.cpp:365
Methodon_return
for `return ...`, patch the return expression to fit @return
compiler/pipes/deduce-implicit-types-and-casts.cpp:715
Methodon_return
runtime/resumable.h:161
Methodon_scope_instance_prop
on $cdef->some_prop, wrap it with c2php conversion
compiler/pipes/instantiate-ffi-operations.cpp:529
Methodon_set_op
handles expressions that modify v, like v = rhs or ++v (it may be not a variable, but arr[i]*=2 for example)
compiler/pipes/collect-main-edges.cpp:450
Methodon_set_to_index
handle `$a[$idx][$idx2] = rhs` or `$a[] = rhs`, patch rhs to fit @var if it was set to $a
compiler/pipes/deduce-implicit-types-and-casts.cpp:756
Methodon_set_to_instance_prop
handle `$object->field = rhs`, patch rhs to fir @var of the field
compiler/pipes/deduce-implicit-types-and-casts.cpp:748
Methodon_set_to_var
handle `$v = rhs`, patch rhs to fit @var if it was set to $v
compiler/pipes/deduce-implicit-types-and-casts.cpp:731
Methodon_simple_operation
compiler/pipes/inline-simple-functions.cpp:12
Methodon_start
compiler/generics-reification.cpp:351
Methodon_start
compiler/class-assumptions.cpp:326
Methodon_start
compiler/class-assumptions.cpp:421
Methodon_start
compiler/pipes/collect-main-edges.cpp:550
Methodon_start
compiler/pipes/final-check.cpp:592
Methodon_start
compiler/pipes/inline-simple-functions.cpp:111
← previousnext →15,001–15,100 of 17,654, ranked by callers