Esempio n. 1
0
 internal static LLVMTypeRef CreateLLVMSliceIteratorType(this ContextWrapper context, LLVMTypeRef elementType)
 {
     return(LLVMTypeRef.StructType(new LLVMTypeRef[] { context.CreateLLVMSliceReferenceType(elementType), context.Int32Type }, false));
 }
Esempio n. 2
0
 internal static LLVMTypeRef CreateLLVMOptionType(this LLVMTypeRef innerType)
 {
     return(LLVMTypeRef.StructType(new LLVMTypeRef[] { LLVMTypeRef.Int1Type(), innerType }, false));
 }