/external/v8/src/interpreter/ |
D | bytecode-array-accessor.cc | 78 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 …]
|
D | interpreter-assembler.h | 28 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 …]
|
D | bytecode-array-accessor.h | 84 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 …]
|
D | interpreter-assembler.cc | 254 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/ |
D | validate_arithmetics.cpp | 48 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 …]
|
D | validate_composites.cpp | 206 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 …]
|
D | validate_atomics.cpp | 110 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()
|
D | validate_extensions.cpp | 138 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 …]
|
D | validate_bitwise.cpp | 86 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/ |
D | validate_arithmetics.cpp | 48 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 …]
|
D | validate_composites.cpp | 206 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 …]
|
D | validate_atomics.cpp | 110 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()
|
D | validate_extensions.cpp | 138 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 …]
|
D | validate_bitwise.cpp | 86 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/ |
D | dynamic_dimension_inference.cc | 81 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 …]
|
D | bfloat16_support.cc | 24 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()
|
D | bfloat16_support.h | 32 int64 operand_index) const; 50 const HloInstruction& hlo, int64 operand_index); 55 int64 operand_index) const;
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | def_use_manager.h | 38 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/ |
D | def_use_manager.h | 38 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/ |
D | instruction_fusion.cc | 118 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/ |
D | cpu_instruction_fusion.cc | 73 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/ |
D | change_operand_reduction_opportunity.h | 32 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/ |
D | change_operand_reduction_opportunity.h | 33 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/ |
D | id_descriptor.cpp | 47 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/ |
D | id_descriptor.cpp | 47 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()
|