llvm/llvm/lib/SandboxIR/Context.cpp

//===- Context.cpp - The Context class of Sandbox IR ----------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/SandboxIR/Context.h"
#include "llvm/SandboxIR/Function.h"
#include "llvm/SandboxIR/Instruction.h"
#include "llvm/SandboxIR/Module.h"

namespace llvm::sandboxir {

std::unique_ptr<Value> Context::detachLLVMValue(llvm::Value *V) {}

std::unique_ptr<Value> Context::detach(Value *V) {}

Value *Context::registerValue(std::unique_ptr<Value> &&VPtr) {}

Value *Context::getOrCreateValueInternal(llvm::Value *LLVMV, llvm::User *U) {}

Argument *Context::getOrCreateArgument(llvm::Argument *LLVMArg) {}

Constant *Context::getOrCreateConstant(llvm::Constant *LLVMC) {}

BasicBlock *Context::createBasicBlock(llvm::BasicBlock *LLVMBB) {}

VAArgInst *Context::createVAArgInst(llvm::VAArgInst *SI) {}

FreezeInst *Context::createFreezeInst(llvm::FreezeInst *SI) {}

FenceInst *Context::createFenceInst(llvm::FenceInst *SI) {}

SelectInst *Context::createSelectInst(llvm::SelectInst *SI) {}

ExtractElementInst *
Context::createExtractElementInst(llvm::ExtractElementInst *EEI) {}

InsertElementInst *
Context::createInsertElementInst(llvm::InsertElementInst *IEI) {}

ShuffleVectorInst *
Context::createShuffleVectorInst(llvm::ShuffleVectorInst *SVI) {}

ExtractValueInst *Context::createExtractValueInst(llvm::ExtractValueInst *EVI) {}

InsertValueInst *Context::createInsertValueInst(llvm::InsertValueInst *IVI) {}

BranchInst *Context::createBranchInst(llvm::BranchInst *BI) {}

LoadInst *Context::createLoadInst(llvm::LoadInst *LI) {}

StoreInst *Context::createStoreInst(llvm::StoreInst *SI) {}

ReturnInst *Context::createReturnInst(llvm::ReturnInst *I) {}

CallInst *Context::createCallInst(llvm::CallInst *I) {}

InvokeInst *Context::createInvokeInst(llvm::InvokeInst *I) {}

CallBrInst *Context::createCallBrInst(llvm::CallBrInst *I) {}

UnreachableInst *Context::createUnreachableInst(llvm::UnreachableInst *UI) {}
LandingPadInst *Context::createLandingPadInst(llvm::LandingPadInst *I) {}
CatchPadInst *Context::createCatchPadInst(llvm::CatchPadInst *I) {}
CleanupPadInst *Context::createCleanupPadInst(llvm::CleanupPadInst *I) {}
CatchReturnInst *Context::createCatchReturnInst(llvm::CatchReturnInst *I) {}
CleanupReturnInst *
Context::createCleanupReturnInst(llvm::CleanupReturnInst *I) {}
GetElementPtrInst *
Context::createGetElementPtrInst(llvm::GetElementPtrInst *I) {}
CatchSwitchInst *Context::createCatchSwitchInst(llvm::CatchSwitchInst *I) {}
ResumeInst *Context::createResumeInst(llvm::ResumeInst *I) {}
SwitchInst *Context::createSwitchInst(llvm::SwitchInst *I) {}
UnaryOperator *Context::createUnaryOperator(llvm::UnaryOperator *I) {}
BinaryOperator *Context::createBinaryOperator(llvm::BinaryOperator *I) {}
AtomicRMWInst *Context::createAtomicRMWInst(llvm::AtomicRMWInst *I) {}
AtomicCmpXchgInst *
Context::createAtomicCmpXchgInst(llvm::AtomicCmpXchgInst *I) {}
AllocaInst *Context::createAllocaInst(llvm::AllocaInst *I) {}
CastInst *Context::createCastInst(llvm::CastInst *I) {}
PHINode *Context::createPHINode(llvm::PHINode *I) {}
ICmpInst *Context::createICmpInst(llvm::ICmpInst *I) {}
FCmpInst *Context::createFCmpInst(llvm::FCmpInst *I) {}
Value *Context::getValue(llvm::Value *V) const {}

Context::Context(LLVMContext &LLVMCtx)
    :{}

Context::~Context() {}

Module *Context::getModule(llvm::Module *LLVMM) const {}

Module *Context::getOrCreateModule(llvm::Module *LLVMM) {}

Function *Context::createFunction(llvm::Function *F) {}

Module *Context::createModule(llvm::Module *LLVMM) {}

} // namespace llvm::sandboxir