Home
last modified time | relevance | path

Searched refs:meta (Results 1 – 25 of 39) sorted by relevance

12

/arkcompiler/ets_frontend/merge_abc/src/
DmetaProto.cpp18 void RecordMetadata::Serialize(const panda::pandasm::RecordMetadata &meta, protoPanda::RecordMetada… in Serialize() argument
21 …ItemMetadata::Serialize(static_cast<const panda::pandasm::ItemMetadata &>(meta), *protoItemmetadat… in Serialize()
25 std::unique_ptr<panda::pandasm::RecordMetadata> &meta, in Deserialize() argument
29 ItemMetadata::Deserialize(protoItemMetadata, *meta); in Deserialize()
32 AnnotationMetadata::Deserialize(protoAnnoMetadata, *meta, allocator); in Deserialize()
35 Metadata::Deserialize(protoMetadata, *meta); in Deserialize()
38 void FunctionMetadata::Serialize(const panda::pandasm::FunctionMetadata &meta, in Serialize() argument
42 …ItemMetadata::Serialize(static_cast<const panda::pandasm::ItemMetadata &>(meta), *protoItemmetadat… in Serialize()
46 std::unique_ptr<panda::pandasm::FunctionMetadata> &meta, in Deserialize() argument
50 ItemMetadata::Deserialize(protoItemMetadata, *meta); in Deserialize()
[all …]
DmetaProto.h28 …static void Serialize(const panda::pandasm::RecordMetadata &meta, protoPanda::RecordMetadata &prot…
30 std::unique_ptr<panda::pandasm::RecordMetadata> &meta,
36 static void Serialize(const panda::pandasm::FunctionMetadata &meta,
39 std::unique_ptr<panda::pandasm::FunctionMetadata> &meta,
45 …static void Serialize(const panda::pandasm::FieldMetadata &meta, protoPanda::FieldMetadata &protoM…
47 std::unique_ptr<panda::pandasm::FieldMetadata> &meta,
53 …static void Serialize(const panda::pandasm::ParamMetadata &meta, protoPanda::ParamMetadata &protoM…
55 std::unique_ptr<panda::pandasm::ParamMetadata> &meta,
61 …static void Serialize(const panda::pandasm::ItemMetadata &meta, protoPanda::ItemMetadata &protoMet…
62 …ic void Deserialize(const protoPanda::ItemMetadata &protoMeta, panda::pandasm::ItemMetadata &meta);
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgate_meta_data.cpp316 auto meta = new (chunk_) BoolMetaData(OpCode::OP, R, S, D, V, value); \
317 return meta; \
325 auto meta = new (chunk_) BoolMetaData(OpCode::OP, R, S, D, V, flag); \ in GATE_META_DATA_LIST_WITH_BOOL()
326 return meta; \ in GATE_META_DATA_LIST_WITH_BOOL()
348 auto meta = new (chunk_) GateMetaData(OpCode::OP, R, S, D, V); \
349 meta->SetKind(GateMetaData::Kind::MUTABLE_WITH_SIZE); \
350 return meta; \
372 auto meta = new (chunk_) OneParameterMetaData(OpCode::OP, R, S, D, V, value); \
373 meta->SetKind(GateMetaData::Kind::MUTABLE_ONE_PARAMETER); \
374 return meta; \
[all …]
Dcircuit.cpp105 GateRef Circuit::NewGate(const GateMetaData *meta, MachineType machineType, size_t numIns, in NewGate() argument
109 if (numIns != meta->GetNumIns()) { in NewGate()
111 << " op=" << meta->GetOpCode() in NewGate()
112 … << " expected_num_in=" << meta->GetNumIns() << " actual_num_in=" << numIns; in NewGate()
122 auto newGate = new (gateSpace) Gate(meta, gateCount_++, inPtrList.data(), machineType, type); in NewGate()
133 GateRef Circuit::NewGate(const GateMetaData *meta, const std::vector<GateRef> &inList, const char* … in NewGate() argument
135 …return NewGate(meta, MachineType::NOVALUE, inList.size(), inList.data(), GateType::Empty(), commen… in NewGate()
138 GateRef Circuit::NewGate(const GateMetaData *meta, MachineType machineType, in NewGate() argument
141 return NewGate(meta, machineType, args.size(), args.begin(), type, comment); in NewGate()
144 GateRef Circuit::NewGate(const GateMetaData *meta, MachineType machineType, GateType type, const ch… in NewGate() argument
[all …]
Dgate_meta_data.h641 static const BoolMetaData* Cast(const GateMetaData* meta) in Cast() argument
643 meta->AssertKind(GateMetaData::Kind::IMMUTABLE_BOOL); in Cast()
644 return static_cast<const BoolMetaData*>(meta); in Cast()
665 static const JSBytecodeMetaData* Cast(const GateMetaData* meta) in Cast() argument
667 meta->AssertKind(GateMetaData::Kind::JSBYTECODE); in Cast()
668 return static_cast<const JSBytecodeMetaData*>(meta); in Cast()
718 static const OneParameterMetaData* Cast(const GateMetaData* meta) in Cast() argument
720 ASSERT(meta->IsOneParameterKind()); in Cast()
721 return static_cast<const OneParameterMetaData*>(meta); in Cast()
748 static const TypedCallMetaData* Cast(const GateMetaData* meta) in Cast() argument
[all …]
Dgate.h136 … Gate(const GateMetaData* meta, GateId id, Gate *inList[], MachineType machineType, GateType type);
268 void SetMetaData(const GateMetaData* meta) in SetMetaData() argument
270 meta_ = meta; in SetMetaData()
Dcircuit.h49 …GateRef NewGate(const GateMetaData *meta, const std::vector<GateRef> &inList, const char* comment …
50 …GateRef NewGate(const GateMetaData *meta, MachineType machineType, GateType type, const char* comm…
51 GateRef NewGate(const GateMetaData *meta, MachineType machineType,
53 GateRef NewGate(const GateMetaData *meta, MachineType machineType, size_t numIns,
Dgate_meta_data_builder.h159 auto meta = new (chunk_) GateMetaData(other->opcode_, other->GetFlags(), in NewGateMetaData() local
161 meta->SetKind(GateMetaData::Kind::MUTABLE_WITH_SIZE); in NewGateMetaData()
162 return meta; in NewGateMetaData()
Dgate.cpp236 auto meta = curOut->GetGateConst()->GetMetaData(); in CheckStateOutput() local
237 if (curOut->IsStateEdge() && meta->IsState()) { in CheckStateOutput()
242 meta = curOut->GetGateConst()->GetMetaData(); in CheckStateOutput()
243 if (curOut->IsStateEdge() && meta->IsState()) { in CheckStateOutput()
474 Gate::Gate(const GateMetaData* meta, GateId id, Gate *inList[], MachineType machineType, GateType t… in Gate() argument
475 : meta_(meta), id_(id), type_(type), machineType_(machineType) in Gate()
Dcircuit_builder.cpp48 const GateMetaData* meta = (opcode == OpCode::DEPEND_SELECTOR) ? in Selector() local
50 return circuit_->NewGate(meta, machineType, inList.size(), inList.data(), type.GetGateType()); in Selector()
793 GateRef CircuitBuilder::BinaryArithmetic(const GateMetaData* meta, MachineType machineType, in BinaryArithmetic() argument
800 return circuit->NewGate(meta, machineType, { left, right }, gateType); in BinaryArithmetic()
803 GateRef CircuitBuilder::BinaryCmp(const GateMetaData* meta, GateRef left, GateRef right) in BinaryCmp() argument
805 return GetCircuit()->NewGate(meta, MachineType::I1, { left, right }, GateType::NJSValue()); in BinaryCmp()
1030 const GateMetaData* meta = nullptr; in Call() local
1032 meta = circuit_->Call(numValuesIn); in Call()
1034 meta = circuit_->RuntimeCallWithArgv(numValuesIn); in Call()
1036 meta = circuit_->RuntimeCall(numValuesIn); in Call()
[all …]
Dbytecode_circuit_builder.cpp699 const BytecodeInfo &info, const GateMetaData *meta) in CreateGateInList() argument
701 auto numValues = meta->GetNumIns(); in CreateGateInList()
702 const size_t length = meta->GetInValueStarts(); in CreateGateInList()
727 if (meta->HasFrameState()) { in CreateGateInList()
888 …auto meta = circuit_->JSBytecode(numValueInputs, bytecodeInfo.GetOpcode(), pcOffset, writable, has… in NewJSGate() local
889 std::vector<GateRef> inList = CreateGateInList(bytecodeInfo, meta); in NewJSGate()
891 gate = circuit_->NewGate(meta, MachineType::I64, inList.size(), in NewJSGate()
894 gate = circuit_->NewGate(meta, MachineType::NOVALUE, inList.size(), in NewJSGate()
958 …auto meta = circuit_->JSBytecode(numValueInputs, bytecodeInfo.GetOpcode(), pcOffset, false, false); in NewJump() local
959 auto numValues = meta->GetNumIns(); in NewJump()
[all …]
Dllvm_ir_builder.cpp413 LLVMMetadataRef meta) in ReadRegister() argument
415 std::vector<LLVMValueRef> args = {LLVMMetadataAsValue(context_, meta)}; in ReadRegister()
659 LLVMMetadataRef meta; in GetCurrentSP() local
661 meta = LLVMMDStringInContext2(context_, "rsp", 4); // 4 : 4 means len of "rsp" in GetCurrentSP()
663 meta = LLVMMDStringInContext2(context_, "sp", 3); // 3 : 3 means len of "sp" in GetCurrentSP()
665 LLVMMetadataRef metadataNode = LLVMMDNodeInContext2(context_, &meta, 1); in GetCurrentSP()
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-import-meta.js21 import(import.meta)
22 import.meta
Dtest-import-meta-expected.txt1 SyntaxError: 'import.Meta' may appear only with 'sourceType: module' [test-import-meta.js:21:14]
/arkcompiler/runtime_core/disassembler/
DCMakeLists.txt215 compile_pre_build(TARGET disasm_binaries-meta
216 FILE_SRC ${DISASM_TESTS_DIR}/meta.pa
217 FILE_DST ${DISASM_BIN_DIR}/meta.bc)
219 add_dependencies(disasm_tests disasm_binaries-meta)
Ddisassembler.h129 …void Serialize(const pandasm::ItemMetadata &meta, const AnnotationList &ann_list, std::ostream &os…
/arkcompiler/ets_frontend/merge_abc/protos/
DassemblyField.proto20 import "meta.proto";
DassemblyRecord.proto22 import "meta.proto";
DassemblyFunction.proto25 import "meta.proto";
/arkcompiler/runtime_core/disassembler/tests/
Dmetadata_test.cpp.in31 d.Disassemble(std::string(DISASM_BIN_DIR) + "meta.bc");
/arkcompiler/runtime_core/assembler/
DCMakeLists.txt44 meta.cpp
DBUILD.gn39 "meta.cpp",
/arkcompiler/runtime_core/compiler/docs/
Dtry_catch_blocks_ir.md123 ## Exceptions' meta-info in the IR
/arkcompiler/ets_frontend/merge_abc/
DBUILD.gn81 "meta",
/arkcompiler/runtime_core/docs/
Druntime-compiled_code-interaction.md14 Documentation of meta information generated by the compiler is located in compiled_method_info.md d…
308 during handling a compiled code stack frame it uses meta information generated by the compiler (See…
409 Finding a catch handler in a compiled code stack frame is performed according meta information gene…

12