Target

Members

Aliases

DoubleProperties
alias DoubleProperties = FPTypeProperties!double
Undocumented in source.
FloatProperties
alias FloatProperties = FPTypeProperties!float
Undocumented in source.
RealProperties
alias RealProperties = FPTypeProperties!real
Undocumented in source.

Static functions

_init
void _init()
Undocumented in source. Be warned that the author may not have intended to support it.
alignsize
uint alignsize(Type type)

Return memory alignment size of type.

checkVectorType
int checkVectorType(int sz, Type type)

Checks whether the target supports a vector type with total size sz (in bytes) and element type type.

critsecsize
uint critsecsize()

Return size of OS critical section. NOTE: can't use the sizeof() calls directly since cross compiling is supported and would end up using the host sizes rather than the target sizes.

fieldalign
uint fieldalign(Type type)

Return field alignment size of type.

loadModule
void loadModule(Module m)

For the given module, perform any post parsing analysis. Certain compiler backends (ie: GDC) have special placeholder modules whose source are empty, but code gets injected immediately after loading.

paintAsType
Expression paintAsType(Expression e, Type type)

Encode the given expression, which is assumed to be an rvalue literal as another type for use in CTFE. This corresponds roughly to the idiom *(Type *)&e.

prefixName
void prefixName(OutBuffer* buf, LINK linkage)

For the given symbol written to the OutBuffer, apply any target-specific prefixes based on the given linkage.

va_listType
Type va_listType()

Returns a Type for the va_list type of the target. NOTE: For Posix/x86_64 this returns the type which will really be used for passing an argument of type va_list.

Static variables

c_long_doublesize
int c_long_doublesize;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
c_longsize
int c_longsize;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
classinfosize
int classinfosize;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
cppExceptions
bool cppExceptions;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ptrsize
int ptrsize;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
realalignsize
int realalignsize;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
realislongdouble
bool realislongdouble;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
realpad
int realpad;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
realsize
int realsize;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
reverseCppOverloads
bool reverseCppOverloads;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Templates

FPTypeProperties
template FPTypeProperties(T)
Undocumented in source.

Meta