예제 #1
0
 public LLVMValueRef AddAlias(LLVMTypeRef Ty, LLVMValueRef Aliasee, ReadOnlySpan <char> Name)
 {
     using var marshaledName = new MarshaledString(Name);
     return(LLVM.AddAlias(this, Ty, Aliasee, marshaledName));
 }
예제 #2
0
 public LLVMValueRef AddGlobalInAddressSpace(LLVMTypeRef Ty, ReadOnlySpan <char> Name, uint AddressSpace)
 {
     using var marshaledName = new MarshaledString(Name);
     return(LLVM.AddGlobalInAddressSpace(this, Ty, marshaledName, AddressSpace));
 }
예제 #3
0
 public LLVMValueRef AddAlias(LLVMTypeRef Ty, LLVMValueRef Aliasee, string Name) => AddAlias(Ty, Aliasee, Name.AsSpan());
예제 #4
0
 public LLVMValueRef AddGlobalInAddressSpace(LLVMTypeRef Ty, string Name, uint AddressSpace) => AddGlobalInAddressSpace(Ty, Name.AsSpan(), AddressSpace);
예제 #5
0
 public LLVMValueRef AddGlobal(LLVMTypeRef Ty, string Name) => AddGlobal(Ty, Name.AsSpan());
예제 #6
0
 public LLVMValueRef AddFunction(ReadOnlySpan <char> Name, LLVMTypeRef FunctionTy)
 {
     using var marshaledName = new MarshaledString(Name);
     return(LLVM.AddFunction(this, marshaledName, FunctionTy));
 }
예제 #7
0
 public LLVMValueRef AddFunction(string Name, LLVMTypeRef FunctionTy) => AddFunction(Name.AsSpan(), FunctionTy);
예제 #8
0
 public LLVMValueRef AddGlobal(LLVMTypeRef Ty, string Name)
 {
     using var marshaledName = new MarshaledString(Name);
     return(LLVM.AddGlobal(this, Ty, marshaledName));
 }