/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/ |
H A D | dump.cpp | 50 const std::string &prefix) in DumpStackMapFunction() 52 stream << prefix << "Function Address [uint64]: 0x" << std::hex << function.getFunctionAddress() << std::dec in DumpStackMapFunction() 54 stream << prefix << "Stack Size [uint64]: 0x" << std::hex << function.getStackSize() << std::dec << std::endl; in DumpStackMapFunction() 55 stream << prefix << "Record Count [uint64]: " << function.getRecordCount() << std::endl; in DumpStackMapFunction() 59 const std::string &prefix) in DumpStackMapRecord() 61 stream << prefix << "PatchPoint ID [uint64]: " << record.getID() << std::endl; in DumpStackMapRecord() 62 stream << prefix << "Instruction Offset [uint32]: 0x" << std::hex << record.getInstructionOffset() << std::dec in DumpStackMapRecord() 64 stream << prefix << "Location [" << record.getNumLocations() << "]: [" << std::endl; in DumpStackMapRecord() 66 stream << prefix << " {" << std::endl; in DumpStackMapRecord() 67 DumpStackMapLocation(loc, stream, prefix in DumpStackMapRecord() 49 DumpStackMapFunction(const LLVMStackMap::FunctionAccessor &function, std::ostream &stream, const std::string &prefix) DumpStackMapFunction() argument 58 DumpStackMapRecord(const LLVMStackMap::RecordAccessor &record, std::ostream &stream, const std::string &prefix) DumpStackMapRecord() argument 82 DumpStackMapLocation(const LLVMStackMap::LocationAccessor &location, std::ostream &stream, const std::string &prefix) DumpStackMapLocation() argument [all...] |
H A D | code_info_producer.h | 71 static void DumpStackMapFunction(const Function &function, std::ostream &stream, const std::string &prefix = ""); 72 static void DumpStackMapRecord(const Record &record, std::ostream &stream, const std::string &prefix = ""); 73 static void DumpStackMapLocation(const Location &location, std::ostream &stream, const std::string &prefix = "");
|
/arkcompiler/ets_runtime/test/quickfix/ |
H A D | generate_js_and_merge_file.py | 20 prefix: prefix 219 def process_with_prefix(input_file, output_file, prefix): 224 outputfp.write(prefix + line) 227 def handle_files(input_file, output_file, prefix): 237 js_fn = replace_js(prefix + ll[0], os.path.join(output_file_dir, original_js_filename)) 241 ll[0] = prefix + ll[0] 245 def replace_merge_file(input_file, output_file, prefix): 246 if input_file.endswith(("base.txt", "patch.txt")) and is_file_in_list(prefix): 247 handle_files(input_file, output_file, prefix) [all...] |
/arkcompiler/runtime_core/static_core/compiler/tools/debug/ |
H A D | jit_writer.cpp | 28 CodePrefix prefix; variable 33 prefix.codeSize = method.GetCode().size(); 34 prefix.codeInfoOffset = codeOffset + RoundUp(method.GetCode().size(), CodeInfo::ALIGNMENT); 35 prefix.codeInfoSize = method.GetCodeInfo().size(); 38 const char *data = reinterpret_cast<char *>(&prefix); 39 CopyToSpan(stream, data, sizeof(prefix), currPos); 40 currPos += sizeof(prefix); 43 currPos += codeOffset - sizeof(prefix);
|
/arkcompiler/runtime_core/scripts/ |
H A D | install-deps-qemu | 43 $ ./scripts/install-deps-qemu --qemu-prefix=/usr/local 53 --qemu-prefix=PREFIX Installation prefix for QEMU [$DEFAULT_QEMU_PREFIX]. 90 local prefix="$1" 93 local src_path="$prefix/src" 109 ./configure --prefix="$prefix" 115 for fname in "$prefix"/bin/qemu-*; do 140 --qemu-prefix=*)
|
/arkcompiler/runtime_core/static_core/scripts/ |
H A D | install-deps-qemu | 43 $ ./scripts/install-deps-qemu --qemu-prefix=/usr/local 53 --qemu-prefix=PREFIX Installation prefix for QEMU [$DEFAULT_QEMU_PREFIX]. 90 local prefix="$1" 93 local src_path="$prefix/src" 115 ./configure --prefix="$prefix" 121 for fname in "$prefix"/bin/qemu-*; do 146 --qemu-prefix=*)
|
H A D | install-deps-ubuntu | 188 CC=aarch64-linux-gnu-gcc-8 ./configure --prefix=/usr/aarch64-linux-gnu 194 CC=arm-linux-gnueabi-gcc-8 ./configure --prefix=/usr/arm-linux-gnueabi 200 CC=arm-linux-gnueabihf-gcc-8 ./configure --prefix=/usr/arm-linux-gnueabihf 221 CC=aarch64-linux-gnu-gcc-8 ./configure --host=aarch64-linux-gnu --prefix=/usr/aarch64-linux-gnu --includedir=/usr/aarch64-linux-gnu/include/libdwarf --disable-libelf --enable-shared --with-pic 227 CC=arm-linux-gnueabi-gcc-8 ./configure --host=arm-linux-gnueabi --prefix=/usr/arm-linux-gnueabi --includedir=/usr/arm-linux-gnueabi/include/libdwarf --disable-libelf --enable-shared --with-pic 233 CC=arm-linux-gnueabihf-gcc-8 ./configure --host=arm-linux-gnueabihf --prefix=/usr/arm-linux-gnueabihf --includedir=/usr/arm-linux-gnueabihf/include/libdwarf --disable-libelf --enable-shared --with-pic
|
/arkcompiler/runtime_core/isa/ |
H A D | asserts.rb | 36 Panda.instructions.reject(&:prefix).size + Panda.prefixes.size <= 256 40 Panda.instructions.reject(&:prefix).sorted_by?(&:opcode_idx) 47 assert('All instructions for a prefix should fit one byte') do 48 Panda.prefixes.map do |prefix| 49 Panda.instructions.select { |insn| insn.prefix && (insn.prefix.name == prefix.name) }.size <= 256 53 assert('Prefixed instruction should have some prefix specified') do 55 insn.format.prefixed? != insn.prefix.nil? 61 next true unless insn.prefix [all...] |
H A D | isapi.rb | 117 def prefix method in Instruction 118 name = dig(:prefix) 140 if prefix 141 dig(:opcode_idx) << 8 | prefix.opcode_idx 284 dig(:prefix) == 'throw' && !properties.include?('conditional_throw') 432 # * prefix handlers that re-dispatch to prefixed instruction based on second byte of opcode_idx 436 handlers = Panda.instructions.reject(&:prefix) + 441 Panda.instructions.select(&:prefix).stable_sort_by { |i| Panda.prefixes_hash[i.prefix.name].opcode_idx } 447 (Panda.instructions.reject(&:prefix) 503 def prefix(item) global() method in OpcodeAssigner [all...] |
/arkcompiler/runtime_core/static_core/isa/ |
H A D | asserts.rb | 36 Panda.instructions.reject(&:prefix).size + Panda.prefixes.size <= 256 40 Panda.instructions.reject(&:prefix).sorted_by?(&:opcode_idx) 47 assert('All instructions for a prefix should fit one byte') do 48 Panda.prefixes.map do |prefix| 49 Panda.instructions.select { |insn| insn.prefix && (insn.prefix.name == prefix.name) }.size <= 256 53 assert('Prefixed instruction should have some prefix specified') do 55 insn.format.prefixed? != insn.prefix.nil? 61 next true unless insn.prefix [all...] |
H A D | isapi.rb | 117 def prefix method in Instruction 118 name = dig(:prefix) 144 if prefix 145 dig(:opcode_idx) << 8 | prefix.opcode_idx 385 # * prefix handlers that re-dispatch to prefixed instruction based on second byte of opcode_idx 389 handlers = Panda.instructions.reject(&:prefix) + 394 Panda.instructions.select(&:prefix).stable_sort_by { |i| Panda.prefixes_hash[i.prefix.name].opcode_idx } 400 (Panda.instructions.reject(&:prefix).map(&:opcode_idx).max + 1)..(Panda.prefixes.map(&:opcode_idx).min - 1) 408 # Maximum value for secondary dispatch index for given prefix nam 456 def prefix(item) global() method in OpcodeAssigner [all...] |
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/ |
H A D | spec_node.py | 22 def __init__(self, title: str, prefix: str, status: str, parent: Optional[SpecNode]): 24 self.prefix = prefix 55 if len(self.prefix) > 0: 56 ret['prefix'] = self.prefix
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | runtime_controller.cpp | 35 static bool StartsWith(std::string_view s, std::string_view prefix) in StartsWith() argument 37 return (s.size() >= prefix.size()) && std::equal(prefix.begin(), prefix.end(), s.begin()); in StartsWith()
|
/arkcompiler/toolchain/common/ |
H A D | log_wrapper.cpp | 27 void StripString(const std::string& prefix, std::string& str) in StripString() argument 29 for (auto pos = str.find(prefix, 0); pos != std::string::npos; pos = str.find(prefix, pos)) { in StripString() 30 str.erase(pos, prefix.size()); in StripString()
|
/arkcompiler/runtime_core/static_core/compiler/tools/aotdump/ |
H A D | aotdump.cpp | 308 void PrintCode(const char *prefix, const CodeInfo &codeInfo, const PandaFileHelper &pfile) const in PrintCode() argument 314 return PrintCodeArm64(prefix, codeInfo, pfile); in PrintCode() 318 return PrintCodeX8664(prefix, codeInfo, pfile); in PrintCode() 321 (*stream_) << prefix << "Unsupported target arch: " << GetArchString(arch) << std::endl; in PrintCode() 327 void PrintCodeArm64(const char *prefix, const CodeInfo &codeInfo, const PandaFileHelper &pfile) const in PrintCodeArm64() argument 342 PrintStackmap(prefix, codeInfo, stackmap, Arch::AARCH64, pfile); in PrintCodeArm64() 345 (*stream_) << prefix << std::hex << std::setw(8U) << std::setfill('0') << instr - startInstr << ": " in PrintCodeArm64() 353 void PrintCodeX8664(const char *prefix, const CodeInfo &codeInfo, const PandaFileHelper &pfile) const in PrintCodeX8664() argument 385 PrintStackmap(prefix, codeInfo, stackmap, Arch::X86_64, pfile); in PrintCodeX8664() 387 (*stream_) << prefix << st in PrintCodeX8664() 394 PrintStackmap(const char *prefix, const CodeInfo &codeInfo, const StackMap &stackmap, Arch arch, const PandaFileHelper &pfile) const PrintStackmap() argument [all...] |
/arkcompiler/toolchain/build/toolchain/ |
H A D | clang_static_analyzer_wrapper.py | 57 prefix = '-Xclang' if parsed_args.mode == 'cl' else '-Xanalyzer' 59 analyzer_option_flags, prefix)
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | logger.cpp | 310 std::string prefix = GetPrefix(level, component); in LogLineInternal() local 311 stream_ << prefix << str << std::endl << std::flush; in LogLineInternal() 316 std::string prefix = GetPrefix(level, component); in LogLineInternal() local 317 stream_ << prefix << str << '\n'; in LogLineInternal() 322 std::string prefix = GetPrefix(level, component); in LogLineInternal() local 323 std::cerr << prefix << str << std::endl << std::flush; in LogLineInternal()
|
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | logger.cpp | 340 std::string prefix = GetPrefix(level, component); in LogLineInternal() local 341 stream_ << prefix << str << std::endl << std::flush; in LogLineInternal() 346 std::string prefix = GetPrefix(level, component); in LogLineInternal() local 347 stream_ << prefix << str << '\n'; in LogLineInternal() 353 std::string prefix = GetPrefix(level, component); in LogLineInternal() local 354 stream_ << prefix << str; in LogLineInternal() 379 std::string prefix = GetPrefix(level, component); in LogLineInternal() local 380 std::cerr << prefix << str << std::endl << std::flush; in LogLineInternal()
|
/arkcompiler/runtime_core/static_core/compiler/ |
H A D | compile_method.cpp | 128 CodePrefix prefix; in EmitCode() local 129 prefix.codeSize = graph->GetCode().size(); in EmitCode() 130 prefix.codeInfoOffset = codeOffset + RoundUp(graph->GetCode().size(), sizeof(uint32_t)); in EmitCode() 131 prefix.codeInfoSize = graph->GetCodeInfoData().size(); in EmitCode() 132 size_t codeSize = prefix.codeInfoOffset + prefix.codeInfoSize; in EmitCode() 139 memcpy_s(data, sizeof(CodePrefix), &prefix, sizeof(CodePrefix)); in EmitCode() 143 memcpy_s(&data[prefix.codeInfoOffset], graph->GetCodeInfoData().size(), graph->GetCodeInfoData().data(), in EmitCode()
|
/arkcompiler/runtime_core/static_core/verification/value/ |
H A D | variables.h | 64 PandaString Image(const PandaString &prefix = "V") const in Image() 66 return prefix + NumToStr((*accessor_).idx); in Image()
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
H A D | classDeclaration.cpp | 57 std::string prefix = std::string(pg->Context()->RecordName()) + "."; in Compile() local 58 annoName.insert(0, prefix); in Compile()
|
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/ |
H A D | aot_builder.cpp | 36 CodePrefix prefix; variable 41 prefix.codeSize = method.GetCode().size(); 42 prefix.codeInfoOffset = codeOffset + RoundUp(method.GetCode().size(), CodeInfo::ALIGNMENT); 43 prefix.codeInfoSize = method.GetCodeInfo().size(); 46 const char *data = reinterpret_cast<char *>(&prefix); 47 CopyToSpan(stream, data, sizeof(prefix), currPos); 48 currPos += sizeof(prefix); 51 currPos += codeOffset - sizeof(prefix);
|
/arkcompiler/runtime_core/static_core/runtime/templates/ |
H A D | bridge_helpers_static.rb | 28 Panda::instructions.reject(&:prefix).select do |insn|
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/compiler_verification/ |
H A D | ast.py | 75 def _find_prefix_recursively(ast_node: Any, prefix: str): 77 if (name := ast_node.get("name")) and isinstance(name, str) and name.startswith(prefix): 79 return any(_find_prefix_recursively(x, prefix) for x in ast_node.values()) 81 return any(_find_prefix_recursively(x, prefix) for x in ast_node)
|
/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_dfx.cpp | 136 CString prefix; in TraceJitCode() local 138 prefix += blackSpace; in TraceJitCode() 143 LOG_JIT(INFO) << prefixStr << prefix << methodInfo; in TraceJitCode()
|