/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | stackmap.h | 100 for (const auto &elem : deoptVreg2LocationInfo) { in Dump() 101 LogInfo::MapleLogger() << " deoptVreg: " << elem.deoptVreg; in Dump() 102 if (elem.locationInfo.locationKind == kInRegister) { in Dump() 103 LogInfo::MapleLogger() << " in register: " << elem.locationInfo.value << "\n"; in Dump() 104 } else if (elem.locationInfo.locationKind == kOnStack) { in Dump() 105 LogInfo::MapleLogger() << " on stack: " << elem.locationInfo.value << "\n"; in Dump() 107 LogInfo::MapleLogger() << " in const value: " << elem.locationInfo.value << "\n"; in Dump() 115 for (const auto &elem : deoptVreg2LocationInfo) { in SerializeInfo() 116 EncodeLEB128(static_cast<int64_t>(elem.deoptVreg), info); in SerializeInfo() 117 EncodeLEB128(static_cast<int64_t>(elem in SerializeInfo() [all...] |
/arkcompiler/ets_frontend/ets2panda/compiler/debugger/ |
H A D | debuginfoDumper.cpp | 50 typename std::vector<T>::const_reverse_iterator elem; in WrapArray() local 51 for (elem = array.rbegin(); elem != array.rend(); ++elem) { in WrapArray() 53 WriteVariableInfo(*elem); in WrapArray() 54 (std::next(elem) == array.rend()) ? ss_ << "" : ss_ << ","; in WrapArray() 59 typename std::vector<T>::const_iterator elem; in WrapArray() local 60 for (elem = array.begin(); elem != array.end(); ++elem) { in WrapArray() 70 ss_ << "\\"" << *elem << "\\""; WrapArray() local [all...] |
/arkcompiler/ets_frontend/es2panda/compiler/debugger/ |
H A D | debuginfoDumper.cpp | 50 typename std::vector<T>::const_reverse_iterator elem; in WrapArray() local 51 for (elem = array.rbegin(); elem != array.rend(); ++elem) { in WrapArray() 53 WriteVariableInfo(*elem); in WrapArray() 54 (std::next(elem) == array.rend()) ? ss_ << "" : ss_ << ","; in WrapArray() 59 typename std::vector<T>::const_iterator elem; in WrapArray() local 60 for (elem = array.begin(); elem != array.end(); ++elem) { in WrapArray() 70 ss_ << "\\"" << *elem << "\\""; WrapArray() local [all...] |
/arkcompiler/ets_frontend/ets2panda/parser/context/ |
H A D | classPrivateContext.cpp | 24 bool ClassPrivateContext::AddElement(const ir::ClassElement *elem) in AddElement() argument 26 bool newPropIsStatic = elem->IsStatic(); in AddElement() 27 util::StringView newPropName = elem->Id()->Name(); in AddElement() 30 if (elem->IsMethodDefinition()) { in AddElement() 31 newPropMethodKind = elem->AsMethodDefinition()->Kind(); in AddElement() 56 elements_.push_back(elem); in AddElement() 61 bool ClassPrivateContext::FindElement(const ir::Identifier *elem) const in FindElement() 64 if (it->Id()->Name().Compare(elem->Name()) == 0) { in FindElement() 70 return prev_->FindElement(elem); in FindElement()
|
H A D | classPrivateContext.h | 39 bool AddElement(const ir::ClassElement *elem); 40 bool FindElement(const ir::Identifier *elem) const;
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | path_helper.cpp | 36 CString elem = fileName.substr(prev, curr - prev); in NormalizePath() local 37 if (elem == DOUBLE_POINT_TAG && !elems.empty()) { // looking for xxx/../ in NormalizePath() 39 } else if (elem != POINT_STRING_TAG && elem != DOUBLE_POINT_TAG) { // remove ./ ../ in NormalizePath() 40 elems.push_back(elem); in NormalizePath()
|
/arkcompiler/ets_runtime/ecmascript/stackmap/litecg/ |
H A D | litecg_stackmap_type.cpp | 51 for (const auto &elem : callSiteInfo) { in ConvertToLLVMStackMapInfo() 52 const std::vector<uint8_t> &litecgCallSiteInfo = elem.second; in ConvertToLLVMStackMapInfo() 68 uintptr_t pc = static_cast<uintptr_t>(elem.first); in ConvertToLLVMStackMapInfo() 75 for (const auto &elem : deoptInfo) { in ConvertToLLVMStackMapInfo() 76 const std::vector<uint8_t> &litecgDeoptInfo = elem.second; in ConvertToLLVMStackMapInfo() 93 pc2DeoptInfo[elem.first] = llvmDeoptInfo; in ConvertToLLVMStackMapInfo()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
H A D | interop_common.h | 209 for (auto &elem : array) { in DecrementBigInt() 210 if (elem != 0) { in DecrementBigInt() 211 --elem; in DecrementBigInt() 215 elem = ~elem & BIGINT_BITMASK_30; in DecrementBigInt() 223 for (auto &elem : array) { in ConvertFromTwosComplement() 224 elem = ~elem & BIGINT_BITMASK_30; in ConvertFromTwosComplement()
|
H A D | interop_common.cpp | 118 for (auto &elem : array) { in ConvertToTwosComplement() 119 elem = (~static_cast<uint32_t>(elem) + extraBit) & BIGINT_BITMASK_30; in ConvertToTwosComplement() 120 if (elem != 0) { in ConvertToTwosComplement()
|
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
H A D | baseline_compiler.h | 68 for (auto elem : jumpMap) { in ~BaselineCompiler() 69 if (elem.second != nullptr) { in ~BaselineCompiler() 70 delete elem.second; in ~BaselineCompiler() 71 elem.second = nullptr; in ~BaselineCompiler()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/ |
H A D | ets_to_string_cache.cpp | 103 * so ... w3 HB (w1 HB w2 HB w3) HB w1 ..., and there is a total order on all writes to `elem` 265 EtsCoroutine *coro, T number, EtsToStringCacheElement<T> *elem, uint64_t cachedAsInt) 268 EtsHandle<EtsToStringCacheElement<T>> elemHandle(coro, elem); 294 // Atomic with acquire order reason: write of `elem` to array is dependency-ordered before reads from loaded `elem` 295 auto *elem = Base::Get(index, std::memory_order_acquire); 296 if (UNLIKELY(elem == nullptr)) { 305 auto cached = elem->LoadData(); // r1 309 auto cachedNumber = elem->LoadNumber(); // r2 311 if (LIKELY(elem 320 CacheAndGetNoCheck(EtsCoroutine *coro, T number, ObjectHeader *elem, uint64_t cached) CacheAndGetNoCheck() argument 352 auto *elem = EtsToStringCacheElement<T>::Create(coro, stringHandle, number, EtsClass::FromRuntimeClass(elemClass)); StoreToCache() local [all...] |
H A D | ets_to_string_cache.h | 69 * @param elem Pointer to `EtsToStringCacheElement` loaded from cache 70 * @param cached Cached `Data` (string and flag) which was read from \p elem 72 * @pre `number` stored in `elem` is supposed to differ from \p number (because we force store) 74 EtsString *CacheAndGetNoCheck(EtsCoroutine *coro, T number, ObjectHeader *elem, uint64_t cached); 101 std::pair<EtsString *, ToStringResult> FinishUpdate(EtsCoroutine *coro, T number, EtsToStringCacheElement<T> *elem,
|
/arkcompiler/ets_frontend/ets2panda/ir/base/ |
H A D | namespaceDefinition.cpp | 90 for (auto elem : body_) { in Dump() 91 elem->Dump(dumper); in Dump() 92 if (elem == body_.back()) { in Dump()
|
H A D | classDefinition.cpp | 173 for (auto elem : body_) { 174 elem->Dump(dumper); 175 if (elem == body_.back()) {
|
/arkcompiler/runtime_core/abc2program/tests/cpp_sources/ |
H A D | hello_world_test.cpp | 998 for (auto& elem : elements) { in HWTEST_F() 999 EXPECT_TRUE(elem.GetName() == "a" || elem.GetName() == "b" || elem.GetName() == "c" || elem.GetName() == "d" || in HWTEST_F() 1000 elem.GetName() == "e" || elem.GetName() == "f"); in HWTEST_F() 1001 if (elem.GetName() == "a") { in HWTEST_F() 1002 EXPECT_EQ(elem.GetValue()->GetType(), pandasm::Value::Type::F64); in HWTEST_F() 1003 EXPECT_EQ(elem in HWTEST_F() [all...] |
/arkcompiler/runtime_core/static_core/runtime/mem/ |
H A D | rem_set.h | 140 uint64_t elem = bitmap_[i]; 141 while (elem > 0) { 142 if (elem & 1ULL) { 145 elem >>= 1ULL;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | mir_pragma.h | 77 void SubElemVecPushBack(MIRPragmaElement *elem) in SubElemVecPushBack() argument 79 subElemVec.push_back(elem); in SubElemVecPushBack()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
H A D | alias_analysis.cpp | 1105 Pointer elem = Pointer::CreateArrayElement(arr, idx); in VisitLoadArray() local 1108 visitor->AddCopyEdge(obj, elem); in VisitLoadArray() 1109 visitor->AddCopyEdge(elem, val); in VisitLoadArray() 1121 Pointer elem = Pointer::CreateArrayElement(arr, idx); in VisitStoreArray() local 1124 visitor->AddCopyEdge(obj, elem); in VisitStoreArray() 1125 visitor->AddCopyEdge(val, elem); in VisitStoreArray() 1136 Pointer elem = Pointer::CreateArrayElement(arr, nullptr, inst->CastToLoadArrayI()->GetImm()); in VisitLoadArrayI() local 1139 visitor->AddCopyEdge(obj, elem); in VisitLoadArrayI() 1140 visitor->AddCopyEdge(elem, val); in VisitLoadArrayI() 1151 Pointer elem in VisitStoreArrayI() local 1171 Pointer elem = Pointer::CreateArrayElement(arr, load->GetIndex(), uinst->GetImm()); VisitLoadArrayPair() local 1268 Pointer elem = Pointer::CreateArrayElement(arr, nullptr, load->GetImm() + uinst->GetImm()); VisitLoadArrayPairI() local 1496 Pointer elem = GetDynamicAccessPointer(inst, dfobj, type, mode); VisitLoadObjectDynamic() local 1514 Pointer elem = GetDynamicAccessPointer(inst, dfobj, type, mode); VisitStoreObjectDynamic() local 1529 Pointer elem = Pointer::CreateArrayElement(constpool, nullptr, typeId); VisitLoadFromConstantPool() local [all...] |
/arkcompiler/runtime_core/libpandafile/ |
H A D | proto_data_accessor-inl.h | 46 uint8_t elem = (v >> shift) & SHORTY_ELEM_MASK; in EnumerateTypes() local 48 if (elem == 0) { in EnumerateTypes() 52 Type t(static_cast<Type::TypeId>(elem)); in EnumerateTypes()
|
/arkcompiler/runtime_core/static_core/libpandafile/ |
H A D | proto_data_accessor-inl.h | 47 uint8_t elem = (v >> shift) & SHORTY_ELEM_MASK; in EnumerateTypes() local 49 if (elem == 0) { in EnumerateTypes() 53 Type t(static_cast<Type::TypeId>(elem)); in EnumerateTypes()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/scripts/micro-benchmarks/ |
H A D | run_micro_benchmarks.py | 345 for elem in ark_opts: 346 if elem.find("compiler-enable-jit=true") != -1: 349 if elem.find("interpreter-type") == -1: 353 if elem.find("interpreter-type=cpp") != -1: 355 if elem.find("interpreter-type=irtoc") != -1: 357 if elem.find("interpreter-type=llvm") != -1:
|
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
H A D | array-inl.h | 161 inline void Array::Set(ArraySizeT idx, T elem) in Set() argument 173 ObjectAccessor::SetObject<false, NEED_WRITE_BARRIER, IS_DYN>(this, GetDataOffset() + offset, elem); in Set() 176 ObjectAccessor::SetPrimitive(this, GetDataOffset() + offset, elem); in Set() 213 inline void Array::Set([[maybe_unused]] const ManagedThread *thread, ArraySizeT idx, T elem) in Set() argument 224 ObjectAccessor::SetObject<false, NEED_WRITE_BARRIER, IS_DYN>(thread, this, GetDataOffset() + offset, elem); in Set() 226 ObjectAccessor::SetPrimitive(this, GetDataOffset() + offset, elem); in Set()
|
/arkcompiler/ets_runtime/ecmascript/dfx/dump_code/ |
H A D | jit_dump_elf.cpp | 144 for (auto elem : localSymTab) { in AppendGlobalSymsToSymTabSec() 145 const maplebe::Symbol &symbol = elem.first; in AppendGlobalSymsToSymTabSec() 146 int64 symIdx = elem.second; in AppendGlobalSymsToSymTabSec()
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/src/ |
H A D | value_dumper.rb | 63 match = /^\s*(Array|Iterable)<(?<elem>.*)>\s*$/.match(x) 65 match[:elem]
|
/arkcompiler/runtime_core/static_core/plugins/ets/abc2program/ |
H A D | abc2program_ets_plugin.h | 29 const panda_file::AnnotationDataAccessor::Elem &elem);
|