| /arkcompiler/ets_frontend/merge_abc/src/ |
| D | annotationProto.h | 32 class AnnotationElement { 34 static void Serialize(const panda::pandasm::AnnotationElement &element, 35 protoPanda::AnnotationElement &protoElement); 36 …static panda::pandasm::AnnotationElement &Deserialize(const protoPanda::AnnotationElement &protoEl…
|
| D | annotationProto.cpp | 24 AnnotationElement::Serialize(element, *protoElement); in Serialize() 32 …panda::pandasm::AnnotationElement &element = AnnotationElement::Deserialize(protoElement, allocato… in Deserialize() 37 void AnnotationElement::Serialize(const panda::pandasm::AnnotationElement &element, in Serialize() 38 protoPanda::AnnotationElement &protoElement) in Serialize() 52 panda::pandasm::AnnotationElement &AnnotationElement::Deserialize(const protoPanda::AnnotationEleme… in Deserialize() 57 auto *element = allocator->New<panda::pandasm::AnnotationElement>(protoElement.name(), in Deserialize() 62 auto *element = allocator->New<panda::pandasm::AnnotationElement>(protoElement.name(), in Deserialize()
|
| /arkcompiler/runtime_core/assembler/ |
| D | annotation.h | 33 class AnnotationElement; variable 37 AnnotationData(std::string_view record_name, std::vector<AnnotationElement> elements) in AnnotationData() 54 const std::vector<AnnotationElement> &GetElements() const in GetElements() 59 void AddElement(AnnotationElement &&element) in AddElement() 61 elements_.push_back(std::forward<AnnotationElement>(element)); in AddElement() 64 void SetOrAddElementByIndex(size_t ele_idx, AnnotationElement &&element); 68 std::vector<AnnotationElement> elements_; 535 class AnnotationElement { 537 …AnnotationElement(std::string_view name, std::unique_ptr<Value> value) : name_(name), value_(std::… in AnnotationElement() function 539 AnnotationElement(const AnnotationElement &ann_elem); [all …]
|
| D | annotation.cpp | 114 std::unique_ptr<Value> making_value(const AnnotationElement &ann_elem) in making_value() 163 AnnotationElement::AnnotationElement(const AnnotationElement &ann_elem) in AnnotationElement() function in panda::pandasm::AnnotationElement 169 AnnotationElement &AnnotationElement::operator=(const AnnotationElement &ann_elem) in operator =() 205 std::string AnnotationElement::TypeToString(Value::Type type) in TypeToString() 251 void AnnotationData::SetOrAddElementByIndex(size_t ele_idx, AnnotationElement &&element) in SetOrAddElementByIndex() 259 elements_[ele_idx] = std::forward<AnnotationElement>(element); in SetOrAddElementByIndex()
|
| D | meta.h | 211 …void SetOrAddAnnotationElementByIndex(size_t anno_idx, size_t ele_idx, AnnotationElement &&element) in SetOrAddAnnotationElementByIndex() 214 … annotations_[anno_idx].SetOrAddElementByIndex(ele_idx, std::forward<AnnotationElement>(element)); in SetOrAddAnnotationElementByIndex() 287 AnnotationElement CreateAnnotationElement() in CreateAnnotationElement() 290 return AnnotationElement(name_, in CreateAnnotationElement() 294 return AnnotationElement(name_, std::make_unique<ScalarValue>(values_.front())); in CreateAnnotationElement() 369 void AddElement(AnnotationElement &&element) in AddElement() 371 elements_.push_back(std::forward<AnnotationElement>(element)); in AddElement() 397 std::vector<AnnotationElement> elements_;
|
| D | assembly-emitter.cpp | 1319 pandasm::AnnotationElement ele(ELEMENT_NAME, std::make_unique<pandasm::ScalarValue>( in MakeSlotNumberAnnotation()
|
| /arkcompiler/runtime_core/assembler/tests/ |
| D | annotation_test.cpp | 45 …AnnotationElement anno_element(TSTYPE_ANNO_ELEMENT_NAME, std::make_unique<ArrayValue>(array_value)… 60 …AnnotationElement anno_element_U1(TSTYPE_ANNO_ELEMENT_NAME, std::make_unique<ArrayValue>(array_val… 369 std::string type_u1 = AnnotationElement::TypeToString(panda::pandasm::Value::Type::U1); 373 type_u1 = AnnotationElement::TypeToString(panda::pandasm::Value::Type::I8); 377 type_u1 = AnnotationElement::TypeToString(panda::pandasm::Value::Type::U8); 381 type_u1 = AnnotationElement::TypeToString(panda::pandasm::Value::Type::I16); 385 type_u1 = AnnotationElement::TypeToString(panda::pandasm::Value::Type::U16); 389 type_u1 = AnnotationElement::TypeToString(panda::pandasm::Value::Type::I32); 393 type_u1 = AnnotationElement::TypeToString(panda::pandasm::Value::Type::U32); 397 type_u1 = AnnotationElement::TypeToString(panda::pandasm::Value::Type::I64); [all …]
|
| D | assembler_emitter_test.cpp | 1007 AnnotationElement anno_element("_TypeOfInstruction", std::make_unique<ArrayValue>(array_value));
|
| /arkcompiler/ets_frontend/merge_abc/protos/ |
| D | annotation.proto | 52 message AnnotationElement { message 67 repeated AnnotationElement elements = 2;
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
| D | typeExtractorEmitter.cpp | 25 using AnnotationElement = panda::pandasm::AnnotationElement; typedef 139 AnnotationElement funcTypeAnnotationElement(TypeExtractorEmitter::TYPE_INSTRUCTION, in GenFunctionTypeInfo() 177 AnnotationElement funcSymbolTypeElement(symbolTypeStr, in GenImportOrDeclareTypeInfo()
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/ |
| D | bcopt_type_adaption_test.cpp | 26 using AnnotationElement = panda::pandasm::AnnotationElement; typedef 113 AnnotationElement element(TSTYPE_ANNO_ELEMENT_NAME, std::make_unique<ScalarValue>( in SetTypeAnnotationForFunc()
|
| /arkcompiler/ets_frontend/ts2panda/ts2abc/ |
| D | ts2abc.cpp | 697 panda::pandasm::AnnotationElement typeOfVregElement( in ParseFunctionTypeInfo() 777 panda::pandasm::AnnotationElement exportedSymbolTypesElement(symbolTypeAnnotationName, in ParseFunctionExportedType() 804 panda::pandasm::AnnotationElement declaredSymbolTypesElement(symbolTypeAnnotationName, in ParseFunctionDeclaredType()
|
| /arkcompiler/runtime_core/docs/ |
| D | file_format.md | 533 | `elements` | `AnnotationElement[]` | Array of annotation elements. Each element is in [An… 534 …n element's types. Each element in the array describes the type of `AnnotationElement`. The order … 581 ### AnnotationElement subsection
|