Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Var.hpp File Reference
#include <llvm/IR/IRBuilder.h>
#include <llvm/IR/Module.h>
Include dependency graph for Var.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  proteus::Var
 

Namespaces

namespace  proteus
 

Functions

template<typename T >
std::enable_if_t< std::is_arithmetic_v< T >, Var & > proteus::operator+ (const T &ConstValue, const Var &V)
 
template<typename T >
std::enable_if_t< std::is_arithmetic_v< T >, Var & > proteus::operator- (const T &ConstValue, const Var &V)
 
template<typename T >
std::enable_if_t< std::is_arithmetic_v< T >, Var & > proteus::operator* (const T &ConstValue, const Var &V)
 
template<typename T >
std::enable_if_t< std::is_arithmetic_v< T >, Var & > proteus::operator/ (const T &ConstValue, const Var &V)
 
Value * proteus::convert (IRBuilderBase IRB, Value *V, Type *TargetType)
 
Type * proteus::getCommonType (const DataLayout &DL, Type *T1, Type *T2)
 Get the common type following C++ usual arithmetic conversions.
 
Varproteus::powf (const Var &L, const Var &R)
 
Varproteus::sqrtf (const Var &R)