Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/compiler/
Dtype.h274 bool IsBooleanType() const in IsBooleanType() function
293 … return IsNumberType() || IsNullType() || IsUndefinedType() || IsBooleanType() || IsBigIntType(); in IsDigitablePrimitiveType()
306 return IsNumberType() || IsNullType() || IsUndefinedType() || IsBooleanType(); in IsPrimitiveNumberType()
311 return IsIntType() || IsNullType() || IsBooleanType(); in IsPrimitiveIntType()
Dnumber_speculative_retype.cpp38 } else if (gateType.IsBooleanType()) { in SetOutputType()
59 } else if (paramType.IsBooleanType()) { in SetOutputType()
105 if (gateType.IsIntType() || gateType.IsBooleanType()) { in GetNumberTypeInfo()
679 if (type.IsBooleanType()) { in VisitTypedConditionJump()
779 ASSERT(paramType.HasNumberType() || paramType.IsBooleanType()); in VisitIsTrueOrFalse()
792 } else if (paramType.IsBooleanType()) { in VisitIsTrueOrFalse()
867 } else if (paramType.IsBooleanType()) { in VisitNumberRelated()
872 if (paramType.HasNumberType() || paramType.IsBooleanType()) { in VisitNumberRelated()
974 if (gateType.IsBooleanType()) { in CheckAndConvertToBool()
1144 } else if (gateType.IsBooleanType()) { in CheckTaggedAndConvertToInt32()
[all …]
Dnumber_speculative_lowering.cpp287 if (type.IsBooleanType()) { in VisitTypedConditionJump()
Dtyped_hcr_lowering.cpp278 } else if (type.IsBooleanType()) { in LowerPrimitiveTypeCheck()
750 if (srcType.IsBooleanType()) { in LowerPrimitiveToNumber()
2200 } else if (type.IsBooleanType()) { in LowerTypeOfCheck()
2235 } else if (type.IsBooleanType()) { in LowerTypeOf()
Dtype_info_accessors.h176 inline bool IsBooleanType() const in IsBooleanType() function
Dtype_info_accessors.cpp63 if (acc.IsConstant(gate) && acc.GetGateType(gate).IsBooleanType()) { in IsTrustedBooleanType()
Dtyped_bytecode_lowering.cpp1466 (IsTrueOrFalseHasProfileType(gate) && tacc.IsBooleanType())) { in LowerTypedIsTrueOrFalse()
/arkcompiler/ets_frontend/es2panda/typescript/types/
DbooleanType.cpp27 if (other->IsBooleanType()) { in Identical()
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
DbooleanType.cpp26 if (other->IsBooleanType()) { in Identical()
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
Dhelpers.h26 bool IsBooleanType(const ir::AstNode *ast);
Dhelpers.cpp41 bool IsBooleanType(const ir::AstNode *ast) in IsBooleanType() function
86 if (IsBooleanType(ast)) { in IsValidTypeForBinaryOp()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
Dutil.cpp85 if (type->IsBooleanType()) { in IsLiteralType()
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dutil.cpp97 if (type->IsBooleanType()) { in IsLiteralType()