Home
last modified time | relevance | path

Searched refs:inList (Results 1 – 7 of 7) sorted by relevance

/ark/js_runtime/ecmascript/compiler/
Dcircuit_builder.cpp28 GateRef CircuitBuilder::NewMerge(GateRef *inList, size_t controlCount) in NewMerge() argument
30 …return circuit_->NewGate(OpCode(OpCode::MERGE), controlCount, controlCount, inList, GateType::EMPT… in NewMerge()
35 std::vector<GateRef> inList; in NewSelectorGate() local
36 inList.push_back(control); in NewSelectorGate()
38 inList.push_back(Circuit::NullGate()); in NewSelectorGate()
41 return circuit_->NewGate(opCode, valueCounts, inList, StubMachineType2GateType(type)); in NewSelectorGate()
47 std::vector<GateRef> inList; in NewSelectorGate() local
48 inList.push_back(control); in NewSelectorGate()
50 inList.push_back(values[i]); in NewSelectorGate()
53 return circuit_->NewGate(opCode, valueCounts, inList, StubMachineType2GateType(type)); in NewSelectorGate()
[all …]
Dcircuit.cpp61 …Gate(OpCode opcode, MachineType bitValue, BitField bitfield, size_t numIns, const GateRef inList[], in NewGate() argument
77 inPtrList[idx] = (inList[idx] == Circuit::NullGate()) ? nullptr : LoadGatePtr(inList[idx]); in NewGate()
85 …NewGate(OpCode opcode, MachineType bitValue, BitField bitfield, const std::vector<GateRef> &inList, in NewGate() argument
88 return NewGate(opcode, bitValue, bitfield, inList.size(), inList.data(), type, mark); in NewGate()
92 GateRef Circuit::NewGate(OpCode opcode, BitField bitfield, size_t numIns, const GateRef inList[], G… in NewGate() argument
108 inPtrList[idx] = (inList[idx] == Circuit::NullGate()) ? nullptr : LoadGatePtr(inList[idx]); in NewGate()
117 GateRef Circuit::NewGate(OpCode opcode, BitField bitfield, const std::vector<GateRef> &inList, Gate… in NewGate() argument
120 return NewGate(opcode, bitfield, inList.size(), inList.data(), type, mark); in NewGate()
Dcircuit.h44 … NewGate(OpCode op, MachineType bitValue, BitField bitfield, size_t numIns, const GateRef inList[],
46 …Ref NewGate(OpCode op, MachineType bitValue, BitField bitfield, const std::vector<GateRef> &inList,
48 …GateRef NewGate(OpCode op, BitField bitfield, size_t numIns, const GateRef inList[], GateType type,
50 GateRef NewGate(OpCode op, BitField bitfield, const std::vector<GateRef> &inList, GateType type,
Dllvm_ir_builder.cpp455 void LLVMIRBuilder::VisitRuntimeCall(GateRef gate, const std::vector<GateRef> &inList) in VisitRuntimeCall() argument
463 … LLVMValueRef glue = gateToLLVMMaps_[inList[2]]; // 2 : 2 means skip two input gates (target glue) in VisitRuntimeCall()
474 int index = circuit_->GetBitField(inList[1]); in VisitRuntimeCall()
477 …params[3] = LLVMConstInt(LLVMInt64Type(), inList.size() - paraStartIndex, 0); // 3 : 3 means fourt… in VisitRuntimeCall()
478 for (size_t paraIdx = paraStartIndex; paraIdx < inList.size(); ++paraIdx) { in VisitRuntimeCall()
479 GateRef gateTmp = inList[paraIdx]; in VisitRuntimeCall()
486 LLVMValueRef runtimeCall = LLVMBuildCall(builder_, callee, params, inList.size() + 1, ""); in VisitRuntimeCall()
560 void LLVMIRBuilder::VisitCall(GateRef gate, const std::vector<GateRef> &inList) in VisitCall() argument
563 int index = circuit_->GetBitField(inList[1]); in VisitCall()
570 … LLVMValueRef glue = gateToLLVMMaps_[inList[2]]; // 2 : 2 means skip two input gates (target glue) in VisitCall()
[all …]
Dllvm_ir_builder.h162 V(Call, (GateRef gate, const std::vector<GateRef> &inList)) \
163 V(RuntimeCall, (GateRef gate, const std::vector<GateRef> &inList)) \
164 V(BytecodeCall, (GateRef gate, const std::vector<GateRef> &inList)) \
Dgate.h285 …Gate(GateId id, OpCode opcode, MachineType bitValue, BitField bitfield, Gate *inList[], GateType t…
287 Gate(GateId id, OpCode opcode, BitField bitfield, Gate *inList[], GateType type, MarkCode mark);
Dgate.cpp763 Gate::Gate(GateId id, OpCode opcode, MachineType bitValue, BitField bitfield, Gate *inList[], GateT… in Gate() argument
771 auto in = inList[idx]; in Gate()
782 Gate::Gate(GateId id, OpCode opcode, BitField bitfield, Gate *inList[], GateType type, MarkCode mar… in Gate() argument
788 auto in = inList[idx]; in Gate()