Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
TargetModel.hpp File Reference
#include <llvm/ADT/StringRef.h>
#include <llvm/TargetParser/Host.h>
#include <llvm/TargetParser/Triple.h>
#include "proteus/Error.h"
Include dependency graph for TargetModel.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  proteus
 

Enumerations

enum class  proteus::TargetModelType {
  proteus::HOST , proteus::CUDA , proteus::HIP , proteus::HOST_HIP ,
  proteus::HOST_CUDA
}
 

Functions

TargetModelType proteus::parseTargetModel (StringRef Target)
 
std::string proteus::getTargetTriple (TargetModelType Model)
 
bool proteus::isHostTargetModel (TargetModelType TargetModel)