Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Namespaces | Functions
CoreLLVMHIP.hpp File Reference
#include <llvm/Bitcode/BitcodeWriter.h>
#include <llvm/CodeGen/MachineModuleInfo.h>
#include <llvm/IR/Function.h>
#include <llvm/IR/LegacyPassManager.h>
#include <llvm/IR/Module.h>
#include <llvm/Support/CodeGen.h>
#include <llvm/Support/FileSystem.h>
#include <llvm/Support/MemoryBuffer.h>
#include <llvm/Support/Path.h>
#include <llvm/Support/TargetSelect.h>
#include <llvm/Target/TargetMachine.h>
#include "proteus/Debug.h"
#include "proteus/Error.h"
#include "proteus/Logger.hpp"
#include "proteus/UtilsHIP.h"
Include dependency graph for CoreLLVMHIP.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  proteus
 
namespace  proteus::detail
 

Functions

const SmallVector< StringRef > & proteus::detail::gridDimXFnName ()
 
const SmallVector< StringRef > & proteus::detail::gridDimYFnName ()
 
const SmallVector< StringRef > & proteus::detail::gridDimZFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockDimXFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockDimYFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockDimZFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockIdxXFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockIdxYFnName ()
 
const SmallVector< StringRef > & proteus::detail::blockIdxZFnName ()
 
const SmallVector< StringRef > & proteus::detail::threadIdxXFnName ()
 
const SmallVector< StringRef > & proteus::detail::threadIdxYFnName ()
 
const SmallVector< StringRef > & proteus::detail::threadIdxZFnName ()
 
void proteus::setLaunchBoundsForKernel (Module &M, Function &F, size_t GridSize, int BlockSize)
 
std::unique_ptr< MemoryBuffer > proteus::codegenObject (Module &M, StringRef DeviceArch, SmallPtrSetImpl< void * > &GlobalLinkedBinaries, bool UseRTC=true)