/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | spill_fill_encoder.cpp | 27 bool sameArgumentType = pred.GetCommonType() == succ.GetCommonType(); in AreConsecutiveOps() 57 if (!DataType::Is64Bits(pred.GetCommonType(), graph->GetArch())) { in CanCombineSpillFills() 217 auto sfType = sf.GetCommonType(); in EncodeImmToX() 248 auto srcReg = codegen_->ConvertRegister(sf.SrcValue(), sf.GetCommonType()); in EncodeRegisterToX() 254 auto nextReg = codegen_->ConvertRegister(next->SrcValue(), next->GetCommonType()); in EncodeRegisterToX() 274 auto curReg = codegen_->ConvertRegister(sf.DstValue(), sf.GetCommonType()); in EncodeStackToX() 275 auto nextReg = codegen_->ConvertRegister(next->DstValue(), next->GetCommonType()); in EncodeStackToX()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
H A D | spill_fill_data.h | 72 DataType::Type GetCommonType() const in GetCommonType() function in panda::compiler::SpillFillData 74 return DataType::GetCommonType(type_); in GetCommonType()
|
H A D | graph_checker.h | 128 return DataType::GetCommonType(type1) == DataType::GetCommonType(type2); in CheckCommonTypes()
|
H A D | datatype.h | 89 constexpr inline Type GetCommonType(Type type) in GetCommonType() function
|
H A D | graph_checker.cpp | 815 DataType::GetCommonType(op1->GetType()) == DataType::INT64 || in VisitIfImm()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | spill_fill_data.h | 72 DataType::Type GetCommonType() const in GetCommonType() function in ark::compiler::SpillFillData 74 return DataType::GetCommonType(type_); in GetCommonType()
|
H A D | graph_checker.cpp | 252 [[maybe_unused]] auto inputType = GetCommonType(inst->GetInputType(i)); in CheckInputType() 253 [[maybe_unused]] auto realInputType = GetCommonType(input->GetType()); in CheckInputType() 1237 CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(v, DataType::GetCommonType(inst->GetType()) == DataType::INT64, in CheckUserOfInt32() 1249 CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(v, DataType::GetCommonType(inst->GetType()) == DataType::INT64, in CheckUserOfInt32() 1296 CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(v, DataType::GetCommonType(inst->GetType()) == DataType::INT64, in CheckUserOfInt32() 1302 CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(v, DataType::GetCommonType(inst->GetType()) == DataType::INT64, in CheckUserOfInt32() 1308 CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(v, DataType::GetCommonType(inst->GetType()) == DataType::INT64, in CheckUserOfInt32() 1314 CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(v, DataType::GetCommonType(inst->GetType()) == DataType::INT64, in CheckUserOfInt32() 1324 CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(v, DataType::GetCommonType(inst->GetType()) == DataType::INT64, in CheckUserOfInt32() 1334 CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(v, DataType::GetCommonType(ins in CheckUserOfInt32() [all...] |
H A D | graph_checker.h | 279 return DataType::GetCommonType(type1) == DataType::GetCommonType(type2); in CheckCommonTypes() 295 v, DataType::GetCommonType(inst->GetType()) == DataType::INT64, in CheckBinaryOperationTypes() 358 v, DataType::GetCommonType(inst->GetType()) == DataType::INT64, in CheckTernaryOperationTypes()
|
H A D | datatype.h | 97 constexpr inline Type GetCommonType(Type type) in GetCommonType() function
|
H A D | analysis.cpp | 332 return DataType::GetCommonType(inputType) == DataType::INT64 && in ApplyForCastJoin() 333 DataType::GetCommonType(currType) == DataType::INT64 && in ApplyForCastJoin() 334 DataType::GetCommonType(origType) == DataType::INT64 && in ApplyForCastJoin()
|
H A D | inst.h | 2567 ASSERT(GetCommonType(inputType) == GetCommonType(type) || inputType == DataType::POINTER || 2568 DataType::GetCommonType(inputType) == DataType::INT64); 2572 ASSERT(GetCommonType(inputType) == GetCommonType(type) || 2573 DataType::GetCommonType(inputType) == DataType::INT64); 2594 ASSERT(GetCommonType(inputType) == GetCommonType(type) || inputType == DataType::POINTER); 2598 ASSERT(DataType::GetCommonType(inputType) == DataType::GetCommonType(GetTyp member in DynObjectAccessType::BinaryImmOperation::DataType [all...] |
H A D | inst.cpp | 412 return DataType::IsFloatType(GetInputType(0U)) && DataType::GetCommonType(GetType()) == DataType::INT64 && in IsDynamicCast()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | const_folding.cpp | 108 ASSERT(DataType::GetCommonType(targetType) == DataType::INT64); in ConvertFloatToInt() 183 auto instType = DataType::GetCommonType(inst->GetType()); in ConstFoldingCastIntConst() 206 auto instType = DataType::GetCommonType(inst->GetType()); in ConstFoldingCastConst() 272 switch (DataType::GetCommonType(inst->GetType())) { in ConstFoldingNeg() 299 switch (DataType::GetCommonType(inst->GetType())) { in ConstFoldingAbs() 330 ASSERT(DataType::GetCommonType(inst->GetType()) == DataType::INT64); in ConstFoldingNot() 350 switch (DataType::GetCommonType(inst->GetType())) { in ConstFoldingAdd() 380 switch (DataType::GetCommonType(inst->GetType())) { in ConstFoldingSub() 397 if (input0.GetInst() == input1.GetInst() && DataType::GetCommonType(inst->GetType()) == DataType::INT64) { in ConstFoldingSub() 416 switch (DataType::GetCommonType(ins in ConstFoldingMul() [all...] |
H A D | lowering.h | 109 // Returns true if all non-constant operands have the same common type (obtained using GetCommonType) as all 116 nonConstType = GetCommonType(operands_[i]->GetType()); 126 if (GetCommonType(operands_[i]->GetType()) != GetCommonType(nonConstType)) { 129 } else if (nonConstType != GetCommonType(operands_[i]->GetType())) { 161 // constant arguments have the same common type (obtained using GetCommonType) as all other operands. 178 if (GetCommonType(insts_[i]->GetType()) != GetCommonType(nonConstType)) {
|
H A D | peepholes.cpp | 444 } else if (DataType::GetCommonType(inst->GetType()) == DataType::INT64) { in VisitMulOneConst() 547 } else if (DataType::GetCommonType(inst->GetType()) == DataType::INT64) { in VisitDiv() 704 DataType::GetCommonType(input0->GetInput(0).GetInst()->GetType()) == DataType::INT64 && in ApplyForCastU16() 1274 if (input->GetOpcode() == Opcode::And && DataType::GetCommonType(currType) == DataType::INT64) { in VisitCast() 1491 if (DataType::GetCommonType(inst->GetType()) == DataType::INT64 && typeSize < DOUBLE_WORD_SIZE) { in EliminateInstPrecedingStore() 1516 if (DataType::GetCommonType(inputInst->GetType()) != DataType::INT64) { in EliminateInstPrecedingStore() 2378 switch (DataType::GetCommonType(cnst1->GetType())) { in TryCombineConst()
|
H A D | loop_unroll.cpp | 67 ASSERT(DataType::GetCommonType(type) == DataType::INT64); in ConditionOverFlow()
|
H A D | memory_coalescing.cpp | 49 if (GetCommonType(inst->GetType()) == DataType::INT64) { in VariableAnalysis() 61 if (phi->GetInputsCount() != INPUTS_COUNT || GetCommonType(phi->GetType()) != DataType::INT64) { in VariableAnalysis()
|
H A D | lowering.cpp | 823 if (DataType::GetCommonType(inst->GetType()) != DataType::INT64) { in LowerMultiplyAddSub() 994 if (GetCommonType(inst->GetType()) != DataType::INT64) { in LowerBinaryOperationWithShiftedOperand() 1028 if (!Matcher::Capture(inst, operands, insts) || GetCommonType(inst->GetType()) != DataType::INT64 || in LowerUnaryOperationWithShiftedOperand()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
H A D | reg_type.h | 29 ASSERT(GetCommonType(type) == DataType::INT64 || type == DataType::REFERENCE || type == DataType::POINTER || in ConvertRegType()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/ |
H A D | reg_type.h | 46 ASSERT(GetCommonType(type) == DataType::INT64 || type == DataType::REFERENCE || type == DataType::POINTER || in ConvertRegType()
|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
H A D | phi_resolver.h | 191 if (type != DataType::NO_TYPE && DataType::GetCommonType(type) != DataType::INT64) { in CheckPhiInputs() 198 if (has_constant_input && DataType::GetCommonType(input_type) != DataType::INT64) { in CheckPhiInputs()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
H A D | phi_resolver.h | 166 if (type != DataType::NO_TYPE && DataType::GetCommonType(type) != DataType::INT64) { in CheckPhiRealInputs() 173 if (hasConstantInput && DataType::GetCommonType(inputType) != DataType::INT64) { in CheckPhiRealInputs()
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | compiler_inst_test.cpp | 623 * @tc.desc: Verify the GetCommonType function. 633 auto value = GetCommonType(type); in HWTEST_F() 636 auto value1 = GetCommonType(type1); in HWTEST_F() 639 auto result = GetCommonType(str); in HWTEST_F()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
H A D | countable_loop_parser.cpp | 83 return DataType::GetCommonType(cmpType) == DataType::INT64; in ParseLoopExit()
|
H A D | bounds_analysis.cpp | 693 ASSERT(inst->GetType() == DataType::REFERENCE || DataType::GetCommonType(inst->GetType()) == DataType::INT64); in FindBoundsRange() 742 ASSERT(inst->GetType() == DataType::REFERENCE || DataType::GetCommonType(inst->GetType()) == DataType::INT64); in SetBoundsRange() 884 if ((DataType::GetCommonType(op0->GetType()) != DataType::INT64 && op0->GetType() != DataType::REFERENCE) || in VisitIfImm() 885 (DataType::GetCommonType(op1->GetType()) != DataType::INT64 && op1->GetType() != DataType::REFERENCE)) { in VisitIfImm()
|