Home
last modified time | relevance | path

Searched +full:cvat +full:- (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/templates/
Dinst_templates.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
15 binop: |-
20 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
21 <%=template('operands', inst, '')-%>
23 binop_z: |-
25 …auto instSaveState = CreateSaveState(compiler::Opcode::SaveState, GetPc(instruction->GetAddress())…
26 …auto instCheck = graph_->CreateInstZeroCheck(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAd…
28 …instCheck->SetInput(0, FindOrCreate32BitConstant(instruction->GetImm<<%= inst.get_format %>, 0>())…
30 instCheck->SetInput(0, <%= inst.get_input_string(1) %>);
32 instCheck->SetInput(1, instSaveState);
[all …]
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
15 binop: |-
20 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
21 <%=template('operands', inst, '')-%>
23 binop_z: |-
25 auto inst_save_state = CreateSaveState(Opcode::SaveState, GetPc(instruction->GetAddress()));
26 …auto inst_check = graph_->CreateInstZeroCheck(<%= get_type(inst.dtype) %>, GetPc(instruction->GetA…
28 if (graph_->IsBytecodeOptimizer()) {
29 …inst_check->SetInput(0, FindOrCreate32BitConstant(instruction->GetImm<<%= inst.get_format %>, 0>()…
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/
Dcodegen.cpp2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
43 cb.exception_record = ir_interface_->GetTypeIdByOffset(type_id); in AppendCatchBlock()
45 cb.try_begin_label = BytecodeGen::LabelName(try_begin->GetId()); in AppendCatchBlock()
46 cb.try_end_label = "end_" + BytecodeGen::LabelName(try_end->GetId()); in AppendCatchBlock()
47 cb.catch_begin_label = BytecodeGen::LabelName(catch_begin->GetId()); in AppendCatchBlock()
49 … catch_end == nullptr ? cb.catch_begin_label : "end_" + BytecodeGen::LabelName(catch_end->GetId()); in AppendCatchBlock()
55 ASSERT(bb->IsTryBegin()); in VisitTryBegin()
57 auto try_end = try_inst->GetTryEndBlock(); in VisitTryBegin()
58 ASSERT(try_end != nullptr && try_end->IsTryEnd()); in VisitTryBegin()
[all …]
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dcodegen.cpp2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
91 cb.exceptionRecord = irInterface_->GetTypeIdByOffset(typeId); in AppendCatchBlock()
93 cb.tryBeginLabel = BytecodeGen::LabelName(tryBegin->GetId()); in AppendCatchBlock()
94 cb.tryEndLabel = "end_" + BytecodeGen::LabelName(tryEnd->GetId()); in AppendCatchBlock()
95 cb.catchBeginLabel = BytecodeGen::LabelName(catchBegin->GetId()); in AppendCatchBlock()
96 …el = catchEnd == nullptr ? cb.catchBeginLabel : "end_" + BytecodeGen::LabelName(catchEnd->GetId()); in AppendCatchBlock()
102 ASSERT(bb->IsTryBegin()); in VisitTryBegin()
104 auto tryEnd = tryInst->GetTryEndBlock(); in VisitTryBegin()
105 ASSERT(tryEnd != nullptr && tryEnd->IsTryEnd()); in VisitTryBegin()
[all …]