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

// Copyright (c) 2017 The Khronos Group Inc.
// Copyright (c) 2017 Valve Corporation
// Copyright (c) 2017 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/pass.h"

#include "source/opt/ir_builder.h"
#include "source/opt/iterator.h"

namespace spvtools {
namespace opt {
namespace {
constexpr uint32_t kTypePointerTypeIdInIdx =;
}  // namespace

Pass::Pass() :{}

Pass::Status Pass::Run(IRContext* ctx) {}

uint32_t Pass::GetPointeeTypeId(const Instruction* ptrInst) const {}

Instruction* Pass::GetBaseType(uint32_t ty_id) {}

bool Pass::IsFloat(uint32_t ty_id, uint32_t width) {}

uint32_t Pass::GetNullId(uint32_t type_id) {}

uint32_t Pass::GenerateCopy(Instruction* object_to_copy, uint32_t new_type_id,
                            Instruction* insertion_position) {}

}  // namespace opt
}  // namespace spvtools