Home
last modified time | relevance | path

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

/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
44 cb.exception_record = ir_interface_->GetTypeIdByOffset(type_id); in AppendCatchBlock()
46 cb.try_begin_label = BytecodeGen::LabelName(try_begin->GetId()); in AppendCatchBlock()
47 cb.try_end_label = "end_" + BytecodeGen::LabelName(try_end->GetId()); in AppendCatchBlock()
48 cb.catch_begin_label = BytecodeGen::LabelName(catch_begin->GetId()); in AppendCatchBlock()
50 … catch_end == nullptr ? cb.catch_begin_label : "end_" + BytecodeGen::LabelName(catch_end->GetId()); in AppendCatchBlock()
56 ASSERT(bb->IsTryBegin()); in VisitTryBegin()
58 auto try_end = try_inst->GetTryEndBlock(); in VisitTryBegin()
59 ASSERT(try_end != nullptr && try_end->IsTryEnd()); in VisitTryBegin()
[all …]