/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
H A D | common.h | 468 void CheckSimple(const std::string &instName, compiler::DataType::Type dataType, const std::string &instType) in CheckSimple() argument 472 if (dataType == compiler::DataType::Type::REFERENCE) { in CheckSimple() 475 currType = ToString(dataType); in CheckSimple() 501 INS(0).SetType(dataType); in CheckSimple() 506 INS(1).SetType(dataType); in CheckSimple() 512 void CheckSimpleWithImm(const std::string &instName, compiler::DataType::Type dataType, const std::string &instType) in CheckSimpleWithImm() argument 515 std::string currType = ToString(dataType); in CheckSimpleWithImm() 541 INS(0).SetType(dataType); in CheckSimpleWithImm() 546 INS(1).SetType(dataType); in CheckSimpleWithImm() 552 void CheckCmp(const std::string &instName, compiler::DataType::Type dataType, cons argument 588 CheckFloatCmp(const std::string &instName, compiler::DataType::Type dataType, const std::string &instType, bool fcmpg) CheckFloatCmp() argument [all...] |
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | ir_builder_test.cpp | 49 void CheckSimple(const std::string &instName, DataType::Type dataType, const std::string &instType) in CheckSimple() argument 53 if (dataType == DataType::Type::REFERENCE) { in CheckSimple() 56 currType = ToString(dataType); in CheckSimple() 82 INS(0U).SetType(dataType); in CheckSimple() 87 INS(1U).SetType(dataType); in CheckSimple() 93 void CheckSimpleWithImm(const std::string &instName, DataType::Type dataType, const std::string &instType) in CheckSimpleWithImm() argument 96 std::string currType = ToString(dataType); in CheckSimpleWithImm() 117 auto constantType = GetCommonType(dataType); in CheckSimpleWithImm() 128 INS(1U).SetType(dataType); in CheckSimpleWithImm() 134 void CheckCmp(const std::string &instName, DataType::Type dataType, cons argument 170 CheckFloatCmp(const std::string &instName, DataType::Type dataType, const std::string &instType, bool fcmpg) CheckFloatCmp() argument 860 DataType::Type dataType = DataType::Type::INT32; TEST_F() local 868 DataType::Type dataType = DataType::Type::FLOAT32; TEST_F() local 876 DataType::Type dataType = DataType::Type::INT64; TEST_F() local 884 DataType::Type dataType = DataType::Type::FLOAT64; TEST_F() local 892 DataType::Type dataType = DataType::Type::REFERENCE; TEST_F() local 925 DataType::Type dataType = DataType::Type::INT32; TEST_F() local 933 DataType::Type dataType = DataType::Type::FLOAT32; TEST_F() local 941 DataType::Type dataType = DataType::Type::INT64; TEST_F() local 949 DataType::Type dataType = DataType::Type::FLOAT64; TEST_F() local 957 DataType::Type dataType = DataType::Type::INT32; TEST_F() local 965 DataType::Type dataType = DataType::Type::FLOAT32; TEST_F() local 973 DataType::Type dataType = DataType::Type::INT64; TEST_F() local 981 DataType::Type dataType = DataType::Type::FLOAT64; TEST_F() local 989 DataType::Type dataType = DataType::Type::REFERENCE; TEST_F() local 1021 DataType::Type dataType = DataType::Type::INT32; TEST_F() local 1029 DataType::Type dataType = DataType::Type::FLOAT32; TEST_F() local 1037 DataType::Type dataType = DataType::Type::INT64; TEST_F() local 1045 DataType::Type dataType = DataType::Type::FLOAT64; TEST_F() local 1103 DataType::Type dataType = DataType::Type::INT32; TEST_F() local 1111 DataType::Type dataType = DataType::Type::FLOAT32; TEST_F() local 1119 DataType::Type dataType = DataType::Type::INT64; TEST_F() local 1127 DataType::Type dataType = DataType::Type::FLOAT64; TEST_F() local 1135 DataType::Type dataType = DataType::Type::REFERENCE; TEST_F() local 1167 DataType::Type dataType = DataType::Type::INT64; TEST_F() local 1175 DataType::Type dataType = DataType::Type::UINT32; TEST_F() local 1183 DataType::Type dataType = DataType::Type::UINT64; TEST_F() local 1191 DataType::Type dataType = DataType::Type::FLOAT32; TEST_F() local 1199 DataType::Type dataType = DataType::Type::FLOAT64; TEST_F() local 1207 DataType::Type dataType = DataType::Type::FLOAT32; TEST_F() local 1215 DataType::Type dataType = DataType::Type::FLOAT64; TEST_F() local [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
H A D | elf_checker.h | 169 ElfType dataType; /* Type of this piece of data. */ member
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | inst.cpp | 823 auto dataType = AnyBaseTypeToDataType(anyType); in IsReferenceOrAny() local 824 return dataType == DataType::REFERENCE; in IsReferenceOrAny()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/ |
H A D | encode.cpp | 1472 auto dataType = srcSigned ? vixl::aarch32::DataTypeValue::S32 : vixl::aarch32::DataTypeValue::U32; in EncodeCastScalarToFloat() local 1474 GetMasm()->Vcvt(vixl::aarch32::DataTypeValue::F32, dataType, VixlVReg(dst).S(), VixlVReg(tmpReg).S()); in EncodeCastScalarToFloat() 1476 GetMasm()->Vcvt(vixl::aarch32::DataTypeValue::F64, dataType, VixlVReg(dst).D(), VixlVReg(tmpReg).S()); in EncodeCastScalarToFloat() 1520 auto dataType = dstSigned ? vixl::aarch32::DataTypeValue::S32 : vixl::aarch32::DataTypeValue::U32; in EncodeCastFloatToScalar() local 1522 GetMasm()->Vcvt(dataType, vixl::aarch32::DataTypeValue::F32, VixlVReg(tmpReg).S(), VixlVReg(src).S()); in EncodeCastFloatToScalar() 1524 GetMasm()->Vcvt(dataType, vixl::aarch32::DataTypeValue::F64, VixlVReg(tmpReg).S(), VixlVReg(src).D()); in EncodeCastFloatToScalar() 1569 auto dataType = dstSigned ? vixl::aarch32::DataTypeValue::S32 : vixl::aarch32::DataTypeValue::U32; in EncodeCastFloatToScalarWithSmallDst() local 1571 GetMasm()->Vcvt(dataType, vixl::aarch32::DataTypeValue::F32, VixlVReg(tmpReg).S(), VixlVReg(src).S()); in EncodeCastFloatToScalarWithSmallDst() 1573 GetMasm()->Vcvt(dataType, vixl::aarch32::DataTypeValue::F64, VixlVReg(tmpReg).S(), VixlVReg(src).D()); in EncodeCastFloatToScalarWithSmallDst()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/ |
H A D | llvm_ir_builder.cpp | 1150 LLVMTypeRef dataType = GetMachineRepType(static_cast<MachineRep>(machineRep)); in VisitAlloca() local 1152 LLVMBuildAlloca(builder_, dataType, ""), in VisitAlloca()
|