C# 클래스 LLVM.Function

상속: Value
파일 보기 프로젝트 열기: aaronrandolph/LLVM.NET 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

AppendBasicBlock() 공개 메소드

public AppendBasicBlock ( BasicBlock block ) : BasicBlock
block BasicBlock
리턴 BasicBlock

AppendBasicBlock() 공개 메소드

public AppendBasicBlock ( string name ) : BasicBlock
name string
리턴 BasicBlock

Delete() 공개 메소드

public Delete ( ) : void
리턴 void

Dump() 공개 메소드

public Dump ( ) : void
리턴 void

Function() 공개 메소드

public Function ( LLVMValueRef handle ) : System
handle LLVMValueRef
리턴 System

Function() 공개 메소드

Create a void function that takes no arguments
public Function ( Module module, string name ) : System
module Module
name string
리턴 System

Function() 공개 메소드

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

Function() 공개 메소드

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
리턴 System

Function() 공개 메소드

public Function ( string name, LLVMValueRef handle ) : System
name string
handle LLVMValueRef
리턴 System

GetParameter() 공개 메소드

public GetParameter ( uint index ) : Value
index uint
리턴 Value

IsDuplicate() 공개 메소드

public IsDuplicate ( ) : bool
리턴 bool

SetLinkage() 공개 메소드

public SetLinkage ( LLVMLinkage linkage ) : void
linkage LLVMLinkage
리턴 void

Validate() 공개 메소드

public Validate ( LLVMVerifierFailureAction failureAction ) : bool
failureAction LLVMVerifierFailureAction
리턴 bool