/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
D | method_type_infer.cpp | 112 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 …]
|
D | initialization_analysis.cpp | 77 GateType valueType = acc_.GetGateType(value); in CollectInitializationType() 83 GateType receiverType = acc_.GetGateType(receiver); in CollectInitializationType() 249 auto type = acc_.GetGateType(thisObject_); in StoreThisObject()
|
D | pgo_type_infer.cpp | 226 GateType tsType = acc_.GetGateType(receiver); in UpdateTypeForRWOp() 269 GateType oldType = acc_.GetGateType(propKey); in TrySetPropKeyKind()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | type_info_accessors.h | 113 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 …]
|
D | lcr_circuit_builder.cpp | 87 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()
|
D | type_info_accessors.cpp | 43 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()
|
D | value_numbering.cpp | 171 if (acc_.GetGateType(lhs) != acc_.GetGateType(rhs)) { in CheckReplacement()
|
D | number_speculative_retype.cpp | 215 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 …]
|
D | stub.cpp | 42 acc_.SetGateType(argument, paramsType[i].GetGateType()); in InitializeArguments()
|
D | compiler_log.cpp | 274 GateType leftType = acc_.GetGateType(left); in CollectGateTypeLogInfo() 275 GateType rightType = acc_.GetGateType(right); in CollectGateTypeLogInfo() 293 GateType valueType = acc_.GetGateType(value); in CollectGateTypeLogInfo()
|
D | loop_peeling.cpp | 44 … {merge, value, copyValue}, acc_.GetGateType(value)); in CopyLoopExit() 181 acc_.SetGateType(newGate, acc_.GetGateType(gate)); in SetCopy()
|
D | variable_type.h | 39 [[nodiscard]] GateType GetGateType() const in GetGateType() function
|
D | ts_inline_lowering.cpp | 59 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()
|
D | typed_bytecode_lowering.cpp | 320 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 …]
|
D | gate_accessor.cpp | 435 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 …]
|
D | gate.h | 211 GateType GetGateType() const in GetGateType() function
|
D | circuit.cpp | 386 GateType Circuit::GetGateType(GateRef gate) const in GetGateType() function in panda::ecmascript::kungfu::Circuit 388 return LoadGatePtrConst(gate)->GetGateType(); in GetGateType()
|
D | early_elimination.cpp | 288 if (acc_.GetGateType(lhs).Value() != acc_.GetGateType(rhs).Value()) { in MayAccessOneMemory()
|
D | circuit_builder.cpp | 60 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()
|
D | native_inline_lowering.cpp | 84 GateType funcType = acc_.GetGateType(func); in TryInlineBuiltinsArrayFunc()
|
D | circuit.h | 222 GateType GetGateType(GateRef gate) const;
|
D | number_speculative_lowering.cpp | 295 GateType gateType = acc_.GetGateType(gate); in VisitNumberCalculate() 373 GateType gateType = acc_.GetGateType(gate); in VisitNumberDiv() 400 GateType gateType = acc_.GetGateType(gate); in VisitNumberMod()
|
D | mcr_circuit_builder.cpp | 691 {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()
|
D | frame_states.cpp | 280 auto oldGt = acc_.GetGateType(defAcc).GetGTRef(); in FillBcInputs() 340 GateType type = acc_.GetGateType(gate); in UpdateMoveValues() 573 {loopExit, current}, acc_.GetGateType(current)); in NewLoopExit()
|
D | hcr_circuit_builder.cpp | 39 GateType type = cs->GetReturnType().GetGateType(); in NoLabelCallRuntime() 156 GateType type = cs->GetReturnType().GetGateType(); in Call()
|