/external/v8/src/interpreter/ |
D | bytecode-array-accessor.cc | 78 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 …]
|
D | bytecode-decoder.cc | 19 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 …]
|
D | bytecodes.cc | 187 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()
|
D | bytecode-decoder.h | 22 OperandType operand_type, 28 OperandType operand_type, 33 OperandType operand_type, 38 OperandType operand_type,
|
D | bytecode-operands.h | 135 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()
|
D | bytecode-operands.cc | 29 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 <<()
|
D | bytecode-traits.h | 46 template <OperandType operand_type, OperandScale operand_scale> 62 Helper<OperandTraits<operand_type>::TypeInfoTraits::kIsScalable, 63 OperandTraits<operand_type>::TypeInfoTraits::kUnscaledSize,
|
D | bytecodes.h | 818 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 …]
|
D | bytecode-array-accessor.h | 119 OperandType operand_type) const; 120 int32_t GetSignedOperand(int operand_index, OperandType operand_type) const;
|
D | bytecode-node.h | 237 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/ |
D | validate_composites.cpp | 208 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 …]
|
D | validate_logicals.cpp | 59 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()
|
D | validate_extensions.cpp | 140 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/ |
D | validate_composites.cpp | 208 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 …]
|
D | validate_logicals.cpp | 59 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()
|
D | validate_extensions.cpp | 140 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/ |
D | nnapi_delegate.cc | 201 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/ |
D | nnapi_delegate.cc | 169 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/ |
D | generator.py | 177 [(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/ |
D | Gexpr.c | 125 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/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 238 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/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 238 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/ |
D | runtime-interpreter.cc | 89 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/ |
D | nnapi_delegate.cc | 308 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/ |
D | comparators.cc | 112 for (auto operand_type : operand_types) { in CreateScalarComparisonComputation() local 113 auto scalar_shape = ShapeUtil::MakeShape(operand_type, {}); in CreateScalarComparisonComputation()
|