Project Alice
|
Functions | |
LLVMMetadataRef | LLVMMDStringInContext2 (LLVMContextRef C, const char *Str, size_t SLen) |
LLVMMetadataRef | LLVMMDNodeInContext2 (LLVMContextRef C, LLVMMetadataRef *MDs, size_t Count) |
LLVMValueRef | LLVMMetadataAsValue (LLVMContextRef C, LLVMMetadataRef MD) |
LLVMMetadataRef | LLVMValueAsMetadata (LLVMValueRef Val) |
const char * | LLVMGetMDString (LLVMValueRef V, unsigned *Length) |
unsigned | LLVMGetMDNodeNumOperands (LLVMValueRef V) |
void | LLVMGetMDNodeOperands (LLVMValueRef V, LLVMValueRef *Dest) |
void | LLVMReplaceMDNodeOperandWith (LLVMValueRef V, unsigned Index, LLVMMetadataRef Replacement) |
LLVMValueRef | LLVMMDStringInContext (LLVMContextRef C, const char *Str, unsigned SLen) |
LLVMValueRef | LLVMMDString (const char *Str, unsigned SLen) |
LLVMValueRef | LLVMMDNodeInContext (LLVMContextRef C, LLVMValueRef *Vals, unsigned Count) |
LLVMValueRef | LLVMMDNode (LLVMValueRef *Vals, unsigned Count) |
unsigned LLVMGetMDNodeNumOperands | ( | LLVMValueRef | V | ) |
Obtain the number of operands from an MDNode value.
V | MDNode to get number of operands from. |
void LLVMGetMDNodeOperands | ( | LLVMValueRef | V, |
LLVMValueRef * | Dest | ||
) |
Obtain the given MDNode's operands.
The passed LLVMValueRef pointer should point to enough memory to hold all of the operands of the given MDNode (see LLVMGetMDNodeNumOperands) as LLVMValueRefs. This memory will be populated with the LLVMValueRefs of the MDNode's operands.
V | MDNode to get the operands from. |
Dest | Destination array for operands. |
const char * LLVMGetMDString | ( | LLVMValueRef | V, |
unsigned * | Length | ||
) |
Obtain the underlying string from a MDString value.
V | Instance to obtain string from. |
Length | Memory address which will hold length of returned string. |
LLVMValueRef LLVMMDNode | ( | LLVMValueRef * | Vals, |
unsigned | Count | ||
) |
Deprecated: Use LLVMMDNodeInContext2 instead.
LLVMValueRef LLVMMDNodeInContext | ( | LLVMContextRef | C, |
LLVMValueRef * | Vals, | ||
unsigned | Count | ||
) |
Deprecated: Use LLVMMDNodeInContext2 instead.
LLVMMetadataRef LLVMMDNodeInContext2 | ( | LLVMContextRef | C, |
LLVMMetadataRef * | MDs, | ||
size_t | Count | ||
) |
Create an MDNode value with the given array of operands.
LLVMValueRef LLVMMDString | ( | const char * | Str, |
unsigned | SLen | ||
) |
Deprecated: Use LLVMMDStringInContext2 instead.
LLVMValueRef LLVMMDStringInContext | ( | LLVMContextRef | C, |
const char * | Str, | ||
unsigned | SLen | ||
) |
Deprecated: Use LLVMMDStringInContext2 instead.
LLVMMetadataRef LLVMMDStringInContext2 | ( | LLVMContextRef | C, |
const char * | Str, | ||
size_t | SLen | ||
) |
Create an MDString value from a given string value.
The MDString value does not take ownership of the given string, it remains the responsibility of the caller to free it.
LLVMValueRef LLVMMetadataAsValue | ( | LLVMContextRef | C, |
LLVMMetadataRef | MD | ||
) |
Obtain a Metadata as a Value.
void LLVMReplaceMDNodeOperandWith | ( | LLVMValueRef | V, |
unsigned | Index, | ||
LLVMMetadataRef | Replacement | ||
) |
Replace an operand at a specific index in a llvm::MDNode value.
LLVMMetadataRef LLVMValueAsMetadata | ( | LLVMValueRef | Val | ) |
Obtain a Value as a Metadata.