Home
last modified time | relevance | path

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

12

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dinstruction.h274 iterator begin() { return operands_.begin(); } in begin()
275 iterator end() { return operands_.end(); } in end()
276 const_iterator begin() const { return operands_.cbegin(); } in begin()
277 const_iterator end() const { return operands_.cend(); } in end()
279 const_iterator cbegin() const { return operands_.cbegin(); } in cbegin()
280 const_iterator cend() const { return operands_.cend(); } in cend()
284 return static_cast<uint32_t>(operands_.size()); in NumOperands()
344 operands_.erase(operands_.begin() + index); in RemoveOperand()
348 operands_.insert(operands_.begin() + index, operand); in InsertOperand()
353 return static_cast<uint32_t>(operands_.size() - TypeResultIdCount()); in NumInOperands()
[all …]
Dinstruction.cpp76 operands_.reserve(inst.num_operands); in Instruction()
79 operands_.emplace_back( in Instruction()
96 operands_.reserve(inst.num_operands); in Instruction()
99 operands_.emplace_back( in Instruction()
113 operands_(), in Instruction()
122 operands_.reserve(operands_size); in Instruction()
124 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_TYPE_ID, in Instruction()
128 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_RESULT_ID, in Instruction()
131 operands_.insert(operands_.end(), in_operands.begin(), in_operands.end()); in Instruction()
141 operands_(std::move(that.operands_)), in Instruction()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinstruction.h274 iterator begin() { return operands_.begin(); } in begin()
275 iterator end() { return operands_.end(); } in end()
276 const_iterator begin() const { return operands_.cbegin(); } in begin()
277 const_iterator end() const { return operands_.cend(); } in end()
279 const_iterator cbegin() const { return operands_.cbegin(); } in cbegin()
280 const_iterator cend() const { return operands_.cend(); } in cend()
284 return static_cast<uint32_t>(operands_.size()); in NumOperands()
342 operands_.erase(operands_.begin() + index); in RemoveOperand()
346 operands_.insert(operands_.begin() + index, operand); in InsertOperand()
351 return static_cast<uint32_t>(operands_.size() - TypeResultIdCount()); in NumInOperands()
[all …]
Dinstruction.cpp79 operands_.emplace_back( in Instruction()
98 operands_.emplace_back( in Instruction()
112 operands_(), in Instruction()
115 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_TYPE_ID, in Instruction()
119 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_RESULT_ID, in Instruction()
122 operands_.insert(operands_.end(), in_operands.begin(), in_operands.end()); in Instruction()
132 operands_(std::move(that.operands_)), in Instruction()
146 operands_ = std::move(that.operands_); in operator =()
158 clone->operands_ = operands_; in Clone()
176 for (uint32_t i = TypeResultIdCount(); i < operands_.size(); ++i) in NumInOperandWords()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstruction.h274 iterator begin() { return operands_.begin(); } in begin()
275 iterator end() { return operands_.end(); } in end()
276 const_iterator begin() const { return operands_.cbegin(); } in begin()
277 const_iterator end() const { return operands_.cend(); } in end()
279 const_iterator cbegin() const { return operands_.cbegin(); } in cbegin()
280 const_iterator cend() const { return operands_.cend(); } in cend()
284 return static_cast<uint32_t>(operands_.size()); in NumOperands()
342 operands_.erase(operands_.begin() + index); in RemoveOperand()
346 operands_.insert(operands_.begin() + index, operand); in InsertOperand()
351 return static_cast<uint32_t>(operands_.size() - TypeResultIdCount()); in NumInOperands()
[all …]
Dinstruction.cpp76 operands_.reserve(inst.num_operands); in Instruction()
79 operands_.emplace_back( in Instruction()
96 operands_.reserve(inst.num_operands); in Instruction()
99 operands_.emplace_back( in Instruction()
113 operands_(), in Instruction()
122 operands_.reserve(operands_size); in Instruction()
124 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_TYPE_ID, in Instruction()
128 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_RESULT_ID, in Instruction()
131 operands_.insert(operands_.end(), in_operands.begin(), in_operands.end()); in Instruction()
141 operands_(std::move(that.operands_)), in Instruction()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dconditional_code_motion.h44 std::vector<HloInstruction*>& mutable_operands() { return operands_; } in mutable_operands()
45 const std::vector<HloInstruction*>& operands() const { return operands_; } in operands()
49 bool IsEmpty() const { return operands_.empty(); } in IsEmpty()
52 for (HloInstruction* op : operands_) { in ToString()
58 return absl::c_equal(operands_, that.operands_);
62 return H::combine(std::move(h), boundary.operands_); in AbslHashValue()
68 std::vector<HloInstruction*> operands_;
Dhlo_matchers.cc39 if (operands_.empty()) { in MatchAndExplain()
43 if (operands.size() != operands_.size()) { in MatchAndExplain()
45 << (operands.size() > operands_.size() ? "many" : "few") in MatchAndExplain()
47 << operands_.size() << ")"; in MatchAndExplain()
52 if (!operands_[index].MatchAndExplain(operands[index], &inner_listener)) { in MatchAndExplain()
57 operands_[index].DescribeTo(listener->stream()); in MatchAndExplain()
71 if (!operands_.empty()) { in DescribeTo()
73 for (int i = 0; i < operands_.size(); i++) { in DescribeTo()
77 operands_[i].DescribeTo(os); in DescribeTo()
Dhlo_instruction.cc2185 HloInstruction* operand = operands_[operand_num]; in DetachFromOperandsAndUsers()
2192 operands_[operand_num] = nullptr; in DetachFromOperandsAndUsers()
2198 if (user->operands_[i] == this) { in DetachFromOperandsAndUsers()
2199 user->operands_[i] = nullptr; in DetachFromOperandsAndUsers()
2209 CloneWithNewOperands(shape, operands_, context); in CloneWithNewShape()
2277 return operands_.at(i); in operand()
2281 CHECK(operands_[i] != nullptr); in mutable_operand()
2282 return operands_.at(i); in mutable_operand()
2415 operands_.push_back(operand); in AppendOperand()
2428 operands_[next_index - removed_count] = operands_[next_index]; in RemoveOperandsAtAscendingIndices()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcustom_call_thunk.cc37 operands_(std::move(operands)), in CustomCallThunk()
44 buffers.reserve(operands_.size() + results_.size()); in ExecuteOnStream()
45 for (const std::vector<OptionalSlice>& slices : {operands_, results_}) { in ExecuteOnStream()
Dcustom_call_thunk.h62 const std::vector<OptionalSlice> operands_; variable
/external/deqp-deps/SPIRV-Tools/source/val/
Dinstruction.h73 return operands_[idx]; in operand()
78 return operands_; in operands()
103 const spv_parsed_operand_t& o = operands_.at(index); in GetOperandAs()
114 const std::vector<spv_parsed_operand_t> operands_; variable
Dinstruction.cpp27 operands_(inst->operands, inst->operands + inst->num_operands), in Instruction()
29 inst->type_id, inst->result_id, operands_.data(), in Instruction()
49 const spv_parsed_operand_t& o = operands_.at(index); in GetOperandAs()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dinstruction.h73 return operands_[idx]; in operand()
78 return operands_; in operands()
103 const spv_parsed_operand_t& o = operands_.at(index); in GetOperandAs()
114 const std::vector<spv_parsed_operand_t> operands_; variable
Dinstruction.cpp27 operands_(inst->operands, inst->operands + inst->num_operands), in Instruction()
29 inst->type_id, inst->result_id, operands_.data(), in Instruction()
49 const spv_parsed_operand_t& o = operands_.at(index); in GetOperandAs()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dinstruction.h73 return operands_[idx]; in operand()
78 return operands_; in operands()
103 const spv_parsed_operand_t& o = operands_.at(index); in GetOperandAs()
114 const std::vector<spv_parsed_operand_t> operands_; variable
Dinstruction.cpp27 operands_(inst->operands, inst->operands + inst->num_operands), in Instruction()
29 inst->type_id, inst->result_id, operands_.data(), in Instruction()
49 const spv_parsed_operand_t& o = operands_.at(index); in GetOperandAs()
/external/swiftshader/third_party/SPIRV-Tools/tools/sva/src/
Dast.js82 this.operands_ = operands;
89 operands() { return this.operands_; }
91 operand(val) { return this.operands_[val]; }
/external/deqp-deps/SPIRV-Tools/tools/sva/src/
Dast.js82 this.operands_ = operands;
89 operands() { return this.operands_; }
91 operand(val) { return this.operands_[val]; }
/external/angle/third_party/vulkan-deps/spirv-tools/src/tools/sva/src/
Dast.js82 this.operands_ = operands;
89 operands() { return this.operands_; }
91 operand(val) { return this.operands_[val]; }
/external/tensorflow/tensorflow/compiler/xla/runtime/
Dtypes.h239 const Type* operand(unsigned index) const { return operands_[index].get(); } in operand()
242 unsigned num_operands() const { return operands_.size(); } in num_operands()
247 : operands_(std::move(operands)), results_(std::move(results)) {} in FunctionType()
250 llvm::SmallVector<std::unique_ptr<Type>> operands_;
/external/tensorflow/tensorflow/compiler/jit/
Ddeadness_analysis.cc156 : Predicate(id), operands_(std::move(operands)) {} in AndPredicate()
174 return operands_; in GetOperands()
176 absl::Span<Predicate* const> operands() const { return operands_; } in operands()
179 std::vector<Predicate*> operands_; member in tensorflow::__anonc01ee9980111::AndPredicate
186 : Predicate(id), operands_(std::move(operands)) {} in OrPredicate()
203 return operands_; in GetOperands()
205 absl::Span<Predicate* const> operands() const { return operands_; } in operands()
208 std::vector<Predicate*> operands_; member in tensorflow::__anonc01ee9980111::OrPredicate
215 : Predicate(id), operands_({operand}) {} in NotPredicate()
222 Predicate* operand() const { return operands_[0]; } in operand()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dunit_spirv.h152 : enum_value_(val), name_(enum_name), operands_(ops) {} in enum_value_()
158 const std::vector<uint32_t>& operands() const { return operands_; } in operands()
163 std::vector<uint32_t> operands_; variable
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/
Dunit_spirv.h152 : enum_value_(val), name_(enum_name), operands_(ops) {} in enum_value_()
158 const std::vector<uint32_t>& operands() const { return operands_; } in operands()
163 std::vector<uint32_t> operands_; variable
/external/deqp-deps/SPIRV-Tools/test/
Dunit_spirv.h152 : enum_value_(val), name_(enum_name), operands_(ops) {} in enum_value_()
158 const std::vector<uint32_t>& operands() const { return operands_; } in operands()
163 std::vector<uint32_t> operands_; variable

12