Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KhronosGroup/SPIRV-Tools
/ spvOpcodeIsBlockTerminator
Function
spvOpcodeIsBlockTerminator
source/opcode.cpp:406–408 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
404
}
405
406
bool spvOpcodeIsBlockTerminator(spv::Op opcode) {
407
return spvOpcodeIsBranch(opcode) || spvOpcodeIsReturnOrAbort(opcode);
408
}
409
410
bool spvOpcodeIsBaseOpaqueType(spv::Op opcode) {
411
switch (opcode) {
Callers
6
GetAvailableOpportunities
Method · 0.85
ValidateBinaryUsingContextAndValidationState
Function · 0.85
AddInstruction
Method · 0.85
IsBlockTerminator
Method · 0.85
ToBinary
Method · 0.85
PrettyPrint
Method · 0.85
Calls
2
spvOpcodeIsBranch
Function · 0.85
spvOpcodeIsReturnOrAbort
Function · 0.85
Tested by
no test coverage detected