LLVM  8.0.1
Classes | Namespaces | Functions | Variables
MSFCommon.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/MathExtras.h"
#include <cstdint>
#include <vector>
Include dependency graph for MSFCommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::msf::SuperBlock
 
struct  llvm::msf::MSFLayout
 
class  llvm::msf::MSFStreamLayout
 Describes the layout of a stream in an MSF layout. More...
 

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::msf
 

Functions

MSFStreamLayout llvm::msf::getFpmStreamLayout (const MSFLayout &Msf, bool IncludeUnusedFpmData=false, bool AltFpm=false)
 Determine the layout of the FPM stream, given the MSF layout. More...
 
bool llvm::msf::isValidBlockSize (uint32_t Size)
 
uint32_t llvm::msf::getMinimumBlockCount ()
 
uint32_t llvm::msf::getFirstUnreservedBlock ()
 
uint64_t llvm::msf::bytesToBlocks (uint64_t NumBytes, uint64_t BlockSize)
 
uint64_t llvm::msf::blockToOffset (uint64_t BlockNumber, uint64_t BlockSize)
 
uint32_t llvm::msf::getFpmIntervalLength (const MSFLayout &L)
 
uint32_t llvm::msf::getNumFpmIntervals (uint32_t BlockSize, uint32_t NumBlocks, bool IncludeUnusedFpmData, int FpmNumber)
 Given an MSF with the specified block size and number of blocks, determine how many pieces the specified Fpm is split into. More...
 
uint32_t llvm::msf::getNumFpmIntervals (const MSFLayout &L, bool IncludeUnusedFpmData=false, bool AltFpm=false)
 
Error llvm::msf::validateSuperBlock (const SuperBlock &SB)
 

Variables

static const char llvm::msf::Magic []