Home
last modified time | relevance | path

Searched refs:numIns (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Dgate.h137 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,
Dloop_peeling.cpp39 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()
Dcircuit.cpp71 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 …]
Dgate.cpp23 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()
Dcircuit.h53 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);
Dgraph_visitor.cpp113 auto numIns = acc_.GetNumIns(gate); in VisitTopGate() local
114 for (size_t i = current.GetIndex(); i < numIns; i++) { in VisitTopGate()
Dgraph_editor.cpp97 auto numIns = acc_.GetNumIns(gate); in PropagateMerge() local
98 if (numIns == 1) { in PropagateMerge()
Drange_guard.cpp129 auto numIns = acc_.GetInValueCount(gate); in TryApplyRangeGuardGate() local
130 for (size_t i = 0; i < numIns; ++i) { in TryApplyRangeGuardGate()
Dgate_meta_data_builder.h147 …const GateMetaData* TypedCallTargetCheckOp(uint32_t numIns, uint64_t value, TypedCallTargetCheckOp… in TypedCallTargetCheckOp() argument
149 return new (chunk_) TypedCallTargetCheckMetaData(numIns, value, checkOp); in TypedCallTargetCheckOp()
Dts_inline_lowering.cpp221 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()
Dverifier.cpp299 size_t numIns; in RunFlowCyclesFind() member
314 auto &numIns = curState.numIns; in RunFlowCyclesFind() local
316 if (idx == numIns) { in RunFlowCyclesFind()
Dearly_elimination.cpp141 auto numIns = acc_.GetNumValueIn(gate); in TryEliminateGate() local
142 for (size_t i = 0; i < numIns; ++i) { in TryEliminateGate()
Dslowpath_lowering.cpp927 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 …]
Dgraph_linearizer.cpp591 auto numIns = acc_.GetNumIns(curGate); in Prepare() local
592 for (size_t i = 0; i < numIns; i++) { in Prepare()
Dts_hcr_lowering.cpp1444 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/
Dinitialization_analysis.cpp256 uint32_t numIns = acc_.GetNumValueIn(gate); in CheckThisAsValueIn() local
257 for (uint32_t i = 0; i < numIns; ++i) { in CheckThisAsValueIn()