/external/v8/src/interpreter/ |
D | bytecode-array-accessor.cc | 63 int operand_index, OperandType operand_type) const { in GetUnsignedOperand() argument 64 DCHECK_GE(operand_index, 0); in GetUnsignedOperand() 65 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetUnsignedOperand() 67 Bytecodes::GetOperandType(current_bytecode(), operand_index)); in GetUnsignedOperand() 72 Bytecodes::GetOperandOffset(current_bytecode(), operand_index, in GetUnsignedOperand() 79 int operand_index, OperandType operand_type) const { in GetSignedOperand() argument 80 DCHECK_GE(operand_index, 0); in GetSignedOperand() 81 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetSignedOperand() 83 Bytecodes::GetOperandType(current_bytecode(), operand_index)); in GetSignedOperand() 88 Bytecodes::GetOperandOffset(current_bytecode(), operand_index, in GetSignedOperand() [all …]
|
D | bytecode-array-accessor.h | 35 uint32_t GetFlagOperand(int operand_index) const; 36 uint32_t GetUnsignedImmediateOperand(int operand_index) const; 37 int32_t GetImmediateOperand(int operand_index) const; 38 uint32_t GetIndexOperand(int operand_index) const; 39 uint32_t GetRegisterCountOperand(int operand_index) const; 40 Register GetRegisterOperand(int operand_index) const; 41 int GetRegisterOperandRange(int operand_index) const; 42 Runtime::FunctionId GetRuntimeIdOperand(int operand_index) const; 43 Runtime::FunctionId GetIntrinsicIdOperand(int operand_index) const; 44 Handle<Object> GetConstantForIndexOperand(int operand_index) const; [all …]
|
D | interpreter-assembler.h | 29 compiler::Node* BytecodeOperandCount(int operand_index); 32 compiler::Node* BytecodeOperandFlag(int operand_index); 35 compiler::Node* BytecodeOperandIdx(int operand_index); 38 compiler::Node* BytecodeOperandIdxSmi(int operand_index); 41 compiler::Node* BytecodeOperandUImm(int operand_index); 44 compiler::Node* BytecodeOperandUImmWord(int operand_index); 47 compiler::Node* BytecodeOperandImm(int operand_index); 50 compiler::Node* BytecodeOperandImmIntPtr(int operand_index); 53 compiler::Node* BytecodeOperandImmSmi(int operand_index); 56 compiler::Node* BytecodeOperandReg(int operand_index); [all …]
|
D | interpreter-assembler.cc | 244 Node* InterpreterAssembler::OperandOffset(int operand_index) { in OperandOffset() argument 246 Bytecodes::GetOperandOffset(bytecode_, operand_index, operand_scale())); in OperandOffset() 249 Node* InterpreterAssembler::BytecodeOperandUnsignedByte(int operand_index) { in BytecodeOperandUnsignedByte() argument 250 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(bytecode_)); in BytecodeOperandUnsignedByte() 252 bytecode_, operand_index, operand_scale())); in BytecodeOperandUnsignedByte() 253 Node* operand_offset = OperandOffset(operand_index); in BytecodeOperandUnsignedByte() 258 Node* InterpreterAssembler::BytecodeOperandSignedByte(int operand_index) { in BytecodeOperandSignedByte() argument 259 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(bytecode_)); in BytecodeOperandSignedByte() 261 bytecode_, operand_index, operand_scale())); in BytecodeOperandSignedByte() 262 Node* operand_offset = OperandOffset(operand_index); in BytecodeOperandSignedByte() [all …]
|
D | bytecode-pipeline.h | 350 INLINE(void UpdateScaleForOperand(int operand_index, uint32_t operand)) { in NON_EXPORTED_BASE() 351 if (Bytecodes::OperandIsScalableSignedByte(bytecode(), operand_index)) { in NON_EXPORTED_BASE() 355 operand_index)) { in NON_EXPORTED_BASE() 361 INLINE(void SetOperand(int operand_index, uint32_t operand)) { in NON_EXPORTED_BASE() 362 operands_[operand_index] = operand; in NON_EXPORTED_BASE() 363 UpdateScaleForOperand(operand_index, operand); in NON_EXPORTED_BASE()
|
D | bytecodes.cc | 113 for (int operand_index = 0; operand_index < i; ++operand_index) { in GetOperandOffset() local 115 GetOperandSize(bytecode, operand_index, operand_scale); in GetOperandOffset()
|
D | bytecodes.h | 673 int operand_index) { in OperandIsScalableSignedByte() argument 675 return kOperandTypeInfos[static_cast<size_t>(bytecode)][operand_index] == in OperandIsScalableSignedByte() 680 int operand_index) { in OperandIsScalableUnsignedByte() argument 682 return kOperandTypeInfos[static_cast<size_t>(bytecode)][operand_index] == in OperandIsScalableUnsignedByte() 686 static bool OperandIsScalable(Bytecode bytecode, int operand_index) { in OperandIsScalable() argument 687 return OperandIsScalableSignedByte(bytecode, operand_index) || in OperandIsScalable() 688 OperandIsScalableUnsignedByte(bytecode, operand_index); in OperandIsScalable()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | bfloat16_support.cc | 23 int64 operand_index) const { in SupportsBF16Operand() 33 CHECK_EQ(operand_index, 0); in SupportsBF16Operand() 76 const HloInstruction& hlo, int64 operand_index) { in EffectiveOperandPrecisionIsOutputPrecision() argument 95 return operand_index == 0; in EffectiveOperandPrecisionIsOutputPrecision() 97 return operand_index == 0 || operand_index == 1; in EffectiveOperandPrecisionIsOutputPrecision() 99 return operand_index == 1 || operand_index == 2; in EffectiveOperandPrecisionIsOutputPrecision() 107 const HloInstruction& hlo, int64 operand_index) const { in EffectiveOperandPrecisionIsBF16()
|
D | liveness_util.cc | 82 user->fused_parameter(user->operand_index(operand)); in DoesNotUseOperandBuffer() 138 HloInstruction* operand, const ShapeIndex& operand_index, in HasUniqueFusedUseOfOperandAt() argument 159 fused_param, operand_index, points_to_analysis); in HasUniqueFusedUseOfOperandAt() 184 HloInstruction* operand, const ShapeIndex& operand_index, in CanShareOperandBufferWithUser() argument 190 ShapeUtil::GetSubshape(operand->shape(), operand_index); in CanShareOperandBufferWithUser() 206 return HasUniqueFusedUseOfOperandAt(operand, operand_index, user, 0, in CanShareOperandBufferWithUser() 234 return HasUniqueFusedUseOfOperandAt(operand, operand_index, user, in CanShareOperandBufferWithUser() 257 auto param_uses = GetAllUsesOfInstructionAtIndex(param, operand_index, in CanShareOperandBufferWithUser() 276 const ShapeIndex& operand_index, in CanShareOperandBufferWithUser() argument 283 ShapeUtil::GetSubshape(operand->shape(), operand_index); in CanShareOperandBufferWithUser() [all …]
|
D | bfloat16_support.h | 32 int64 operand_index) const; 50 const HloInstruction& hlo, int64 operand_index); 55 int64 operand_index) const;
|
D | bfloat16_conversion_folding.cc | 57 Status FoldOperandConversion(HloInstruction* hlo, int64 operand_index); 77 HloInstruction* hlo, int64 operand_index) { in FoldOperandConversion() argument 79 auto operand = hlo->mutable_operand(operand_index); in FoldOperandConversion() 82 hlo->ReplaceOperandWith(operand_index, operand->mutable_operand(0))); in FoldOperandConversion()
|
D | liveness_util.h | 53 HloInstruction* operand, const ShapeIndex& operand_index, 57 const ShapeIndex& operand_index,
|
D | hlo_dataflow_analysis.cc | 311 const ShapeIndex& operand_index = pair.first; in UpdateSendValueSet() local 315 for (int64 i : operand_index) { in UpdateSendValueSet() 336 ShapeIndex operand_index = {0}; in UpdateRecvDoneValueSet() local 338 operand_index.push_back(i); in UpdateRecvDoneValueSet() 342 GetValueSet(recv_done->operand(0), operand_index); in UpdateRecvDoneValueSet() 410 ShapeIndex operand_index = {gte->tuple_index()}; in UpdateGetTupleElementValueSet() local 412 operand_index.push_back(i); in UpdateGetTupleElementValueSet() 416 GetValueSet(gte->operand(0), operand_index); in UpdateGetTupleElementValueSet() 521 const ShapeIndex& operand_index = pair.first; in UpdateTupleValueSet() local 525 for (int64 op_index : operand_index) { in UpdateTupleValueSet()
|
D | hlo_value.h | 68 ShapeIndex operand_index; member 75 operand_index == other.operand_index;
|
D | while_loop_invariant_code_motion.cc | 44 int64 operand_index; in CreateLoopInvariantCopy() member 55 if (frame->operand_index == frame->instruction->operand_count()) { in CreateLoopInvariantCopy() 88 frame->instruction->mutable_operand(frame->operand_index++); in CreateLoopInvariantCopy()
|
D | transpose_folding.cc | 82 for (const int64 operand_index : pair.second) { in FoldTransposeIntoDot() local 83 instructions_to_fuse.push_back(dot->mutable_operand(operand_index)); in FoldTransposeIntoDot()
|
D | hlo_evaluator.cc | 1578 [&](const std::vector<int64>& operand_index) { in HandleSelectAndScatter() argument 1579 auto curr_val = operand_literal.Get<ReturnT>(operand_index); in HandleSelectAndScatter() 1582 selected_index = operand_index; in HandleSelectAndScatter() 1596 selected_index = operand_index; in HandleSelectAndScatter() 1603 [&](const std::vector<int64>& operand_index) { in HandleSelectAndScatter() argument 1604 if (std::equal(operand_index.begin(), operand_index.end(), in HandleSelectAndScatter() 1607 auto scattered = result->Get<ReturnT>(operand_index); in HandleSelectAndScatter() 1617 result->Set(operand_index, computed_result->Get<ReturnT>({})); in HandleSelectAndScatter() 1666 DimensionVector operand_index(ShapeUtil::Rank(operand_literal.shape())); in HandleReduceWindow() local 1675 std::fill(operand_index.begin(), operand_index.end(), 0); in HandleReduceWindow() [all …]
|
D | bfloat16_normalization.h | 76 int64 operand_index) const override { in SupportsBF16Operand() argument
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_instruction_fusion.cc | 65 int64 operand_index) { in ShouldFuse() argument 66 HloInstruction* producer = consumer->mutable_operand(operand_index); in ShouldFuse() 67 VLOG(2) << "Considering for fusion: operand " << operand_index << " of " in ShouldFuse() 88 consumer->ReusesOperandElements(operand_index) && in ShouldFuse() 97 !InstructionFusion::ShouldFuse(consumer, operand_index)) { in ShouldFuse() 124 if (output_shape.dimensions(0) == 1 && operand_index == 1 && in ShouldFuse() 128 } else if (output_shape.dimensions(1) == 1 && operand_index == 0 && in ShouldFuse()
|
D | cpu_instruction_fusion.h | 32 bool ShouldFuse(HloInstruction* consumer, int64 operand_index) override;
|
/external/v8/src/runtime/ |
D | runtime-interpreter.cc | 81 for (int operand_index = 0; operand_index < operand_count; operand_index++) { in PrintRegisters() local 83 interpreter::Bytecodes::GetOperandType(bytecode, operand_index); in PrintRegisters() 90 bytecode_iterator.GetRegisterOperand(operand_index); in PrintRegisters() 91 int range = bytecode_iterator.GetRegisterOperandRange(operand_index); in PrintRegisters()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | instruction_fusion.cc | 46 int64 operand_index) { in ShouldFuse() argument 47 HloInstruction* producer = consumer->mutable_operand(operand_index); in ShouldFuse() 87 consumer->ReusesOperandElements(operand_index) && in ShouldFuse() 93 InstructionFusion::ShouldFuse(consumer, operand_index); in ShouldFuse()
|
D | instruction_fusion.h | 30 bool ShouldFuse(HloInstruction* consumer, int64 operand_index) override;
|
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/ |
D | resolve_tensorflow_tile.cc | 30 int operand_index) { in RemoveTileOperator() argument 36 binary_op->inputs[operand_index] = tile_op->inputs[0]; in RemoveTileOperator()
|
/external/v8/src/crankshaft/ |
D | hydrogen-environment-liveness.cc | 38 int operand_index = simulate->ToOperandIndex(index); in ZapEnvironmentSlot() local 39 if (operand_index == -1) { in ZapEnvironmentSlot() 42 simulate->SetOperandAt(operand_index, graph()->GetConstantOptimizedOut()); in ZapEnvironmentSlot()
|