Searched full:anybasetype (Results 1 – 18 of 18) sorted by relevance
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | ir-dyn-base-types.h.erb | 37 inline AnyBaseType NumericDataTypeToAnyType([[maybe_unused]] panda::compiler::DataType::Type type, 50 return panda::compiler::AnyBaseType::ECMASCRIPT_INT_TYPE; 55 return panda::compiler::AnyBaseType::UNDEFINED_TYPE; 57 return panda::compiler::AnyBaseType::ECMASCRIPT_DOUBLE_TYPE; 60 return panda::compiler::AnyBaseType::UNDEFINED_TYPE; 64 inline AnyBaseType GetAnyStringType([[maybe_unused]] panda::compiler::SourceLanguage language) { 65 return panda::compiler::AnyBaseType::ECMASCRIPT_STRING_TYPE; 77 inline std::optional<bool> IsAnyTypeCanBeSubtypeOf([[maybe_unused]] AnyBaseType super_type, 78 [[maybe_unused]] AnyBaseType type, 85 case panda::compiler::AnyBaseType::ECMASCRIPT_OBJECT_TYPE: [all …]
|
| D | source_languages.h.erb | 28 enum class AnyBaseType : uint32_t {
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
| D | types_resolving.cpp | 70 AnyBaseType TypesResolving::GetAssumedAnyType(Inst *inst) in GetAssumedAnyType() 79 if (type == AnyBaseType::UNDEFINED_TYPE) { in GetAssumedAnyType() 85 return AnyBaseType::UNDEFINED_TYPE; in GetAssumedAnyType() 120 ASSERT(type != AnyBaseType::UNDEFINED_TYPE); in CheckInputsAnyTypesRec() 121 if (any_type_ == AnyBaseType::UNDEFINED_TYPE) { in CheckInputsAnyTypesRec() 183 any_type_ = AnyBaseType::UNDEFINED_TYPE; in TryResolvePhi() 198 AnyBaseType type = AnyBaseType::UNDEFINED_TYPE; in TryInline() 205 if (input_type != AnyBaseType::UNDEFINED_TYPE) { in TryInline() 213 if (type == AnyBaseType::UNDEFINED_TYPE) { in TryInline() 218 if (curr_type == AnyBaseType::UNDEFINED_TYPE) { in TryInline()
|
| D | types_resolving.h | 50 AnyBaseType GetAssumedAnyType(Inst *inst); 56 ArenaVector<AnyBaseType> types_; 58 AnyBaseType any_type_ {AnyBaseType::UNDEFINED_TYPE};
|
| /arkcompiler/runtime_core/compiler/optimizer/analysis/ |
| D | types_analysis.cpp | 28 void TypesAnalysis::MarkedPhiRec(PhiInst *phi, AnyBaseType type) in MarkedPhiRec() 34 phi->SetAssumedAnyType(AnyBaseType::UNDEFINED_TYPE); in MarkedPhiRec() 52 ASSERT(type != AnyBaseType::UNDEFINED_TYPE); in VisitCastValueToAnyType() 65 if (type == AnyBaseType::UNDEFINED_TYPE) { in VisitAnyTypeCheck()
|
| D | types_analysis.h | 57 void MarkedPhiRec(PhiInst *phi, AnyBaseType type);
|
| /arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
| D | inst_builder-inl.h | 23 Inst *InstBuilder::BuildAnyTypeCheckInst(size_t bc_addr, Inst *input, Inst *save_state, AnyBaseType… in BuildAnyTypeCheckInst() 86 ASSERT(any_type != AnyBaseType::UNDEFINED_TYPE); in BuildCastToAnyString() 113 ASSERT(any_type != AnyBaseType::UNDEFINED_TYPE); in BuildCastToAnyNumber()
|
| D | inst_builder.h | 251 AnyBaseType type = AnyBaseType::UNDEFINED_TYPE);
|
| D | inst_templates.yaml | 196 cvat->SetAnyType(panda::compiler::AnyBaseType::ECMASCRIPT_UNDEFINED_TYPE); 211 cvat->SetAnyType(panda::compiler::AnyBaseType::ECMASCRIPT_BOOLEAN_TYPE);
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | codegen.cpp | 401 case compiler::AnyBaseType::ECMASCRIPT_UNDEFINED_TYPE: in IsEcmaConstTemplate() 403 case compiler::AnyBaseType::ECMASCRIPT_INT_TYPE: in IsEcmaConstTemplate() 405 case compiler::AnyBaseType::ECMASCRIPT_DOUBLE_TYPE: in IsEcmaConstTemplate() 407 case compiler::AnyBaseType::ECMASCRIPT_BOOLEAN_TYPE: in IsEcmaConstTemplate() 409 case compiler::AnyBaseType::ECMASCRIPT_NULL_TYPE: in IsEcmaConstTemplate() 575 case compiler::AnyBaseType::ECMASCRIPT_NULL_TYPE: in VisitCastValueToAnyType() 578 case compiler::AnyBaseType::ECMASCRIPT_UNDEFINED_TYPE: in VisitCastValueToAnyType() 585 case compiler::AnyBaseType::ECMASCRIPT_INT_TYPE: { in VisitCastValueToAnyType() 591 case compiler::AnyBaseType::ECMASCRIPT_DOUBLE_TYPE: { in VisitCastValueToAnyType() 597 case compiler::AnyBaseType::ECMASCRIPT_BOOLEAN_TYPE: { in VisitCastValueToAnyType() [all …]
|
| /arkcompiler/runtime_core/irtoc/lang/ |
| D | cpp_function.rb | 52 params = "IntrinsicInst *inst, #{@params.keys.map { |x| "AnyBaseType #{x}"}.join(', ')}"
|
| /arkcompiler/runtime_core/irtoc/scripts/ |
| D | common.irt | 138 DYN_INT_TYPE = "AnyBaseType::UNDEFINED_TYPE" 139 DYN_DOUBLE_TYPE = "AnyBaseType::UNDEFINED_TYPE"
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | inst.h | 2607 void SetAnyType(AnyBaseType any_type) in SetAnyType() 2612 AnyBaseType GetAnyType() const in GetAnyType() 2619 … typename T::LastField::template NextField<AnyBaseType, MinimumBitsToStore(AnyBaseType::COUNT)>; 2632 …CompareAnyTypeInst(Opcode opcode, uint32_t pc, AnyBaseType any_type) : BaseInst(opcode, DataType::… in CompareAnyTypeInst() 2662 CastAnyTypeValueInst(Opcode opcode, uint32_t pc, AnyBaseType any_type) in CastAnyTypeValueInst() 2684 AnyBaseType any_type = GetAnyType(); in Clone() 2729 …AnyTypeCheckInst(Opcode opcode, uint32_t pc, AnyBaseType any_type) : BaseInst(opcode, DataType::AN… in AnyTypeCheckInst() 3103 AnyBaseType GetAssumedAnyType() in GetAssumedAnyType() 3108 void SetAssumedAnyType(AnyBaseType type) in SetAssumedAnyType()
|
| D | runtime_interface.h | 880 virtual uint64_t GetPackConstantByPrimitiveType(compiler::AnyBaseType type, uint64_t imm) const in GetPackConstantByPrimitiveType()
|
| D | ir_constructor.h | 604 IrConstructor &AnyType(AnyBaseType any_type) in AnyType()
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | codegen_test.cpp | 2493 INST(2, Opcode::CompareAnyType).b().AnyType(AnyBaseType::UNDEFINED_TYPE).Inputs(0); in TEST_F() 2526 INST(2, Opcode::CastAnyTypeValue).b().AnyType(AnyBaseType::UNDEFINED_TYPE).Inputs(0); in TEST_F()
|
| D | ir_builder_test.cpp | 6311 INST(2, Opcode::CompareAnyType).b().AnyType(AnyBaseType::UNDEFINED_TYPE).Inputs(0); in TEST_F() 6321 EXPECT_TRUE(cati->GetAnyType() == AnyBaseType::UNDEFINED_TYPE); in TEST_F() 6336 INST(2, Opcode::CastAnyTypeValue).AnyType(AnyBaseType::UNDEFINED_TYPE).Inputs(0).u64(); in TEST_F() 6346 EXPECT_TRUE(catvi->GetAnyType() == AnyBaseType::UNDEFINED_TYPE); in TEST_F()
|
| /arkcompiler/runtime_core/compiler/optimizer/code_generator/ |
| D | codegen.cpp | 5285 if (cati->GetAnyType() == AnyBaseType::UNDEFINED_TYPE) { in VisitCompareAnyType() 5340 if (check_inst->GetAnyType() == AnyBaseType::UNDEFINED_TYPE) { in VisitAnyTypeCheck()
|