当前位置: 首页>>代码示例>>C#>>正文


C# BuilderRef类代码示例

本文整理汇总了C#中BuilderRef的典型用法代码示例。如果您正苦于以下问题:C# BuilderRef类的具体用法?C# BuilderRef怎么用?C# BuilderRef使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


BuilderRef类属于命名空间,在下文中一共展示了BuilderRef类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: BuildIndirectBr

 public unsafe static ValueRef BuildIndirectBr(BuilderRef B, ValueRef Addr, uint NumDests) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildIndirectBr(B.Value, Addr.Value, NumDests));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例2: BuildPtrDiff

 public unsafe static ValueRef BuildPtrDiff(BuilderRef arg0, ValueRef LHS, ValueRef RHS, string Name) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildPtrDiff(arg0.Value, LHS.Value, RHS.Value, Name));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例3: BuildAtomicRMW

 public unsafe static ValueRef BuildAtomicRMW(BuilderRef B, AtomicRMWBinOp op, ValueRef PTR, ValueRef Val, AtomicOrdering ordering, bool singleThread) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildAtomicRMW(B.Value, (int)op, PTR.Value, Val.Value, (int)ordering, singleThread));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例4: BuildInsertElement

 public unsafe static ValueRef BuildInsertElement(BuilderRef arg0, ValueRef VecVal, ValueRef EltVal, ValueRef Index, string Name) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildInsertElement(arg0.Value, VecVal.Value, EltVal.Value, Index.Value, Name));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例5: BuildInsertValue

 public unsafe static ValueRef BuildInsertValue(BuilderRef arg0, ValueRef AggVal, ValueRef EltVal, uint Index, string Name) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildInsertValue(arg0.Value, AggVal.Value, EltVal.Value, Index, Name));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例6: BuildPhi

 public unsafe static ValueRef BuildPhi(BuilderRef arg0, TypeRef Ty, string Name) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildPhi(arg0.Value, Ty.Value, Name));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例7: BuildSelect

 public unsafe static ValueRef BuildSelect(BuilderRef arg0, ValueRef If, ValueRef Then, ValueRef Else, string Name) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildSelect(arg0.Value, If.Value, Then.Value, Else.Value, Name));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例8: BuildNUWNeg

 public unsafe static ValueRef BuildNUWNeg(BuilderRef B, ValueRef V, string Name) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildNUWNeg(B.Value, V.Value, Name));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例9: BuildNot

 public unsafe static ValueRef BuildNot(BuilderRef arg0, ValueRef V, string Name) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildNot(arg0.Value, V.Value, Name));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例10: BuildUnreachable

 public unsafe static ValueRef BuildUnreachable(BuilderRef arg0) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildUnreachable(arg0.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例11: BuildBinOp

 public unsafe static ValueRef BuildBinOp(BuilderRef B, Opcode Op, ValueRef LHS, ValueRef RHS, string Name) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildBinOp(B.Value, (int)Op, LHS.Value, RHS.Value, Name));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例12: BuildResume

 public unsafe static ValueRef BuildResume(BuilderRef B, ValueRef Exn) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildResume(B.Value, Exn.Value));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例13: BuildLandingPad

 public unsafe static ValueRef BuildLandingPad(BuilderRef B, TypeRef Ty, ValueRef PersFn, uint NumClauses, string Name) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildLandingPad(B.Value, Ty.Value, PersFn.Value, NumClauses, Name));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs

示例14: BuildInvoke

 public unsafe static ValueRef BuildInvoke(BuilderRef arg0, ValueRef Fn, ValueRef[] Args, BasicBlockRef Then, BasicBlockRef Catch, string Name) {
   fixed (ValueRef* swig_ptrTo_Args = Args)
   {
     ValueRef ret = new ValueRef(LLVMPINVOKE.BuildInvoke(arg0.Value, Fn.Value, (System.IntPtr)swig_ptrTo_Args, (uint)Args.Length, Then.Value, Catch.Value, Name));
     return ret;
   }
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:7,代码来源:LLVM.cs

示例15: BuildCast

 public unsafe static ValueRef BuildCast(BuilderRef B, Opcode Op, ValueRef Val, TypeRef DestTy, string Name) {
   ValueRef ret = new ValueRef(LLVMPINVOKE.BuildCast(B.Value, (int)Op, Val.Value, DestTy.Value, Name));
   return ret;
 }
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs


注:本文中的BuilderRef类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。