LLVM  8.0.1
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
MCLinkerOptimizationHint.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cstdint>
Include dependency graph for MCLinkerOptimizationHint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::MCLOHDirective
 Store Linker Optimization Hint information (LOH). More...
 
class  llvm::MCLOHContainer
 

Namespaces

 llvm
 This class represents lattice values for constants.
 

Macros

#define MCLOHCaseNameToId(Name)   .Case(#Name, MCLOH_ ## Name)
 
#define MCLOHCaseIdToName(Name)   case MCLOH_ ## Name: return StringRef(#Name);
 

Typedefs

using llvm::MCLOHArgs = MCLOHDirective::LOHArgs
 
using llvm::MCLOHDirectives = MCLOHContainer::LOHDirectives
 

Enumerations

enum  llvm::MCLOHType {
  llvm::MCLOH_AdrpAdrp = 0x1u, llvm::MCLOH_AdrpLdr = 0x2u, llvm::MCLOH_AdrpAddLdr = 0x3u, llvm::MCLOH_AdrpLdrGotLdr = 0x4u,
  llvm::MCLOH_AdrpAddStr = 0x5u, llvm::MCLOH_AdrpLdrGotStr = 0x6u, llvm::MCLOH_AdrpAdd = 0x7u, llvm::MCLOH_AdrpLdrGot = 0x8u
}
 Linker Optimization Hint Type. More...
 

Functions

static StringRef llvm::MCLOHDirectiveName ()
 
static bool llvm::isValidMCLOHType (unsigned Kind)
 
static int llvm::MCLOHNameToId (StringRef Name)
 
static StringRef llvm::MCLOHIdToName (MCLOHType Kind)
 
static int llvm::MCLOHIdToNbArgs (MCLOHType Kind)
 

Macro Definition Documentation

◆ MCLOHCaseIdToName

#define MCLOHCaseIdToName (   Name)    case MCLOH_ ## Name: return StringRef(#Name);

Referenced by llvm::MCLOHIdToName().

◆ MCLOHCaseNameToId

#define MCLOHCaseNameToId (   Name)    .Case(#Name, MCLOH_ ## Name)

Referenced by llvm::MCLOHNameToId().