Intel® Implicit SPMD Program Compiler (Intel® ISPC)
1.13.0
|
#include <bitcode_lib.h>
Public Types | |
enum | BitcodeLibType { BitcodeLibType::Dispatch, BitcodeLibType::Builtins_c, BitcodeLibType::ISPC_target } |
Public Member Functions | |
BitcodeLib (const unsigned char lib[], int size, TargetOS os) | |
BitcodeLib (const unsigned char lib[], int size, TargetOS os, Arch arch) | |
BitcodeLib (const unsigned char lib[], int size, ISPCTarget target, TargetOS os, Arch arch) | |
void | print () const |
BitcodeLibType | getType () const |
const unsigned char * | getLib () const |
const size_t | getSize () const |
const TargetOS | getOS () const |
const Arch | getArch () const |
const ISPCTarget | getISPCTarget () const |
Private Attributes | |
BitcodeLibType | m_type |
const unsigned char * | m_lib |
const size_t | m_size |
const TargetOS | m_os |
const Arch | m_arch |
const ISPCTarget | m_target |
Definition at line 42 of file bitcode_lib.h.
|
strong |
Enumerator | |
---|---|
Dispatch | |
Builtins_c | |
ISPC_target |
Definition at line 44 of file bitcode_lib.h.
BitcodeLib::BitcodeLib | ( | const unsigned char | lib[], |
int | size, | ||
TargetOS | os | ||
) |
Definition at line 43 of file bitcode_lib.cpp.
References none, and TargetLibRegistry::RegisterTarget().
Definition at line 49 of file bitcode_lib.cpp.
References TargetLibRegistry::RegisterTarget().
BitcodeLib::BitcodeLib | ( | const unsigned char | lib[], |
int | size, | ||
ISPCTarget | target, | ||
TargetOS | os, | ||
Arch | arch | ||
) |
Definition at line 54 of file bitcode_lib.cpp.
References TargetLibRegistry::RegisterTarget().
const Arch BitcodeLib::getArch | ( | ) | const |
Definition at line 90 of file bitcode_lib.cpp.
References m_arch.
const ISPCTarget BitcodeLib::getISPCTarget | ( | ) | const |
Definition at line 91 of file bitcode_lib.cpp.
References m_target.
const unsigned char * BitcodeLib::getLib | ( | ) | const |
Definition at line 87 of file bitcode_lib.cpp.
References m_lib.
Referenced by AddBitcodeToModule().
const TargetOS BitcodeLib::getOS | ( | ) | const |
Definition at line 89 of file bitcode_lib.cpp.
References m_os.
const size_t BitcodeLib::getSize | ( | ) | const |
Definition at line 88 of file bitcode_lib.cpp.
References m_size.
Referenced by AddBitcodeToModule().
BitcodeLib::BitcodeLibType BitcodeLib::getType | ( | ) | const |
Definition at line 86 of file bitcode_lib.cpp.
References m_type.
void BitcodeLib::print | ( | ) | const |
Definition at line 60 of file bitcode_lib.cpp.
References ArchToString(), Builtins_c, Dispatch, ISPC_target, ISPCTargetToString(), m_arch, m_os, m_size, m_target, m_type, and OSToString().
|
private |
Definition at line 56 of file bitcode_lib.h.
|
private |
Definition at line 51 of file bitcode_lib.h.
Referenced by getLib().
|
private |
Definition at line 55 of file bitcode_lib.h.
|
private |
Definition at line 52 of file bitcode_lib.h.
|
private |
Definition at line 57 of file bitcode_lib.h.
Referenced by getISPCTarget(), and print().
|
private |
Definition at line 48 of file bitcode_lib.h.