本文整理汇总了C#中LLVMSharp.LLVMBuilderRef类的典型用法代码示例。如果您正苦于以下问题:C# LLVMBuilderRef类的具体用法?C# LLVMBuilderRef怎么用?C# LLVMBuilderRef使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LLVMBuilderRef类属于LLVMSharp命名空间,在下文中一共展示了LLVMBuilderRef类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ModCompiler
public ModCompiler(DetailLogger log, SymbolTableWalker walker,
LLVMContextRef context, LLVMModuleRef module, LLVMBuilderRef builder)
{
this.log = log;
this.walker = walker;
this.context = context;
this.module = module;
this.builder = builder;
}
示例2: BuildInvoke
public static LLVMValueRef BuildInvoke(LLVMBuilderRef param0, LLVMValueRef Fn, LLVMValueRef[] Args, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, string Name)
{
if (Args.Length == 0)
{
LLVMValueRef dummy;
return BuildInvoke(param0, Fn, out dummy, 0, Then, Catch, Name);
}
return BuildInvoke(param0, Fn, out Args[0], (uint)Args.Length, Then, Catch, Name);
}
示例3: BuildCall
public static LLVMValueRef BuildCall(LLVMBuilderRef param0, LLVMValueRef Fn, LLVMValueRef[] Args, string Name)
{
if (Args.Length == 0)
{
LLVMValueRef dummy;
return BuildCall(param0, Fn, out dummy, 0, Name);
}
return BuildCall(param0, Fn, out Args[0], (uint)Args.Length, Name);
}
示例4: BuildInBoundsGEP
public static LLVMValueRef BuildInBoundsGEP(LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef[] Indices, string Name)
{
if (Indices.Length == 0)
{
LLVMValueRef dummy;
return BuildInBoundsGEP(B, Pointer, out dummy, 0, Name);
}
return BuildInBoundsGEP(B, Pointer, out Indices[0], (uint)Indices.Length, Name);
}
示例5: GetInsertBlock
public static extern LLVMBasicBlockRef GetInsertBlock(LLVMBuilderRef @Builder);
示例6: BuildRetVoid
public static extern LLVMValueRef BuildRetVoid(LLVMBuilderRef @param0);
示例7: BuildAggregateRet
public static LLVMValueRef BuildAggregateRet(LLVMBuilderRef param0, LLVMValueRef[] RetVals)
{
return BuildAggregateRet(param0, out RetVals[0], (uint)RetVals.Length);
}
示例8: SetInstDebugLocation
public static extern void SetInstDebugLocation(LLVMBuilderRef @Builder, LLVMValueRef @Inst);
示例9: PositionBuilderBefore
public static extern void PositionBuilderBefore(LLVMBuilderRef @Builder, LLVMValueRef @Instr);
示例10: PositionBuilder
public static extern void PositionBuilder(LLVMBuilderRef @Builder, LLVMBasicBlockRef @Block, LLVMValueRef @Instr);
示例11: BuildUnreachable
public static extern LLVMValueRef BuildUnreachable(LLVMBuilderRef @param0);
示例12: BuildSwitch
public static extern LLVMValueRef BuildSwitch(LLVMBuilderRef @param0, LLVMValueRef @V, LLVMBasicBlockRef @Else, uint @NumCases);
示例13: BuildStructGEP
public static extern LLVMValueRef BuildStructGEP(LLVMBuilderRef @B, LLVMValueRef @Pointer, uint @Idx, [MarshalAs(UnmanagedType.LPStr)] string @Name);
示例14: BuildStore
public static extern LLVMValueRef BuildStore(LLVMBuilderRef @param0, LLVMValueRef @Val, LLVMValueRef @Ptr);
示例15: BuildShuffleVector
public static extern LLVMValueRef BuildShuffleVector(LLVMBuilderRef @param0, LLVMValueRef @V1, LLVMValueRef @V2, LLVMValueRef @Mask, [MarshalAs(UnmanagedType.LPStr)] string @Name);