/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | number_speculative_retype.cpp | 764 GateType valueType = GateType::NumberType(); in VisitDoubleMonocular() local 766 valueType = GateType::IntType(); in VisitDoubleMonocular() 768 valueType = GateType::DoubleType(); in VisitDoubleMonocular() 770 acc_.ReplaceValueIn(gate, CheckAndConvertToFloat64(value, valueType), 0); in VisitDoubleMonocular() 788 GateType valueType = GateType::NumberType(); in VisitIsTrueOrFalse() local 791 valueType = GateType::IntType(); in VisitIsTrueOrFalse() 793 valueType = GateType::DoubleType(); in VisitIsTrueOrFalse() 795 valueType = GateType::BooleanType(); in VisitIsTrueOrFalse() 797 auto input = CheckAndConvertToBool(value, valueType); in VisitIsTrueOrFalse() 817 GateType valueType in VisitNumberNot() local 1600 TypeInfo valueType = GetOutputTypeInfo(value); VisitStoreProperty() local 2238 TypeInfo valueType = GetOutputTypeInfo(value); VisitMonoStoreProperty() local [all...] |
H A D | compiler_log.cpp | 293 GateType valueType = acc_.GetGateType(value); in CollectGateTypeLogInfo() local 294 if (valueType.IsIntType()) { in CollectGateTypeLogInfo() 296 } else if (valueType.IsDoubleType()) { in CollectGateTypeLogInfo()
|
H A D | gate_accessor.cpp | 1563 GateType valueType = GetGateType(value); in ReplaceGate() local 1564 if (!type.IsAnyType() && !valueType.IsNJSValueType()) { in ReplaceGate()
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
H A D | binaryLikeExpression.cpp | 214 Type *valueType) in CheckAssignmentOperator() 221 if (!IsTypeAssignableTo(valueType, leftType)) { in CheckAssignmentOperator() 222 ThrowAssignmentError(valueType, leftType, leftExpr->Start(), in CheckAssignmentOperator() 213 CheckAssignmentOperator(lexer::TokenType op, const ir::Expression *leftExpr, Type *leftType, Type *valueType) CheckAssignmentOperator() argument
|
/arkcompiler/ets_frontend/ets2panda/checker/ts/ |
H A D | binaryLikeExpression.cpp | 224 void TSChecker::CheckAssignmentOperator(lexer::TokenType op, ir::Expression *leftExpr, Type *leftType, Type *valueType) in CheckAssignmentOperator() argument 231 if (!IsTypeAssignableTo(valueType, leftType)) { in CheckAssignmentOperator() 232 ThrowAssignmentError(valueType, leftType, leftExpr->Start(), in CheckAssignmentOperator()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | recordLowering.h | 34 ir::Expression *CreateBlockExpression(ir::ObjectExpression *expr, checker::Type *keyType, checker::Type *valueType,
|
H A D | recordLowering.cpp | 221 checker::Type *valueType, public_lib::Context *ctx) in CreateBlockExpression() 249 "let @@I1 = new " + containerType + "<" + TypeToString(keyType) + "," + TypeToString(valueType) + ">()"; in CreateBlockExpression() 220 CreateBlockExpression(ir::ObjectExpression *expr, checker::Type *keyType, checker::Type *valueType, public_lib::Context *ctx) CreateBlockExpression() argument
|
/arkcompiler/runtime_core/static_core/assembler/ |
H A D | meta.cpp | 497 Value::Type valueType; in StoreValue() local 499 valueType = GetType(fieldType_.GetName()); in StoreValue() 501 valueType = Value::Type::STRING; in StoreValue() 504 auto res = CreateValue(valueType, value); in StoreValue()
|
H A D | assembly-emitter.cpp | 125 bool AsmEmitter::CheckValueType(Value::Type valueType, const Type &type, const Program &program) in CheckValueType() argument 127 auto valueTypeId = GetTypeId(valueType); in CheckValueType() 129 SetLastError("Inconsistent element (" + AnnotationElement::TypeToString(valueType) + in CheckValueType() 134 switch (valueType) { in CheckValueType() 146 if (valueType == Value::Type::ANNOTATION && !record.metadata->IsAnnotation() && in CheckValueType() 153 if (valueType == Value::Type::ENUM && (record.metadata->GetAccessFlags() & ACC_ENUM) == 0) { in CheckValueType() 162 SetLastError("Inconsistent element (" + AnnotationElement::TypeToString(valueType) + in CheckValueType() 202 auto valueType = value->GetType(); in CreateLiteralItem() local 204 switch (valueType) { in CreateLiteralItem() 352 auto valueType in CheckValue() local 508 auto valueType = value->GetType(); CreateScalarValueItem() local 607 auto valueType = value->GetType(); CreateAnnotationItem() local [all...] |
H A D | assembly-emitter.h | 165 static bool CheckValueType(Value::Type valueType, const Type &type, const Program &program);
|
/arkcompiler/ets_frontend/merge_abc/src/ |
H A D | annotationProto.cpp | 71 const auto &valueType = scalar.GetType(); in Serialize() local 72 protoScalar.mutable_father()->set_type(static_cast<uint32_t>(valueType)); in Serialize() 74 switch (valueType) { in Serialize()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_typedarray_stub_builder.cpp | 2846 GateRef valueType = TaggedIsInt(value);
in SetValueToBuffer() local 2847 BRANCH(valueType, &valueTypeIsInt, &valueTypeIsDouble);
in SetValueToBuffer() 2878 BRANCH(valueType, &valueIsInt, &valueIsDouble);
in SetValueToBuffer() 2900 BRANCH(valueType, &valueIsInt, &valueIsDouble);
in SetValueToBuffer() 2922 BRANCH(valueType, &valueIsInt, &valueIsDouble);
in SetValueToBuffer() 2954 BRANCH(valueType, &valueIsInt, &valueIsDouble);
in SetValueToBuffer() 2976 BRANCH(valueType, &valueIsInt, &valueIsDouble);
in SetValueToBuffer() 2998 BRANCH(valueType, &valueIsInt, &valueIsDouble);
in SetValueToBuffer() 3024 BRANCH(valueType, &valueIsInt, &valueIsDouble);
in SetValueToBuffer() 3045 BRANCH(valueType, in SetValueToBuffer() [all...] |
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSGen.h | 407 void MoveImmediateToRegister(const ir::AstNode *node, VReg reg, const checker::TypeFlag valueType, T const value) in MoveImmediateToRegister() argument 409 switch (valueType) { in MoveImmediateToRegister() 454 void IncrementImmediateRegister(const ir::AstNode *node, VReg reg, const checker::TypeFlag valueType, T const value) in IncrementImmediateRegister() argument 456 switch (valueType) { in IncrementImmediateRegister()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/ |
H A D | llvm_ir_builder.h | 349 bool IsHeapPointerType(LLVMTypeRef valueType);
|
H A D | llvm_ir_builder.cpp | 801 bool LLVMIRBuilder::IsHeapPointerType(LLVMTypeRef valueType) in IsHeapPointerType() argument 803 return LLVMGetTypeKind(valueType) == LLVMPointerTypeKind && LLVMGetPointerAddressSpace(valueType) > 0; in IsHeapPointerType()
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | TSchecker.h | 383 void CheckAssignmentOperator(lexer::TokenType op, ir::Expression *leftExpr, Type *leftType, Type *valueType);
|
H A D | ETSAnalyzer.cpp | 1554 auto *const valueType = value->TsType(); in CheckObjectExprProps() local 1555 const checker::Type *sourceType = checker->TryGettingFunctionTypeFromInvokeFunction(valueType); in CheckObjectExprProps() 1559 checker->Relation(), value, valueType, propType, value->Start(), in CheckObjectExprProps()
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
H A D | checker.h | 471 void CheckAssignmentOperator(lexer::TokenType op, const ir::Expression *leftExpr, Type *leftType, Type *valueType);
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_function.cpp | 1099 JSType valueType = value.GetTaggedObject()->GetClass()->GetObjectType(); in GetFunctionExtraInfo() local 1102 << ", value type is " << static_cast<uint8_t>(valueType); in GetFunctionExtraInfo()
|
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
H A D | llvm_ir_constructor.cpp | 2772 auto valueType = value->getType(); in CoerceValue() local 2773 if (valueType == targetType) { in CoerceValue() 2777 if (!valueType->isPointerTy() && targetType->isPointerTy()) { in CoerceValue() 2782 if (valueType->isPointerTy() && !targetType->isPointerTy()) { in CoerceValue() 2783 // valueType to DataType::POINTER in CoerceValue() 2788 if (valueType->isIntegerTy() && targetType->isIntegerTy()) { in CoerceValue() 2789 auto valueWidth = llvm::cast<llvm::IntegerType>(valueType)->getBitWidth(); in CoerceValue() 2798 if (valueType->isPointerTy() && targetType->isPointerTy()) { in CoerceValue()
|