Home
last modified time | relevance | path

Searched refs:operand_type (Results 1 – 25 of 33) sorted by relevance

12

/external/v8/src/interpreter/
Dbytecode-array-accessor.cc78 int operand_index, OperandType operand_type) const { in GetUnsignedOperand()
81 DCHECK_EQ(operand_type, in GetUnsignedOperand()
83 DCHECK(Bytecodes::IsUnsignedOperandType(operand_type)); in GetUnsignedOperand()
89 return BytecodeDecoder::DecodeUnsignedOperand(operand_start, operand_type, in GetUnsignedOperand()
94 int operand_index, OperandType operand_type) const { in GetSignedOperand()
97 DCHECK_EQ(operand_type, in GetSignedOperand()
99 DCHECK(!Bytecodes::IsUnsignedOperandType(operand_type)); in GetSignedOperand()
105 return BytecodeDecoder::DecodeSignedOperand(operand_start, operand_type, in GetSignedOperand()
136 OperandType operand_type = in GetIndexOperand() local
138 DCHECK_EQ(operand_type, OperandType::kIdx); in GetIndexOperand()
[all …]
Dbytecode-decoder.cc19 OperandType operand_type, in DecodeRegisterOperand() argument
21 DCHECK(Bytecodes::IsRegisterOperandType(operand_type)); in DecodeRegisterOperand()
23 DecodeSignedOperand(operand_start, operand_type, operand_scale); in DecodeRegisterOperand()
29 Address operand_start, uint32_t count, OperandType operand_type, in DecodeRegisterListOperand() argument
32 DecodeRegisterOperand(operand_start, operand_type, operand_scale); in DecodeRegisterListOperand()
38 OperandType operand_type, in DecodeSignedOperand() argument
40 DCHECK(!Bytecodes::IsUnsignedOperandType(operand_type)); in DecodeSignedOperand()
41 switch (Bytecodes::SizeOfOperand(operand_type, operand_scale)) { in DecodeSignedOperand()
56 OperandType operand_type, in DecodeUnsignedOperand() argument
58 DCHECK(Bytecodes::IsUnsignedOperandType(operand_type)); in DecodeUnsignedOperand()
[all …]
Dbytecodes.cc187 bool Bytecodes::IsRegisterOperandType(OperandType operand_type) { in IsRegisterOperandType() argument
188 switch (operand_type) { in IsRegisterOperandType()
204 bool Bytecodes::IsRegisterListOperandType(OperandType operand_type) { in IsRegisterListOperandType() argument
205 switch (operand_type) { in IsRegisterListOperandType()
228 bool Bytecodes::IsRegisterInputOperandType(OperandType operand_type) { in IsRegisterInputOperandType() argument
229 switch (operand_type) { in IsRegisterInputOperandType()
246 bool Bytecodes::IsRegisterOutputOperandType(OperandType operand_type) { in IsRegisterOutputOperandType() argument
247 switch (operand_type) { in IsRegisterOutputOperandType()
314 bool Bytecodes::IsUnsignedOperandType(OperandType operand_type) { in IsUnsignedOperandType() argument
315 switch (operand_type) { in IsUnsignedOperandType()
Dbytecode-decoder.h22 OperandType operand_type,
28 OperandType operand_type,
33 OperandType operand_type,
38 OperandType operand_type,
Dbytecode-operands.h135 const OperandType& operand_type);
161 static constexpr bool IsScalableSignedByte(OperandType operand_type) { in IsScalableSignedByte() argument
162 return operand_type >= OperandType::kImm && in IsScalableSignedByte()
163 operand_type <= OperandType::kRegOutTriple; in IsScalableSignedByte()
167 static constexpr bool IsScalableUnsignedByte(OperandType operand_type) { in IsScalableUnsignedByte() argument
168 return operand_type >= OperandType::kIdx && in IsScalableUnsignedByte()
169 operand_type <= OperandType::kRegCount; in IsScalableUnsignedByte()
Dbytecode-operands.cc29 const char* OperandTypeToString(OperandType operand_type) { in OperandTypeToString() argument
30 switch (operand_type) { in OperandTypeToString()
79 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type) { in operator <<() argument
80 return os << OperandTypeToString(operand_type); in operator <<()
Dbytecode-traits.h46 template <OperandType operand_type, OperandScale operand_scale>
62 Helper<OperandTraits<operand_type>::TypeInfoTraits::kIsScalable,
63 OperandTraits<operand_type>::TypeInfoTraits::kUnscaledSize,
Dbytecodes.h818 static bool IsRegisterOperandType(OperandType operand_type);
821 static bool IsRegisterInputOperandType(OperandType operand_type);
824 static bool IsRegisterOutputOperandType(OperandType operand_type);
827 static bool IsRegisterListOperandType(OperandType operand_type);
837 static int GetNumberOfRegistersRepresentedBy(OperandType operand_type) { in GetNumberOfRegistersRepresentedBy() argument
838 switch (operand_type) { in GetNumberOfRegistersRepresentedBy()
857 static OperandSize SizeOfOperand(OperandType operand_type, in SizeOfOperand() argument
859 DCHECK_LE(operand_type, OperandType::kLast); in SizeOfOperand()
865 return kOperandKindSizes[scale_index][static_cast<size_t>(operand_type)]; in SizeOfOperand()
869 static bool IsRuntimeIdOperandType(OperandType operand_type);
[all …]
Dbytecode-array-accessor.h119 OperandType operand_type) const;
120 int32_t GetSignedOperand(int operand_index, OperandType operand_type) const;
Dbytecode-node.h237 template <OperandType operand_type>
239 if (BytecodeOperands::IsScalableUnsignedByte(operand_type)) { in ScaleForOperand()
241 } else if (BytecodeOperands::IsScalableSignedByte(operand_type)) { in ScaleForOperand()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_composites.cpp208 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
209 if (operand_type == result_component_type) { in ValidateCompositeConstruct()
212 if (_.GetIdOpcode(operand_type) != SpvOpTypeVector || in ValidateCompositeConstruct()
213 _.GetComponentType(operand_type) != result_component_type) { in ValidateCompositeConstruct()
219 given_component_count += _.GetDimension(operand_type); in ValidateCompositeConstruct()
249 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
250 if (operand_type != result_col_type) { in ValidateCompositeConstruct()
284 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
285 if (operand_type != result_component_type) { in ValidateCompositeConstruct()
307 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
[all …]
Dvalidate_logicals.cpp59 const uint32_t operand_type = _.GetOperandTypeId(inst, 2); in LogicalsPass() local
60 if (!operand_type || (!_.IsFloatScalarType(operand_type) && in LogicalsPass()
61 !_.IsFloatVectorType(operand_type))) in LogicalsPass()
66 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass()
Dvalidate_extensions.cpp140 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
141 if (result_type != operand_type) { in ValidateExtInst()
173 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
174 if (!_.IsIntScalarOrVectorType(operand_type)) { in ValidateExtInst()
180 if (result_type_dimension != _.GetDimension(operand_type)) { in ValidateExtInst()
187 if (result_type_bit_width != _.GetBitWidth(operand_type)) { in ValidateExtInst()
244 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
245 if (result_type != operand_type) { in ValidateExtInst()
913 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
914 if (result_type != operand_type) { in ValidateExtInst()
[all …]
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_composites.cpp208 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
209 if (operand_type == result_component_type) { in ValidateCompositeConstruct()
212 if (_.GetIdOpcode(operand_type) != SpvOpTypeVector || in ValidateCompositeConstruct()
213 _.GetComponentType(operand_type) != result_component_type) { in ValidateCompositeConstruct()
219 given_component_count += _.GetDimension(operand_type); in ValidateCompositeConstruct()
249 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
250 if (operand_type != result_col_type) { in ValidateCompositeConstruct()
284 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
285 if (operand_type != result_component_type) { in ValidateCompositeConstruct()
307 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
[all …]
Dvalidate_logicals.cpp59 const uint32_t operand_type = _.GetOperandTypeId(inst, 2); in LogicalsPass() local
60 if (!operand_type || (!_.IsFloatScalarType(operand_type) && in LogicalsPass()
61 !_.IsFloatVectorType(operand_type))) in LogicalsPass()
66 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass()
Dvalidate_extensions.cpp140 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
141 if (result_type != operand_type) { in ValidateExtInst()
173 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
174 if (!_.IsIntScalarOrVectorType(operand_type)) { in ValidateExtInst()
180 if (result_type_dimension != _.GetDimension(operand_type)) { in ValidateExtInst()
187 if (result_type_bit_width != _.GetBitWidth(operand_type)) { in ValidateExtInst()
244 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
245 if (result_type != operand_type) { in ValidateExtInst()
913 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
914 if (result_type != operand_type) { in ValidateExtInst()
[all …]
/external/tensorflow/tensorflow/contrib/lite/
Dnnapi_delegate.cc201 ANeuralNetworksOperandType operand_type{ in addTensorOperands() local
205 ANeuralNetworksModel_addOperand(nn_model, &operand_type)); in addTensorOperands()
267 ANeuralNetworksOperandType operand_type{.type = ANEURALNETWORKS_INT32}; in AddOpsAndParams() local
268 CHECK_NN(ANeuralNetworksModel_addOperand(nn_model, &operand_type)) in AddOpsAndParams()
276 ANeuralNetworksOperandType operand_type{.type = ANEURALNETWORKS_FLOAT32}; in AddOpsAndParams() local
277 CHECK_NN(ANeuralNetworksModel_addOperand(nn_model, &operand_type)) in AddOpsAndParams()
284 ANeuralNetworksOperandType operand_type{ in AddOpsAndParams() local
288 CHECK_NN(ANeuralNetworksModel_addOperand(nn_model, &operand_type)) in AddOpsAndParams()
301 ANeuralNetworksOperandType operand_type{ in AddOpsAndParams() local
306 CHECK_NN(ANeuralNetworksModel_addOperand(nn_model, &operand_type)); in AddOpsAndParams()
[all …]
/external/tensorflow/tensorflow/lite/
Dnnapi_delegate.cc169 ANeuralNetworksOperandType operand_type{ in addTensorOperands() local
173 nnapi->ANeuralNetworksModel_addOperand(nn_model, &operand_type)); in addTensorOperands()
236 ANeuralNetworksOperandType operand_type{.type = ANEURALNETWORKS_INT32}; in AddOpsAndParams() local
237 CHECK_NN(nnapi->ANeuralNetworksModel_addOperand(nn_model, &operand_type)) in AddOpsAndParams()
245 ANeuralNetworksOperandType operand_type{.type = ANEURALNETWORKS_FLOAT32}; in AddOpsAndParams() local
246 CHECK_NN(nnapi->ANeuralNetworksModel_addOperand(nn_model, &operand_type)) in AddOpsAndParams()
253 ANeuralNetworksOperandType operand_type{ in AddOpsAndParams() local
257 CHECK_NN(nnapi->ANeuralNetworksModel_addOperand(nn_model, &operand_type)) in AddOpsAndParams()
270 ANeuralNetworksOperandType operand_type{ in AddOpsAndParams() local
276 nnapi->ANeuralNetworksModel_addOperand(nn_model, &operand_type)); in AddOpsAndParams()
[all …]
/external/vixl/tools/test_generator/
Dgenerator.py177 [(operand_type.name, variant) for variant in operand_type.variants]
178 if operand_type.name in self.operand_names
179 else [(operand_type.name, operand_type.default)]
180 for operand_type in operand_types.unwrap()
/external/libunwind/src/dwarf/
DGexpr.c125 unw_word_t *addr, int operand_type, unw_word_t *val, void *arg) in read_operand() argument
133 if (operand_type == ADDR) in read_operand()
136 case 1: operand_type = VAL8; break; in read_operand()
137 case 2: operand_type = VAL16; break; in read_operand()
138 case 4: operand_type = VAL32; break; in read_operand()
139 case 8: operand_type = VAL64; break; in read_operand()
143 switch (operand_type) in read_operand()
183 Debug (1, "Unexpected operand type %d\n", operand_type); in read_operand()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp238 const analysis::Type* operand_type = operand_const->type(); in DoVectorShuffle() local
239 assert(operand_type->AsVector() && in DoVectorShuffle()
251 operand_type->AsVector()->element_type(); in DoVectorShuffle()
258 operand_type->AsVector()->element_count(), in DoVectorShuffle()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp238 const analysis::Type* operand_type = operand_const->type(); in DoVectorShuffle() local
239 assert(operand_type->AsVector() && in DoVectorShuffle()
251 operand_type->AsVector()->element_type(); in DoVectorShuffle()
258 operand_type->AsVector()->element_count(), in DoVectorShuffle()
/external/v8/src/runtime/
Druntime-interpreter.cc89 interpreter::OperandType operand_type = in PrintRegisters() local
93 ? interpreter::Bytecodes::IsRegisterInputOperandType(operand_type) in PrintRegisters()
94 : interpreter::Bytecodes::IsRegisterOutputOperandType(operand_type); in PrintRegisters()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc308 ANeuralNetworksOperandType operand_type{ in AddDequantize() local
313 nnapi_->ANeuralNetworksModel_addOperand(nn_model_, &operand_type)); in AddDequantize()
353 ANeuralNetworksOperandType operand_type{.type = nn_type}; in AddScalarOperand() local
356 nnapi_->ANeuralNetworksModel_addOperand(nn_model_, &operand_type)); in AddScalarOperand()
368 ANeuralNetworksOperandType operand_type{ in AddVectorOperand() local
373 nnapi_->ANeuralNetworksModel_addOperand(nn_model_, &operand_type)); in AddVectorOperand()
386 ANeuralNetworksOperandType operand_type{ in AddFloat32OutputTensor() local
393 nnapi_->ANeuralNetworksModel_addOperand(nn_model_, &operand_type)); in AddFloat32OutputTensor()
457 ANeuralNetworksOperandType operand_type{ in AddTensor() local
462 nnapi_->ANeuralNetworksModel_addOperand(nn_model_, &operand_type)); in AddTensor()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dcomparators.cc112 for (auto operand_type : operand_types) { in CreateScalarComparisonComputation() local
113 auto scalar_shape = ShapeUtil::MakeShape(operand_type, {}); in CreateScalarComparisonComputation()

12