Home
last modified time | relevance | path

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

/external/v8/src/interpreter/
Dbytecode-array-accessor.cc63 int operand_index, OperandType operand_type) const { in GetUnsignedOperand()
66 DCHECK_EQ(operand_type, in GetUnsignedOperand()
68 DCHECK(Bytecodes::IsUnsignedOperandType(operand_type)); in GetUnsignedOperand()
74 return BytecodeDecoder::DecodeUnsignedOperand(operand_start, operand_type, in GetUnsignedOperand()
79 int operand_index, OperandType operand_type) const { in GetSignedOperand()
82 DCHECK_EQ(operand_type, in GetSignedOperand()
84 DCHECK(!Bytecodes::IsUnsignedOperandType(operand_type)); in GetSignedOperand()
90 return BytecodeDecoder::DecodeSignedOperand(operand_start, operand_type, in GetSignedOperand()
121 OperandType operand_type = in GetIndexOperand() local
123 DCHECK_EQ(operand_type, OperandType::kIdx); in GetIndexOperand()
[all …]
Dbytecode-decoder.cc17 OperandType operand_type, in DecodeRegisterOperand() argument
19 DCHECK(Bytecodes::IsRegisterOperandType(operand_type)); in DecodeRegisterOperand()
21 DecodeSignedOperand(operand_start, operand_type, operand_scale); in DecodeRegisterOperand()
27 const uint8_t* operand_start, uint32_t count, OperandType operand_type, in DecodeRegisterListOperand() argument
30 DecodeRegisterOperand(operand_start, operand_type, operand_scale); in DecodeRegisterListOperand()
36 OperandType operand_type, in DecodeSignedOperand() argument
38 DCHECK(!Bytecodes::IsUnsignedOperandType(operand_type)); in DecodeSignedOperand()
39 switch (Bytecodes::SizeOfOperand(operand_type, operand_scale)) { in DecodeSignedOperand()
54 OperandType operand_type, in DecodeUnsignedOperand() argument
56 DCHECK(Bytecodes::IsUnsignedOperandType(operand_type)); in DecodeUnsignedOperand()
[all …]
Dbytecodes.cc153 bool Bytecodes::IsRegisterOperandType(OperandType operand_type) { in IsRegisterOperandType() argument
154 switch (operand_type) { in IsRegisterOperandType()
183 bool Bytecodes::IsRegisterInputOperandType(OperandType operand_type) { in IsRegisterInputOperandType() argument
184 switch (operand_type) { in IsRegisterInputOperandType()
201 bool Bytecodes::IsRegisterOutputOperandType(OperandType operand_type) { in IsRegisterOutputOperandType() argument
202 switch (operand_type) { in IsRegisterOutputOperandType()
262 bool Bytecodes::IsUnsignedOperandType(OperandType operand_type) { in IsUnsignedOperandType() argument
263 switch (operand_type) { in IsUnsignedOperandType()
275 OperandSize Bytecodes::SizeOfOperand(OperandType operand_type, in SizeOfOperand() argument
277 DCHECK_LE(operand_type, OperandType::kLast); in SizeOfOperand()
[all …]
Dbytecode-operands.h132 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
149 static constexpr bool IsScalableSignedByte(OperandType operand_type) { in IsScalableSignedByte() argument
150 return operand_type >= OperandType::kImm && in IsScalableSignedByte()
151 operand_type <= OperandType::kRegOutTriple; in IsScalableSignedByte()
155 static constexpr bool IsScalableUnsignedByte(OperandType operand_type) { in IsScalableUnsignedByte() argument
156 return operand_type >= OperandType::kIdx && in IsScalableUnsignedByte()
157 operand_type <= OperandType::kRegCount; in IsScalableUnsignedByte()
Dbytecode-decoder.h22 OperandType operand_type,
28 OperandType operand_type,
33 OperandType operand_type,
38 OperandType operand_type,
Dbytecode-operands.cc30 const char* OperandTypeToString(OperandType operand_type) { in OperandTypeToString() argument
31 switch (operand_type) { in OperandTypeToString()
83 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type) { in operator <<() argument
84 return os << OperandTypeToString(operand_type); in operator <<()
Dbytecode-array-accessor.h59 OperandType operand_type) const;
60 int32_t GetSignedOperand(int operand_index, OperandType operand_type) const;
Dbytecode-traits.h46 template <OperandType operand_type, OperandScale operand_scale>
62 Helper<OperandTraits<operand_type>::TypeInfoTraits::kIsScalable,
63 OperandTraits<operand_type>::TypeInfoTraits::kUnscaledSize,
Dbytecodes.h742 static bool IsRegisterOperandType(OperandType operand_type);
745 static bool IsRegisterInputOperandType(OperandType operand_type);
748 static bool IsRegisterOutputOperandType(OperandType operand_type);
758 static int GetNumberOfRegistersRepresentedBy(OperandType operand_type) { in GetNumberOfRegistersRepresentedBy() argument
759 switch (operand_type) { in GetNumberOfRegistersRepresentedBy()
781 static bool IsRuntimeIdOperandType(OperandType operand_type);
784 static bool IsUnsignedOperandType(OperandType operand_type);
Dbytecode-pipeline.h339 template <OperandType operand_type> in NON_EXPORTED_BASE()
341 if (BytecodeOperands::IsScalableUnsignedByte(operand_type)) { in NON_EXPORTED_BASE()
343 } else if (BytecodeOperands::IsScalableSignedByte(operand_type)) { in NON_EXPORTED_BASE()
/external/tensorflow/tensorflow/contrib/lite/
Dnnapi_delegate.cc112 ANeuralNetworksOperandType operand_type{ in addTensorOperands() local
115 CHECK_NN(ANeuralNetworksModel_addOperand(nn_model, &operand_type)); in addTensorOperands()
152 ANeuralNetworksOperandType operand_type{.type = ANEURALNETWORKS_INT32}; in AddOpsAndParams() local
153 CHECK_NN(ANeuralNetworksModel_addOperand(nn_model, &operand_type)) in AddOpsAndParams()
161 ANeuralNetworksOperandType operand_type{.type = ANEURALNETWORKS_FLOAT32}; in AddOpsAndParams() local
162 CHECK_NN(ANeuralNetworksModel_addOperand(nn_model, &operand_type)) in AddOpsAndParams()
240 ANeuralNetworksOperandType operand_type{ in AddOpsAndParams()
246 CHECK_NN(ANeuralNetworksModel_addOperand(nn_model, &operand_type)) in AddOpsAndParams()
/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/v8/src/runtime/
Druntime-interpreter.cc82 interpreter::OperandType operand_type = in PrintRegisters() local
86 ? interpreter::Bytecodes::IsRegisterInputOperandType(operand_type) in PrintRegisters()
87 : interpreter::Bytecodes::IsRegisterOutputOperandType(operand_type); in PrintRegisters()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc662 PrimitiveType operand_type = op->operand(0)->shape().element_type(); in EmitBinaryOp() local
664 operand_type == PRED) { in EmitBinaryOp()
667 primitive_util::IsSignedIntegralType(operand_type)); in EmitBinaryOp()
668 } else if (primitive_util::IsComplexType(operand_type)) { in EmitBinaryOp()