clang 23.0.0git
X86.cpp File Reference
#include "X86.h"
#include "clang/Driver/Driver.h"
#include "clang/Options/Options.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Option/ArgList.h"
#include "llvm/TargetParser/Host.h"
#include "llvm/TargetParser/X86TargetParser.h"

Go to the source code of this file.

Macros

#define RESERVE_REG(REG)
#define RESERVE_EGPR(REG)

Macro Definition Documentation

◆ RESERVE_EGPR

#define RESERVE_EGPR ( REG)
Value:
if (Args.hasArg(options::OPT_ffixed_##REG)) { \
if (EGPROpt != EGPRFeature::Enabled) \
D.Diag(diag::err_drv_unsupported_opt_for_target) \
<< "-ffixed-" #REG << Triple.getTriple(); \
else \
Features.push_back("+reserve-" #REG); \
}

◆ RESERVE_REG

#define RESERVE_REG ( REG)
Value:
if (Args.hasArg(options::OPT_ffixed_##REG)) \
Features.push_back("+reserve-" #REG);