UE::ShaderCompilerCommon::RemoveDeadCode

Rewrites a fully preprocessed shader source code, removing any functions or structs that are not reachable from a given entry point or list of symbols.