public LLVMValueRef AddAlias(LLVMTypeRef Ty, LLVMValueRef Aliasee, ReadOnlySpan <char> Name) { using var marshaledName = new MarshaledString(Name); return(LLVM.AddAlias(this, Ty, Aliasee, marshaledName)); }
public LLVMValueRef AddGlobalInAddressSpace(LLVMTypeRef Ty, ReadOnlySpan <char> Name, uint AddressSpace) { using var marshaledName = new MarshaledString(Name); return(LLVM.AddGlobalInAddressSpace(this, Ty, marshaledName, AddressSpace)); }
public LLVMValueRef AddAlias(LLVMTypeRef Ty, LLVMValueRef Aliasee, string Name) => AddAlias(Ty, Aliasee, Name.AsSpan());
public LLVMValueRef AddGlobalInAddressSpace(LLVMTypeRef Ty, string Name, uint AddressSpace) => AddGlobalInAddressSpace(Ty, Name.AsSpan(), AddressSpace);
public LLVMValueRef AddGlobal(LLVMTypeRef Ty, string Name) => AddGlobal(Ty, Name.AsSpan());
public LLVMValueRef AddFunction(ReadOnlySpan <char> Name, LLVMTypeRef FunctionTy) { using var marshaledName = new MarshaledString(Name); return(LLVM.AddFunction(this, marshaledName, FunctionTy)); }
public LLVMValueRef AddFunction(string Name, LLVMTypeRef FunctionTy) => AddFunction(Name.AsSpan(), FunctionTy);
public LLVMValueRef AddGlobal(LLVMTypeRef Ty, string Name) { using var marshaledName = new MarshaledString(Name); return(LLVM.AddGlobal(this, Ty, marshaledName)); }