| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | dump.cpp | 58 void PrintIfValidLocation(Location location, Arch arch, std::ostream *out, bool with_brackets = fal… in PrintIfValidLocation() argument 63 (*out) << "(" << string << ")"; in PrintIfValidLocation() 65 (*out) << string << " "; in PrintIfValidLocation() 92 void DumpUsers(const Inst *inst, std::ostream *out) in DumpUsers() argument 97 PrintIfValidLocation(inst->GetDstLocation(), arch, out); in DumpUsers() 102 (*out) << (fl_first ? "(" : ", ") << InstId(user, allocator); in DumpUsers() 108 (*out) << ')'; in DumpUsers() 154 void BBDependence(const char *type, const ArenaVector<BasicBlock *> &bb_vector, std::ostream *out, in BBDependence() argument 158 (*out) << type << ": ["; in BBDependence() 160 (*out) << (fl_first ? "" : ", ") << "bb " << BBId(block_it, allocator); in BBDependence() [all …]
|
| /arkcompiler/ets_runtime/test/resource/js_runtime/ |
| D | ohos_test.xml | 18 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 23 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 28 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 33 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 38 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 43 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 48 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 53 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 58 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 63 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_isa.yaml | 35 acc: out:top 39 acc: out:top 43 acc: out:top 47 acc: out:top 51 acc: out:top 55 acc: out:top 59 acc: out:top 63 acc: out:top 67 acc: out:top 79 acc: out:top [all …]
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | alloc_tracker_test.cpp | 54 std::stringstream out; in TEST() local 55 tracker.Dump(out); in TEST() 56 out.seekg(0); in TEST() 59 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST() 60 ASSERT_FALSE(out.eof()); in TEST() 68 std::stringstream out; in TEST() local 70 tracker.Dump(out); in TEST() 71 out.seekg(0); in TEST() 74 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST() 75 ASSERT_FALSE(out.eof()); in TEST() [all …]
|
| D | utf_test.cpp | 32 std::vector<uint16_t> out(res.size()); variable 33 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); 34 EXPECT_EQ(out, res); 41 std::vector<uint16_t> out(res.size()); variable 42 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); 43 EXPECT_EQ(out, res); 50 std::vector<uint16_t> out(res.size()); variable 51 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); 52 EXPECT_EQ(out, res); 59 std::vector<uint16_t> out(res.size()); variable [all …]
|
| /arkcompiler/runtime_core/libpandafile/tests/ |
| D | bytecode_emitter_tests.cpp | 53 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, uint8_t val) in operator <<() argument 55 out.push_back(val); in operator <<() 56 return out; in operator <<() 59 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Opcode op); 61 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Tuple16 val) in operator <<() argument 63 return out << std::get<0>(val) << std::get<1>(val); in operator <<() 66 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Tuple32 val) in operator <<() argument 68 return out << std::get<0>(val) << std::get<1>(val) << std::get<globals::IMM_2>(val) in operator <<() 72 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Tuple64 val) in operator <<() argument 74 …return out << std::get<0>(val) << std::get<1>(val) << std::get<globals::IMM_2>(val) << std::get<gl… in operator <<() [all …]
|
| /arkcompiler/toolchain/test/resource/tooling/ |
| D | ohos_test.xml | 18 …ion name="push" value="obj/arkcompiler/toolchain/tooling/test/sample.abc -> /data/test" src="out"/> 19 … name="push" value="obj/arkcompiler/toolchain/tooling/test/exception.abc -> /data/test" src="out"/> 20 …name="push" value="obj/arkcompiler/toolchain/tooling/test/arrow_func.abc -> /data/test" src="out"/> 21 …name="push" value="obj/arkcompiler/toolchain/tooling/test/async_func.abc -> /data/test" src="out"/> 22 …ame="push" value="obj/arkcompiler/toolchain/tooling/test/range_error.abc -> /data/test" src="out"/> 23 …push" value="obj/arkcompiler/toolchain/tooling/test/syntax_exception.abc -> /data/test" src="out"/> 24 …"push" value="obj/arkcompiler/toolchain/tooling/test/throw_exception.abc -> /data/test" src="out"/> 25 …ption name="push" value="obj/arkcompiler/toolchain/tooling/test/step.abc -> /data/test" src="out"/> 26 <option name="push" value="test/test/libjsdebugtest.so -> /data/test" src="out"/> 27 <option name="push" value="test/test/libdebugger_entry.so -> /data/test" src="out"/> [all …]
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | alloc_tracker.cpp | 42 static void Write(uint32_t val, std::ostream &out) in Write() argument 44 out.write(reinterpret_cast<char *>(&val), sizeof(val)); in Write() 47 static void Write(const std::string &str, std::ostream &out) in Write() argument 49 Write(static_cast<uint32_t>(str.size()), out); in Write() 50 out.write(str.c_str(), str.length()); in Write() 130 std::ofstream out(GetDumpFilePath(), std::ios::out | std::ios::binary | std::ios::trunc); in Dump() local 131 if (!out) { in Dump() 137 Dump(out); in Dump() 141 void DetailAllocTracker::Dump(std::ostream &out) in Dump() argument 145 Write(0, out); // number of items, will be updated later in Dump() [all …]
|
| D | alloc_tracker.h | 42 virtual void Dump([[maybe_unused]] std::ostream &out) {} in Dump() argument 43 virtual void DumpMemLeaks([[maybe_unused]] std::ostream &out) {} in DumpMemLeaks() argument 79 void Dump(std::ostream &out) override in Dump() argument 81 out << "Internal memory allocations:\n"; in Dump() 82 out << "allocations count: " << internal_alloc_counter_ << "\n"; in Dump() 83 out << " total allocated: " << total_allocated_ << "\n"; in Dump() 84 out << " peak allocated: " << peak_allocated_ << "\n"; in Dump() 87 void DumpMemLeaks(std::ostream &out) override in DumpMemLeaks() argument 89 out << "=== Allocated Internal Memory: ===" << std::endl; in DumpMemLeaks() 91 …out << std::hex << it.first << ", allocation #" << std::dec << it.second.GetAllocNumber() << std::… in DumpMemLeaks() [all …]
|
| /arkcompiler/runtime_core/libpandabase/os/ |
| D | stacktrace.cpp | 88 std::ostream &Print(const std::vector<uintptr_t> &stacktrace, std::ostream &out) in Print() argument 93 PrintFrame(frame_num, stacktrace[frame_num], out); in Print() 95 return out; in Print() 105 void PrintFrame(size_t frame_num, uintptr_t pc, std::ostream &out) in PrintFrame() argument 107 std::ios_base::fmtflags f = out.flags(); in PrintFrame() 108 auto w = out.width(); in PrintFrame() 109 out << "#" << std::setw(2U) << std::left << frame_num << ": 0x" << std::hex << pc << " "; in PrintFrame() 110 out.flags(f); in PrintFrame() 111 out.width(w); in PrintFrame() 128 PrintFrame(function, src_file, line, out); in PrintFrame() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | gate.h | 52 class Out { 54 Out() = default; 55 void SetNextOut(const Out *ptr); 56 [[nodiscard]] Out *GetNextOut(); 57 [[nodiscard]] const Out *GetNextOutConst() const; 58 void SetPrevOut(const Out *ptr); 59 [[nodiscard]] Out *GetPrevOut(); 60 [[nodiscard]] const Out *GetPrevOutConst() const; 70 ~Out() = default; 102 // +---- out[1] ----+---- out[0] ----+-------- g2 --------+-- in[0] --+-- in[1] --+ [all …]
|
| D | gate.cpp | 218 const Out *curOut = curGate->GetFirstOutConst(); in CheckStateOutput() 234 expected = 2; // 2: expected number of state out branches in CheckStateOutput() 242 … CheckFailed("Number of state out branches is not valid (expected:" + std::to_string(expected) + in CheckStateOutput() 255 const Out *curOut = curGate->GetFirstOutConst(); in CheckBranchOutput() 271 CheckFailed("Duplicate state out branches", -1); in CheckBranchOutput() 340 void Out::SetNextOut(const Out *ptr) in SetNextOut() 347 Out *Out::GetNextOut() in GetNextOut() 350 return reinterpret_cast<Out *>((reinterpret_cast<uint8_t *>(this)) + nextOut_); in GetNextOut() 353 const Out *Out::GetNextOutConst() const in GetNextOutConst() 356 return reinterpret_cast<const Out *>((reinterpret_cast<const uint8_t *>(this)) + nextOut_); in GetNextOutConst() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/regexp/ |
| D | regexp_opcode.cpp | 111 void RegExpOpCode::DumpRegExpOpCode(std::ostream &out, const DynChunk &buf) in DumpRegExpOpCode() argument 113 out << "OpCode:\t" << std::endl; in DumpRegExpOpCode() 117 pc = byteCode->DumpOpCode(out, buf, pc); in DumpRegExpOpCode() 129 uint32_t SaveStartOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 131 out << offset << ":\t" in DumpOpCode() 144 uint32_t SaveEndOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 146 out << offset << ":\t" in DumpOpCode() 159 uint32_t CharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 161 out << offset << ":\t" in DumpOpCode() 173 uint32_t Char32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument [all …]
|
| D | regexp_opcode.h | 76 static void DumpRegExpOpCode(std::ostream &out, const DynChunk &buf); 89 virtual uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const = 0; 103 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override; 113 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override; 123 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override; 134 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override; 144 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override; 154 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override; 164 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override; 174 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override; [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
| D | interference_graph.cpp | 88 // Initialize out to sequentaly from 0 in LexBFS() 90 ArenaVector<unsigned> out(num, nodes_.get_allocator()); in LexBFS() local 91 std::iota(out.begin(), out.end(), 0); in LexBFS() 94 if (out.size() < MIN_SIMPLITIAL_NODES) { in LexBFS() 95 return out; in LexBFS() 105 ASSERT(pos < out.size()); in LexBFS() 106 auto id = out[pos]; in LexBFS() 124 auto it = std::stable_partition(out.begin() + pos, out.begin() + prev_end, in LexBFS() 125 … [id, &out, this](unsigned val) { return HasEdge(id, out[val]); }); in LexBFS() 126 auto pivot = static_cast<unsigned>(std::distance(out.begin(), it)); in LexBFS() [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/analysis/ |
| D | alias_analysis.cpp | 46 * 4. A directed graph is built out of the copy constraints. Each constraint 100 std::ostringstream out; in RunImpl() local 101 DumpChains(&out); in RunImpl() 102 Dump(&out); in RunImpl() 103 COMPILER_LOG(DEBUG, ALIAS_ANALYSIS) << out.str(); in RunImpl() 121 void Pointer::Dump(std::ostream *out) const in Dump() 125 (*out) << "v" << base_->GetId(); in Dump() 128 (*out) << "SF #" << imm_; in Dump() 131 (*out) << "PC #" << imm_; in Dump() 134 (*out) << "v" << base_->GetId() << " #" << imm_; in Dump() [all …]
|
| /arkcompiler/runtime_core/isa/ |
| D | isa.yaml | 160 … description: Bytecode throws ArrayIndexOutOfBoundsException if index is out of bounds of an array. 288 acc: out:top 292 acc: out:top 296 acc: out:top 300 acc: out:top 304 acc: out:top 309 acc: out:top 312 acc: out:top 316 acc: out:top 320 acc: out:top [all …]
|
| /arkcompiler/ets_runtime/docs/ |
| D | environment-setup-and-compilation-zh.md | 49 out/hispark_taurus/arkcompiler/runtime_core/ 50 out/hispark_taurus/arkcompiler/ets_frontend/ 51 out/hispark_taurus/arkcompiler/ets_runtime/ 52 out/hispark_taurus/clang_x64/arkcompiler/runtime_core/ 53 out/hispark_taurus/clang_x64/arkcompiler/ets_frontend/ 54 out/hispark_taurus/clang_x64/arkcompiler/ets_runtime
|
| D | environment-setup-and-compilation.md | 45 out/hispark_taurus/arkcompiler/runtime_core/ 46 out/hispark_taurus/arkcompiler/ets_frontend/ 47 out/hispark_taurus/arkcompiler/ets_runtime/ 48 out/hispark_taurus/clang_x64/arkcompiler/runtime_core/ 49 out/hispark_taurus/clang_x64/arkcompiler/ets_frontend/ 50 out/hispark_taurus/clang_x64/arkcompiler/ets_runtime
|
| /arkcompiler/runtime_core/tests/verifier-tests/ |
| D | cflow_jump_out_of_body.pa | 15 # jump out of function body 17 jmp out 18 out: 22 out: 24 jmp out
|
| D | cflow_execution_may_go_beyond_the_end.pa | 17 out: 19 jeqz out 23 out: 25 jmp out
|
| /arkcompiler/toolchain/build/compile_script/ |
| D | gen.sh | 48 ark_root="out/ark" 49 add_path="out:${source_root_dir}/prebuilts/clang/ohos/linux-x86_64/llvm/lib" 54 echo "clear out !" 55 rm -rf out *.log test.abc test test.js gen.sh .gn 58 $tools/gn gen out 59 cd out/ 81 $tools/gn gen out 82 cd out/ 86 echo -e "\033[32m + c == clear out !\033[0m"
|
| /arkcompiler/runtime_core/runtime/tests/ |
| D | c2i_bridge_test.cpp | 120 std::ostringstream out; in MakeNoArgsMethod() local 121 out << ".language " << ctx << '\n'; in MakeNoArgsMethod() 124 out << ".record reference {}\n"; in MakeNoArgsMethod() 126 out << ".function " << panda_file::Type(ret_type) << " main() {\n"; in MakeNoArgsMethod() 128 out << "fldai.64 " << bit_cast<double>(ret) << '\n'; in MakeNoArgsMethod() 129 out << "return.64\n"; in MakeNoArgsMethod() 131 out << "ldai.64 " << ret << '\n'; in MakeNoArgsMethod() 132 out << "return.64\n"; in MakeNoArgsMethod() 134 out << "lda.null\n"; in MakeNoArgsMethod() 135 out << "return.obj\n"; in MakeNoArgsMethod() [all …]
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/config/ |
| D | non_testable.yaml | 43 - sig: mov.dyn v1:out:any, v2:in:any 57 acc: out:any 69 - sig: sta.dyn v:out:any 83 acc: out:any 87 acc: out:any 124 acc: out:any 128 acc: out:any 132 acc: out:any
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | mov.yaml | 26 - sig: mov v1:out:b32, v2:in:b32 61 - sig: mov v1:out:b32, v2:in:b32 99 - sig: mov v1:out:b32, v2:in:b32 132 - sig: mov v1:out:b32, v2:in:b32 143 description: Check when register number is out of range. 145 description: Check when register number is out of range. 147 description: Check when register number is out of range. 149 description: Check when register number is out of range and incorrect register name. 151 description: Check when register number is out of range and incorrect register name. 153 description: Check when register number is out of range and incorrect register name. [all …]
|