chromium/third_party/spirv-tools/src/source/opt/eliminate_dead_output_stores_pass.cpp

// Copyright (c) 2022 The Khronos Group Inc.
// Copyright (c) 2022 LunarG Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "source/opt/eliminate_dead_output_stores_pass.h"

#include "source/opt/instruction.h"
#include "source/opt/ir_context.h"

namespace spvtools {
namespace opt {
namespace {
constexpr uint32_t kDecorationLocationInIdx =;
constexpr uint32_t kOpDecorateMemberMemberInIdx =;
constexpr uint32_t kOpDecorateBuiltInLiteralInIdx =;
constexpr uint32_t kOpDecorateMemberBuiltInLiteralInIdx =;
constexpr uint32_t kOpAccessChainIdx0InIdx =;
constexpr uint32_t kOpConstantValueInIdx =;
}  // namespace

Pass::Status EliminateDeadOutputStoresPass::Process() {}

void EliminateDeadOutputStoresPass::InitializeElimination() {}

bool EliminateDeadOutputStoresPass::IsLiveBuiltin(uint32_t bi) {}

bool EliminateDeadOutputStoresPass::AnyLocsAreLive(uint32_t start,
                                                   uint32_t count) {}

void EliminateDeadOutputStoresPass::KillAllStoresOfRef(Instruction* ref) {}

void EliminateDeadOutputStoresPass::KillAllDeadStoresOfLocRef(
    Instruction* ref, Instruction* var) {}

void EliminateDeadOutputStoresPass::KillAllDeadStoresOfBuiltinRef(
    Instruction* ref, Instruction* var) {}

Pass::Status EliminateDeadOutputStoresPass::DoDeadOutputStoreElimination() {}

}  // namespace opt
}  // namespace spvtools