Lines Matching defs:body
70 /// Sets the instructions which will appear in the body of the block
71 Block& SetBody(std::string body) {
72 body_ = body;
76 Block& AppendBody(std::string body) {
77 body_ += body;
819 Block body("body", spv::Op::OpReturn);
834 str += body;
853 Block body("body", spv::Op::OpReturn);
868 str += body;
1071 Block body("body", spv::Op::OpBranchConditional);
1076 body.SetBody("%cond = OpSLessThan %boolt %one %two\n");
1083 body.AppendBody("OpSelectionMerge %f None\n");
1086 str += nameOps("branch", "merge", "target", "body", "t", "f",
1091 str += branch >> std::vector<Block>({body});
1092 str += body >> std::vector<Block>({t, f});
1114 Block body("body", spv::Op::OpBranchConditional);
1120 body.SetBody("%cond = OpSLessThan %boolt %one %two\n");
1125 body.AppendBody("OpSelectionMerge %pre_target None\n");
1128 str += nameOps("branch", "merge", "pre_target", "target", "body", "t", "f",
1133 str += branch >> std::vector<Block>({body});
1134 str += body >> std::vector<Block>({t, f});
1670 OpBranchConditional %cond %body %exit
1671 %body = OpLabel
3166 OpBranch %body
3169 %body = OpLabel
3750 OpBranch %body
3751 %body = OpLabel
3780 OpBranch %body
3781 %body = OpLabel
3868 OpBranch %body
3869 %body = OpLabel
3925 OpName %body "body"
3935 OpBranch %body
3936 %body = OpLabel
3950 HasSubstr("Header block '3[%body]' is contained in the loop construct "