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

// Copyright (c) 2016 Google 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/basic_block.h"

#include <ostream>

#include "source/opt/ir_context.h"
#include "source/opt/reflect.h"
#include "source/util/make_unique.h"

namespace spvtools {
namespace opt {
namespace {
constexpr uint32_t kLoopMergeContinueBlockIdInIdx =;
constexpr uint32_t kLoopMergeMergeBlockIdInIdx =;
constexpr uint32_t kSelectionMergeMergeBlockIdInIdx =;
}  // namespace

BasicBlock* BasicBlock::Clone(IRContext* context) const {}

const Instruction* BasicBlock::GetMergeInst() const {}

Instruction* BasicBlock::GetMergeInst() {}

const Instruction* BasicBlock::GetLoopMergeInst() const {}

Instruction* BasicBlock::GetLoopMergeInst() {}

void BasicBlock::KillAllInsts(bool killLabel) {}

void BasicBlock::ForEachSuccessorLabel(
    const std::function<void(const uint32_t)>& f) const {}

bool BasicBlock::WhileEachSuccessorLabel(
    const std::function<bool(const uint32_t)>& f) const {}

void BasicBlock::ForEachSuccessorLabel(
    const std::function<void(uint32_t*)>& f) {}

bool BasicBlock::IsSuccessor(const BasicBlock* block) const {}

void BasicBlock::ForMergeAndContinueLabel(
    const std::function<void(const uint32_t)>& f) {}

uint32_t BasicBlock::MergeBlockIdIfAny() const {}

uint32_t BasicBlock::MergeBlockId() const {}

uint32_t BasicBlock::ContinueBlockIdIfAny() const {}

uint32_t BasicBlock::ContinueBlockId() const {}

std::ostream& operator<<(std::ostream& str, const BasicBlock& block) {}

void BasicBlock::Dump() const {}

std::string BasicBlock::PrettyPrint(uint32_t options) const {}

BasicBlock* BasicBlock::SplitBasicBlock(IRContext* context, uint32_t label_id,
                                        iterator iter) {}

}  // namespace opt
}  // namespace spvtools