Lines Matching defs:cap
155 const std::string& GetDefaultHeader(spv::Capability cap) {
166 return (cap == spv::Capability::Shader) ? shader_header : kernel_header;
676 std::string GetUnreachableMergeNoMergeInst(spv::Capability cap) {
677 std::string header = GetDefaultHeader(cap);
685 if (cap == spv::Capability::Shader)
706 std::string GetUnreachableMergeTerminatedBy(spv::Capability cap, spv::Op op) {
707 std::string header = GetDefaultHeader(cap);
717 if (cap == spv::Capability::Shader)
751 std::string GetUnreachableContinueTerminatedBy(spv::Capability cap,
753 std::string header = GetDefaultHeader(cap);
763 if (cap == spv::Capability::Shader)
816 std::string GetUnreachableMergeUnreachableMergeInst(spv::Capability cap) {
817 std::string header = GetDefaultHeader(cap);
828 if (cap == spv::Capability::Shader)
850 std::string GetUnreachableContinueUnreachableLoopInst(spv::Capability cap) {
851 std::string header = GetDefaultHeader(cap);
862 if (cap == spv::Capability::Shader)
883 std::string GetUnreachableMergeWithComplexBody(spv::Capability cap) {
884 std::string header = GetDefaultHeader(cap);
897 if (cap == spv::Capability::Shader)
919 std::string GetUnreachableContinueWithComplexBody(spv::Capability cap) {
920 std::string header = GetDefaultHeader(cap);
933 if (cap == spv::Capability::Shader)
954 std::string GetUnreachableMergeWithBranchUse(spv::Capability cap) {
955 std::string header = GetDefaultHeader(cap);
966 if (cap == spv::Capability::Shader)
987 std::string GetUnreachableMergeWithMultipleUses(spv::Capability cap) {
988 std::string header = GetDefaultHeader(cap);
1000 if (cap == spv::Capability::Shader) {
1030 std::string GetUnreachableContinueWithBranchUse(spv::Capability cap) {
1031 std::string header = GetDefaultHeader(cap);
1043 if (cap == spv::Capability::Shader)
1064 std::string GetReachableMergeAndContinue(spv::Capability cap) {
1065 std::string header = GetDefaultHeader(cap);
1081 if (cap == spv::Capability::Shader) {
1107 std::string GetUnreachableMergeAndContinue(spv::Capability cap) {
1108 std::string header = GetDefaultHeader(cap);
1123 if (cap == spv::Capability::Shader) {
1150 std::string GetUnreachableBlock(spv::Capability cap) {
1151 std::string header = GetDefaultHeader(cap);
1174 std::string GetUnreachableBranch(spv::Capability cap) {
1175 std::string header = GetDefaultHeader(cap);
1185 if (cap == spv::Capability::Shader)