comma::TargetProfile Class Reference

#include <TargetProfile.h>

List of all members.

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

Detailed Description

Definition at line 33 of file TargetProfile.h.


Constructor & Destructor Documentation

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<>

Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1