/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | graph_editor.cpp | 123 std::set<GateRef> inList; in EliminatePhi() local 127 inList.insert(gate); in EliminatePhi() 152 inList.erase(cur); in EliminatePhi() 156 if (((*it) == cur) || (!acc_.IsValueSelector(*it)) || inList.count(*it)) { in EliminatePhi() 161 inList.insert(*it); in EliminatePhi() 165 for (auto phi : inList) { in EliminatePhi()
|
D | llvm_ir_builder.h | 306 V(Call, (GateRef gate, const std::vector<GateRef> &inList, OpCode op)) \ 307 V(RuntimeCall, (GateRef gate, const std::vector<GateRef> &inList)) \ 308 V(RuntimeCallWithArgv, (GateRef gate, const std::vector<GateRef> &inList)) \ 309 V(NoGcRuntimeCall, (GateRef gate, const std::vector<GateRef> &inList)) \ 310 V(BytecodeCall, (GateRef gate, const std::vector<GateRef> &inList)) \ 419 LLVMValueRef GetCallee(const std::vector<GateRef> &inList, const CallSignature *signature, 507 LLVMValueRef GetGlue(const std::vector<GateRef> &inList); 517 const std::vector<GateRef> &inList, CallExceptionKind kind);
|
D | llvm_ir_builder.cpp | 556 void LLVMIRBuilder::VisitRuntimeCall(GateRef gate, const std::vector<GateRef> &inList) in VisitRuntimeCall() argument 560 LLVMValueRef glue = GetGlue(inList); in VisitRuntimeCall() 570 ComputeArgCountAndPCOffset(actualNumArgs, pcOffset, inList, kind); in VisitRuntimeCall() 574 …const int index = static_cast<int>(acc_.GetConstantValue(inList[static_cast<int>(CallInputs::TARGE… in VisitRuntimeCall() 579 GateRef gateTmp = inList[paraIdx]; in VisitRuntimeCall() 625 void LLVMIRBuilder::VisitRuntimeCallWithArgv(GateRef gate, const std::vector<GateRef> &inList) in VisitRuntimeCallWithArgv() argument 629 LLVMValueRef glue = GetGlue(inList); in VisitRuntimeCallWithArgv() 639 uint64_t index = acc_.GetConstantValue(inList[static_cast<size_t>(CallInputs::TARGET)]); in VisitRuntimeCallWithArgv() 642 …for (size_t paraIdx = static_cast<size_t>(CallInputs::FIRST_PARAMETER); paraIdx < inList.size(); +… in VisitRuntimeCallWithArgv() 643 GateRef gateTmp = inList[paraIdx]; in VisitRuntimeCallWithArgv() [all …]
|
D | circuit.cpp | 106 const GateRef inList[], GateType type, const char* comment) in NewGate() argument 120 inPtrList[idx] = (inList[idx] == Circuit::NullGate()) ? nullptr : LoadGatePtr(inList[idx]); in NewGate() 133 GateRef Circuit::NewGate(const GateMetaData *meta, const std::vector<GateRef> &inList, const char* … in NewGate() argument 135 …return NewGate(meta, MachineType::NOVALUE, inList.size(), inList.data(), GateType::Empty(), commen… in NewGate()
|
D | bytecode_circuit_builder.cpp | 703 std::vector<GateRef> inList(numValues, Circuit::NullGate()); in CreateGateInList() local 708 inList[i + length] = circuit_->GetConstantGate(MachineType::I64, in CreateGateInList() 712 inList[i + length] = circuit_->GetConstantGate(MachineType::I64, in CreateGateInList() 716 inList[i + length] = circuit_->GetConstantGate(MachineType::I16, in CreateGateInList() 728 inList[inputSize + length] = GetFrameArgs(); in CreateGateInList() 730 return inList; in CreateGateInList() 889 std::vector<GateRef> inList = CreateGateInList(bytecodeInfo, meta); in NewJSGate() local 891 gate = circuit_->NewGate(meta, MachineType::I64, inList.size(), in NewJSGate() 892 inList.data(), GateType::AnyType()); in NewJSGate() 894 gate = circuit_->NewGate(meta, MachineType::NOVALUE, inList.size(), in NewJSGate() [all …]
|
D | loop_peeling.cpp | 123 std::vector<GateRef> inList(acc_.GetNumIns(gate), Circuit::NullGate()); in SetCopy() local 124 GateRef newGate = circuit_->NewGate(acc_.GetMetaData(gate), inList); in SetCopy()
|
D | circuit.h | 49 …GateRef NewGate(const GateMetaData *meta, const std::vector<GateRef> &inList, const char* comment … 54 const GateRef inList[], GateType type, const char* comment = nullptr);
|
D | circuit_builder.cpp | 28 GateRef CircuitBuilder::Merge(const std::vector<GateRef> &inList) in Merge() argument 30 return circuit_->NewGate(circuit_->Merge(inList.size()), inList); in Merge() 36 std::vector<GateRef> inList; in Selector() local 37 inList.push_back(control); in Selector() 40 inList.push_back(Circuit::NullGate()); in Selector() 44 inList.push_back(values[i]); in Selector() 50 return circuit_->NewGate(meta, machineType, inList.size(), inList.data(), type.GetGateType()); in Selector() 702 const std::vector<GateRef>& inList) in TypeConvert() argument 707 type, inList.size(), inList.data(), GateType::AnyType()); in TypeConvert() 711 const std::vector<GateRef>& inList) in TypedConditionJump() argument [all …]
|
D | frame_states.cpp | 44 std::vector<GateRef> inList(frameStateInputs, Circuit::NullGate()); in BuildFrameValues() local 53 inList[i] = value; in BuildFrameValues() 55 return circuit_->NewGate(circuit_->FrameValues(frameStateInputs), inList); in BuildFrameValues()
|
D | loop_analysis.cpp | 180 ChunkSet<GateRef> inList(chunk_); in LoopExitElimination() local
|
D | gate.h | 136 … Gate(const GateMetaData* meta, GateId id, Gate *inList[], MachineType machineType, GateType type);
|
D | gate.cpp | 474 Gate::Gate(const GateMetaData* meta, GateId id, Gate *inList[], MachineType machineType, GateType t… in Gate() argument 485 auto in = inList[idx]; in Gate()
|
D | circuit_builder.h | 277 …eConvert(MachineType type, GateType typeFrom, GateType typeTo, const std::vector<GateRef>& inList); 322 const std::vector<GateRef>& inList); 327 GateRef Merge(const std::vector<GateRef> &inList);
|