Home
last modified time | relevance | path

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

/external/deqp-deps/SPIRV-Tools/source/opt/
Dinstruction.h181 iterator begin() { return operands_.begin(); } in begin()
182 iterator end() { return operands_.end(); } in end()
183 const_iterator begin() const { return operands_.cbegin(); } in begin()
184 const_iterator end() const { return operands_.cend(); } in end()
186 const_iterator cbegin() const { return operands_.cbegin(); } in cbegin()
187 const_iterator cend() const { return operands_.cend(); } in cend()
191 return static_cast<uint32_t>(operands_.size()); in NumOperands()
223 operands_.erase(operands_.begin() + index); in RemoveOperand()
228 return static_cast<uint32_t>(operands_.size() - TypeResultIdCount()); in NumInOperands()
241 operands_.erase(operands_.begin() + index + TypeResultIdCount()); in RemoveInOperand()
[all …]
Dinstruction.cpp66 operands_.emplace_back(current_payload.type, std::move(words)); in Instruction()
78 operands_() { in Instruction()
80 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_TYPE_ID, in Instruction()
84 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_RESULT_ID, in Instruction()
87 operands_.insert(operands_.end(), in_operands.begin(), in_operands.end()); in Instruction()
96 operands_(std::move(that.operands_)), in Instruction()
104 operands_ = std::move(that.operands_); in operator =()
115 clone->operands_ = operands_; in Clone()
128 for (uint32_t i = TypeResultIdCount(); i < operands_.size(); ++i) in NumInOperandWords()
129 size += static_cast<uint32_t>(operands_[i].words.size()); in NumInOperandWords()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstruction.h181 iterator begin() { return operands_.begin(); } in begin()
182 iterator end() { return operands_.end(); } in end()
183 const_iterator begin() const { return operands_.cbegin(); } in begin()
184 const_iterator end() const { return operands_.cend(); } in end()
186 const_iterator cbegin() const { return operands_.cbegin(); } in cbegin()
187 const_iterator cend() const { return operands_.cend(); } in cend()
191 return static_cast<uint32_t>(operands_.size()); in NumOperands()
223 operands_.erase(operands_.begin() + index); in RemoveOperand()
228 return static_cast<uint32_t>(operands_.size() - TypeResultIdCount()); in NumInOperands()
241 operands_.erase(operands_.begin() + index + TypeResultIdCount()); in RemoveInOperand()
[all …]
Dinstruction.cpp66 operands_.emplace_back(current_payload.type, std::move(words)); in Instruction()
78 operands_() { in Instruction()
80 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_TYPE_ID, in Instruction()
84 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_RESULT_ID, in Instruction()
87 operands_.insert(operands_.end(), in_operands.begin(), in_operands.end()); in Instruction()
96 operands_(std::move(that.operands_)), in Instruction()
104 operands_ = std::move(that.operands_); in operator =()
115 clone->operands_ = operands_; in Clone()
128 for (uint32_t i = TypeResultIdCount(); i < operands_.size(); ++i) in NumInOperandWords()
129 size += static_cast<uint32_t>(operands_[i].words.size()); in NumInOperandWords()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_matchers.cc33 if (operands_.empty()) { in MatchAndExplain()
37 if (operands.size() != operands_.size()) { in MatchAndExplain()
39 << (operands.size() > operands_.size() ? "many" : "few") in MatchAndExplain()
41 << operands_.size() << ")"; in MatchAndExplain()
46 if (!operands_[index].MatchAndExplain(operands[index], &inner_listener)) { in MatchAndExplain()
51 operands_[index].DescribeTo(listener->stream()); in MatchAndExplain()
65 if (!operands_.empty()) { in DescribeTo()
67 for (int i = 0; i < operands_.size(); i++) { in DescribeTo()
71 operands_[i].DescribeTo(os); in DescribeTo()
Dhlo_instruction.cc1518 HloInstruction* operand = operands_[operand_num]; in ~HloInstruction()
1525 operands_[operand_num] = nullptr; in ~HloInstruction()
1531 if (user->operands_[i] == this) { in ~HloInstruction()
1532 user->operands_[i] = nullptr; in ~HloInstruction()
1541 CloneWithNewOperands(shape_, operands_, context); in Clone()
1602 return operands_[i]; in operand()
1606 CHECK(operands_[i] != nullptr); in mutable_operand()
1607 return operands_[i]; in mutable_operand()
1676 operands_.push_back(operand); in AppendOperand()
1689 operands_[next_index - removed_count] = operands_[next_index]; in RemoveOperandsAtAscendingIndices()
[all …]
Dhlo_instruction.h834 int64 operand_count() const { return operands_.size(); } in operand_count()
838 const InstructionVector& operands() const { return operands_; } in operands()
1634 operands_.erase(operands_.begin() + index); in RemoveOperandAt()
1740 InstructionVector operands_; variable
Dhlo_matchers.h31 : opcode_(opcode), operands_(operands) {} in HloMatcher()
40 std::vector<::testing::Matcher<const HloInstruction*>> operands_; variable
/external/v8/src/interpreter/
Dbytecode-node.h112 return operands_[i]; in operand()
114 const uint32_t* operands() const { return operands_; } in operands()
144 operands_[0] = operand0; in bytecode_()
145 operands_[1] = operand1; in bytecode_()
146 operands_[2] = operand2; in bytecode_()
147 operands_[3] = operand3; in bytecode_()
148 operands_[4] = operand4; in bytecode_()
260 operands_[operand_index] = operand; in SetOperand()
265 uint32_t operands_[Bytecodes::kMaxOperands]; variable
Dbytecode-node.cc21 os << ' ' << std::setw(8) << std::setfill('0') << std::hex << operands_[i]; in Print()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dinstruction.h72 return operands_[idx]; in operand()
77 return operands_; in operands()
91 const spv_parsed_operand_t& o = operands_.at(index); in GetOperandAs()
102 const std::vector<spv_parsed_operand_t> operands_; variable
Dinstruction.cpp24 operands_(inst->operands, inst->operands + inst->num_operands), in Instruction()
26 inst->type_id, inst->result_id, operands_.data(), in Instruction()
/external/deqp-deps/SPIRV-Tools/source/val/
Dinstruction.h72 return operands_[idx]; in operand()
77 return operands_; in operands()
91 const spv_parsed_operand_t& o = operands_.at(index); in GetOperandAs()
102 const std::vector<spv_parsed_operand_t> operands_; variable
Dinstruction.cpp24 operands_(inst->operands, inst->operands + inst->num_operands), in Instruction()
26 inst->type_id, inst->result_id, operands_.data(), in Instruction()
/external/tensorflow/tensorflow/compiler/jit/
Ddeadness_analysis.cc145 : Predicate(id), operands_(std::move(operands)) {} in AndPredicate()
163 return operands_; in GetOperands()
165 absl::Span<Predicate* const> operands() const { return operands_; } in operands()
168 std::vector<Predicate*> operands_; member in tensorflow::__anonab73ef130111::AndPredicate
175 : Predicate(id), operands_(std::move(operands)) {} in OrPredicate()
192 return operands_; in GetOperands()
194 absl::Span<Predicate* const> operands() const { return operands_; } in operands()
197 std::vector<Predicate*> operands_; member in tensorflow::__anonab73ef130111::OrPredicate
204 : Predicate(id), operands_({operand}) {} in NotPredicate()
211 Predicate* operand() const { return operands_[0]; } in operand()
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Dunit_spirv.h175 : enum_value_(val), name_(enum_name), operands_(ops) {} in enum_value_()
181 const std::vector<uint32_t>& operands() const { return operands_; } in operands()
186 std::vector<uint32_t> operands_; variable
/external/swiftshader/third_party/SPIRV-Tools/test/
Dunit_spirv.h175 : enum_value_(val), name_(enum_name), operands_(ops) {} in enum_value_()
181 const std::vector<uint32_t>& operands() const { return operands_; } in operands()
186 std::vector<uint32_t> operands_; variable
/external/v8/src/compiler/
Dinstruction.cc348 operands_[offset++] = outputs[i]; in Instruction()
352 operands_[offset++] = inputs[i]; in Instruction()
356 operands_[offset++] = temps[i]; in Instruction()
621 operands_(input_count, InstructionOperand::kInvalidVirtualRegister, in PhiInstruction()
626 DCHECK_EQ(InstructionOperand::kInvalidVirtualRegister, operands_[offset]); in SetInput()
627 operands_[offset] = virtual_register; in SetInput()
631 DCHECK_NE(InstructionOperand::kInvalidVirtualRegister, operands_[offset]); in RenameInput()
632 operands_[offset] = virtual_register; in RenameInput()
Dinstruction.h807 return &operands_[i]; in OutputAt()
811 return &operands_[i]; in OutputAt()
821 return &operands_[OutputCount() + i]; in InputAt()
825 return &operands_[OutputCount() + i]; in InputAt()
831 return &operands_[OutputCount() + InputCount() + i]; in TempAt()
835 return &operands_[OutputCount() + InputCount() + i]; in TempAt()
984 InstructionOperand operands_[1]; variable
1357 const IntVector& operands() const { return operands_; } in NON_EXPORTED_BASE()
1367 IntVector operands_; in NON_EXPORTED_BASE() local