11 #include "llvm/Option/ArgList.h" 15 using namespace clang;
19 if (
const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ))
25 std::vector<llvm::StringRef> &Features) {
27 if (Arg *A = Args.getLastArg(options::OPT_mhtm, options::OPT_mno_htm)) {
28 if (A->getOption().matches(options::OPT_mhtm))
29 Features.push_back(
"+transactional-execution");
31 Features.push_back(
"-transactional-execution");
34 if (Arg *A = Args.getLastArg(options::OPT_mvx, options::OPT_mno_vx)) {
35 if (A->getOption().matches(options::OPT_mvx))
36 Features.push_back(
"+vector");
38 Features.push_back(
"-vector");
Dataflow Directional Tag Classes.