Home
last modified time | relevance | path

Searched refs:IsBooleanType (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/types/
DbooleanType.cpp27 if (other->IsBooleanType()) { in Identical()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtype.h189 bool IsBooleanType() const in IsBooleanType() function
212 … return IsNumberType() || IsNullType() || IsUndefinedType() || IsBooleanType() || IsBigIntType(); in IsDigitablePrimitiveType()
Dnumber_speculative_retype.cpp32 } else if (gateType.IsBooleanType()) { in SetOutputType()
350 if (type.IsBooleanType()) { in VisitTypedConditionJump()
459 ASSERT(valueType.IsNumberType() || valueType.IsBooleanType()); in VisitIsTrueOrFalse()
527 if (inputType.IsNumberType() || inputType.IsBooleanType()) { in VisitNumberRelated()
617 if (gateType.IsBooleanType()) { in CheckAndConvertToBool()
858 ASSERT(gateType.IsNumberType() || gateType.IsBooleanType()); in CheckAndConvertToTagged()
Dnumber_speculative_lowering.cpp234 if (type.IsBooleanType()) { in VisitTypedConditionJump()
Dtype_mcr_lowering.cpp182 } else if (type.IsBooleanType()) { in LowerPrimitiveTypeCheck()
490 if (srcType.IsBooleanType()) { in LowerPrimitiveToNumber()
Dts_hcr_lowering.cpp502 if (conditionType.IsBooleanType() && IsTrustedType(condition)) { in LowerConditionJump()
1016 if ((!valueType.IsNumberType()) && (!valueType.IsBooleanType())) { in LowerTypedIsTrueOrFalse()
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dutil.cpp97 if (type->IsBooleanType()) { in IsLiteralType()