Home
last modified time | relevance | path

Searched refs:GetGateType (Results 1 – 25 of 33) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dmethod_type_infer.cpp112 auto loopType = gateAccessor_.GetGateType(curGate); in UpdateQueueForLoopPhi()
114 auto loopBackType = gateAccessor_.GetGateType(loopBackGate); in UpdateQueueForLoopPhi()
134 GateType preType = gateAccessor_.GetGateType(gate); in UpdateType()
207 return UpdateType(gate, gateAccessor_.GetGateType(gateAccessor_.GetValueIn(gate))); in Infer()
389 auto valueInType = gateAccessor_.GetGateType(*it); in InferPhiGate()
473 auto gateType = gateAccessor_.GetGateType(gateAccessor_.GetValueIn(gate, 0)); in InferThrow()
480 auto gateType = gateAccessor_.GetGateType(gateAccessor_.GetValueIn(gate, 0)); in InferTypeOf()
498 auto firInType = gateAccessor_.GetGateType(gateAccessor_.GetValueIn(gate, 0)); in InferAdd2()
499 auto secInType = gateAccessor_.GetGateType(gateAccessor_.GetValueIn(gate, 1)); in InferAdd2()
529 auto firInType = gateAccessor_.GetGateType(gateAccessor_.GetValueIn(gate, 0)); in InferSub2()
[all …]
Dinitialization_analysis.cpp77 GateType valueType = acc_.GetGateType(value); in CollectInitializationType()
83 GateType receiverType = acc_.GetGateType(receiver); in CollectInitializationType()
249 auto type = acc_.GetGateType(thisObject_); in StoreThisObject()
Dpgo_type_infer.cpp226 GateType tsType = acc_.GetGateType(receiver); in UpdateTypeForRWOp()
269 GateType oldType = acc_.GetGateType(propKey); in TrySetPropKeyKind()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtype_info_accessors.h113 return acc_.GetGateType(value_); in GetValueGateType()
203 return tsManager_->IsClassTypeKind(acc_.GetGateType(ctor_)); in IsClassTypeKind()
208 return tsManager_->IsFunctionTypeKind(acc_.GetGateType(ctor_)); in IsFunctionTypeKind()
242 return acc_.GetGateType(func_); in GetFuncGateType()
247 return tsManager_->IsFunctionTypeKind(acc_.GetGateType(func_)); in IsFunctionTypeKind()
297 return acc_.GetGateType(func_).GetGTRef(); in GetFunctionGT()
342 return acc_.GetGateType(value_); in GetValueGateType()
422 return acc_.GetGateType(a0_).IsNumberType(); in Arg0IsNumberType()
501 return tsManager_->IsFunctionTypeKind(acc_.GetGateType(receiver_)); in IsFunctionTypeKind()
506 return tsManager_->IsClassInstanceTypeKind(acc_.GetGateType(receiver_)); in IsClassInstanceTypeKind()
[all …]
Dlcr_circuit_builder.cpp87 gateType = acc_.GetGateType(left); in BinaryArithmetic()
105 MachineType::NOVALUE, { depend, value, ptr }, type.GetGateType()); in StoreWithNoBarrier()
138 { depend, val }, type.GetGateType()); in Load()
149 { depend, val }, type.GetGateType()); in Load()
Dtype_info_accessors.cpp43 return !acc.GetGateType(gate).IsIntType(); in IsTrustedType()
54 return !acc.GetGateType(gate).IsIntType(); in IsTrustedType()
112 GateType leftType = acc_.GetGateType(left_); in HasNumberType()
113 GateType rightType = acc_.GetGateType(right_); in HasNumberType()
131 GateType leftType = acc_.GetGateType(left_); in HasStringType()
132 GateType rightType = acc_.GetGateType(right_); in HasStringType()
205 GateType funcType = acc_.GetGateType(func_); in TryGetBuiltinId()
261 GateType funcType = acc_.GetGateType(func_); in CanOptimizeAsFastCall()
326 GateType receiverType = acc_.GetGateType(receiver_); in GetAccessorFuncGT()
Dvalue_numbering.cpp171 if (acc_.GetGateType(lhs) != acc_.GetGateType(rhs)) { in CheckReplacement()
Dnumber_speculative_retype.cpp215 if (acc_.GetGateType(gate).IsNJSValueType()) { in VisitConstant()
467 GateType gateType = acc_.GetGateType(gate); in VisitNumberCalculate()
629 GateType inputType = acc_.GetGateType(input); in VisitNumberRelated()
760 GateType gateType = acc_.GetGateType(gate); in ConvertForBinaryOp()
839 if (acc_.GetGateType(gate).IsNJSValueType()) { in TryConvertConstant()
1034 GateType value0Type = acc_.GetGateType(value0); in VisitRangeCheckPredicate()
1035 GateType value1Type = acc_.GetGateType(value1); in VisitRangeCheckPredicate()
1056 GateType receiverType = acc_.GetGateType(receiver); in VisitIndexCheck()
1057 GateType indexType = acc_.GetGateType(index); in VisitIndexCheck()
1113 GateType indexType = acc_.GetGateType(index); in VisitLoadElement()
[all …]
Dstub.cpp42 acc_.SetGateType(argument, paramsType[i].GetGateType()); in InitializeArguments()
Dcompiler_log.cpp274 GateType leftType = acc_.GetGateType(left); in CollectGateTypeLogInfo()
275 GateType rightType = acc_.GetGateType(right); in CollectGateTypeLogInfo()
293 GateType valueType = acc_.GetGateType(value); in CollectGateTypeLogInfo()
Dloop_peeling.cpp44 … {merge, value, copyValue}, acc_.GetGateType(value)); in CopyLoopExit()
181 acc_.SetGateType(newGate, acc_.GetGateType(gate)); in SetCopy()
Dvariable_type.h39 [[nodiscard]] GateType GetGateType() const in GetGateType() function
Dts_inline_lowering.cpp59 auto funcType = acc_.GetGateType(func); in GetInlinedMethodId()
503 if (acc_.GetGateType(args.at(i)).IsAnyType()) { in LowerToInlineCall()
504 acc_.SetGateType(args.at(i), acc_.GetGateType(arg)); in LowerToInlineCall()
559 …builder_.ObjectTypeCheck(acc_.GetGateType(gate), noNeedCheckHeapObject, receiver, builder_.Int32(r… in InlineAccessorCheck()
615 GateType callGateType = acc_.GetGateType(callGate); in SupplementType()
616 GateType targetGateType = acc_.GetGateType(targetGate); in SupplementType()
Dtyped_bytecode_lowering.cpp320 GateType leftType = acc_.GetGateType(left); in LowerTypedEqOrNotEq()
321 GateType rightType = acc_.GetGateType(right); in LowerTypedEqOrNotEq()
322 GateType gateType = acc_.GetGateType(gate); in LowerTypedEqOrNotEq()
349 GateType leftType = acc_.GetGateType(left); in SpeculateStrings()
350 GateType rightType = acc_.GetGateType(right); in SpeculateStrings()
351 GateType gateType = acc_.GetGateType(gate); in SpeculateStrings()
366 GateType leftType = acc_.GetGateType(left); in SpeculateNumbers()
367 GateType rightType = acc_.GetGateType(right); in SpeculateNumbers()
368 GateType gateType = acc_.GetGateType(gate); in SpeculateNumbers()
381 GateType valueType = acc_.GetGateType(value); in SpeculateNumber()
[all …]
Dgate_accessor.cpp435 return accessor.GetGateType(); in GetParamGateType()
801 return GetGateType(gate).IsGCRelated(); in IsGCRelated()
1078 ASSERT(gatePtr->GetGateType() == GateType::NJSValue()); in GetImmediateId()
1103 GateType GateAccessor::GetGateType(GateRef gate) const in GetGateType() function in panda::ecmascript::kungfu::GateAccessor
1105 return circuit_->LoadGatePtr(gate)->GetGateType(); in GetGateType()
1217 auto type = GetGateType(hirGate); in ReplaceHirAndDeleteIfException()
1377 if (GetGateType(gate).IsNJSValueType() || in IsConstantNumber()
1390 if (GetGateType(gate).IsNJSValueType()) { in GetFloat64FromConstant()
1403 if (GetGateType(gate).IsNJSValueType()) { in GetInt32FromConstant()
1473 GateType type = GetGateType(gate); in ReplaceGate()
[all …]
Dgate.h211 GateType GetGateType() const in GetGateType() function
Dcircuit.cpp386 GateType Circuit::GetGateType(GateRef gate) const in GetGateType() function in panda::ecmascript::kungfu::Circuit
388 return LoadGatePtrConst(gate)->GetGateType(); in GetGateType()
Dearly_elimination.cpp288 if (acc_.GetGateType(lhs).Value() != acc_.GetGateType(rhs).Value()) { in MayAccessOneMemory()
Dcircuit_builder.cpp60 return circuit_->NewGate(meta, machineType, inList.size(), inList.data(), type.GetGateType()); in Selector()
130 auto gateType = acc_.GetGateType(value); in LoopExitValue()
300 auto gateType = acc_.GetGateType(gate); in ClearConstantCache()
878 GateType type = acc.GetGateType(phi); in TryRemoveTrivialPhi()
Dnative_inline_lowering.cpp84 GateType funcType = acc_.GetGateType(func); in TryInlineBuiltinsArrayFunc()
Dcircuit.h222 GateType GetGateType(GateRef gate) const;
Dnumber_speculative_lowering.cpp295 GateType gateType = acc_.GetGateType(gate); in VisitNumberCalculate()
373 GateType gateType = acc_.GetGateType(gate); in VisitNumberDiv()
400 GateType gateType = acc_.GetGateType(gate); in VisitNumberMod()
Dmcr_circuit_builder.cpp691 {currentControl, currentDepend, receiver, index, value}, type.GetGateType()); in StoreMemory()
754 { currentDepend, receiver }, type.GetGateType()); in LoadConstOffset()
777 { currentControl, currentDepend, receiver, value }, type.GetGateType()); in StoreConstOffset()
885 { currentDepend, value }, acc_.GetGateType(value)); in FinishAllocate()
996 GateType arrayType = acc_.GetGateType(array); in InsertLoadArrayLength()
Dframe_states.cpp280 auto oldGt = acc_.GetGateType(defAcc).GetGTRef(); in FillBcInputs()
340 GateType type = acc_.GetGateType(gate); in UpdateMoveValues()
573 {loopExit, current}, acc_.GetGateType(current)); in NewLoopExit()
Dhcr_circuit_builder.cpp39 GateType type = cs->GetReturnType().GetGateType(); in NoLabelCallRuntime()
156 GateType type = cs->GetReturnType().GetGateType(); in Call()

12