/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | number_speculative_retype.cpp | 30 GateRef NumberSpeculativeRetype::SetOutputType(GateRef gate, GateType gateType) in SetOutputType() argument 34 if (gateType.IsIntType()) { in SetOutputType() 36 } else if (gateType.IsDoubleType()) { in SetOutputType() 38 } else if (gateType.IsBooleanType()) { in SetOutputType() 104 GateType gateType = acc_.GetGateType(gate); in GetNumberTypeInfo() local 105 if (gateType.IsIntType() || gateType.IsBooleanType()) { in GetNumberTypeInfo() 107 } else if (gateType.IsDoubleType()) { in GetNumberTypeInfo() 959 GateRef NumberSpeculativeRetype::CheckAndConvertToBool(GateRef gate, GateType gateType) in CheckAndConvertToBool() argument 976 if (gateType in CheckAndConvertToBool() 1137 CheckTaggedAndConvertToInt32(GateRef gate, GateType gateType, OpType type) CheckTaggedAndConvertToInt32() argument 1161 CheckAndConvertToInt32(GateRef gate, GateType gateType, ConvertSupport support, OpType type) CheckAndConvertToInt32() argument 1216 GateType gateType = acc_.GetGateType(gate); CheckBoundAndConvertToInt32() local 1280 CheckAndConvertToFloat64(GateRef gate, GateType gateType, ConvertToNumber convert) CheckAndConvertToFloat64() argument 1346 CheckAndConvertToTagged(GateRef gate, GateType gateType, ConvertToNumber convert) CheckAndConvertToTagged() argument 1969 GateType gateType = acc_.GetGateType(gate); GetNumberInputTypeInfo() local [all...] |
H A D | number_speculative_retype.h | 152 GateRef CheckAndConvertToInt32(GateRef gate, GateType gateType, ConvertSupport support = ConvertSupport::ENABLE, 154 GateRef CheckTaggedAndConvertToInt32(GateRef gate, GateType gateType, OpType type); 158 GateRef CheckAndConvertToFloat64(GateRef gate, GateType gateType, 160 GateRef CheckAndConvertToTagged(GateRef gate, GateType gateType, ConvertToNumber convert); 161 GateRef CheckAndConvertToBool(GateRef gate, GateType gateType);
|
H A D | argument_accessor.cpp | 19 void ArgumentAccessor::NewCommonArg(const CommonArgIdx argIndex, MachineType machineType, GateType gateType) in NewCommonArg() argument 21 circuit_->NewArg(machineType, static_cast<size_t>(argIndex), gateType, argRoot_); in NewCommonArg()
|
H A D | async_function_lowering.cpp | 200 auto gateType = accessor_.GetGateType(use);
in UpdateValueSelector() local 202 if (gateType.IsNumberType()) {
in UpdateValueSelector() 209 machineType, gateType);
in UpdateValueSelector() 214 gateType);
in UpdateValueSelector()
|
H A D | lcr_circuit_builder.cpp | 95 GateRef left, GateRef right, GateType gateType, const char* comment) in BinaryArithmetic() 98 if (gateType == GateType::Empty()) { in BinaryArithmetic() 99 gateType = acc_.GetGateType(left); in BinaryArithmetic() 101 return circuit->NewGate(meta, machineType, { left, right }, gateType, comment); in BinaryArithmetic() 94 BinaryArithmetic(const GateMetaData* meta, MachineType machineType, GateRef left, GateRef right, GateType gateType, const char* comment) BinaryArithmetic() argument
|
H A D | argument_accessor.h | 67 void NewCommonArg(const CommonArgIdx argIndex, MachineType machineType, GateType gateType);
|
H A D | escape_analysis.cpp | 147 auto gateType = acc_.GetGateType(value); in MergeState() local 150 input.data(), gateType); in MergeState()
|
H A D | gate.cpp | 772 std::string Gate::GateTypeStr(GateType gateType) const in GateTypeStr() 784 if (strMap.count(gateType) > 0) { in GateTypeStr() 785 name = strMap.at(gateType); in GateTypeStr() 787 uint32_t r = gateType.GetType(); in GateTypeStr() 788 return name + std::string("-gateType(") + std::to_string(r) + std::string(")"); in GateTypeStr()
|
H A D | gate.h | 259 std::string GateTypeStr(GateType gateType) const;
|
H A D | circuit_builder.cpp | 140 auto gateType = acc_.GetGateType(value); in LoopExitValue() local 141 return circuit_->NewGate(circuit_->LoopExitValue(), machineType, { state, value }, gateType); in LoopExitValue() 333 auto gateType = acc_.GetGateType(gate); in ClearConstantCache() local 334 GetCircuit()->ClearConstantCache(machineType, value, gateType); in ClearConstantCache()
|
H A D | mcr_circuit_builder.cpp | 352 GateType gateType = GetGateTypeOfValueType(dst); in CheckAndConvert() local 355 machineType, {currentControl, currentDepend, gate, frameState}, gateType); in CheckAndConvert() 364 GateType gateType = GetGateTypeOfValueType(dst); in Convert() local 366 GateRef ret = GetCircuit()->NewGate(circuit_->Convert(value), machineType, {gate}, gateType); in Convert()
|
H A D | circuit_builder.h | 844 GateRef right, GateType gateType = GateType::Empty(), const char* comment = nullptr);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/ |
H A D | llvm_ir_builder.h | 241 LLVMTypeRef NewLType(MachineType machineType, GateType gateType);
|
H A D | llvm_ir_builder.cpp | 3117 LLVMTypeRef LLVMModule::NewLType(MachineType machineType, GateType gateType) in NewLType() argument 3119 VariableType vType(machineType, gateType); in NewLType()
|