Home
last modified time | relevance | path

Searched refs:operands_ (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_matchers.cc32 if (operands_.empty()) { in MatchAndExplain()
36 if (operands.size() != operands_.size()) { in MatchAndExplain()
38 << (operands.size() > operands_.size() ? "many" : "few") in MatchAndExplain()
40 << operands_.size() << ")"; in MatchAndExplain()
45 if (!operands_[index].MatchAndExplain(operands[index], &inner_listener)) { in MatchAndExplain()
50 operands_[index].DescribeTo(listener->stream()); in MatchAndExplain()
64 if (!operands_.empty()) { in DescribeTo()
66 for (int i = 0; i < operands_.size(); i++) { in DescribeTo()
70 operands_[i].DescribeTo(os); in DescribeTo()
Dhlo_instruction.cc169 instruction->operands_.push_back(operand); in CreateTrace()
956 bool in_operand_list = std::find(operands_.begin(), operands_.end(), in CloneAndFuseInternal()
957 instruction_to_fuse) != operands_.end(); in CloneAndFuseInternal()
962 if (instruction_to_fuse == operands_[operand_num]) { in CloneAndFuseInternal()
971 operands_.erase(operands_.begin() + operand_num); in CloneAndFuseInternal()
999 CHECK_EQ(operands_.size(), fused_parameters.size()); in CloneAndFuseInternal()
1001 for (int64 i = 0; i < operands_.size(); ++i) { in CloneAndFuseInternal()
1002 if (operands_[i] == operand) { in CloneAndFuseInternal()
1453 CloneWithNewOperands(shape_, operands_, module); in Clone()
1611 return operands_[i]; in operand()
[all …]
Dhlo_matchers.h29 : opcode_(opcode), operands_(operands) {} in HloMatcher()
38 std::vector<::testing::Matcher<const HloInstruction*>> operands_; variable
Dhlo_instruction.h528 int64 operand_count() const { return operands_.size(); } in operand_count()
532 const InstructionVector& operands() const { return operands_; } in operands()
1348 InstructionVector operands_; variable
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dwhile_transformer.cc101 for (auto& pair : to_copy.operands_) { in ExprTree()
102 CHECK(operands_.find(pair.first) == operands_.end()); in ExprTree()
103 operands_.insert(std::make_pair( in ExprTree()
143 for (auto& pair : operands_) { in Match()
152 CHECK_EQ(0, operands_.count(index)); in SetOperand()
153 operands_.insert(std::make_pair(index, MakeUnique<ExprTree>(operand))); in SetOperand()
157 std::unordered_map<int64, std::unique_ptr<ExprTree>> operands_; member in xla::gpu::__anon0bdd458d0111::ExprTree
/external/v8/src/interpreter/
Dbytecode-pipeline.h240 return operands_[i]; in NON_EXPORTED_BASE()
242 const uint32_t* operands() const { return operands_; } in NON_EXPORTED_BASE()
270 operands_[0] = operand0; in NON_EXPORTED_BASE()
271 operands_[1] = operand1; in NON_EXPORTED_BASE()
272 operands_[2] = operand2; in NON_EXPORTED_BASE()
273 operands_[3] = operand3; in NON_EXPORTED_BASE()
362 operands_[operand_index] = operand; in NON_EXPORTED_BASE()
367 uint32_t operands_[Bytecodes::kMaxOperands]; in NON_EXPORTED_BASE() local
Dbytecode-pipeline.cc21 os << ' ' << std::setw(8) << std::setfill('0') << std::hex << operands_[i]; in Print()
/external/v8/src/compiler/
Dinstruction.cc336 operands_[offset++] = outputs[i]; in Instruction()
340 operands_[offset++] = inputs[i]; in Instruction()
344 operands_[offset++] = temps[i]; in Instruction()
606 operands_(input_count, InstructionOperand::kInvalidVirtualRegister, in PhiInstruction()
611 DCHECK_EQ(InstructionOperand::kInvalidVirtualRegister, operands_[offset]); in SetInput()
612 operands_[offset] = virtual_register; in SetInput()
616 DCHECK_NE(InstructionOperand::kInvalidVirtualRegister, operands_[offset]); in RenameInput()
617 operands_[offset] = virtual_register; in RenameInput()
Dinstruction.h809 return &operands_[i]; in OutputAt()
813 return &operands_[i]; in OutputAt()
823 return &operands_[OutputCount() + i]; in InputAt()
827 return &operands_[OutputCount() + i]; in InputAt()
833 return &operands_[OutputCount() + InputCount() + i]; in TempAt()
837 return &operands_[OutputCount() + InputCount() + i]; in TempAt()
981 InstructionOperand operands_[1]; variable
1329 const IntVector& operands() const { return operands_; } in NON_EXPORTED_BASE()
1339 IntVector operands_; in NON_EXPORTED_BASE() local