/arkcompiler/runtime_core/assembler/tests/ |
D | parser_test.cpp | 29 v.push_back(l.TokenizeString(".function u8 main(){").first); in TEST() 30 v.push_back(l.TokenizeString("mov v1, v2}").first); in TEST() 46 v.push_back(l.TokenizeString(".function u8 main(){").first); in TEST() 47 v.push_back(l.TokenizeString("label:}").first); in TEST() 63 v.push_back(l.TokenizeString(".function u8 main(){").first); in TEST() 64 v.push_back(l.TokenizeString("jlt v10, lab123}").first); in TEST() 74 v.push_back(l.TokenizeString(".function u8 main(){").first); in TEST() 75 v.push_back(l.TokenizeString("11111111}").first); in TEST() 85 v.push_back(l.TokenizeString(".function u8 main(){").first); in TEST() 86 v.push_back(l.TokenizeString("addi 1}").first); in TEST() [all …]
|
D | assembler_parser_test.cpp | 43 v.push_back(l.TokenizeString(".function u8 main(){").first); 44 v.push_back(l.TokenizeString("mov v1, v2}").first); 65 v.push_back(l.TokenizeString(".function u8 main(){").first); 66 v.push_back(l.TokenizeString("label:}").first); 88 v.push_back(l.TokenizeString(".function u8 main(){").first); 89 v.push_back(l.TokenizeString("jlt v10, lab123}").first); 105 v.push_back(l.TokenizeString(".function u8 main(){").first); 106 v.push_back(l.TokenizeString("11111111}").first); 122 v.push_back(l.TokenizeString(".function u8 main(){").first); 123 v.push_back(l.TokenizeString("addi 1}").first); [all …]
|
D | assembler_ins_test.cpp | 130 ins.regs.push_back(reg1); 131 ins.regs.push_back(reg2); 132 ins.imms.push_back(Ins::IType(int64_t(0x1))); 133 ins.ids.push_back("a1"); 197 ins.regs.push_back(1); 213 ins.regs.push_back(reg1); 214 ins.regs.push_back(reg2); 215 ins.imms.push_back(Ins::IType(int64_t(0x1))); 216 ins.ids.push_back("a1"); 315 con.tokens.push_back(token1); [all …]
|
/arkcompiler/runtime_core/compiler/tests/ |
D | iterators_test.cpp | 35 result.push_back(inst); in Check() 41 result.push_back(inst); in Check() 47 result.push_back(inst); in Check() 54 result.push_back(inst); in Check() 60 result.push_back(inst); in Check() 66 result.push_back(inst); in Check() 73 result.push_back(inst); in Check() 80 result.push_back(inst); in Check() 87 result.push_back(inst); in Check() 95 result.push_back(inst); in Check() [all …]
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | reg_map.cpp | 28 codegen_reg_map_.push_back(reg); in SetMask() 36 codegen_reg_map_.push_back(reg); in SetMask() 44 codegen_reg_map_.push_back(reg); in SetMask() 56 codegen_reg_map_.push_back(reg); in SetCallerFirstMask() 63 codegen_reg_map_.push_back(reg); in SetCallerFirstMask() 71 codegen_reg_map_.push_back(reg); in SetCallerFirstMask() 79 codegen_reg_map_.push_back(reg); in SetCallerFirstMask()
|
D | reg_alloc_graph_coloring.cpp | 39 physical_nodes.push_back(node); in BuildIG() 149 affinity_nodes.push_back(input_node->GetNumber()); in PrecolorIG() 150 affinity_nodes.push_back(fixed_node->GetNumber()); in PrecolorIG() 176 walked.push_back(node.GetNumber()); in BuildBias() 194 walked.push_back(try_index); in BuildBias() 207 affinity_nodes->push_back(node->GetNumber()); in AddAffinityEdges() 217 affinity_nodes->push_back(anbr->GetNumber()); in AddAffinityEdges() 234 affinity_nodes->push_back(node->GetNumber()); in AddAffinityEdgeToSibling() 235 affinity_nodes->push_back(node_split->GetNumber()); in AddAffinityEdgeToSibling() 403 to_split.push_back(interval); in Presplit() [all …]
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | ustring.h | 446 str->push_back(static_cast<char>(cu)); in Utf8Encode() 448 …str->push_back(static_cast<char>(((cu >> Constants::UTF8_2BYTE_SHIFT) & Constants::UTF8_2BYTE_MASK… in Utf8Encode() 450 … str->push_back(static_cast<char>((cu & Constants::UTF8_CONT_MASK) | Constants::UTF8_CONT_HEADER)); in Utf8Encode() 452 …str->push_back(static_cast<char>(((cu >> Constants::UTF8_3BYTE_SHIFT) & Constants::UTF8_3BYTE_MASK… in Utf8Encode() 454 …str->push_back(static_cast<char>(((cu >> Constants::UTF8_2BYTE_SHIFT) & Constants::UTF8_CONT_MASK)… in Utf8Encode() 456 … str->push_back(static_cast<char>((cu & Constants::UTF8_CONT_MASK) | Constants::UTF8_CONT_HEADER)); in Utf8Encode() 458 …str->push_back(static_cast<char>(((cu >> Constants::UTF8_4BYTE_SHIFT) & Constants::UTF8_4BYTE_MASK… in Utf8Encode() 460 …str->push_back(static_cast<char>(((cu >> Constants::UTF8_3BYTE_SHIFT) & Constants::UTF8_CONT_MASK)… in Utf8Encode() 462 …str->push_back(static_cast<char>(((cu >> Constants::UTF8_2BYTE_SHIFT) & Constants::UTF8_CONT_MASK)… in Utf8Encode() 464 … str->push_back(static_cast<char>((cu & Constants::UTF8_CONT_MASK) | Constants::UTF8_CONT_HEADER)); in Utf8Encode() [all …]
|
D | workerQueue.cpp | 22 job->dependants_.push_back(this); in DependsOn() 41 threads_.push_back(os::thread::ThreadStart(Worker, this)); in WorkerQueue() 91 errors_.push_back(e); in Consume()
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | small_vector_test.cpp | 55 vector.push_back(values[0]); in TestVectorGrow() 60 vector.push_back(values[1]); in TestVectorGrow() 61 vector.push_back(values[2]); in TestVectorGrow() 62 vector.push_back(values[3]); in TestVectorGrow() 67 vector.push_back(values[4]); in TestVectorGrow() 215 vector.push_back(Item(3, 3.3)); in TEST_F() 223 vector.push_back(Item(1, 1.2)); in TEST_F() 274 vector.push_back(Item(1, 1.2)); in TEST_F() 330 vector2.push_back(values[0]); in TEST_F() 331 vector2.push_back(values[1]); in TEST_F() [all …]
|
/arkcompiler/ets_frontend/es2panda/parser/ |
D | commonjs.cpp | 45 params.push_back(param); in AddCommonjsParams() 53 args.push_back(wrapper); in AddReflectApplyArgs() 57 args.push_back(thisValue); in AddReflectApplyArgs() 63 elements.push_back(arg); in AddReflectApplyArgs() 67 args.push_back(wrapperArgsArray); in AddReflectApplyArgs() 112 statements.push_back(exprStatementNode); in ParseCommonjs()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | arrayExpression.cpp | 158 elementTypes.push_back(it->TsType()); in GetSpreadElementType() 162 tupleElementTypes.push_back(it->TsType()); in GetSpreadElementType() 169 elementTypes.push_back(checker->CreateUnionType(std::move(tupleElementTypes))); in GetSpreadElementType() 180 spreadTypes.push_back(type->AsArrayType()->ElementType()); in GetSpreadElementType() 188 spreadTypes.push_back(it->TsType()); in GetSpreadElementType() 199 elementTypes.push_back(checker->CreateUnionType(std::move(spreadTypes))); in GetSpreadElementType() 220 … elementTypes.push_back(inConstContext ? spreadType : spreadType->AsArrayType()->ElementType()); in Check() 221 elementFlags.push_back(checker::ElementFlags::VARIADIC); in Check() 226 elementFlags.push_back(checker::ElementFlags::REST); in Check() 236 elementFlags.push_back(checker::ElementFlags::REQUIRED); in Check() [all …]
|
/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | objectDescriptor.cpp | 42 copiedDesc->properties.push_back(copiedProp); in Copy() 46 copiedDesc->callSignatures.push_back(it->Copy(allocator, relation, globalTypes)); in Copy() 50 copiedDesc->constructSignatures.push_back(it->Copy(allocator, relation, globalTypes)); in Copy()
|
/arkcompiler/runtime_core/libark_defect_scan_aux/ |
D | function.cpp | 91 ret_inst_list.push_back(inst); in GetReturnInstList() 128 def_class_list_.push_back(def_class); in AddDefinedClass() 134 def_func_list_.push_back(def_func); in AddDefinedFunction() 140 callee_info_list_.push_back(callee_info); in AddCalleeInfo()
|
/arkcompiler/ets_frontend/merge_abc/src/ |
D | assemblyInsProto.cpp | 52 insn.regs.push_back(static_cast<uint16_t>(protoReg)); in Deserialize() 56 insn.ids.push_back(protoId); in Deserialize() 62 insn.imms.push_back(protoImm.valueint()); in Deserialize() 66 insn.imms.push_back(protoImm.valuedouble()); in Deserialize()
|
/arkcompiler/ets_runtime/ecmascript/stackmap/ |
D | llvm_stackmap_parser.cpp | 76 deoptbundles[callsite].push_back(info); in CalcCallSite() 80 deoptbundles[callsite].push_back(loc.offsetOrSmallConstant); in CalcCallSite() 85 deoptbundles[callsite].push_back(info); in CalcCallSite() 91 deoptbundles[callsite].push_back(v); in CalcCallSite() 127 llvmStackMap_.stkSizeRecords.push_back(stkRecord); in CalculateStackMap() 132 llvmStackMap_.constants.push_back(val); in CalculateStackMap() 140 stkSizeRecord.locations.push_back(location); in CalculateStackMap() 149 stkSizeRecord.liveOuts.push_back(liveOut); in CalculateStackMap() 155 llvmStackMap_.stkMapRecord.push_back(stkSizeRecord); in CalculateStackMap()
|
/arkcompiler/ets_frontend/es2panda/aot/ |
D | emitFiles.cpp | 41 jobs_.push_back(emitProtoJob); in Schedule() 46 jobs_.push_back(emitMergedAbcJob); in Schedule() 55 jobs_.push_back(emitSingleAbcJob); in Schedule() 84 progs.push_back(&(info.second->program)); in Run()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | regAllocator.cpp | 40 pg_->Insns().push_back(ins); in PushBack() 123 newInsns.push_back(ins); in AdjustInsRegWhenHasSpill() 134 newInsns.push_back(ins); in AdjustInsRegWhenHasSpill() 167 dstRegSpills_.push_back(std::make_pair(originReg, spillReg)); in AdjustInsSpill() 173 newInsns.push_back(ins); in AdjustInsSpill() 206 newInsns.push_back(ins); in AdjustRangeInsSpill()
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
D | transformer.cpp | 363 res.push_back(node); in VisitExportClassDeclaration() 436 sequence.push_back(assignment); in VisitClassExpression() 439 sequence.push_back(it->GetExpression()); in VisitClassExpression() 442 sequence.push_back(it->GetExpression()); in VisitClassExpression() 445 sequence.push_back(CreateReferenceIdentifier(varName)); in VisitClassExpression() 592 addToCtor.push_back(it->AsClassProperty()); in VisitInstanceProperty() 605 computedProps.push_back(AllocNode<ir::ExpressionStatement>(it->Key())); in VisitInstanceProperty() 712 res.push_back(AllocNode<ir::ExpressionStatement>(classProperty->Key())); in VisitStaticProperty() 731 res.push_back(AllocNode<ir::ExpressionStatement>(assignment)); in VisitStaticProperty() 745 … res.push_back(CreateVariableDeclarationWithIdentify(name, VariableParsingFlags::LET, node, false, in VisitClassDeclaration() [all …]
|
/arkcompiler/toolchain/tooling/test/testcases/ |
D | js_variable_first_test.h | 138 infos.push_back("none"); in SendNotification() 143 infos.push_back(propertyInner->GetName()); in SendNotification() 169 infos.push_back(value->GetType()); in PushValueInfo() 175 infos.push_back(value->GetSubType()); in PushValueInfo() 179 infos.push_back(value->GetClassName()); in PushValueInfo() 183 infos.push_back(value->GetDescription()); in PushValueInfo() 190 infos.push_back(value->GetValue()->ToString(vm_)->ToString()); in PushValueInfo()
|
D | js_module_variable_test.h | 153 infos.push_back("none"); in GetModuleProperties() 158 infos.push_back(propertyInner->GetName()); in GetModuleProperties() 177 infos.push_back(value->GetType()); in PushValueInfo() 183 infos.push_back(value->GetSubType()); in PushValueInfo() 187 infos.push_back(value->GetClassName()); in PushValueInfo() 191 infos.push_back(value->GetDescription()); in PushValueInfo() 198 infos.push_back(value->GetValue()->ToString(vm_)->ToString()); in PushValueInfo()
|
D | js_variable_second_test.h | 138 infos.push_back("none"); in SendNotification() 143 infos.push_back(propertyInner->GetName()); in SendNotification() 169 infos.push_back(value->GetType()); in PushValueInfo() 175 infos.push_back(value->GetSubType()); in PushValueInfo() 179 infos.push_back(value->GetClassName()); in PushValueInfo() 183 infos.push_back(value->GetDescription()); in PushValueInfo() 190 infos.push_back(value->GetValue()->ToString(vm_)->ToString()); in PushValueInfo()
|
D | js_container_test.h | 151 infos.push_back("none"); in GetProperties() 156 infos.push_back(propertyInner->GetName()); in GetProperties() 175 infos.push_back(value->GetType()); in PushValueInfo() 181 infos.push_back(value->GetSubType()); in PushValueInfo() 185 infos.push_back(value->GetClassName()); in PushValueInfo() 189 infos.push_back(value->GetDescription()); in PushValueInfo() 196 infos.push_back(value->GetValue()->ToString(vm_)->ToString()); in PushValueInfo()
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
D | typeCreation.cpp | 62 newConstituentTypes.push_back(it); in CreateUnionType() 75 newConstituentTypes.push_back(type); in CreateUnionType() 81 newConstituentTypes.push_back(it); in CreateUnionType() 106 newConstituentTypes.push_back(type); in CreateUnionType() 112 newConstituentTypes.push_back(it); in CreateUnionType()
|
/arkcompiler/runtime_core/libpandafile/ |
D | debug_info_extractor.cpp | 50 lnt_.push_back({state_->GetAddress(), static_cast<size_t>(state_->GetLine())}); in ProcessBegin() 96 lvt_.push_back({name, type, type, reg_number, state_->GetAddress(), 0}); in HandleStartLocal() 105 lvt_.push_back({name, type, type_sign, reg_number, state_->GetAddress(), 0}); in HandleStartLocalExtended() 128 cnt_.push_back({state_->GetAddress(), state_->GetColumn()}); in HandleSetColumn() 136 lnt_.push_back({state_->GetAddress(), static_cast<size_t>(state_->GetLine())}); in HandleSpecialOpcode() 248 methods_.push_back({source_file, source_code, method_id, handler.GetLineNumberTable(), in Extract() 328 list.push_back(method.method_id); in GetMethodIdList()
|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
D | phi_resolver.h | 117 phi_users_.push_back(user.GetInst()); in FindUsersRec() 124 real_users_.push_back(user.GetInst()); in FindUsersRec() 135 real_inputs_.push_back(inst); in FindInputsRec() 145 real_inputs_.push_back(input_inst); in FindInputsRec() 150 real_inputs_.push_back(input_inst); in FindInputsRec()
|