Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dinstruction.h114 iterator begin() { return operands_.begin(); } in begin()
115 iterator end() { return operands_.end(); } in end()
116 const_iterator begin() const { return operands_.cbegin(); } in begin()
117 const_iterator end() const { return operands_.cend(); } in end()
119 const_iterator cbegin() const { return operands_.cbegin(); } in cbegin()
120 const_iterator cend() const { return operands_.cend(); } in cend()
124 return static_cast<uint32_t>(operands_.size()); in NumOperands()
145 return static_cast<uint32_t>(operands_.size() - TypeResultIdCount()); in NumInOperands()
189 std::vector<Operand> operands_; variable
197 assert(index < operands_.size() && "operand index out of bound"); in GetOperand()
[all …]
Dinstruction.cpp37 operands_.emplace_back(current_payload.type, std::move(words)); in Instruction()
43 : opcode_(op), type_id_(ty_id), result_id_(res_id), operands_() { in Instruction()
45 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_TYPE_ID, in Instruction()
49 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_RESULT_ID, in Instruction()
52 operands_.insert(operands_.end(), in_operands.begin(), in_operands.end()); in Instruction()
59 operands_(std::move(that.operands_)), in Instruction()
66 operands_ = std::move(that.operands_); in operator =()
79 for (uint32_t i = TypeResultIdCount(); i < operands_.size(); ++i) in NumInOperandWords()
80 size += static_cast<uint32_t>(operands_[i].words.size()); in NumInOperandWords()
88 for (const auto& operand : operands_) in ToBinaryWithoutAttachedDebugInsts()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinstruction.h261 iterator begin() { return operands_.begin(); } in begin()
262 iterator end() { return operands_.end(); } in end()
263 const_iterator begin() const { return operands_.cbegin(); } in begin()
264 const_iterator end() const { return operands_.cend(); } in end()
266 const_iterator cbegin() const { return operands_.cbegin(); } in cbegin()
267 const_iterator cend() const { return operands_.cend(); } in cend()
271 return static_cast<uint32_t>(operands_.size()); in NumOperands()
328 operands_.erase(operands_.begin() + index); in RemoveOperand()
332 operands_.insert(operands_.begin() + index, operand); in InsertOperand()
337 return static_cast<uint32_t>(operands_.size() - TypeResultIdCount()); in NumInOperands()
[all …]
Dinstruction.cpp82 operands_.emplace_back(current_payload.type, std::move(words)); in Instruction()
102 operands_.emplace_back(current_payload.type, std::move(words)); in Instruction()
114 operands_(), in Instruction()
117 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_TYPE_ID, in Instruction()
121 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_RESULT_ID, in Instruction()
124 operands_.insert(operands_.end(), in_operands.begin(), in_operands.end()); in Instruction()
134 operands_(std::move(that.operands_)), in Instruction()
148 operands_ = std::move(that.operands_); in operator =()
160 clone->operands_ = operands_; in Clone()
178 for (uint32_t i = TypeResultIdCount(); i < operands_.size(); ++i) in NumInOperandWords()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstruction.h261 iterator begin() { return operands_.begin(); } in begin()
262 iterator end() { return operands_.end(); } in end()
263 const_iterator begin() const { return operands_.cbegin(); } in begin()
264 const_iterator end() const { return operands_.cend(); } in end()
266 const_iterator cbegin() const { return operands_.cbegin(); } in cbegin()
267 const_iterator cend() const { return operands_.cend(); } in cend()
271 return static_cast<uint32_t>(operands_.size()); in NumOperands()
328 operands_.erase(operands_.begin() + index); in RemoveOperand()
332 operands_.insert(operands_.begin() + index, operand); in InsertOperand()
337 return static_cast<uint32_t>(operands_.size() - TypeResultIdCount()); in NumInOperands()
[all …]
Dinstruction.cpp82 operands_.emplace_back(current_payload.type, std::move(words)); in Instruction()
102 operands_.emplace_back(current_payload.type, std::move(words)); in Instruction()
114 operands_(), in Instruction()
117 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_TYPE_ID, in Instruction()
121 operands_.emplace_back(spv_operand_type_t::SPV_OPERAND_TYPE_RESULT_ID, in Instruction()
124 operands_.insert(operands_.end(), in_operands.begin(), in_operands.end()); in Instruction()
134 operands_(std::move(that.operands_)), in Instruction()
148 operands_ = std::move(that.operands_); in operator =()
160 clone->operands_ = operands_; in Clone()
178 for (uint32_t i = TypeResultIdCount(); i < operands_.size(); ++i) in NumInOperandWords()
[all …]
/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.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 …]
/third_party/skia/third_party/externals/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.cpp24 operands_(inst->operands, inst->operands + inst->num_operands), in Instruction()
26 inst->type_id, inst->result_id, operands_.data(), in Instruction()
/third_party/skia/third_party/externals/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.cpp24 operands_(inst->operands, inst->operands + inst->num_operands), in Instruction()
26 inst->type_id, inst->result_id, operands_.data(), in Instruction()
/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()
/third_party/skia/third_party/externals/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]; }
/third_party/skia/third_party/externals/spirv-tools/tools/sva/src/
Dast.js82 this.operands_ = operands;
89 operands() { return this.operands_; }
91 operand(val) { return this.operands_[val]; }
/third_party/spirv-tools/tools/sva/src/
Dast.js82 this.operands_ = operands;
89 operands() { return this.operands_; }
91 operand(val) { return this.operands_[val]; }
/third_party/flutter/skia/third_party/externals/spirv-tools/source/val/
Dinstruction.h71 return operands_; in operands()
82 const spv_parsed_operand_t& operand = operands_.at(index); in GetOperandAs()
90 const std::vector<spv_parsed_operand_t> operands_; variable
Dinstruction.cpp38 operands_(inst->operands, inst->operands + inst->num_operands), in Instruction()
40 inst->type_id, inst->result_id, operands_.data(), in Instruction()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dinstruction.cc24 : op_(op), operands_(std::move(operands)) {} in Instruction()
32 for (const auto& op : operands_) { in word_length()
Dinstruction.h42 const OperandList& operands() const { return operands_; } in operands()
49 OperandList operands_; variable
/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
/third_party/skia/third_party/externals/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
/third_party/skia/third_party/externals/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
/third_party/flutter/skia/third_party/externals/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