Home
last modified time | relevance | path

Searched refs:GetMachineType (Results 1 - 25 of 32) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/tests/
H A Dtyped_array_lowering_test.cpp68 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 Dconstant_folding.cpp52 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 Dinstruction_combine.cpp176 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 Dloop_peeling.cpp42 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 Dlcr_circuit_builder.cpp31 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 Dvalue_numbering.cpp176 if (acc_.GetMachineType(lhs) != acc_.GetMachineType(rhs)) { in CheckReplacement()
H A Dstub.cpp40 acc_.SetMachineType(argument, paramsType[i].GetMachineType()); in InitializeArguments()
H A Dgate_matchers.h59 return acc_.GetMachineType(gate_); in MachineType()
125 if (acc_.GetOpCode(gate) == kOpcode && acc_.GetMachineType(gate) == kMachineType) { in ValueMatcher()
H A Dvariable_type.h34 [[nodiscard]] MachineType GetMachineType() const in GetMachineType() function in panda::ecmascript::kungfu::VariableType
H A Dgate.cpp49 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 Dlcr_circuit_builder.h322 auto xType = acc_.GetMachineType(x); in Equal()
343 auto xType = acc_.GetMachineType(x); in NotEqual()
H A Dpost_schedule.cpp450 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 Dcircuit.cpp411 MachineType Circuit::GetMachineType(GateRef gate) const in GetMachineType() function in panda::ecmascript::kungfu::Circuit
413 return LoadGatePtrConst(gate)->GetMachineType(); in GetMachineType()
H A Dearly_elimination.cpp386 if (acc_.GetMachineType(lhs) != acc_.GetMachineType(rhs)) { in CheckReplacement()
H A Dgate.h206 MachineType GetMachineType() const in GetMachineType() function in panda::ecmascript::kungfu::Gate
H A Dgate_accessor.cpp1090 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 Dtyped_native_inline_lowering.cpp658 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 Dasync_function_lowering.cpp199 auto machineType = accessor_.GetMachineType(use); in UpdateValueSelector()
H A Dcircuit.h277 MachineType GetMachineType(GateRef gate) const;
H A Descape_analysis.cpp146 MachineType machineType = acc_.GetMachineType(value); in MergeState()
H A Drange_analysis.cpp41 return acc_.GetMachineType(gate) == MachineType::I32; in IsInt32Type()
H A Dnumber_speculative_retype.cpp426 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 Dhcr_circuit_builder.cpp39 MachineType machineType = cs->GetReturnType().GetMachineType(); in NoLabelCallRuntime()
161 MachineType machineType = cs->GetReturnType().GetMachineType(); in Call()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_ir_builder.cpp1329 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 Dlitecg_ir_builder.cpp131 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...]

Completed in 44 milliseconds

12