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

Method IsDeclaration

source/opt/function.h:201–201  ·  view source on GitHub ↗

Returns true is a function declaration and not a function definition.

Source from the content-addressed store, hash-verified

199
200 // Returns true is a function declaration and not a function definition.
201 bool IsDeclaration() { return begin() == end(); }
202
203 // Reorders the basic blocks in the function to match the structured order.
204 void ReorderBasicBlocksInStructuredOrder();

Callers 12

SimplifyFunctionMethod · 0.80
ProcessMethod · 0.80
AggressiveDCEMethod · 0.80
ProcessMethod · 0.80
ProcessFunctionMethod · 0.80
ProcessMethod · 0.80
EliminateDeadBranchesMethod · 0.80
ProcessMethod · 0.80
PropagateConstantsMethod · 0.80
ProcessMethod · 0.80
ProcessMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected