示例#1
0
 private LLVM.Value ConvertInteger(LLVM.Value v, LLVM.Type toType)
 {
     Trace.Assert(v.Type.isInteger() && toType.isInteger());
     return _builder.CreateIntCast(v, toType); // signed cast
 }