#include <TargetProfile.h>
Public Member Functions | |
TargetProfile (const std::string &triple) | |
const llvm::IntegerType * | getArithIntTy () const |
Returns the default integer type for arithmetic. | |
const llvm::IntegerType * | getLongArithIntTy () const |
Returns the. | |
const llvm::IntegerType * | getPointerIntTy () const |
Returns an integer type wide enough to hold a pointer value. | |
const llvm::IntegerType * | getPointerIndexTy () const |
Definition at line 33 of file TargetProfile.h.
comma::TargetProfile::TargetProfile | ( | const std::string & | triple | ) |
Construct a TargetProfile customized for the given target. The currently supported targets are:
x86_64-*-linux-gnu<>
i686-*-linux-gnu<>
const llvm::IntegerType* comma::TargetProfile::getArithIntTy | ( | ) | const |
Returns the default integer type for arithmetic.
const llvm::IntegerType* comma::TargetProfile::getLongArithIntTy | ( | ) | const |
Returns the.
const llvm::IntegerType* comma::TargetProfile::getPointerIndexTy | ( | ) | const |
Returns an integer type suitible for indexing into pointers. Similar to C's ptrdiff_t.
const llvm::IntegerType* comma::TargetProfile::getPointerIntTy | ( | ) | const |
Returns an integer type wide enough to hold a pointer value.