Searched refs:operand_index (Results 1 - 25 of 42) sorted by relevance

12

/external/v8/src/interpreter/
H A Dbytecode-array-accessor.h35 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) cons
[all...]
H A Dbytecode-array-accessor.cc63 int operand_index, OperandType operand_type) const {
64 DCHECK_GE(operand_index, 0);
65 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode()));
67 Bytecodes::GetOperandType(current_bytecode(), operand_index));
72 Bytecodes::GetOperandOffset(current_bytecode(), operand_index,
79 int operand_index, OperandType operand_type) const {
80 DCHECK_GE(operand_index, 0);
81 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode()));
83 Bytecodes::GetOperandType(current_bytecode(), operand_index));
88 Bytecodes::GetOperandOffset(current_bytecode(), operand_index,
62 GetUnsignedOperand( int operand_index, OperandType operand_type) const argument
78 GetSignedOperand( int operand_index, OperandType operand_type) const argument
[all...]
H A Dinterpreter-assembler.h28 // |operand_index| in the current bytecode.
29 compiler::Node* BytecodeOperandCount(int operand_index);
30 // Returns the 32-bit unsigned flag for bytecode operand |operand_index|
32 compiler::Node* BytecodeOperandFlag(int operand_index);
34 // |operand_index| in the current bytecode.
35 compiler::Node* BytecodeOperandIdx(int operand_index);
36 // Returns the smi index immediate for bytecode operand |operand_index|
38 compiler::Node* BytecodeOperandIdxSmi(int operand_index);
39 // Returns the 32-bit unsigned immediate for bytecode operand |operand_index|
41 compiler::Node* BytecodeOperandUImm(int operand_index);
[all...]
H A Dinterpreter-assembler.cc244 Node* InterpreterAssembler::OperandOffset(int operand_index) { argument
246 Bytecodes::GetOperandOffset(bytecode_, operand_index, operand_scale()));
249 Node* InterpreterAssembler::BytecodeOperandUnsignedByte(int operand_index) { argument
250 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(bytecode_));
252 bytecode_, operand_index, operand_scale()));
253 Node* operand_offset = OperandOffset(operand_index);
258 Node* InterpreterAssembler::BytecodeOperandSignedByte(int operand_index) { argument
259 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(bytecode_));
261 bytecode_, operand_index, operand_scale()));
262 Node* operand_offset = OperandOffset(operand_index);
318 BytecodeOperandUnsignedShort(int operand_index) argument
333 BytecodeOperandSignedShort(int operand_index) argument
348 BytecodeOperandUnsignedQuad(int operand_index) argument
362 BytecodeOperandSignedQuad(int operand_index) argument
376 BytecodeSignedOperand(int operand_index, OperandSize operand_size) argument
393 BytecodeUnsignedOperand(int operand_index, OperandSize operand_size) argument
410 BytecodeOperandCount(int operand_index) argument
418 BytecodeOperandFlag(int operand_index) argument
427 BytecodeOperandUImm(int operand_index) argument
435 BytecodeOperandUImmWord(int operand_index) argument
439 BytecodeOperandImm(int operand_index) argument
447 BytecodeOperandImmIntPtr(int operand_index) argument
451 BytecodeOperandImmSmi(int operand_index) argument
455 BytecodeOperandIdx(int operand_index) argument
464 BytecodeOperandIdxSmi(int operand_index) argument
468 BytecodeOperandReg(int operand_index) argument
477 BytecodeOperandRuntimeId(int operand_index) argument
486 BytecodeOperandIntrinsicId(int operand_index) argument
[all...]
H A Dbytecodes.cc113 for (int operand_index = 0; operand_index < i; ++operand_index) {
115 GetOperandSize(bytecode, operand_index, operand_scale);
H A Dbytecode-pipeline.h350 INLINE(void UpdateScaleForOperand(int operand_index, uint32_t operand)) { argument
351 if (Bytecodes::OperandIsScalableSignedByte(bytecode(), operand_index)) {
355 operand_index)) {
361 INLINE(void SetOperand(int operand_index, uint32_t operand)) { argument
362 operands_[operand_index] = operand;
363 UpdateScaleForOperand(operand_index, operand);
H A Dbytecodes.h673 int operand_index) {
675 return kOperandTypeInfos[static_cast<size_t>(bytecode)][operand_index] ==
680 int operand_index) {
682 return kOperandTypeInfos[static_cast<size_t>(bytecode)][operand_index] ==
686 static bool OperandIsScalable(Bytecode bytecode, int operand_index) { argument
687 return OperandIsScalableSignedByte(bytecode, operand_index) ||
688 OperandIsScalableUnsignedByte(bytecode, operand_index);
672 OperandIsScalableSignedByte(Bytecode bytecode, int operand_index) argument
679 OperandIsScalableUnsignedByte(Bytecode bytecode, int operand_index) argument
/external/tensorflow/tensorflow/compiler/xla/service/
H A Dbfloat16_support.h32 int64 operand_index) const;
50 const HloInstruction& hlo, int64 operand_index);
55 int64 operand_index) const;
H A Dbfloat16_support.cc23 int64 operand_index) const {
33 CHECK_EQ(operand_index, 0);
76 const HloInstruction& hlo, int64 operand_index) {
95 return operand_index == 0;
97 return operand_index == 0 || operand_index == 1;
99 return operand_index == 1 || operand_index == 2;
107 const HloInstruction& hlo, int64 operand_index) const {
75 EffectiveOperandPrecisionIsOutputPrecision( const HloInstruction& hlo, int64 operand_index) argument
H A Dliveness_util.h46 // 'operand' (at 'operand_index'). Returns false otherwise.
53 HloInstruction* operand, const ShapeIndex& operand_index,
57 const ShapeIndex& operand_index,
H A Dliveness_util.cc82 user->fused_parameter(user->operand_index(operand));
105 // Each use in 'uses' is a pair (HloInstruction* user, int64 operand_index)
107 // 'operand_index' is the operand index at which the alias appears in the
132 // Returns true if there is exactly one use of 'operand' at 'operand_index'
138 HloInstruction* operand, const ShapeIndex& operand_index,
159 fused_param, operand_index, points_to_analysis);
184 HloInstruction* operand, const ShapeIndex& operand_index,
190 ShapeUtil::GetSubshape(operand->shape(), operand_index);
204 // 'operand_index', and this singleton use is the fused root at operand
206 return HasUniqueFusedUseOfOperandAt(operand, operand_index, use
137 HasUniqueFusedUseOfOperandAt( HloInstruction* operand, const ShapeIndex& operand_index, HloInstruction* fusion, const int64 use_operand_index, const TuplePointsToAnalysis& points_to_analysis) argument
183 CanShareOperandBufferWithUser( HloInstruction* operand, const ShapeIndex& operand_index, HloInstruction* user, const ShapeIndex& user_index, const TuplePointsToAnalysis& points_to_analysis) argument
275 CanShareOperandBufferWithUser(HloInstruction* operand, const ShapeIndex& operand_index, HloInstruction* user, const ShapeIndex& user_index, const HloDataflowAnalysis& dataflow) argument
[all...]
H A Dbfloat16_conversion_folding.cc57 Status FoldOperandConversion(HloInstruction* hlo, int64 operand_index);
77 HloInstruction* hlo, int64 operand_index) {
79 auto operand = hlo->mutable_operand(operand_index);
82 hlo->ReplaceOperandWith(operand_index, operand->mutable_operand(0)));
76 FoldOperandConversion( HloInstruction* hlo, int64 operand_index) argument
H A Dbfloat16_normalization.h76 int64 operand_index) const override {
H A Dhlo_value.h68 ShapeIndex operand_index; member in struct:xla::HloUse
75 operand_index == other.operand_index;
H A Dinstruction_fusion.h54 // should be fused. `operand_index` is which operand of the consumer the
62 virtual bool ShouldFuse(HloInstruction* consumer, int64 operand_index);
H A Dtranspose_folding.cc82 for (const int64 operand_index : pair.second) {
83 instructions_to_fuse.push_back(dot->mutable_operand(operand_index));
H A Dwhile_loop_invariant_code_motion.cc44 int64 operand_index; member in struct:xla::DFSFrame
55 if (frame->operand_index == frame->instruction->operand_count()) {
88 frame->instruction->mutable_operand(frame->operand_index++);
H A Dhlo_dataflow_analysis.cc311 const ShapeIndex& operand_index = pair.first; local
315 for (int64 i : operand_index) {
336 ShapeIndex operand_index = {0}; local
338 operand_index.push_back(i);
342 GetValueSet(recv_done->operand(0), operand_index);
410 ShapeIndex operand_index = {gte->tuple_index()}; local
412 operand_index.push_back(i);
416 GetValueSet(gte->operand(0), operand_index);
521 const ShapeIndex& operand_index = pair.first; local
525 for (int64 op_index : operand_index) {
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
H A Dcpu_instruction_fusion.h32 bool ShouldFuse(HloInstruction* consumer, int64 operand_index) override;
H A Dcpu_instruction_fusion.cc65 int64 operand_index) {
66 HloInstruction* producer = consumer->mutable_operand(operand_index);
67 VLOG(2) << "Considering for fusion: operand " << operand_index << " of "
88 consumer->ReusesOperandElements(operand_index) &&
97 !InstructionFusion::ShouldFuse(consumer, operand_index)) {
124 if (output_shape.dimensions(0) == 1 && operand_index == 1 &&
128 } else if (output_shape.dimensions(1) == 1 && operand_index == 0 &&
64 ShouldFuse(HloInstruction* consumer, int64 operand_index) argument
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dinstruction_fusion.h30 bool ShouldFuse(HloInstruction* consumer, int64 operand_index) override;
H A Dinstruction_fusion.cc46 int64 operand_index) {
47 HloInstruction* producer = consumer->mutable_operand(operand_index);
87 consumer->ReusesOperandElements(operand_index) &&
93 InstructionFusion::ShouldFuse(consumer, operand_index);
45 ShouldFuse(HloInstruction* consumer, int64 operand_index) argument
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/
H A Dresolve_tensorflow_tile.cc30 int operand_index) {
36 binary_op->inputs[operand_index] = tile_op->inputs[0];
29 RemoveTileOperator(Model* model, Operator* tile_op, Operator* binary_op, int operand_index) argument
/external/v8/src/runtime/
H A Druntime-interpreter.cc81 for (int operand_index = 0; operand_index < operand_count; operand_index++) {
83 interpreter::Bytecodes::GetOperandType(bytecode, operand_index);
90 bytecode_iterator.GetRegisterOperand(operand_index);
91 int range = bytecode_iterator.GetRegisterOperandRange(operand_index);
/external/v8/src/crankshaft/
H A Dhydrogen-environment-liveness.cc38 int operand_index = simulate->ToOperandIndex(index); local
39 if (operand_index == -1) {
42 simulate->SetOperandAt(operand_index, graph()->GetConstantOptimizedOut());

Completed in 1434 milliseconds

12