LLVM 20.0.0git
Namespaces | Functions
IFSHandler.h File Reference

This file declares an interface for reading and writing .ifs (text-based InterFace Stub) files. More...

#include "IFSStub.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/VersionTuple.h"
#include <memory>
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::ifs
 

Functions

const VersionTuple llvm::ifs::IFSVersionCurrent (3, 0)
 
Expected< std::unique_ptr< IFSStub > > llvm::ifs::readIFSFromBuffer (StringRef Buf)
 Attempts to read an IFS interface file from a StringRef buffer.
 
Error llvm::ifs::writeIFSToOutputStream (raw_ostream &OS, const IFSStub &Stub)
 Attempts to write an IFS interface file to a raw_ostream.
 
Error llvm::ifs::overrideIFSTarget (IFSStub &Stub, std::optional< IFSArch > OverrideArch, std::optional< IFSEndiannessType > OverrideEndianness, std::optional< IFSBitWidthType > OverrideBitWidth, std::optional< std::string > OverrideTriple)
 Override the target platform inforation in the text stub.
 
Error llvm::ifs::validateIFSTarget (IFSStub &Stub, bool ParseTriple)
 Validate the target platform inforation in the text stub.
 
void llvm::ifs::stripIFSTarget (IFSStub &Stub, bool StripTriple, bool StripArch, bool StripEndianness, bool StripBitWidth)
 Strips target platform information from the text stub.
 
Error llvm::ifs::filterIFSSyms (IFSStub &Stub, bool StripUndefined, const std::vector< std::string > &Exclude={})
 
IFSTarget llvm::ifs::parseTriple (StringRef TripleStr)
 Parse llvm triple string into a IFSTarget struct.
 

Detailed Description

This file declares an interface for reading and writing .ifs (text-based InterFace Stub) files.

Definition in file IFSHandler.h.