MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / ContainsDebugOpcode

Function ContainsDebugOpcode

test/opt/pass_utils.cpp:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75bool ContainsDebugOpcode(const char* inst) {
76 return std::any_of(std::begin(kDebugOpcodes), std::end(kDebugOpcodes),
77 [inst](const char* op) {
78 return std::string(inst).find(op) != std::string::npos;
79 });
80}
81
82std::string SelectiveJoin(const std::vector<const char*>& strings,
83 const std::function<bool(const char*)>& skip_dictator,

Callers 1

JoinNonDebugInstsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected