C# Class LLVM.Function

Inheritance: Value
Afficher le fichier Open project: aaronrandolph/LLVM.NET Class Usage Examples

Méthodes publiques

Méthode Description
AppendBasicBlock ( BasicBlock block ) : BasicBlock
AppendBasicBlock ( string name ) : BasicBlock
Delete ( ) : void
Dump ( ) : void
Function ( LLVMValueRef handle ) : System
Function ( Module module, string name ) : System

Create a void function that takes no arguments

Function ( Module module, string name, TypeRef returnType ) : System

Create a function that takes no arguments

Function ( Module module, string name, TypeRef returnType, TypeRef paramTypes ) : System

Create a function with arguments and a return type.

Function ( string name, LLVMValueRef handle ) : System
GetParameter ( uint index ) : Value
IsDuplicate ( ) : bool
SetLinkage ( LLVMLinkage linkage ) : void
Validate ( LLVMVerifierFailureAction failureAction ) : bool

Method Details

AppendBasicBlock() public méthode

public AppendBasicBlock ( BasicBlock block ) : BasicBlock
block BasicBlock
Résultat BasicBlock

AppendBasicBlock() public méthode

public AppendBasicBlock ( string name ) : BasicBlock
name string
Résultat BasicBlock

Delete() public méthode

public Delete ( ) : void
Résultat void

Dump() public méthode

public Dump ( ) : void
Résultat void

Function() public méthode

public Function ( LLVMValueRef handle ) : System
handle LLVMValueRef
Résultat System

Function() public méthode

Create a void function that takes no arguments
public Function ( Module module, string name ) : System
module Module
name string
Résultat System

Function() public méthode

Create a function that takes no arguments
public Function ( Module module, string name, TypeRef returnType ) : System
module Module
name string
returnType TypeRef
Résultat System

Function() public méthode

Create a function with arguments and a return type.
public Function ( Module module, string name, TypeRef returnType, TypeRef paramTypes ) : System
module Module
name string
returnType TypeRef
paramTypes TypeRef
Résultat System

Function() public méthode

public Function ( string name, LLVMValueRef handle ) : System
name string
handle LLVMValueRef
Résultat System

GetParameter() public méthode

public GetParameter ( uint index ) : Value
index uint
Résultat Value

IsDuplicate() public méthode

public IsDuplicate ( ) : bool
Résultat bool

SetLinkage() public méthode

public SetLinkage ( LLVMLinkage linkage ) : void
linkage LLVMLinkage
Résultat void

Validate() public méthode

public Validate ( LLVMVerifierFailureAction failureAction ) : bool
failureAction LLVMVerifierFailureAction
Résultat bool