#include "source/opt/local_single_block_elim_pass.h"
#include <vector>
#include "source/util/string_utils.h"
namespace spvtools {
namespace opt {
namespace {
constexpr uint32_t kStoreValIdInIdx = …;
}
bool LocalSingleBlockLoadStoreElimPass::HasOnlySupportedRefs(uint32_t ptrId) { … }
bool LocalSingleBlockLoadStoreElimPass::LocalSingleBlockLoadStoreElim(
Function* func) { … }
void LocalSingleBlockLoadStoreElimPass::Initialize() { … }
bool LocalSingleBlockLoadStoreElimPass::AllExtensionsSupported() const { … }
Pass::Status LocalSingleBlockLoadStoreElimPass::ProcessImpl() { … }
LocalSingleBlockLoadStoreElimPass::LocalSingleBlockLoadStoreElimPass() =
default;
Pass::Status LocalSingleBlockLoadStoreElimPass::Process() { … }
void LocalSingleBlockLoadStoreElimPass::InitExtensions() { … }
}
}