Home
last modified time | relevance | path

Searched refs:GetMachineType (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dtyped_array_lowering_test.cpp66 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0()
96 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0()
133 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0()
165 EXPECT_EQ(acc.GetMachineType(result), MachineType::F64); in HWTEST_F_L0()
197 EXPECT_EQ(acc.GetMachineType(result), MachineType::F64); in HWTEST_F_L0()
200 EXPECT_EQ(acc.GetMachineType(load), MachineType::F32); in HWTEST_F_L0()
232 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0()
235 EXPECT_EQ(acc.GetMachineType(load), MachineType::I8); in HWTEST_F_L0()
267 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0()
270 EXPECT_EQ(acc.GetMachineType(load), MachineType::I8); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
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()
Dlcr_circuit_builder.cpp28 return type.GetMachineType(); in GetMachineTypeFromVariableType()
54 ASSERT(acc_.GetMachineType(index) == MachineType::I32); in ExtractValue()
137 GateRef result = GetCircuit()->NewGate(GetCircuit()->Load(bits), type.GetMachineType(), in Load()
148 GateRef result = GetCircuit()->NewGate(GetCircuit()->Load(bits), type.GetMachineType(), in Load()
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()
Dinstruction_combine.cpp293 if (acc_.GetOpCode(revValue) == OpCode::CONSTANT && acc_.GetMachineType(revValue) == I1) { in VisitREV()
351 auto machineType = acc_.GetMachineType(gate); in VisitADD()
367 auto machineType = acc_.GetMachineType(gate); in VisitSUB()
383 auto machineType = acc_.GetMachineType(gate); in VisitMUL()
399 auto machineType = acc_.GetMachineType(gate); in VisitSDIV()
413 auto machineType = acc_.GetMachineType(gate); in VisitFDIV()
425 auto machineType = acc_.GetMachineType(gate); in VisitSMOD()
440 auto machineType = acc_.GetMachineType(gate); in VisitAND()
454 auto machineType = acc_.GetMachineType(gate); in VisitOR()
468 auto machineType = acc_.GetMachineType(gate); in VisitXOR()
[all …]
Dvalue_numbering.cpp175 if (acc_.GetMachineType(lhs) != acc_.GetMachineType(rhs)) { in CheckReplacement()
Dstub.cpp40 acc_.SetMachineType(argument, paramsType[i].GetMachineType()); in InitializeArguments()
Dllvm_ir_builder.cpp1206 auto machineType = acc_.GetMachineType(gate); in VisitConstant()
1248 ASSERT(acc_.GetMachineType(gate) == MachineType::ARCH); in VisitConstString()
1338 auto machineType = acc_.GetMachineType(gate); in VisitMod()
1571 auto machineType = acc_.GetMachineType(gate); in VisitIntRev()
1611 MachineType t = acc_.GetMachineType(gate); in ConvertLLVMTypeFromGate()
1685 auto machineType = acc_.GetMachineType(e1); in VisitTruncFloatToInt()
1707 auto machineType = acc_.GetMachineType(gate); in VisitAdd()
1745 auto machineType = acc_.GetMachineType(gate); in VisitSub()
1774 auto machineType = acc_.GetMachineType(gate); in VisitMul()
1850 ASSERT(acc_.GetMachineType(left) == MachineType::I32); in HandleAddWithOverflow()
[all …]
Dlitecg_ir_builder.cpp124 MachineType t = acc_.GetMachineType(gate); in ConvertLiteCGTypeFromGate()
342 auto machineType = acc_.GetMachineType(gate); in GetConstant()
570 auto machineType = acc_.GetMachineType(gate); in VisitAdd()
685 [[maybe_unused]] auto e1ValCode = acc_.GetMachineType(e1); in VisitCmp()
686 [[maybe_unused]] auto e2ValCode = acc_.GetMachineType(e2); in VisitCmp()
950 ASSERT(GetBitWidthFromMachineType(acc_.GetMachineType(e1)) <= in VisitZExtInt()
951 GetBitWidthFromMachineType(acc_.GetMachineType(gate))); in VisitZExtInt()
1360 ASSERT(GetBitWidthFromMachineType(acc_.GetMachineType(gate)) == in VisitBitCast()
1361 GetBitWidthFromMachineType(acc_.GetMachineType(e1))); in VisitBitCast()
1399 auto machineType = acc_.GetMachineType(gate); in VisitMod()
[all …]
Dvariable_type.h34 [[nodiscard]] MachineType GetMachineType() const in GetMachineType() function
Dgate.cpp49 MachineType actual = GetInGateConst(idx)->GetMachineType(); in CheckInputMachineType()
51 expected = GetMachineType(); in CheckInputMachineType()
67 MachineType actual = GetInGateConst(idx)->GetMachineType(); in CheckNotInputMachineType()
739 log += "\"MType\":\"" + MachineTypeStr(GetMachineType()) + ", "; in Print()
798 log += "\"MType\"=\"" + MachineTypeStr(GetMachineType()) + ", "; in ShortPrint()
Dgate_matchers.h59 return acc_.GetMachineType(gate_); in MachineType()
125 if (acc_.GetOpCode(gate) == kOpcode && acc_.GetMachineType(gate) == kMachineType) { in ValueMatcher()
Dlcr_circuit_builder.h323 auto xType = acc_.GetMachineType(x); in Equal()
344 auto xType = acc_.GetMachineType(x); in NotEqual()
Dgate.h203 MachineType GetMachineType() const in GetMachineType() function
Dcircuit.cpp391 MachineType Circuit::GetMachineType(GateRef gate) const in GetMachineType() function in panda::ecmascript::kungfu::Circuit
393 return LoadGatePtrConst(gate)->GetMachineType(); in GetMachineType()
Dcircuit.h224 MachineType GetMachineType(GateRef gate) const;
Drange_analysis.cpp41 return acc_.GetMachineType(gate) == MachineType::I32; in IsInt32Type()
Dgate_accessor.cpp1080 ASSERT(gatePtr->GetMachineType() == MachineType::I64); in GetImmediateId()
1354 MachineType GateAccessor::GetMachineType(GateRef gate) const in GetMachineType() function in panda::ecmascript::kungfu::GateAccessor
1356 return circuit_->GetMachineType(gate); in GetMachineType()
1391 ASSERT(GetMachineType(gate) == MachineType::F64); in GetFloat64FromConstant()
1404 ASSERT(GetMachineType(gate) == MachineType::I32); in GetInt32FromConstant()
Dhcr_circuit_builder.cpp38 MachineType machineType = cs->GetReturnType().GetMachineType(); in NoLabelCallRuntime()
155 MachineType machineType = cs->GetReturnType().GetMachineType(); in Call()
Dasync_function_lowering.cpp196 auto machineType = accessor_.GetMachineType(use); in UpdateValueSelector()
Dcircuit_builder.cpp129 auto machineType = acc_.GetMachineType(value); in LoopExitValue()
298 auto machineType = acc_.GetMachineType(gate); in ClearConstantCache()
Dmcr_lowering.cpp142 VariableType type = VariableType(acc_.GetMachineType(gate), acc_.GetGateType(gate)); in LowerLoadConstOffset()
166 VariableType type = VariableType(acc_.GetMachineType(gate), acc_.GetGateType(gate)); in LowerStoreConstOffset()
Dmcr_circuit_builder.cpp690 auto ret = GetCircuit()->NewGate(GetCircuit()->StoreMemory(opIdx), type.GetMachineType(), in StoreMemory()
753 auto ret = GetCircuit()->NewGate(circuit_->LoadConstOffset(bits), type.GetMachineType(), in LoadConstOffset()
776 auto ret = GetCircuit()->NewGate(circuit_->StoreConstOffset(bits), type.GetMachineType(), in StoreConstOffset()
Dnumber_speculative_retype.cpp216 auto machineType = acc_.GetMachineType(gate); in VisitConstant()
840 MachineType mType = acc_.GetMachineType(gate); in TryConvertConstant()
Dgate_accessor.h483 MachineType GetMachineType(GateRef gate) const;

12