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

Function BuildModule

source/opt/build_module.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47} // namespace
48
49std::unique_ptr<opt::IRContext> BuildModule(spv_target_env env,
50 MessageConsumer consumer,
51 const uint32_t* binary,
52 const size_t size) {
53 return BuildModule(env, consumer, binary, size, true);
54}
55
56std::unique_ptr<opt::IRContext> BuildModule(spv_target_env env,
57 MessageConsumer consumer,

Callers 11

RunMethod · 0.70
TryApplyReductionMethod · 0.50
LinkFunction · 0.50
RunMethod · 0.50
ForceRenderRedFunction · 0.50
GetIdBoundMethod · 0.50
BuildIRContextFunction · 0.50
CloneIRContextFunction · 0.50
RunMethod · 0.50

Calls 11

spvContextCreateFunction · 0.85
spvBinaryParseFunction · 0.85
spvContextDestroyFunction · 0.85
SetExtraLineTrackingMethod · 0.80
EndModuleMethod · 0.80
moduleMethod · 0.45
SetMessageConsumerMethod · 0.45
AssembleMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected