LLVM 19.0.0git
Namespaces | Macros | Functions
DarwinAsmParser.cpp File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDirectives.h"
#include "llvm/MC/MCParser/MCAsmLexer.h"
#include "llvm/MC/MCParser/MCAsmParser.h"
#include "llvm/MC/MCParser/MCAsmParserExtension.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/SectionKind.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/Triple.h"
#include <cstddef>
#include <cstdint>
#include <string>
#include <system_error>
#include <utility>
#include "llvm/BinaryFormat/MachO.def"

Go to the source code of this file.

Namespaces

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

Macros

#define PLATFORM(platform, id, name, build_name, target, tapi_target, marketing)    .Case(#build_name, MachO::PLATFORM_##platform)
 

Functions

static bool isSDKVersionToken (const AsmToken &Tok)
 
static Triple::OSType getOSTypeFromMCVM (MCVersionMinType Type)
 
static Triple::OSType getOSTypeFromPlatform (MachO::PlatformType Type)
 
MCAsmParserExtensionllvm::createDarwinAsmParser ()
 

Macro Definition Documentation

◆ PLATFORM

#define PLATFORM (   platform,
  id,
  name,
  build_name,
  target,
  tapi_target,
  marketing 
)     .Case(#build_name, MachO::PLATFORM_##platform)

Function Documentation

◆ getOSTypeFromMCVM()

static Triple::OSType getOSTypeFromMCVM ( MCVersionMinType  Type)
static

◆ getOSTypeFromPlatform()

static Triple::OSType getOSTypeFromPlatform ( MachO::PlatformType  Type)
static

◆ isSDKVersionToken()

static bool isSDKVersionToken ( const AsmToken Tok)
static