Home
last modified time | relevance | path

Searched refs:gateType (Results 1 - 14 of 14) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dnumber_speculative_retype.cpp30 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 Dnumber_speculative_retype.h152 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 Dargument_accessor.cpp19 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 Dasync_function_lowering.cpp200 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 Dlcr_circuit_builder.cpp95 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 Dargument_accessor.h67 void NewCommonArg(const CommonArgIdx argIndex, MachineType machineType, GateType gateType);
H A Descape_analysis.cpp147 auto gateType = acc_.GetGateType(value); in MergeState() local
150 input.data(), gateType); in MergeState()
H A Dgate.cpp772 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 Dgate.h259 std::string GateTypeStr(GateType gateType) const;
H A Dcircuit_builder.cpp140 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 Dmcr_circuit_builder.cpp352 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 Dcircuit_builder.h844 GateRef right, GateType gateType = GateType::Empty(), const char* comment = nullptr);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_ir_builder.h241 LLVMTypeRef NewLType(MachineType machineType, GateType gateType);
H A Dllvm_ir_builder.cpp3117 LLVMTypeRef LLVMModule::NewLType(MachineType machineType, GateType gateType) in NewLType() argument
3119 VariableType vType(machineType, gateType); in NewLType()

Completed in 26 milliseconds