sapphirec
The Sapphire documentation
Arguments.h
Go to the documentation of this file.
1 #pragma once
2 #include "sapphirepch.h"
3 #include <llvm/ADT/Triple.h>
4 
5 struct Arguments
6 {
7  static void parse(int argc, char** argv);
8 
9  static std::string input_fname;
10  static std::string output_fname;
11 
12  static bool wimport;
13 
14  static std::string cpu;
15 
16  static llvm::Triple TargetTriple;
17 
18  private:
19  static void setTriple(const std::string& arch, const std::string& system);
20 };
Definition: Arguments.h:6
static bool wimport
Definition: Arguments.h:12
static std::string cpu
Definition: Arguments.h:14
static std::string input_fname
Definition: Arguments.h:9
static void parse(int argc, char **argv)
Definition: Arguments.cpp:13
static llvm::Triple TargetTriple
Definition: Arguments.h:16
static std::string output_fname
Definition: Arguments.h:10