/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | gate.h | 137 static size_t GetGateSize(size_t numIns) in GetGateSize() argument 139 numIns = (numIns == 0) ? 1 : numIns; in GetGateSize() 140 return numIns * (sizeof(In) + sizeof(Out)) + sizeof(Gate); in GetGateSize() 142 static size_t GetOutListSize(size_t numIns) in GetOutListSize() argument 144 numIns = (numIns == 0) ? 1 : numIns; in GetOutListSize() 145 return numIns * sizeof(Out); in GetOutListSize() 182 …size_t PrintInGate(size_t numIns, size_t idx, size_t size, bool inListPreview, size_t highlightIdx,
|
D | loop_peeling.cpp | 39 size_t numIns = acc_.GetNumIns(gate); in Peel() local 40 for (size_t i = 0; i < numIns; ++i) { in Peel() 64 GateRef numIns = 2; in Peel() local 66 GateRef merge = circuit_->NewGate(circuit_->Merge(numIns), {exit, copyExit}); in Peel() 72 …GateRef selector = circuit_->NewGate(circuit_->DependSelector(numIns), {merge, depend, copyDepend}… in Peel() 81 … GateRef selector = circuit_->NewGate(circuit_->ValueSelector(numIns), MachineType::I64, in Peel()
|
D | circuit.cpp | 71 Gate *Circuit::AllocateGateSpace(size_t numIns) in AllocateGateSpace() argument 74 … reinterpret_cast<Gate *>(AllocateSpace(Gate::GetGateSize(numIns)) + Gate::GetOutListSize(numIns)); in AllocateGateSpace() 105 GateRef Circuit::NewGate(const GateMetaData *meta, MachineType machineType, size_t numIns, in NewGate() argument 109 if (numIns != meta->GetNumIns()) { in NewGate() 112 … << " expected_num_in=" << meta->GetNumIns() << " actual_num_in=" << numIns; in NewGate() 116 std::vector<Gate *> inPtrList(numIns); in NewGate() 117 auto gateSpace = AllocateGateSpace(numIns); in NewGate() 118 for (size_t idx = 0; idx < numIns; idx++) { in NewGate() 356 auto numIns = LoadGatePtrConst(gate)->GetNumIns(); in DecreaseIn() local 357 for (size_t i = idx; i < numIns - 1; i++) { in DecreaseIn() [all …]
|
D | gate.cpp | 23 const auto numIns = GetNumIns(); in CheckNullInput() local 24 for (size_t idx = 0; idx < numIns; idx++) { in CheckNullInput() 477 auto numIns = GetNumIns(); in Gate() local 478 if (numIns == 0) { in Gate() 483 for (size_t idx = 0; idx < numIns; idx++) { in Gate() 534 auto numIns = GetNumIns(); in DeleteGate() local 535 for (size_t idx = 0; idx < numIns; idx++) { in DeleteGate() 830 size_t Gate::PrintInGate(size_t numIns, size_t idx, size_t size, bool inListPreview, size_t highlig… in PrintInGate() argument 834 for (; idx < numIns; idx++) { in PrintInGate()
|
D | circuit.h | 53 GateRef NewGate(const GateMetaData *meta, MachineType machineType, size_t numIns, 186 …const GateMetaData* TypedCallTargetCheckOp(uint32_t numIns, uint64_t value, TypedCallTargetCheckOp… in TypedCallTargetCheckOp() argument 188 return metaBuilder_.TypedCallTargetCheckOp(numIns, value, checkOp); in TypedCallTargetCheckOp() 242 Gate *AllocateGateSpace(size_t numIns);
|
D | graph_visitor.cpp | 113 auto numIns = acc_.GetNumIns(gate); in VisitTopGate() local 114 for (size_t i = current.GetIndex(); i < numIns; i++) { in VisitTopGate()
|
D | graph_editor.cpp | 97 auto numIns = acc_.GetNumIns(gate); in PropagateMerge() local 98 if (numIns == 1) { in PropagateMerge()
|
D | range_guard.cpp | 129 auto numIns = acc_.GetInValueCount(gate); in TryApplyRangeGuardGate() local 130 for (size_t i = 0; i < numIns; ++i) { in TryApplyRangeGuardGate()
|
D | gate_meta_data_builder.h | 147 …const GateMetaData* TypedCallTargetCheckOp(uint32_t numIns, uint64_t value, TypedCallTargetCheckOp… in TypedCallTargetCheckOp() argument 149 return new (chunk_) TypedCallTargetCheckMetaData(numIns, value, checkOp); in TypedCallTargetCheckOp()
|
D | ts_inline_lowering.cpp | 221 size_t numIns = acc_.GetNumValueIn(gate); in CheckParameter() local 225 return declaredNumArgs == (numIns - fixedInputsNum); in CheckParameter() 233 size_t numIns = acc_.GetNumValueIn(gate); in ReplaceCallInput() local 235 GateRef callTarget = acc_.GetValueIn(gate, numIns - 1); in ReplaceCallInput() 246 size_t actualArgc = numIns + NUM_MANDATORY_JSFUNC_ARGS - fixedInputsNum; in ReplaceCallInput() 257 for (size_t i = fixedInputsNum - 1; i < numIns - 1; i++) { in ReplaceCallInput()
|
D | verifier.cpp | 299 size_t numIns; in RunFlowCyclesFind() member 314 auto &numIns = curState.numIns; in RunFlowCyclesFind() local 316 if (idx == numIns) { in RunFlowCyclesFind()
|
D | early_elimination.cpp | 141 auto numIns = acc_.GetNumValueIn(gate); in TryEliminateGate() local 142 for (size_t i = 0; i < numIns; ++i) { in TryEliminateGate()
|
D | slowpath_lowering.cpp | 927 size_t numIns = acc_.GetNumValueIn(gate); in LowerCallthisrangeImm8Imm8V8() local 931 GateRef callTarget = acc_.GetValueIn(gate, numIns - callTargetIndex); // acc in LowerCallthisrangeImm8Imm8V8() 936 for (size_t i = fixedInputsNum; i < numIns - callTargetIndex; i++) { in LowerCallthisrangeImm8Imm8V8() 941 for (size_t i = fixedInputsNum; i < numIns - callTargetIndex; i++) { in LowerCallthisrangeImm8Imm8V8() 952 size_t numIns = acc_.GetNumValueIn(gate); in LowerWideCallthisrangePrefImm16V8() local 956 GateRef callTarget = acc_.GetValueIn(gate, numIns - callTargetIndex); in LowerWideCallthisrangePrefImm16V8() 961 for (size_t i = fixedInputsNum; i < numIns - callTargetIndex; i++) { in LowerWideCallthisrangePrefImm16V8() 966 for (size_t i = fixedInputsNum; i < numIns - callTargetIndex; i++) { in LowerWideCallthisrangePrefImm16V8() 1600 size_t numIns = acc_.GetNumValueIn(gate); in LowerSuperCall() local 1602 for (size_t i = 0; i < numIns; i++) { in LowerSuperCall() [all …]
|
D | graph_linearizer.cpp | 591 auto numIns = acc_.GetNumIns(curGate); in Prepare() local 592 for (size_t i = 0; i < numIns; i++) { in Prepare()
|
D | ts_hcr_lowering.cpp | 1444 size_t numIns = acc_.GetNumValueIn(gate); in LowerTypedCallthisrange() local 1448 GateRef func = acc_.GetValueIn(gate, numIns - callTargetIndex); // acc in LowerTypedCallthisrange() 1452 LowerTypedThisCall(gate, func, actualArgc, numIns - callTargetIndex - fixedInputsNum); in LowerTypedCallthisrange()
|
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
D | initialization_analysis.cpp | 256 uint32_t numIns = acc_.GetNumValueIn(gate); in CheckThisAsValueIn() local 257 for (uint32_t i = 0; i < numIns; ++i) { in CheckThisAsValueIn()
|