本文整理汇总了C#中LLVMTypeRef类的典型用法代码示例。如果您正苦于以下问题:C# LLVMTypeRef类的具体用法?C# LLVMTypeRef怎么用?C# LLVMTypeRef使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LLVMTypeRef类属于命名空间,在下文中一共展示了LLVMTypeRef类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: TypeRef
public TypeRef(LLVMTypeRef* handle)
{
if(handle == null)
throw new ArgumentNullException("handle");
m_handle = handle;
}
示例2: TypeRef
public TypeRef(LLVMTypeRef* handle, LLVMTypeRef* pointed = null)
{
if(handle == null)
throw new ArgumentNullException("handle");
m_handle = handle;
m_pointedType = pointed;
}
示例3: VectorType
public static extern LLVMTypeRef* VectorType(LLVMTypeRef* ElementType, uint ElementCount);
示例4: PointerType
public static extern LLVMTypeRef* PointerType(LLVMTypeRef* ElementType, uint AddressSpace);
示例5: ArrayType
public static extern LLVMTypeRef* ArrayType(LLVMTypeRef* ElementType, uint ElementCount);
示例6: IsOpaqueStruct
public static extern int IsOpaqueStruct(LLVMTypeRef* StructTy);
示例7: GetStructElementTypes
public static extern void GetStructElementTypes(LLVMTypeRef* StructTy, System.IntPtr[] Dest);
示例8: StructSetBody
public static extern void StructSetBody(LLVMTypeRef* StructTy, System.IntPtr[] ElementTypes, uint ElementCount, int Packed);
示例9: GetTypeKind
public static extern LLVMTypeKind GetTypeKind(LLVMTypeRef* Ty);
示例10: AddFunction
public static extern LLVMValueRef* AddFunction(LLVMModuleRef* M, [In][MarshalAs(UnmanagedType.LPStr)] string Name, LLVMTypeRef* FunctionTy);
示例11: OffsetOfElement
public static extern ulong OffsetOfElement(LLVMTargetDataRef* LLVMTargetDataRef, LLVMTypeRef* StructTy, uint Element);
示例12: PreferredAlignmentOfType
public static extern uint PreferredAlignmentOfType(LLVMTargetDataRef* LLVMTargetDataRef, LLVMTypeRef* LLVMTypeRef);
示例13: CallFrameAlignmentOfType
public static extern uint CallFrameAlignmentOfType(LLVMTargetDataRef* LLVMTargetDataRef, LLVMTypeRef* LLVMTypeRef);
示例14: ABIAlignmentOfType
public static extern uint ABIAlignmentOfType(LLVMTargetDataRef* LLVMTargetDataRef, LLVMTypeRef* LLVMTypeRef);
示例15: ABISizeOfType
public static extern ulong ABISizeOfType(LLVMTargetDataRef* LLVMTargetDataRef, LLVMTypeRef* LLVMTypeRef);