/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
H A D | typed_array_lowering_test.cpp | 68 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0() 98 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0() 135 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0() 167 EXPECT_EQ(acc.GetMachineType(result), MachineType::F64); in HWTEST_F_L0() 199 EXPECT_EQ(acc.GetMachineType(result), MachineType::F64); in HWTEST_F_L0() 202 EXPECT_EQ(acc.GetMachineType(load), MachineType::F32); in HWTEST_F_L0() 234 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0() 237 EXPECT_EQ(acc.GetMachineType(load), MachineType::I8); in HWTEST_F_L0() 269 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0() 272 EXPECT_EQ(acc.GetMachineType(loa in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | constant_folding.cpp | 52 if (acc_.GetMachineType(gate) == acc_.GetMachineType(input)) { in VisitZEXT() 60 auto machineType = acc_.GetMachineType(gate); in VisitZEXT() 181 return acc_.GetMachineType(gate) == MachineType::I32; in IsInt32Type()
|
H A D | instruction_combine.cpp | 176 if (acc_.GetOpCode(revValue) == OpCode::CONSTANT && acc_.GetMachineType(revValue) == I1) { in VisitREV() 234 auto machineType = acc_.GetMachineType(gate); in VisitADD() 250 auto machineType = acc_.GetMachineType(gate); in VisitSUB() 266 auto machineType = acc_.GetMachineType(gate); in VisitMUL() 282 auto machineType = acc_.GetMachineType(gate); in VisitSDIV() 296 auto machineType = acc_.GetMachineType(gate); in VisitFDIV() 308 auto machineType = acc_.GetMachineType(gate); in VisitSMOD() 323 auto machineType = acc_.GetMachineType(gate); in VisitAND() 337 auto machineType = acc_.GetMachineType(gate); in VisitOR() 351 auto machineType = acc_.GetMachineType(gat in VisitXOR() [all...] |
H A D | loop_peeling.cpp | 42 ASSERT(acc_.GetMachineType(value) == acc_.GetMachineType(copyValue)); in CopyLoopExit() 43 GateRef selector = circuit_->NewGate(circuit_->ValueSelector(numIns), acc_.GetMachineType(value), in CopyLoopExit() 182 acc_.SetMachineType(newGate, acc_.GetMachineType(gate)); in SetCopy()
|
H A D | lcr_circuit_builder.cpp | 31 return type.GetMachineType(); in GetMachineTypeFromVariableType() 57 ASSERT(acc_.GetMachineType(index) == MachineType::I32); in ExtractValue() 141 GateRef result = GetCircuit()->NewGate(GetCircuit()->Load(bits), type.GetMachineType(), in Load() 152 GateRef result = GetCircuit()->NewGate(GetCircuit()->Load(bits), type.GetMachineType(), in Load() 162 GateRef result = GetCircuit()->NewGate(GetCircuit()->Load(bits), type.GetMachineType(), in Load()
|
H A D | value_numbering.cpp | 176 if (acc_.GetMachineType(lhs) != acc_.GetMachineType(rhs)) { in CheckReplacement()
|
H A D | stub.cpp | 40 acc_.SetMachineType(argument, paramsType[i].GetMachineType()); in InitializeArguments()
|
H A D | gate_matchers.h | 59 return acc_.GetMachineType(gate_); in MachineType() 125 if (acc_.GetOpCode(gate) == kOpcode && acc_.GetMachineType(gate) == kMachineType) { in ValueMatcher()
|
H A D | variable_type.h | 34 [[nodiscard]] MachineType GetMachineType() const in GetMachineType() function in panda::ecmascript::kungfu::VariableType
|
H A D | gate.cpp | 49 MachineType actual = GetInGateConst(idx)->GetMachineType(); in CheckInputMachineType() 51 expected = GetMachineType(); in CheckInputMachineType() 67 MachineType actual = GetInGateConst(idx)->GetMachineType(); in CheckNotInputMachineType() 807 oss << "\"MType\":\"" << MachineTypeStr(GetMachineType()) << ", "; in DumpHeader() 901 log << "\"MType\"=\"" + MachineTypeStr(GetMachineType()) + ", "; in ShortPrint()
|
H A D | lcr_circuit_builder.h | 322 auto xType = acc_.GetMachineType(x); in Equal() 343 auto xType = acc_.GetMachineType(x); in NotEqual()
|
H A D | post_schedule.cpp | 450 VariableType type = VariableType(acc_.GetMachineType(gate), acc_.GetGateType(gate)); in LoweringStoreNoBarrierAndPrepareScheduleGate() 475 VariableType type = VariableType(acc_.GetMachineType(gate), acc_.GetGateType(gate)); in LoweringStoreWithBarrierAndPrepareScheduleGate() 513 VariableType type = VariableType(acc_.GetMachineType(gate), acc_.GetGateType(gate)); in LoweringStoreUnknownBarrierAndPrepareScheduleGate()
|
H A D | circuit.cpp | 411 MachineType Circuit::GetMachineType(GateRef gate) const in GetMachineType() function in panda::ecmascript::kungfu::Circuit 413 return LoadGatePtrConst(gate)->GetMachineType(); in GetMachineType()
|
H A D | early_elimination.cpp | 386 if (acc_.GetMachineType(lhs) != acc_.GetMachineType(rhs)) { in CheckReplacement()
|
H A D | gate.h | 206 MachineType GetMachineType() const in GetMachineType() function in panda::ecmascript::kungfu::Gate
|
H A D | gate_accessor.cpp | 1090 if (GetMachineType(gate) != MachineType::I64 || GetGateType(gate).IsNJSValueType()) { in IsConstantTaggedValue() 1165 ASSERT(gatePtr->GetMachineType() == MachineType::I64); in GetImmediateId() 1443 MachineType GateAccessor::GetMachineType(GateRef gate) const in GetMachineType() function in GateAccessor 1445 return circuit_->GetMachineType(gate); in GetMachineType() 1480 ASSERT(GetMachineType(gate) == MachineType::F64); in GetFloat64FromConstant() 1493 ASSERT(GetMachineType(gate) == MachineType::I32); in GetInt32FromConstant()
|
H A D | typed_native_inline_lowering.cpp | 658 ASSERT(acc_.GetMachineType(value) == MachineType::I32); in BuildIntAbs() 672 ASSERT(acc_.GetMachineType(value) == MachineType::F64); in BuildDoubleAbs() 844 VariableType type {acc_.GetMachineType(in1), acc_.GetGateType(in1)}; in BuildIntMinMax() 863 ASSERT(acc_.GetMachineType(in1) == MachineType::I32); in BuildIntMinMax() 864 ASSERT(acc_.GetMachineType(in2) == MachineType::I32); in BuildIntMinMax() 885 VariableType type {acc_.GetMachineType(in1), acc_.GetGateType(in1)}; in BuildDoubleMinMax() 928 ASSERT(acc_.GetMachineType(in1) == MachineType::F64); in BuildDoubleMinMax() 929 ASSERT(acc_.GetMachineType(in2) == MachineType::F64); in BuildDoubleMinMax() 2201 if (acc_.GetMachineType(startTag) == MachineType::I64) { in LowerStringSubstring() 2228 if (acc_.GetMachineType(endTa in LowerStringSubstring() [all...] |
H A D | async_function_lowering.cpp | 199 auto machineType = accessor_.GetMachineType(use);
in UpdateValueSelector()
|
H A D | circuit.h | 277 MachineType GetMachineType(GateRef gate) const;
|
H A D | escape_analysis.cpp | 146 MachineType machineType = acc_.GetMachineType(value); in MergeState()
|
H A D | range_analysis.cpp | 41 return acc_.GetMachineType(gate) == MachineType::I32; in IsInt32Type()
|
H A D | number_speculative_retype.cpp | 426 auto machineType = acc_.GetMachineType(gate); in VisitConstant() 1080 MachineType mType = acc_.GetMachineType(gate); in TryConvertConstant() 1112 MachineType mType = acc_.GetMachineType(gate); in TryConvertConstantToInt32() 1870 ASSERT(acc_.GetGateType(gate) != GateType::NJSValue() && acc_.GetMachineType(gate) == MachineType::I64); in UpdateMeta()
|
H A D | hcr_circuit_builder.cpp | 39 MachineType machineType = cs->GetReturnType().GetMachineType(); in NoLabelCallRuntime() 161 MachineType machineType = cs->GetReturnType().GetMachineType(); in Call()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/ |
H A D | llvm_ir_builder.cpp | 1329 auto machineType = acc_.GetMachineType(gate); in VisitConstant() 1371 ASSERT(acc_.GetMachineType(gate) == MachineType::ARCH); in VisitConstString() 1466 auto machineType = acc_.GetMachineType(gate); in VisitMod() 1699 auto machineType = acc_.GetMachineType(gate); in VisitIntRev() 1739 MachineType t = acc_.GetMachineType(gate); in ConvertLLVMTypeFromGate() 1813 auto machineType = acc_.GetMachineType(e1); in VisitTruncFloatToInt() 1835 auto machineType = acc_.GetMachineType(gate); in VisitAdd() 1873 auto machineType = acc_.GetMachineType(gate); in VisitSub() 1902 auto machineType = acc_.GetMachineType(gate); in VisitMul() 1978 ASSERT(acc_.GetMachineType(lef in HandleAddWithOverflow() [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/ |
H A D | litecg_ir_builder.cpp | 131 MachineType t = acc_.GetMachineType(gate); in ConvertLiteCGTypeFromGate() 803 auto machineType = acc_.GetMachineType(gate); in GetConstant() 996 auto machineType = acc_.GetMachineType(gate); in VisitAdd() 1111 [[maybe_unused]] auto e1ValCode = acc_.GetMachineType(e1); in VisitCmp() 1112 [[maybe_unused]] auto e2ValCode = acc_.GetMachineType(e2); in VisitCmp() 1385 ASSERT(GetBitWidthFromMachineType(acc_.GetMachineType(e1)) <= in VisitZExtInt() 1386 GetBitWidthFromMachineType(acc_.GetMachineType(gate))); in VisitZExtInt() 1807 ASSERT(GetBitWidthFromMachineType(acc_.GetMachineType(gate)) == in VisitBitCast() 1808 GetBitWidthFromMachineType(acc_.GetMachineType(e1))); in VisitBitCast() 1846 auto machineType = acc_.GetMachineType(gat in VisitMod() [all...] |