Home
last modified time | relevance | path

Searched refs:operand_index (Results 1 – 25 of 88) sorted by relevance

1234

/external/v8/src/interpreter/
Dbytecode-array-accessor.cc78 int operand_index, OperandType operand_type) const { in GetUnsignedOperand() argument
79 DCHECK_GE(operand_index, 0); in GetUnsignedOperand()
80 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetUnsignedOperand()
82 Bytecodes::GetOperandType(current_bytecode(), operand_index)); in GetUnsignedOperand()
87 Bytecodes::GetOperandOffset(current_bytecode(), operand_index, in GetUnsignedOperand()
94 int operand_index, OperandType operand_type) const { in GetSignedOperand() argument
95 DCHECK_GE(operand_index, 0); in GetSignedOperand()
96 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetSignedOperand()
98 Bytecodes::GetOperandType(current_bytecode(), operand_index)); in GetSignedOperand()
103 Bytecodes::GetOperandOffset(current_bytecode(), operand_index, in GetSignedOperand()
[all …]
Dinterpreter-assembler.h28 compiler::Node* BytecodeOperandCount(int operand_index);
31 compiler::Node* BytecodeOperandFlag(int operand_index);
34 compiler::Node* BytecodeOperandIdxInt32(int operand_index);
37 compiler::Node* BytecodeOperandIdx(int operand_index);
40 compiler::Node* BytecodeOperandIdxSmi(int operand_index);
43 compiler::Node* BytecodeOperandUImm(int operand_index);
46 compiler::Node* BytecodeOperandUImmWord(int operand_index);
49 compiler::Node* BytecodeOperandUImmSmi(int operand_index);
52 compiler::Node* BytecodeOperandImm(int operand_index);
55 compiler::Node* BytecodeOperandImmIntPtr(int operand_index);
[all …]
Dbytecode-array-accessor.h84 uint32_t GetFlagOperand(int operand_index) const;
85 uint32_t GetUnsignedImmediateOperand(int operand_index) const;
86 int32_t GetImmediateOperand(int operand_index) const;
87 uint32_t GetIndexOperand(int operand_index) const;
88 FeedbackSlot GetSlotOperand(int operand_index) const;
89 uint32_t GetRegisterCountOperand(int operand_index) const;
90 Register GetRegisterOperand(int operand_index) const;
91 int GetRegisterOperandRange(int operand_index) const;
92 Runtime::FunctionId GetRuntimeIdOperand(int operand_index) const;
93 Runtime::FunctionId GetIntrinsicIdOperand(int operand_index) const;
[all …]
Dinterpreter-assembler.cc254 Node* InterpreterAssembler::LoadRegisterAtOperandIndex(int operand_index) { in LoadRegisterAtOperandIndex() argument
256 BytecodeOperandReg(operand_index, LoadSensitivity::kSafe)); in LoadRegisterAtOperandIndex()
260 int operand_index) { in LoadRegisterPairAtOperandIndex() argument
262 Bytecodes::GetOperandType(bytecode_, operand_index)); in LoadRegisterPairAtOperandIndex()
264 BytecodeOperandReg(operand_index, LoadSensitivity::kSafe); in LoadRegisterPairAtOperandIndex()
271 InterpreterAssembler::GetRegisterListAtOperandIndex(int operand_index) { in GetRegisterListAtOperandIndex() argument
273 Bytecodes::GetOperandType(bytecode_, operand_index))); in GetRegisterListAtOperandIndex()
275 Bytecodes::GetOperandType(bytecode_, operand_index + 1)); in GetRegisterListAtOperandIndex()
277 BytecodeOperandReg(operand_index, LoadSensitivity::kSafe)); in GetRegisterListAtOperandIndex()
278 Node* reg_count = BytecodeOperandCount(operand_index + 1); in GetRegisterListAtOperandIndex()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_arithmetics.cpp48 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local
49 ++operand_index) { in ArithmeticsPass()
50 if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass()
54 << operand_index; in ArithmeticsPass()
67 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local
68 ++operand_index) { in ArithmeticsPass()
69 if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass()
73 << operand_index; in ArithmeticsPass()
93 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local
94 ++operand_index) { in ArithmeticsPass()
[all …]
Dvalidate_composites.cpp206 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local
207 ++operand_index) { in ValidateCompositeConstruct()
208 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
247 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local
248 ++operand_index) { in ValidateCompositeConstruct()
249 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
282 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local
283 ++operand_index) { in ValidateCompositeConstruct()
284 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
305 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local
[all …]
Dvalidate_atomics.cpp110 uint32_t operand_index = in AtomicsPass() local
112 const uint32_t pointer_type = _.GetOperandTypeId(inst, operand_index++); in AtomicsPass()
173 auto memory_scope = inst->GetOperandAs<const uint32_t>(operand_index++); in AtomicsPass()
178 if (auto error = ValidateMemorySemantics(_, inst, operand_index++)) in AtomicsPass()
183 if (auto error = ValidateMemorySemantics(_, inst, operand_index++)) in AtomicsPass()
199 const uint32_t value_type = _.GetOperandTypeId(inst, operand_index++); in AtomicsPass()
210 _.GetOperandTypeId(inst, operand_index++); in AtomicsPass()
Dvalidate_extensions.cpp138 for (uint32_t operand_index = 4; operand_index < num_operands; in ValidateExtInst() local
139 ++operand_index) { in ValidateExtInst()
140 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst()
171 for (uint32_t operand_index = 4; operand_index < num_operands; in ValidateExtInst() local
172 ++operand_index) { in ValidateExtInst()
173 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst()
242 for (uint32_t operand_index = 4; operand_index < num_operands; in ValidateExtInst() local
243 ++operand_index) { in ValidateExtInst()
244 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst()
911 for (uint32_t operand_index = 4; operand_index < num_operands; in ValidateExtInst() local
[all …]
Dvalidate_bitwise.cpp86 for (size_t operand_index = 2; operand_index < inst->operands().size(); in BitwisePass() local
87 ++operand_index) { in BitwisePass()
88 const uint32_t type_id = _.GetOperandTypeId(inst, operand_index); in BitwisePass()
94 << operand_index; in BitwisePass()
100 << " operand index " << operand_index; in BitwisePass()
106 << " operand index " << operand_index; in BitwisePass()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_arithmetics.cpp48 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local
49 ++operand_index) { in ArithmeticsPass()
50 if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass()
54 << operand_index; in ArithmeticsPass()
67 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local
68 ++operand_index) { in ArithmeticsPass()
69 if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass()
73 << operand_index; in ArithmeticsPass()
93 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local
94 ++operand_index) { in ArithmeticsPass()
[all …]
Dvalidate_composites.cpp206 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local
207 ++operand_index) { in ValidateCompositeConstruct()
208 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
247 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local
248 ++operand_index) { in ValidateCompositeConstruct()
249 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
282 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local
283 ++operand_index) { in ValidateCompositeConstruct()
284 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
305 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local
[all …]
Dvalidate_atomics.cpp110 uint32_t operand_index = in AtomicsPass() local
112 const uint32_t pointer_type = _.GetOperandTypeId(inst, operand_index++); in AtomicsPass()
172 auto memory_scope = inst->GetOperandAs<const uint32_t>(operand_index++); in AtomicsPass()
177 if (auto error = ValidateMemorySemantics(_, inst, operand_index++)) in AtomicsPass()
182 if (auto error = ValidateMemorySemantics(_, inst, operand_index++)) in AtomicsPass()
198 const uint32_t value_type = _.GetOperandTypeId(inst, operand_index++); in AtomicsPass()
209 _.GetOperandTypeId(inst, operand_index++); in AtomicsPass()
Dvalidate_extensions.cpp138 for (uint32_t operand_index = 4; operand_index < num_operands; in ValidateExtInst() local
139 ++operand_index) { in ValidateExtInst()
140 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst()
171 for (uint32_t operand_index = 4; operand_index < num_operands; in ValidateExtInst() local
172 ++operand_index) { in ValidateExtInst()
173 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst()
242 for (uint32_t operand_index = 4; operand_index < num_operands; in ValidateExtInst() local
243 ++operand_index) { in ValidateExtInst()
244 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst()
911 for (uint32_t operand_index = 4; operand_index < num_operands; in ValidateExtInst() local
[all …]
Dvalidate_bitwise.cpp86 for (size_t operand_index = 2; operand_index < inst->operands().size(); in BitwisePass() local
87 ++operand_index) { in BitwisePass()
88 const uint32_t type_id = _.GetOperandTypeId(inst, operand_index); in BitwisePass()
94 << operand_index; in BitwisePass()
100 << " operand index " << operand_index; in BitwisePass()
106 << " operand index " << operand_index; in BitwisePass()
/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_dimension_inference.cc81 int64 operand_index, HloInstruction* dynamic_size)>;
101 int64 operand_index, HloInstruction* dynamic_size) { in DefaultAction() argument
113 int64 operand_index, HloInstruction* dynamic_size) { in HandleGetTupleElement() argument
126 int64 operand_index, HloInstruction* dynamic_size) { in HandleTuple() argument
127 index.push_front(operand_index); in HandleTuple()
136 int64 operand_index, HloInstruction* dynamic_size) { in HandleBroadcast() argument
146 int64 operand_index, HloInstruction* dynamic_size) { in HandlePad() argument
147 if (operand_index != 0) { in HandlePad()
169 int64 operand_index, HloInstruction* dynamic_size) { in HandleReduce() argument
173 if (operand_index >= operand_count / 2) { in HandleReduce()
[all …]
Dbfloat16_support.cc24 int64 operand_index) const { in SupportsBF16Operand()
35 CHECK_EQ(operand_index, 0); in SupportsBF16Operand()
79 const HloInstruction& hlo, int64 operand_index) { in EffectiveOperandPrecisionIsOutputPrecision() argument
105 return operand_index == 0; in EffectiveOperandPrecisionIsOutputPrecision()
107 return operand_index == 0 || operand_index == 1; in EffectiveOperandPrecisionIsOutputPrecision()
110 return operand_index == 1 || operand_index == 2; in EffectiveOperandPrecisionIsOutputPrecision()
133 const HloInstruction& hlo, int64 operand_index) const { in EffectiveOperandPrecisionIsBF16()
Dbfloat16_support.h32 int64 operand_index) const;
50 const HloInstruction& hlo, int64 operand_index);
55 int64 operand_index) const;
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddef_use_manager.h38 uint32_t operand_index; // logical operand index of the id use. This can be member
43 return lhs.inst == rhs.inst && lhs.operand_index == rhs.operand_index;
51 return lhs.operand_index < rhs.operand_index;
163 const std::function<void(Instruction*, uint32_t operand_index)>& f) const;
166 const std::function<void(Instruction*, uint32_t operand_index)>& f) const;
178 const std::function<bool(Instruction*, uint32_t operand_index)>& f) const;
181 const std::function<bool(Instruction*, uint32_t operand_index)>& f) const;
/external/deqp-deps/SPIRV-Tools/source/opt/
Ddef_use_manager.h38 uint32_t operand_index; // logical operand index of the id use. This can be member
43 return lhs.inst == rhs.inst && lhs.operand_index == rhs.operand_index;
51 return lhs.operand_index < rhs.operand_index;
163 const std::function<void(Instruction*, uint32_t operand_index)>& f) const;
166 const std::function<void(Instruction*, uint32_t operand_index)>& f) const;
178 const std::function<bool(Instruction*, uint32_t operand_index)>& f) const;
181 const std::function<bool(Instruction*, uint32_t operand_index)>& f) const;
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dinstruction_fusion.cc118 int64 operand_index) { in ShouldFuseInexpensiveChecks() argument
119 HloInstruction* producer = consumer->mutable_operand(operand_index); in ShouldFuseInexpensiveChecks()
125 int64 other_operand_index = 1 - operand_index; in ShouldFuseInexpensiveChecks()
172 auto producer_operand_index = consumer->operand_index(producer); in ShouldFuseInexpensiveChecks()
232 consumer->ReusesOperandElements(operand_index) && in ShouldFuseInexpensiveChecks()
251 !InstructionFusion::ShouldFuse(consumer, operand_index)) { in ShouldFuseInexpensiveChecks()
258 int64 operand_index) { in ShouldFuse() argument
259 if (!ShouldFuseInexpensiveChecks(consumer, operand_index)) { in ShouldFuse()
262 auto producer = consumer->operand(operand_index); in ShouldFuse()
275 int64 operand_index) { in ShouldFuseIntoMultiOutput() argument
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion.cc73 int64 operand_index) { in ShouldFuse() argument
74 HloInstruction* producer = consumer->mutable_operand(operand_index); in ShouldFuse()
75 VLOG(2) << "Considering for fusion: operand " << operand_index << " of " in ShouldFuse()
96 consumer->ReusesOperandElements(operand_index) && in ShouldFuse()
102 if (!InstructionFusion::ShouldFuse(consumer, operand_index)) { in ShouldFuse()
144 if (output_shape.dimensions(0) == 1 && operand_index == 1 && in ShouldFuse()
148 } else if (output_shape.dimensions(1) == 1 && operand_index == 0 && in ShouldFuse()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dchange_operand_reduction_opportunity.h32 ChangeOperandReductionOpportunity(Instruction* inst, uint32_t operand_index, in ChangeOperandReductionOpportunity() argument
35 operand_index_(operand_index), in ChangeOperandReductionOpportunity()
36 original_id_(inst->GetOperand(operand_index).words[0]), in ChangeOperandReductionOpportunity()
37 original_type_(inst->GetOperand(operand_index).type), in ChangeOperandReductionOpportunity()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dchange_operand_reduction_opportunity.h33 ChangeOperandReductionOpportunity(Instruction* inst, uint32_t operand_index, in ChangeOperandReductionOpportunity() argument
36 operand_index_(operand_index), in ChangeOperandReductionOpportunity()
37 original_id_(inst->GetOperand(operand_index).words[0]), in ChangeOperandReductionOpportunity()
38 original_type_(inst->GetOperand(operand_index).type), in ChangeOperandReductionOpportunity()
/external/swiftshader/third_party/SPIRV-Tools/source/
Did_descriptor.cpp47 for (size_t operand_index = 0; operand_index < inst.num_operands; in ProcessInstruction() local
48 ++operand_index) { in ProcessInstruction()
49 const auto& operand = inst.operands[operand_index]; in ProcessInstruction()
/external/deqp-deps/SPIRV-Tools/source/
Did_descriptor.cpp47 for (size_t operand_index = 0; operand_index < inst.num_operands; in ProcessInstruction() local
48 ++operand_index) { in ProcessInstruction()
49 const auto& operand = inst.operands[operand_index]; in ProcessInstruction()

1234