Lines Matching +full:structured +full:- +full:clone
7 // http://www.apache.org/licenses/LICENSE-2.0
37 // A SPIR-V function.
49 // Creates a clone of the instruction in the given |context|
53 Function* Clone(IRContext*) const;
83 // Add a non-semantic instruction that succeeds this function in the module.
93 inline uint32_t result_id() const { return def_inst_->result_id(); } in result_id()
96 inline uint32_t type_id() const { return def_inst_->type_id(); } in type_id()
99 inline uint32_t control_mask() const { return def_inst_->GetSingleWordInOperand(0); } in control_mask()
128 // non-semantic instructions that succceed the function.
137 // non-semantic instructions that succeed the function. If |f| returns
171 // Pretty-prints all the basic blocks in this function into a std::string.
184 // Reorders the basic blocks in the function to match the structured order.
207 // Non-semantic instructions succeeded by this function.
211 // Pretty-prints |func| to |str|. Returns |str|.
232 b->SetParent(this); in AddBasicBlock()
246 assert(block_to_move->GetParent() == ip->GetParent() && in MoveBasicBlockToAfter()
255 [](const std::unique_ptr<BasicBlock>& bb) -> bool { in RemoveEmptyBlocks()
256 return bb->GetLabelInst()->opcode() == spv::Op::OpNop; in RemoveEmptyBlocks()
264 return param->result_id() == id; in RemoveParameter()