MLIR  20.0.0git
Functions
FileUtilities.cpp File Reference
#include "mlir/Support/FileUtilities.h"
#include "mlir/Support/LLVM.h"
#include "llvm/Support/Alignment.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/ToolOutputFile.h"

Go to the source code of this file.

Functions

static std::unique_ptr< llvm::MemoryBuffer > openInputFileImpl (StringRef inputFilename, std::string *errorMessage, std::optional< llvm::Align > alignment)
 

Function Documentation

◆ openInputFileImpl()

static std::unique_ptr<llvm::MemoryBuffer> openInputFileImpl ( StringRef  inputFilename,
std::string *  errorMessage,
std::optional< llvm::Align >  alignment 
)
static

Definition at line 23 of file FileUtilities.cpp.

Referenced by mlir::openInputFile().