/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | circuit.cpp | 105 GateRef Circuit::NewGate(const GateMetaData *meta, MachineType machineType, size_t numIns, in NewGate() argument 122 auto newGate = new (gateSpace) Gate(meta, gateCount_++, inPtrList.data(), machineType, type); in NewGate() 138 GateRef Circuit::NewGate(const GateMetaData *meta, MachineType machineType, in NewGate() argument 141 return NewGate(meta, machineType, args.size(), args.begin(), type, comment); in NewGate() 144 GateRef Circuit::NewGate(const GateMetaData *meta, MachineType machineType, GateType type, const ch… in NewGate() argument 146 return NewGate(meta, machineType, {}, type, comment); in NewGate() 377 void Circuit::SetMachineType(GateRef gate, MachineType machineType) in SetMachineType() argument 379 LoadGatePtr(gate)->SetMachineType(machineType); in SetMachineType() 446 GateRef Circuit::GetConstantGate(MachineType machineType, uint64_t value, in GetConstantGate() argument 449 auto search = constantCache_.find({machineType, value, type}); in GetConstantGate() [all …]
|
D | circuit.h | 50 …GateRef NewGate(const GateMetaData *meta, MachineType machineType, GateType type, const char* comm… 51 GateRef NewGate(const GateMetaData *meta, MachineType machineType, 53 GateRef NewGate(const GateMetaData *meta, MachineType machineType, size_t numIns, 62 GateRef GetConstantGate(MachineType machineType, uint64_t value, GateType type); 63 void ClearConstantCache(MachineType machineType, uint64_t value, GateType type); 64 GateRef GetConstantStringGate(MachineType machineType, const std::string &str, GateType type); 65 GateRef NewArg(MachineType machineType, size_t index, GateType type, GateRef argRoot); 222 void SetMachineType(GateRef gate, MachineType machineType);
|
D | gate.h | 136 … Gate(const GateMetaData* meta, GateId id, Gate *inList[], MachineType machineType, GateType type); 203 void SetMachineType(MachineType machineType) in SetMachineType() argument 205 machineType_ = machineType; in SetMachineType() 256 std::string MachineTypeStr(MachineType machineType) const;
|
D | llvm_ir_builder.cpp | 1155 auto machineType = acc_.GetMachineType(gate); in VisitConstant() local 1156 if (machineType == MachineType::ARCH) { in VisitConstant() 1158 machineType = MachineType::I64; in VisitConstant() 1160 if (machineType == MachineType::I32) { in VisitConstant() 1162 } else if (machineType == MachineType::I64) { in VisitConstant() 1173 } else if (machineType == MachineType::F64) { in VisitConstant() 1176 } else if (machineType == MachineType::I8) { in VisitConstant() 1178 } else if (machineType == MachineType::I16) { in VisitConstant() 1180 } else if (machineType == MachineType::I1) { in VisitConstant() 1287 auto machineType = acc_.GetMachineType(gate); in VisitMod() local [all …]
|
D | async_function_lowering.cpp | 192 auto machineType = accessor_.GetMachineType(use); in UpdateValueSelector() local 198 machineType, GateType::IntType()); in UpdateValueSelector() 202 machineType, gateType); in UpdateValueSelector() 205 … auto newValueSelector = circuit_->NewGate(circuit_->ValueSelector(2), machineType, // 2: valuesIn in UpdateValueSelector()
|
D | argument_accessor.cpp | 19 void ArgumentAccessor::NewCommonArg(const CommonArgIdx argIndex, MachineType machineType, GateType … in NewCommonArg() argument 21 circuit_->NewArg(machineType, static_cast<size_t>(argIndex), gateType, argRoot_); in NewCommonArg()
|
D | gate.cpp | 474 Gate::Gate(const GateMetaData* meta, GateId id, Gate *inList[], MachineType machineType, GateType t… in Gate() argument 475 : meta_(meta), id_(id), type_(type), machineType_(machineType) in Gate() 672 std::string Gate::MachineTypeStr(MachineType machineType) const in MachineTypeStr() 687 if (strMap.count(machineType) > 0) { in MachineTypeStr() 688 return strMap.at(machineType); in MachineTypeStr() 690 return "MachineType-" + std::to_string(machineType); in MachineTypeStr()
|
D | argument_accessor.h | 64 void NewCommonArg(const CommonArgIdx argIndex, MachineType machineType, GateType gateType);
|
D | circuit_builder.cpp | 33 GateRef CircuitBuilder::Selector(OpCode opcode, MachineType machineType, GateRef control, in Selector() argument 50 return circuit_->NewGate(meta, machineType, inList.size(), inList.data(), type.GetGateType()); in Selector() 56 MachineType machineType = (opcode == OpCode::DEPEND_SELECTOR) ? in Selector() local 58 return Selector(opcode, machineType, control, values, valueCounts, type); in Selector() 348 MachineType machineType = GetMachineTypeOfValueType(dst); in CheckAndConvert() local 352 machineType, {currentControl, currentDepend, gate, frameState}, gateType); in CheckAndConvert() 360 MachineType machineType = GetMachineTypeOfValueType(dst); in Convert() local 363 GateRef ret = GetCircuit()->NewGate(circuit_->Convert(value), machineType, {gate}, gateType); in Convert() 793 GateRef CircuitBuilder::BinaryArithmetic(const GateMetaData* meta, MachineType machineType, in BinaryArithmetic() argument 800 return circuit->NewGate(meta, machineType, { left, right }, gateType); in BinaryArithmetic() [all …]
|
D | gate_meta_data.cpp | 21 std::string MachineTypeToStr(MachineType machineType) in MachineTypeToStr() argument 23 switch (machineType) { in MachineTypeToStr()
|
D | llvm_ir_builder.h | 274 LLVMTypeRef NewLType(MachineType machineType, GateType gateType); 405 int64_t GetBitWidthFromMachineType(MachineType machineType) const;
|
D | number_speculative_retype.cpp | 174 auto machineType = acc_.GetMachineType(gate); in VisitConstant() local 175 switch (machineType) { in VisitConstant()
|
D | circuit_builder.h | 328 …GateRef Selector(OpCode opcode, MachineType machineType, GateRef control, const std::vector<GateRe… 360 GateRef BinaryArithmetic(const GateMetaData* meta, MachineType machineType,
|
D | circuit_builder-inl.h | 973 auto machineType = MachineType::NOVALUE; in TypedConditionJump() local 974 auto jumpOp = TypedConditionJump(machineType, Op, xType, {currentControl, currentDepend, x}); in TypedConditionJump()
|
D | gate_meta_data.h | 194 std::string MachineTypeToStr(MachineType machineType);
|