Home
last modified time | relevance | path

Searched refs:current_function (Results 1 – 25 of 40) sorted by relevance

12

/third_party/openssl/crypto/perlasm/
Dx86_64-xlate.pl154 my $current_function;
202 if ($win64 && $current_function->{abi} eq "svr4") {
216 if ($win64 && $current_function->{abi} eq "svr4") {
444 if ($win64 && $current_function->{name} eq $self->{value}
445 && $current_function->{abi} eq "svr4") {
450 $func .= "${decor}SEH_begin_$current_function->{name}:\n";
451 my $narg = $current_function->{narg};
461 } elsif ($self->{value} ne "$current_function->{name}") {
465 } elsif ($win64 && $current_function->{abi} eq "svr4") {
466 my $func = "$current_function->{name}" .
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_layout.cpp85 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
97 if (_.current_function().block_count() != 0) { in FunctionScopedInstructions()
102 if (auto error = _.current_function().RegisterFunctionParameter( in FunctionScopedInstructions()
116 if (_.current_function().block_count() == 0 && in FunctionScopedInstructions()
123 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
147 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
Dvalidate_cfg.cpp77 if (_.current_function().IsFirstBlock(target)) { in FirstBlockAssert()
80 << _.getIdName(_.current_function().id()) << " is targeted by block " in FirstBlockAssert()
81 << _.getIdName(_.current_function().current_block()->id()); in FirstBlockAssert()
87 if (_.current_function().IsBlockType(merge_block, kBlockTypeMerge)) { in MergeBlockAssert()
361 if (auto error = _.current_function().RegisterBlock(inst->result_id)) in CfgPass()
369 if (auto error = _.current_function().RegisterLoopMerge(merge_block, in CfgPass()
377 if (auto error = _.current_function().RegisterSelectionMerge(merge_block)) in CfgPass()
384 _.current_function().RegisterBlockEnd({target}, opcode); in CfgPass()
392 _.current_function().RegisterBlockEnd({tlabel, flabel}, opcode); in CfgPass()
402 _.current_function().RegisterBlockEnd({cases}, opcode); in CfgPass()
[all …]
Dvalidate_instruction.cpp423 if (_.current_function().IsFirstBlock( in InstructionPass()
424 _.current_function().current_block()->id()) == false) { in InstructionPass()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_cfg.cpp361 if (_.current_function().IsFirstBlock(target)) { in FirstBlockAssert()
362 return _.diag(SPV_ERROR_INVALID_CFG, _.FindDef(_.current_function().id())) in FirstBlockAssert()
364 << _.getIdName(_.current_function().id()) << " is targeted by block " in FirstBlockAssert()
365 << _.getIdName(_.current_function().current_block()->id()); in FirstBlockAssert()
371 if (_.current_function().IsBlockType(merge_block, kBlockTypeMerge)) { in MergeBlockAssert()
372 return _.diag(SPV_ERROR_INVALID_CFG, _.FindDef(_.current_function().id())) in MergeBlockAssert()
942 if (auto error = _.current_function().RegisterBlock(inst->id())) in CfgPass()
948 _.current_function().current_block()->set_label(inst); in CfgPass()
955 if (auto error = _.current_function().RegisterLoopMerge(merge_block, in CfgPass()
963 if (auto error = _.current_function().RegisterSelectionMerge(merge_block)) in CfgPass()
[all …]
Dvalidate_layout.cpp165 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
185 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
197 if (_.current_function().block_count() != 0) { in FunctionScopedInstructions()
202 if (auto error = _.current_function().RegisterFunctionParameter( in FunctionScopedInstructions()
216 if (_.current_function().block_count() == 0 && in FunctionScopedInstructions()
223 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
Dvalidate.cpp265 inst->set_function(&(vstate->current_function())); in ValidateBinaryUsingContextAndValidationState()
266 inst->set_block(vstate->current_function().current_block()); in ValidateBinaryUsingContextAndValidationState()
269 vstate->current_function().current_block()->set_terminator(inst); in ValidateBinaryUsingContextAndValidationState()
Dvalidation_state.h200 Function& current_function();
201 const Function& current_function() const;
292 current_function().AddFunctionCallTarget(id); in AddFunctionCallTarget()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_cfg.cpp361 if (_.current_function().IsFirstBlock(target)) { in FirstBlockAssert()
362 return _.diag(SPV_ERROR_INVALID_CFG, _.FindDef(_.current_function().id())) in FirstBlockAssert()
364 << _.getIdName(_.current_function().id()) << " is targeted by block " in FirstBlockAssert()
365 << _.getIdName(_.current_function().current_block()->id()); in FirstBlockAssert()
371 if (_.current_function().IsBlockType(merge_block, kBlockTypeMerge)) { in MergeBlockAssert()
372 return _.diag(SPV_ERROR_INVALID_CFG, _.FindDef(_.current_function().id())) in MergeBlockAssert()
942 if (auto error = _.current_function().RegisterBlock(inst->id())) in CfgPass()
948 _.current_function().current_block()->set_label(inst); in CfgPass()
955 if (auto error = _.current_function().RegisterLoopMerge(merge_block, in CfgPass()
963 if (auto error = _.current_function().RegisterSelectionMerge(merge_block)) in CfgPass()
[all …]
Dvalidate_layout.cpp165 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
185 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
197 if (_.current_function().block_count() != 0) { in FunctionScopedInstructions()
202 if (auto error = _.current_function().RegisterFunctionParameter( in FunctionScopedInstructions()
216 if (_.current_function().block_count() == 0 && in FunctionScopedInstructions()
223 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
Dvalidate.cpp265 inst->set_function(&(vstate->current_function())); in ValidateBinaryUsingContextAndValidationState()
266 inst->set_block(vstate->current_function().current_block()); in ValidateBinaryUsingContextAndValidationState()
269 vstate->current_function().current_block()->set_terminator(inst); in ValidateBinaryUsingContextAndValidationState()
Dvalidation_state.h200 Function& current_function();
201 const Function& current_function() const;
292 current_function().AddFunctionCallTarget(id); in AddFunctionCallTarget()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_parser.cpp139 if (current_function) in parse()
751 if (!current_function) in parse()
753 current_function->add_local_variable(id); in parse()
767 if (!current_function) in parse()
779 current_function->add_local_variable(id); in parse()
888 if (current_function) in parse()
891 current_function = &set<SPIRFunction>(id, res, type); in parse()
900 if (!current_function) in parse()
903 current_function->add_parameter(type, id); in parse()
917 current_function = nullptr; in parse()
[all …]
Dspirv_parser.hpp47 SPIRFunction *current_function = nullptr; member in SPIRV_CROSS_NAMESPACE::Parser
/third_party/spirv-tools/source/val/
Dvalidate_cfg.cpp364 if (_.current_function().IsFirstBlock(target)) { in FirstBlockAssert()
365 return _.diag(SPV_ERROR_INVALID_CFG, _.FindDef(_.current_function().id())) in FirstBlockAssert()
367 << _.getIdName(_.current_function().id()) << " is targeted by block " in FirstBlockAssert()
368 << _.getIdName(_.current_function().current_block()->id()); in FirstBlockAssert()
374 if (_.current_function().IsBlockType(merge_block, kBlockTypeMerge)) { in MergeBlockAssert()
375 return _.diag(SPV_ERROR_INVALID_CFG, _.FindDef(_.current_function().id())) in MergeBlockAssert()
1004 if (auto error = _.current_function().RegisterBlock(inst->id())) in CfgPass()
1010 _.current_function().current_block()->set_label(inst); in CfgPass()
1017 if (auto error = _.current_function().RegisterLoopMerge(merge_block, in CfgPass()
1025 if (auto error = _.current_function().RegisterSelectionMerge(merge_block)) in CfgPass()
[all …]
Dvalidate_layout.cpp165 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
185 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
197 if (_.current_function().block_count() != 0) { in FunctionScopedInstructions()
202 if (auto error = _.current_function().RegisterFunctionParameter( in FunctionScopedInstructions()
216 if (_.current_function().block_count() == 0 && in FunctionScopedInstructions()
223 if (auto error = _.current_function().RegisterSetFunctionDeclType( in FunctionScopedInstructions()
Dvalidate.cpp269 inst->set_function(&(vstate->current_function())); in ValidateBinaryUsingContextAndValidationState()
270 inst->set_block(vstate->current_function().current_block()); in ValidateBinaryUsingContextAndValidationState()
273 vstate->current_function().current_block()->set_terminator(inst); in ValidateBinaryUsingContextAndValidationState()
Dvalidation_state.h199 Function& current_function();
200 const Function& current_function() const;
291 current_function().AddFunctionCallTarget(id); in AddFunctionCallTarget()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dprivate_to_local_pass.cpp106 Function* current_function = current_block->GetParent(); in FindLocalFunction() local
109 target_function = current_function; in FindLocalFunction()
110 } else if (target_function != current_function) { in FindLocalFunction()
/third_party/spirv-tools/source/opt/
Dprivate_to_local_pass.cpp106 Function* current_function = current_block->GetParent(); in FindLocalFunction() local
109 target_function = current_function; in FindLocalFunction()
110 } else if (target_function != current_function) { in FindLocalFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dprivate_to_local_pass.cpp106 Function* current_function = current_block->GetParent(); in FindLocalFunction() local
109 target_function = current_function; in FindLocalFunction()
110 } else if (target_function != current_function) { in FindLocalFunction()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/val/
Dvalidation_state.cpp254 Function& ValidationState_t::current_function() { in current_function() function in libspirv::ValidationState_t
360 current_function().RegisterFunctionEnd(); in RegisterFunctionEnd()
368 ordered_instructions_.emplace_back(&inst, &current_function(), in RegisterInstruction()
369 current_function().current_block()); in RegisterInstruction()
/third_party/mesa3d/src/compiler/glsl/
Dir_validate.cpp52 this->current_function = NULL; in ir_validate()
85 ir_function *current_function; member in __anonccde10840111::ir_validate
222 if (this->current_function != NULL) { in visit_enter()
227 this->current_function->name, (void *) this->current_function); in visit_enter()
235 this->current_function = ir; in visit_enter()
258 this->current_function = NULL; in visit_leave()
265 if (this->current_function != ir->function()) { in visit_enter()
270 this->current_function->name, (void *) this->current_function, in visit_enter()
289 if (!this->current_function) { in visit_enter()
Dast_to_hir.cpp135 state->current_function = NULL; in _mesa_ast_to_hir()
4343 (state->current_function != NULL && in get_variable_being_redeclared()
4571 if ((var->data.mode == ir_var_shader_in) && (state->current_function == NULL)) { in process_initializer()
4580 if (var->data.mode == ir_var_shader_out && state->current_function == NULL) { in process_initializer()
4611 || (state->es_shader && state->current_function == NULL)) { in process_initializer()
4673 || state->current_function == NULL) { in process_initializer()
4974 if (state->current_function != NULL) { in hir()
5023 } else if (state->current_function != NULL && in hir()
5375 if (state->current_function != NULL) { in hir()
6085 if ((state->current_function != NULL) && in hir()
[all …]
Dir_reader.cpp117 if (state->current_function != NULL) in ir_read_error()
119 state->current_function->function_name()); in ir_read_error()
300 state->current_function = sig; in read_function_sig()
302 state->current_function = NULL; in read_function_sig()
328 if (state->current_function == NULL && ir->as_variable() != NULL) in read_instructions()

12