Home
last modified time | relevance | path

Searched refs:typeList (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/ir/ets/
H A DetsTuple.cpp88 ArenaVector<checker::Type *> &typeList, checker::Type **spreadTypePtr) in CalculateLUBForTuple()
91 if (typeList.empty()) { in CalculateLUBForTuple()
95 bool allElementsAreSame = std::all_of(typeList.begin(), typeList.end(), [&checker, &typeList](auto *element) { in CalculateLUBForTuple()
96 return checker->Relation()->IsIdenticalTo(typeList[0], element); in CalculateLUBForTuple()
100 allElementsAreSame = allElementsAreSame && checker->Relation()->IsIdenticalTo(typeList[0], spreadType); in CalculateLUBForTuple()
109 return typeList[0]; in CalculateLUBForTuple()
113 std::for_each(typeList.begin(), typeList in CalculateLUBForTuple()
87 CalculateLUBForTuple(checker::ETSChecker *const checker, ArenaVector<checker::Type *> &typeList, checker::Type **spreadTypePtr) CalculateLUBForTuple() argument
[all...]
H A DetsTuple.h37 explicit ETSTuple(const ArenaVector<ir::TypeNode *> &typeList) in ETSTuple() argument
39 typeAnnotationList_(typeList), in ETSTuple()
40 size_(static_cast<TupleSizeType>(typeList.size())) in ETSTuple()
85 static checker::Type *CalculateLUBForTuple(checker::ETSChecker *checker, ArenaVector<checker::Type *> &typeList,
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
H A DetsTupleType.h41 explicit ETSTupleType(const ArenaVector<Type *> &typeList, Type *const elementType = nullptr, in ETSTupleType() argument
44 typeList_(typeList), in ETSTupleType()
46 size_(static_cast<TupleSizeType>(typeList.size())) in ETSTupleType()

Completed in 2 milliseconds