Searched refs:typeKind (Results 1 - 8 of 8) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | mir_type.h | 700 MIRType(MIRTypeKind kind) : typeKind(kind) {} in MIRType() 702 MIRType(MIRTypeKind kind, PrimType pType) : typeKind(kind), primType(pType) {} in MIRType() 704 MIRType(MIRTypeKind kind, GStrIdx strIdx) : typeKind(kind), nameStrIdx(strIdx) {} in MIRType() 706 MIRType(MIRTypeKind kind, PrimType pType, GStrIdx strIdx) : typeKind(kind), primType(pType), nameStrIdx(strIdx) {} in MIRType() 740 return typeKind; in GetKind() 744 typeKind = kind; in SetMIRTypeKind() 798 return typeKind == kTypePointer; in IsMIRPtrType() 803 return typeKind == kTypeArray; in IsMIRArrayType() 808 return typeKind == kTypeFunction; in IsMIRFuncType() 813 return typeKind in IsScalarType() 828 MIRTypeKind typeKind; global() member in maple::MIRType [all...] |
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | boxingConverter.cpp | 26 auto getSignature = [](checker::TypeFlag typeKind) { in ETSTypeFromSource() 27 switch (typeKind) { in ETSTypeFromSource()
|
H A D | typeCheckingHelpers.cpp | 724 auto typeKind = TypeKind(ETSBuiltinTypeAsPrimitiveType(boxingType)); 725 switch (typeKind) { 757 auto typeKind = TypeKind(unboxingType); 758 switch (typeKind) {
|
H A D | arithmetic.cpp | 41 TypeFlag typeKind = ETSType(type); in NegateNumericType() local 44 switch (typeKind) { in NegateNumericType() 86 TypeFlag typeKind = ETSType(type); in BitwiseNegateNumericType() local 90 switch (typeKind) { in BitwiseNegateNumericType()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
H A D | mir_type.cpp | 472 return typeKind == mirType.typeKind && primType == mirType.primType; in EqualTo() 477 if (typeKind != type.GetKind() || GetPrimType() != type.GetPrimType()) { in EqualTo() 486 if (type.GetKind() != typeKind) { in EqualTo() 524 if (type.GetKind() != typeKind) { in EqualTo()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSGen.cpp | 1027 auto typeKind = checker::ETSChecker::TypeKind(type); in TryLoadConstantExpression() local 1029 switch (typeKind) { in TryLoadConstantExpression() 1149 auto typeKind = checker::ETSChecker::TypeKind(targetType); in ApplyCast() local 1151 switch (typeKind) { in ApplyCast() 1381 auto typeKind = checker::ETSChecker::TypeKind(GetAccumulatorType()); in CastToBoolean() local 1382 switch (typeKind) { in CastToBoolean() 1425 auto typeKind = checker::ETSChecker::TypeKind(GetAccumulatorType()); in CastToByte() local 1426 switch (typeKind) { in CastToByte() 1473 auto typeKind = checker::ETSChecker::TypeKind(GetAccumulatorType()); in CastToChar() local 1474 switch (typeKind) { in CastToChar() 1520 auto typeKind = checker::ETSChecker::TypeKind(GetAccumulatorType()); CastToShort() local 1570 auto typeKind = checker::ETSChecker::TypeKind(GetAccumulatorType()); CastToDouble() local 1612 auto typeKind = checker::ETSChecker::TypeKind(GetAccumulatorType()); CastToFloat() local 1654 auto typeKind = checker::ETSChecker::TypeKind(GetAccumulatorType()); CastToLong() local 1696 auto typeKind = checker::ETSChecker::TypeKind(GetAccumulatorType()); CastToInt() local 1835 auto typeKind = checker::ETSChecker::TypeKind(GetAccumulatorType()); CastToDynamic() local 2266 auto typeKind = checker::ETSChecker::TypeKind(GetAccumulatorType()); Negate() local [all...] |
H A D | ETSGen.h | 823 auto typeKind = checker::ETSChecker::TypeKind(targetType_); in BinaryEqualityCondition() local 825 switch (typeKind) { in BinaryEqualityCondition() 880 auto typeKind = checker::ETSChecker::TypeKind(targetType_); in BinaryRelationCondition() local 882 switch (typeKind) { in BinaryRelationCondition() 924 auto typeKind = checker::ETSChecker::TypeKind(targetType_); in BinaryArithmetic() local 926 switch (typeKind) { in BinaryArithmetic() 946 auto typeKind = checker::ETSChecker::TypeKind(targetType_); in BinaryBitwiseArithmetic() local 948 switch (typeKind) { in BinaryBitwiseArithmetic() 1162 void SetAccumulatorTargetType(const ir::AstNode *node, checker::TypeFlag typeKind, T number); 1176 void ETSGen::SetAccumulatorTargetType(const ir::AstNode *node, checker::TypeFlag typeKind, argument 1231 auto typeKind = targetType_ && (!targetType_->IsETSObjectType() && !targetType_->IsETSUnionType() && LoadAccumulatorNumber() local [all...] |
H A D | ETSemitter.cpp | 266 static pandasm::ScalarValue CreateScalarValue(const checker::Type *type, checker::TypeFlag typeKind) in CreateScalarValue() argument 268 switch (typeKind) { in CreateScalarValue() 316 auto typeKind = checker::ETSChecker::TypeKind(type); in EmitDefaultFieldValue() local 318 classField.metadata->SetValue(CreateScalarValue(type, typeKind)); in EmitDefaultFieldValue()
|
Completed in 15 milliseconds