IrTypeStorage

Members

Functions

append
IrIndex append(uint howMany)
appendArray
IrIndex appendArray(IrIndex elemType, uint numElements)
Undocumented in source. Be warned that the author may not have intended to support it.
appendFuncSignature
IrIndex appendFuncSignature(uint numResults, uint numParameters, CallConvention callConv)
Undocumented in source. Be warned that the author may not have intended to support it.
appendPtr
IrIndex appendPtr(IrIndex baseType)
Undocumented in source. Be warned that the author may not have intended to support it.
appendStruct
IrIndex appendStruct(uint numMembers, bool isUnion)
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get(IrIndex index)
getAggregateMember
IrTypeStructMember getAggregateMember(IrIndex aggrType, CompilationContext* c, IrIndex[] indices)

Returns offset + type of member indicated by indices

getArrayElementType
IrIndex getArrayElementType(IrIndex arrayType)
Undocumented in source. Be warned that the author may not have intended to support it.
getCalleeCallConv
CallConv* getCalleeCallConv(IrIndex callee, IrFunction* ir, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
getPointerBaseType
IrIndex getPointerBaseType(IrIndex ptrType)
Undocumented in source. Be warned that the author may not have intended to support it.
getReturnType
IrIndex getReturnType(IrIndex funcSigType, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
isSameType
bool isSameType(IrIndex a, IrIndex b)
Undocumented in source. Be warned that the author may not have intended to support it.
typeSize
uint typeSize(IrIndex type)
Undocumented in source. Be warned that the author may not have intended to support it.
typeSizeAndAlignment
SizeAndAlignment typeSizeAndAlignment(IrIndex type)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

buffer
Arena!ulong buffer;
Undocumented in source.
firstType
IrIndex firstType;
Undocumented in source.
lastType
IrIndex lastType;
Undocumented in source.

Meta