My Project
Macros | Functions
ConvertFromLLVMIR.cpp File Reference
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/MLIRContext.h"
#include "mlir/IR/Module.h"
#include "mlir/IR/StandardTypes.h"
#include "mlir/Target/LLVMIR.h"
#include "mlir/Translation.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Type.h"
#include "llvm/IRReader/IRReader.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/SourceMgr.h"
Include dependency graph for ConvertFromLLVMIR.cpp:

Macros

#define INST(llvm_n, mlir_n)   { llvm::Instruction::llvm_n, LLVM::mlir_n##Op::getOperationName() }
 

Functions

OwningModuleRef translateLLVMIRToModule (llvm::SourceMgr &sourceMgr, MLIRContext *context)
 

Macro Definition Documentation

◆ INST

#define INST (   llvm_n,
  mlir_n 
)    { llvm::Instruction::llvm_n, LLVM::mlir_n##Op::getOperationName() }

Function Documentation

◆ translateLLVMIRToModule()

OwningModuleRef translateLLVMIRToModule ( llvm::SourceMgr &  sourceMgr,
MLIRContext context 
)