|
void | LLVMInitializeCore (LLVMPassRegistryRef R) |
|
void | LLVMShutdown () |
| Deallocate and destroy all ManagedStatic variables. More...
|
|
char * | LLVMCreateMessage (const char *Message) |
|
void | LLVMDisposeMessage (char *Message) |
|
LLVMContextRef | LLVMContextCreate () |
| Create a new context. More...
|
|
LLVMContextRef | LLVMGetGlobalContext () |
| Obtain the global context instance. More...
|
|
void | LLVMContextSetDiagnosticHandler (LLVMContextRef C, LLVMDiagnosticHandler Handler, void *DiagnosticContext) |
| Set the diagnostic handler for this context. More...
|
|
LLVMDiagnosticHandler | LLVMContextGetDiagnosticHandler (LLVMContextRef C) |
| Get the diagnostic handler of this context. More...
|
|
void * | LLVMContextGetDiagnosticContext (LLVMContextRef C) |
| Get the diagnostic context of this context. More...
|
|
void | LLVMContextSetYieldCallback (LLVMContextRef C, LLVMYieldCallback Callback, void *OpaqueHandle) |
| Set the yield callback function for this context. More...
|
|
LLVMBool | LLVMContextShouldDiscardValueNames (LLVMContextRef C) |
| Retrieve whether the given context is set to discard all value names. More...
|
|
void | LLVMContextSetDiscardValueNames (LLVMContextRef C, LLVMBool Discard) |
| Set whether the given context discards all value names. More...
|
|
void | LLVMContextDispose (LLVMContextRef C) |
| Destroy a context instance. More...
|
|
unsigned | LLVMGetMDKindIDInContext (LLVMContextRef C, const char *Name, unsigned SLen) |
|
unsigned | LLVMGetMDKindID (const char *Name, unsigned SLen) |
|
unsigned | LLVMGetEnumAttributeKindForName (const char *Name, size_t SLen) |
| Return an unique id given the name of a enum attribute, or 0 if no attribute by that name exists. More...
|
|
unsigned | LLVMGetLastEnumAttributeKind (void) |
|
LLVMAttributeRef | LLVMCreateEnumAttribute (LLVMContextRef C, unsigned KindID, uint64_t Val) |
| Create an enum attribute. More...
|
|
unsigned | LLVMGetEnumAttributeKind (LLVMAttributeRef A) |
| Get the unique id corresponding to the enum attribute passed as argument. More...
|
|
uint64_t | LLVMGetEnumAttributeValue (LLVMAttributeRef A) |
| Get the enum attribute's value. More...
|
|
LLVMAttributeRef | LLVMCreateStringAttribute (LLVMContextRef C, const char *K, unsigned KLength, const char *V, unsigned VLength) |
| Create a string attribute. More...
|
|
const char * | LLVMGetStringAttributeKind (LLVMAttributeRef A, unsigned *Length) |
| Get the string attribute's kind. More...
|
|
const char * | LLVMGetStringAttributeValue (LLVMAttributeRef A, unsigned *Length) |
| Get the string attribute's value. More...
|
|
LLVMBool | LLVMIsEnumAttribute (LLVMAttributeRef A) |
| Check for the different types of attributes. More...
|
|
LLVMBool | LLVMIsStringAttribute (LLVMAttributeRef A) |
|
char * | LLVMGetDiagInfoDescription (LLVMDiagnosticInfoRef DI) |
| Return a string representation of the DiagnosticInfo. More...
|
|
LLVMDiagnosticSeverity | LLVMGetDiagInfoSeverity (LLVMDiagnosticInfoRef DI) |
| Return an enum LLVMDiagnosticSeverity. More...
|
|
LLVMModuleRef | LLVMModuleCreateWithName (const char *ModuleID) |
| Create a new, empty module in the global context. More...
|
|
LLVMModuleRef | LLVMModuleCreateWithNameInContext (const char *ModuleID, LLVMContextRef C) |
| Create a new, empty module in a specific context. More...
|
|
void | LLVMDisposeModule (LLVMModuleRef M) |
| Destroy a module instance. More...
|
|
const char * | LLVMGetModuleIdentifier (LLVMModuleRef M, size_t *Len) |
| Obtain the identifier of a module. More...
|
|
void | LLVMSetModuleIdentifier (LLVMModuleRef M, const char *Ident, size_t Len) |
| Set the identifier of a module to a string Ident with length Len. More...
|
|
const char * | LLVMGetSourceFileName (LLVMModuleRef M, size_t *Len) |
| Obtain the module's original source file name. More...
|
|
void | LLVMSetSourceFileName (LLVMModuleRef M, const char *Name, size_t Len) |
| Set the original source file name of a module to a string Name with length Len. More...
|
|
const char * | LLVMGetDataLayoutStr (LLVMModuleRef M) |
| Obtain the data layout for a module. More...
|
|
const char * | LLVMGetDataLayout (LLVMModuleRef M) |
|
void | LLVMSetDataLayout (LLVMModuleRef M, const char *DataLayoutStr) |
| Set the data layout for a module. More...
|
|
const char * | LLVMGetTarget (LLVMModuleRef M) |
| Obtain the target triple for a module. More...
|
|
void | LLVMSetTarget (LLVMModuleRef M, const char *Triple) |
| Set the target triple for a module. More...
|
|
static Module::ModFlagBehavior | map_to_llvmModFlagBehavior (LLVMModuleFlagBehavior Behavior) |
|
static LLVMModuleFlagBehavior | map_from_llvmModFlagBehavior (Module::ModFlagBehavior Behavior) |
|
LLVMModuleFlagEntry * | LLVMCopyModuleFlagsMetadata (LLVMModuleRef M, size_t *Len) |
| Returns the module flags as an array of flag-key-value triples. More...
|
|
void | LLVMDisposeModuleFlagsMetadata (LLVMModuleFlagEntry *Entries) |
| Destroys module flags metadata entries. More...
|
|
LLVMModuleFlagBehavior | LLVMModuleFlagEntriesGetFlagBehavior (LLVMModuleFlagEntry *Entries, unsigned Index) |
| Returns the flag behavior for a module flag entry at a specific index. More...
|
|
const char * | LLVMModuleFlagEntriesGetKey (LLVMModuleFlagEntry *Entries, unsigned Index, size_t *Len) |
| Returns the key for a module flag entry at a specific index. More...
|
|
LLVMMetadataRef | LLVMModuleFlagEntriesGetMetadata (LLVMModuleFlagEntry *Entries, unsigned Index) |
| Returns the metadata for a module flag entry at a specific index. More...
|
|
LLVMMetadataRef | LLVMGetModuleFlag (LLVMModuleRef M, const char *Key, size_t KeyLen) |
| Add a module-level flag to the module-level flags metadata if it doesn't already exist. More...
|
|
void | LLVMAddModuleFlag (LLVMModuleRef M, LLVMModuleFlagBehavior Behavior, const char *Key, size_t KeyLen, LLVMMetadataRef Val) |
| Add a module-level flag to the module-level flags metadata if it doesn't already exist. More...
|
|
void | LLVMDumpModule (LLVMModuleRef M) |
| Dump a representation of a module to stderr. More...
|
|
LLVMBool | LLVMPrintModuleToFile (LLVMModuleRef M, const char *Filename, char **ErrorMessage) |
| Print a representation of a module to a file. More...
|
|
char * | LLVMPrintModuleToString (LLVMModuleRef M) |
| Return a string representation of the module. More...
|
|
void | LLVMSetModuleInlineAsm2 (LLVMModuleRef M, const char *Asm, size_t Len) |
| Set inline assembly for a module. More...
|
|
void | LLVMSetModuleInlineAsm (LLVMModuleRef M, const char *Asm) |
| Deprecated: Use LLVMSetModuleInlineAsm2 instead. More...
|
|
void | LLVMAppendModuleInlineAsm (LLVMModuleRef M, const char *Asm, size_t Len) |
| Append inline assembly to a module. More...
|
|
const char * | LLVMGetModuleInlineAsm (LLVMModuleRef M, size_t *Len) |
| Get inline assembly for a module. More...
|
|
LLVMValueRef | LLVMGetInlineAsm (LLVMTypeRef Ty, char *AsmString, size_t AsmStringSize, char *Constraints, size_t ConstraintsSize, LLVMBool HasSideEffects, LLVMBool IsAlignStack, LLVMInlineAsmDialect Dialect) |
| Create the specified uniqued inline asm string. More...
|
|
LLVMContextRef | LLVMGetModuleContext (LLVMModuleRef M) |
| Obtain the context to which this module is associated. More...
|
|
LLVMTypeKind | LLVMGetTypeKind (LLVMTypeRef Ty) |
| Obtain the enumerated type of a Type instance. More...
|
|
LLVMBool | LLVMTypeIsSized (LLVMTypeRef Ty) |
| Whether the type has a known size. More...
|
|
LLVMContextRef | LLVMGetTypeContext (LLVMTypeRef Ty) |
| Obtain the context to which this type instance is associated. More...
|
|
void | LLVMDumpType (LLVMTypeRef Ty) |
| Dump a representation of a type to stderr. More...
|
|
char * | LLVMPrintTypeToString (LLVMTypeRef Ty) |
| Return a string representation of the type. More...
|
|
LLVMTypeRef | LLVMInt1TypeInContext (LLVMContextRef C) |
| Obtain an integer type from a context with specified bit width. More...
|
|
LLVMTypeRef | LLVMInt8TypeInContext (LLVMContextRef C) |
|
LLVMTypeRef | LLVMInt16TypeInContext (LLVMContextRef C) |
|
LLVMTypeRef | LLVMInt32TypeInContext (LLVMContextRef C) |
|
LLVMTypeRef | LLVMInt64TypeInContext (LLVMContextRef C) |
|
LLVMTypeRef | LLVMInt128TypeInContext (LLVMContextRef C) |
|
LLVMTypeRef | LLVMIntTypeInContext (LLVMContextRef C, unsigned NumBits) |
|
LLVMTypeRef | LLVMInt1Type (void) |
| Obtain an integer type from the global context with a specified bit width. More...
|
|
LLVMTypeRef | LLVMInt8Type (void) |
|
LLVMTypeRef | LLVMInt16Type (void) |
|
LLVMTypeRef | LLVMInt32Type (void) |
|
LLVMTypeRef | LLVMInt64Type (void) |
|
LLVMTypeRef | LLVMInt128Type (void) |
|
LLVMTypeRef | LLVMIntType (unsigned NumBits) |
|
unsigned | LLVMGetIntTypeWidth (LLVMTypeRef IntegerTy) |
|
LLVMTypeRef | LLVMHalfTypeInContext (LLVMContextRef C) |
| Obtain a 16-bit floating point type from a context. More...
|
|
LLVMTypeRef | LLVMFloatTypeInContext (LLVMContextRef C) |
| Obtain a 32-bit floating point type from a context. More...
|
|
LLVMTypeRef | LLVMDoubleTypeInContext (LLVMContextRef C) |
| Obtain a 64-bit floating point type from a context. More...
|
|
LLVMTypeRef | LLVMX86FP80TypeInContext (LLVMContextRef C) |
| Obtain a 80-bit floating point type (X87) from a context. More...
|
|
LLVMTypeRef | LLVMFP128TypeInContext (LLVMContextRef C) |
| Obtain a 128-bit floating point type (112-bit mantissa) from a context. More...
|
|
LLVMTypeRef | LLVMPPCFP128TypeInContext (LLVMContextRef C) |
| Obtain a 128-bit floating point type (two 64-bits) from a context. More...
|
|
LLVMTypeRef | LLVMX86MMXTypeInContext (LLVMContextRef C) |
| Create a X86 MMX type in a context. More...
|
|
LLVMTypeRef | LLVMHalfType (void) |
| Obtain a floating point type from the global context. More...
|
|
LLVMTypeRef | LLVMFloatType (void) |
|
LLVMTypeRef | LLVMDoubleType (void) |
|
LLVMTypeRef | LLVMX86FP80Type (void) |
|
LLVMTypeRef | LLVMFP128Type (void) |
|
LLVMTypeRef | LLVMPPCFP128Type (void) |
|
LLVMTypeRef | LLVMX86MMXType (void) |
|
LLVMTypeRef | LLVMFunctionType (LLVMTypeRef ReturnType, LLVMTypeRef *ParamTypes, unsigned ParamCount, LLVMBool IsVarArg) |
| Obtain a function type consisting of a specified signature. More...
|
|
LLVMBool | LLVMIsFunctionVarArg (LLVMTypeRef FunctionTy) |
| Returns whether a function type is variadic. More...
|
|
LLVMTypeRef | LLVMGetReturnType (LLVMTypeRef FunctionTy) |
| Obtain the Type this function Type returns. More...
|
|
unsigned | LLVMCountParamTypes (LLVMTypeRef FunctionTy) |
| Obtain the number of parameters this function accepts. More...
|
|
void | LLVMGetParamTypes (LLVMTypeRef FunctionTy, LLVMTypeRef *Dest) |
| Obtain the types of a function's parameters. More...
|
|
LLVMTypeRef | LLVMStructTypeInContext (LLVMContextRef C, LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed) |
| Create a new structure type in a context. More...
|
|
LLVMTypeRef | LLVMStructType (LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed) |
| Create a new structure type in the global context. More...
|
|
LLVMTypeRef | LLVMStructCreateNamed (LLVMContextRef C, const char *Name) |
| Create an empty structure in a context having a specified name. More...
|
|
const char * | LLVMGetStructName (LLVMTypeRef Ty) |
| Obtain the name of a structure. More...
|
|
void | LLVMStructSetBody (LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed) |
| Set the contents of a structure type. More...
|
|
unsigned | LLVMCountStructElementTypes (LLVMTypeRef StructTy) |
| Get the number of elements defined inside the structure. More...
|
|
void | LLVMGetStructElementTypes (LLVMTypeRef StructTy, LLVMTypeRef *Dest) |
| Get the elements within a structure. More...
|
|
LLVMTypeRef | LLVMStructGetTypeAtIndex (LLVMTypeRef StructTy, unsigned i) |
| Get the type of the element at a given index in the structure. More...
|
|
LLVMBool | LLVMIsPackedStruct (LLVMTypeRef StructTy) |
| Determine whether a structure is packed. More...
|
|
LLVMBool | LLVMIsOpaqueStruct (LLVMTypeRef StructTy) |
| Determine whether a structure is opaque. More...
|
|
LLVMBool | LLVMIsLiteralStruct (LLVMTypeRef StructTy) |
| Determine whether a structure is literal. More...
|
|
LLVMTypeRef | LLVMGetTypeByName (LLVMModuleRef M, const char *Name) |
| Obtain a Type from a module by its registered name. More...
|
|
void | LLVMGetSubtypes (LLVMTypeRef Tp, LLVMTypeRef *Arr) |
| Returns type's subtypes. More...
|
|
LLVMTypeRef | LLVMArrayType (LLVMTypeRef ElementType, unsigned ElementCount) |
| Create a fixed size array type that refers to a specific type. More...
|
|
LLVMTypeRef | LLVMPointerType (LLVMTypeRef ElementType, unsigned AddressSpace) |
| Create a pointer type that points to a defined type. More...
|
|
LLVMTypeRef | LLVMVectorType (LLVMTypeRef ElementType, unsigned ElementCount) |
| Create a vector type that contains a defined type and has a specific number of elements. More...
|
|
LLVMTypeRef | LLVMGetElementType (LLVMTypeRef WrappedTy) |
| Obtain the type of elements within a sequential type. More...
|
|
unsigned | LLVMGetNumContainedTypes (LLVMTypeRef Tp) |
| Return the number of types in the derived type. More...
|
|
unsigned | LLVMGetArrayLength (LLVMTypeRef ArrayTy) |
| Obtain the length of an array type. More...
|
|
unsigned | LLVMGetPointerAddressSpace (LLVMTypeRef PointerTy) |
| Obtain the address space of a pointer type. More...
|
|
unsigned | LLVMGetVectorSize (LLVMTypeRef VectorTy) |
| Obtain the number of elements in a vector type. More...
|
|
LLVMTypeRef | LLVMVoidTypeInContext (LLVMContextRef C) |
| Create a void type in a context. More...
|
|
LLVMTypeRef | LLVMLabelTypeInContext (LLVMContextRef C) |
| Create a label type in a context. More...
|
|
LLVMTypeRef | LLVMTokenTypeInContext (LLVMContextRef C) |
| Create a token type in a context. More...
|
|
LLVMTypeRef | LLVMMetadataTypeInContext (LLVMContextRef C) |
| Create a metadata type in a context. More...
|
|
LLVMTypeRef | LLVMVoidType (void) |
| These are similar to the above functions except they operate on the global context. More...
|
|
LLVMTypeRef | LLVMLabelType (void) |
|
LLVMTypeRef | LLVMTypeOf (LLVMValueRef Val) |
| Obtain the type of a value. More...
|
|
LLVMValueKind | LLVMGetValueKind (LLVMValueRef Val) |
| Obtain the enumerated type of a Value instance. More...
|
|
const char * | LLVMGetValueName2 (LLVMValueRef Val, size_t *Length) |
| Obtain the string name of a value. More...
|
|
void | LLVMSetValueName2 (LLVMValueRef Val, const char *Name, size_t NameLen) |
| Set the string name of a value. More...
|
|
const char * | LLVMGetValueName (LLVMValueRef Val) |
| Deprecated: Use LLVMGetValueName2 instead. More...
|
|
void | LLVMSetValueName (LLVMValueRef Val, const char *Name) |
| Deprecated: Use LLVMSetValueName2 instead. More...
|
|
void | LLVMDumpValue (LLVMValueRef Val) |
| Dump a representation of a value to stderr. More...
|
|
char * | LLVMPrintValueToString (LLVMValueRef Val) |
| Return a string representation of the value. More...
|
|
void | LLVMReplaceAllUsesWith (LLVMValueRef OldVal, LLVMValueRef NewVal) |
| Replace all uses of a value with another one. More...
|
|
int | LLVMHasMetadata (LLVMValueRef Inst) |
| Determine whether an instruction has any metadata attached. More...
|
|
LLVMValueRef | LLVMGetMetadata (LLVMValueRef Inst, unsigned KindID) |
| Return metadata associated with an instruction value. More...
|
|
static MDNode * | extractMDNode (MetadataAsValue *MAV) |
|
void | LLVMSetMetadata (LLVMValueRef Inst, unsigned KindID, LLVMValueRef Val) |
| Set metadata associated with an instruction value. More...
|
|
static LLVMValueMetadataEntry * | llvm_getMetadata (size_t *NumEntries, llvm::function_ref< void(MetadataEntries &)> AccessMD) |
|
LLVMValueMetadataEntry * | LLVMInstructionGetAllMetadataOtherThanDebugLoc (LLVMValueRef Value, size_t *NumEntries) |
| Returns the metadata associated with an instruction value, but filters out all the debug locations. More...
|
|
LLVMValueRef | LLVMIsAMDNode (LLVMValueRef Val) |
|
LLVMValueRef | LLVMIsAMDString (LLVMValueRef Val) |
|
LLVMUseRef | LLVMGetFirstUse (LLVMValueRef Val) |
| Obtain the first use of a value. More...
|
|
LLVMUseRef | LLVMGetNextUse (LLVMUseRef U) |
| Obtain the next use of a value. More...
|
|
LLVMValueRef | LLVMGetUser (LLVMUseRef U) |
| Obtain the user value for a user. More...
|
|
LLVMValueRef | LLVMGetUsedValue (LLVMUseRef U) |
| Obtain the value this use corresponds to. More...
|
|
static LLVMValueRef | getMDNodeOperandImpl (LLVMContext &Context, const MDNode *N, unsigned Index) |
|
LLVMValueRef | LLVMGetOperand (LLVMValueRef Val, unsigned Index) |
| Obtain an operand at a specific index in a llvm::User value. More...
|
|
LLVMUseRef | LLVMGetOperandUse (LLVMValueRef Val, unsigned Index) |
| Obtain the use of an operand at a specific index in a llvm::User value. More...
|
|
void | LLVMSetOperand (LLVMValueRef Val, unsigned Index, LLVMValueRef Op) |
| Set an operand at a specific index in a llvm::User value. More...
|
|
int | LLVMGetNumOperands (LLVMValueRef Val) |
| Obtain the number of operands in a llvm::User value. More...
|
|
LLVMValueRef | LLVMConstNull (LLVMTypeRef Ty) |
| Obtain a constant value referring to the null instance of a type. More...
|
|
LLVMValueRef | LLVMConstAllOnes (LLVMTypeRef Ty) |
| Obtain a constant value referring to the instance of a type consisting of all ones. More...
|
|
LLVMValueRef | LLVMGetUndef (LLVMTypeRef Ty) |
| Obtain a constant value referring to an undefined value of a type. More...
|
|
LLVMBool | LLVMIsConstant (LLVMValueRef Ty) |
| Determine whether the specified value instance is constant. More...
|
|
LLVMBool | LLVMIsNull (LLVMValueRef Val) |
| Determine whether a value instance is null. More...
|
|
LLVMBool | LLVMIsUndef (LLVMValueRef Val) |
| Determine whether a value instance is undefined. More...
|
|
LLVMValueRef | LLVMConstPointerNull (LLVMTypeRef Ty) |
| Obtain a constant that is a constant pointer pointing to NULL for a specified type. More...
|
|
LLVMValueRef | LLVMMDStringInContext (LLVMContextRef C, const char *Str, unsigned SLen) |
| Obtain a MDString value from a context. More...
|
|
LLVMValueRef | LLVMMDString (const char *Str, unsigned SLen) |
| Obtain a MDString value from the global context. More...
|
|
LLVMValueRef | LLVMMDNodeInContext (LLVMContextRef C, LLVMValueRef *Vals, unsigned Count) |
| Obtain a MDNode value from a context. More...
|
|
LLVMValueRef | LLVMMDNode (LLVMValueRef *Vals, unsigned Count) |
| Obtain a MDNode value from the global context. More...
|
|
LLVMValueRef | LLVMMetadataAsValue (LLVMContextRef C, LLVMMetadataRef MD) |
| Obtain a Metadata as a Value. More...
|
|
LLVMMetadataRef | LLVMValueAsMetadata (LLVMValueRef Val) |
| Obtain a Value as a Metadata. More...
|
|
const char * | LLVMGetMDString (LLVMValueRef V, unsigned *Length) |
| Obtain the underlying string from a MDString value. More...
|
|
unsigned | LLVMGetMDNodeNumOperands (LLVMValueRef V) |
| Obtain the number of operands from an MDNode value. More...
|
|
LLVMNamedMDNodeRef | LLVMGetFirstNamedMetadata (LLVMModuleRef M) |
| Obtain an iterator to the first NamedMDNode in a Module. More...
|
|
LLVMNamedMDNodeRef | LLVMGetLastNamedMetadata (LLVMModuleRef M) |
| Obtain an iterator to the last NamedMDNode in a Module. More...
|
|
LLVMNamedMDNodeRef | LLVMGetNextNamedMetadata (LLVMNamedMDNodeRef NMD) |
| Advance a NamedMDNode iterator to the next NamedMDNode. More...
|
|
LLVMNamedMDNodeRef | LLVMGetPreviousNamedMetadata (LLVMNamedMDNodeRef NMD) |
| Decrement a NamedMDNode iterator to the previous NamedMDNode. More...
|
|
LLVMNamedMDNodeRef | LLVMGetNamedMetadata (LLVMModuleRef M, const char *Name, size_t NameLen) |
| Retrieve a NamedMDNode with the given name, returning NULL if no such node exists. More...
|
|
LLVMNamedMDNodeRef | LLVMGetOrInsertNamedMetadata (LLVMModuleRef M, const char *Name, size_t NameLen) |
| Retrieve a NamedMDNode with the given name, creating a new node if no such node exists. More...
|
|
const char * | LLVMGetNamedMetadataName (LLVMNamedMDNodeRef NMD, size_t *NameLen) |
| Retrieve the name of a NamedMDNode. More...
|
|
void | LLVMGetMDNodeOperands (LLVMValueRef V, LLVMValueRef *Dest) |
| Obtain the given MDNode's operands. More...
|
|
unsigned | LLVMGetNamedMetadataNumOperands (LLVMModuleRef M, const char *Name) |
| Obtain the number of operands for named metadata in a module. More...
|
|
void | LLVMGetNamedMetadataOperands (LLVMModuleRef M, const char *Name, LLVMValueRef *Dest) |
| Obtain the named metadata operands for a module. More...
|
|
void | LLVMAddNamedMetadataOperand (LLVMModuleRef M, const char *Name, LLVMValueRef Val) |
| Add an operand to named metadata. More...
|
|
const char * | LLVMGetDebugLocDirectory (LLVMValueRef Val, unsigned *Length) |
| Return the directory of the debug location for this value, which must be an llvm::Instruction, llvm::GlobalVariable, or llvm::Function. More...
|
|
const char * | LLVMGetDebugLocFilename (LLVMValueRef Val, unsigned *Length) |
| Return the filename of the debug location for this value, which must be an llvm::Instruction, llvm::GlobalVariable, or llvm::Function. More...
|
|
unsigned | LLVMGetDebugLocLine (LLVMValueRef Val) |
| Return the line number of the debug location for this value, which must be an llvm::Instruction, llvm::GlobalVariable, or llvm::Function. More...
|
|
unsigned | LLVMGetDebugLocColumn (LLVMValueRef Val) |
| Return the column number of the debug location for this value, which must be an llvm::Instruction. More...
|
|
LLVMValueRef | LLVMConstInt (LLVMTypeRef IntTy, unsigned long long N, LLVMBool SignExtend) |
| Obtain a constant value for an integer type. More...
|
|
LLVMValueRef | LLVMConstIntOfArbitraryPrecision (LLVMTypeRef IntTy, unsigned NumWords, const uint64_t Words[]) |
| Obtain a constant value for an integer of arbitrary precision. More...
|
|
LLVMValueRef | LLVMConstIntOfString (LLVMTypeRef IntTy, const char Str[], uint8_t Radix) |
|
LLVMValueRef | LLVMConstIntOfStringAndSize (LLVMTypeRef IntTy, const char Str[], unsigned SLen, uint8_t Radix) |
|
LLVMValueRef | LLVMConstReal (LLVMTypeRef RealTy, double N) |
| Obtain a constant value referring to a double floating point value. More...
|
|
LLVMValueRef | LLVMConstRealOfString (LLVMTypeRef RealTy, const char *Text) |
| Obtain a constant for a floating point value parsed from a string. More...
|
|
LLVMValueRef | LLVMConstRealOfStringAndSize (LLVMTypeRef RealTy, const char Str[], unsigned SLen) |
|
unsigned long long | LLVMConstIntGetZExtValue (LLVMValueRef ConstantVal) |
| Obtain the zero extended value for an integer constant value. More...
|
|
long long | LLVMConstIntGetSExtValue (LLVMValueRef ConstantVal) |
| Obtain the sign extended value for an integer constant value. More...
|
|
double | LLVMConstRealGetDouble (LLVMValueRef ConstantVal, LLVMBool *LosesInfo) |
| Obtain the double value for an floating point constant value. More...
|
|
LLVMValueRef | LLVMConstStringInContext (LLVMContextRef C, const char *Str, unsigned Length, LLVMBool DontNullTerminate) |
| Create a ConstantDataSequential and initialize it with a string. More...
|
|
LLVMValueRef | LLVMConstString (const char *Str, unsigned Length, LLVMBool DontNullTerminate) |
| Create a ConstantDataSequential with string content in the global context. More...
|
|
LLVMValueRef | LLVMGetElementAsConstant (LLVMValueRef C, unsigned idx) |
| Get an element at specified index as a constant. More...
|
|
LLVMBool | LLVMIsConstantString (LLVMValueRef C) |
| Returns true if the specified constant is an array of i8. More...
|
|
const char * | LLVMGetAsString (LLVMValueRef C, size_t *Length) |
| Get the given constant data sequential as a string. More...
|
|
LLVMValueRef | LLVMConstArray (LLVMTypeRef ElementTy, LLVMValueRef *ConstantVals, unsigned Length) |
| Create a ConstantArray from values. More...
|
|
LLVMValueRef | LLVMConstStructInContext (LLVMContextRef C, LLVMValueRef *ConstantVals, unsigned Count, LLVMBool Packed) |
| Create an anonymous ConstantStruct with the specified values. More...
|
|
LLVMValueRef | LLVMConstStruct (LLVMValueRef *ConstantVals, unsigned Count, LLVMBool Packed) |
| Create a ConstantStruct in the global Context. More...
|
|
LLVMValueRef | LLVMConstNamedStruct (LLVMTypeRef StructTy, LLVMValueRef *ConstantVals, unsigned Count) |
| Create a non-anonymous ConstantStruct from values. More...
|
|
LLVMValueRef | LLVMConstVector (LLVMValueRef *ScalarConstantVals, unsigned Size) |
| Create a ConstantVector from values. More...
|
|
static LLVMOpcode | map_to_llvmopcode (int opcode) |
|
static int | map_from_llvmopcode (LLVMOpcode code) |
|
LLVMOpcode | LLVMGetConstOpcode (LLVMValueRef ConstantVal) |
|
LLVMValueRef | LLVMAlignOf (LLVMTypeRef Ty) |
|
LLVMValueRef | LLVMSizeOf (LLVMTypeRef Ty) |
|
LLVMValueRef | LLVMConstNeg (LLVMValueRef ConstantVal) |
|
LLVMValueRef | LLVMConstNSWNeg (LLVMValueRef ConstantVal) |
|
LLVMValueRef | LLVMConstNUWNeg (LLVMValueRef ConstantVal) |
|
LLVMValueRef | LLVMConstFNeg (LLVMValueRef ConstantVal) |
|
LLVMValueRef | LLVMConstNot (LLVMValueRef ConstantVal) |
|
LLVMValueRef | LLVMConstAdd (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstNSWAdd (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstNUWAdd (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstFAdd (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstSub (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstNSWSub (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstNUWSub (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstFSub (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstMul (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstNSWMul (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstNUWMul (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstFMul (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstUDiv (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstExactUDiv (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstSDiv (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstExactSDiv (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstFDiv (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstURem (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstSRem (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstFRem (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstAnd (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstOr (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstXor (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstICmp (LLVMIntPredicate Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstFCmp (LLVMRealPredicate Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstShl (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstLShr (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstAShr (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) |
|
LLVMValueRef | LLVMConstGEP (LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices) |
|
LLVMValueRef | LLVMConstInBoundsGEP (LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices) |
|
LLVMValueRef | LLVMConstTrunc (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstSExt (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstZExt (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstFPTrunc (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstFPExt (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstUIToFP (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstSIToFP (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstFPToUI (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstFPToSI (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstPtrToInt (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstIntToPtr (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstBitCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstAddrSpaceCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstZExtOrBitCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstSExtOrBitCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstTruncOrBitCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstPointerCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstIntCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType, LLVMBool isSigned) |
|
LLVMValueRef | LLVMConstFPCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType) |
|
LLVMValueRef | LLVMConstSelect (LLVMValueRef ConstantCondition, LLVMValueRef ConstantIfTrue, LLVMValueRef ConstantIfFalse) |
|
LLVMValueRef | LLVMConstExtractElement (LLVMValueRef VectorConstant, LLVMValueRef IndexConstant) |
|
LLVMValueRef | LLVMConstInsertElement (LLVMValueRef VectorConstant, LLVMValueRef ElementValueConstant, LLVMValueRef IndexConstant) |
|
LLVMValueRef | LLVMConstShuffleVector (LLVMValueRef VectorAConstant, LLVMValueRef VectorBConstant, LLVMValueRef MaskConstant) |
|
LLVMValueRef | LLVMConstExtractValue (LLVMValueRef AggConstant, unsigned *IdxList, unsigned NumIdx) |
|
LLVMValueRef | LLVMConstInsertValue (LLVMValueRef AggConstant, LLVMValueRef ElementValueConstant, unsigned *IdxList, unsigned NumIdx) |
|
LLVMValueRef | LLVMConstInlineAsm (LLVMTypeRef Ty, const char *AsmString, const char *Constraints, LLVMBool HasSideEffects, LLVMBool IsAlignStack) |
| Deprecated: Use LLVMGetInlineAsm instead. More...
|
|
LLVMValueRef | LLVMBlockAddress (LLVMValueRef F, LLVMBasicBlockRef BB) |
|
LLVMModuleRef | LLVMGetGlobalParent (LLVMValueRef Global) |
|
LLVMBool | LLVMIsDeclaration (LLVMValueRef Global) |
|
LLVMLinkage | LLVMGetLinkage (LLVMValueRef Global) |
|
void | LLVMSetLinkage (LLVMValueRef Global, LLVMLinkage Linkage) |
|
const char * | LLVMGetSection (LLVMValueRef Global) |
|
void | LLVMSetSection (LLVMValueRef Global, const char *Section) |
|
LLVMVisibility | LLVMGetVisibility (LLVMValueRef Global) |
|
void | LLVMSetVisibility (LLVMValueRef Global, LLVMVisibility Viz) |
|
LLVMDLLStorageClass | LLVMGetDLLStorageClass (LLVMValueRef Global) |
|
void | LLVMSetDLLStorageClass (LLVMValueRef Global, LLVMDLLStorageClass Class) |
|
LLVMUnnamedAddr | LLVMGetUnnamedAddress (LLVMValueRef Global) |
|
void | LLVMSetUnnamedAddress (LLVMValueRef Global, LLVMUnnamedAddr UnnamedAddr) |
|
LLVMBool | LLVMHasUnnamedAddr (LLVMValueRef Global) |
| Deprecated: Use LLVMGetUnnamedAddress instead. More...
|
|
void | LLVMSetUnnamedAddr (LLVMValueRef Global, LLVMBool HasUnnamedAddr) |
| Deprecated: Use LLVMSetUnnamedAddress instead. More...
|
|
LLVMTypeRef | LLVMGlobalGetValueType (LLVMValueRef Global) |
| Returns the "value type" of a global value. More...
|
|
unsigned | LLVMGetAlignment (LLVMValueRef V) |
| Obtain the preferred alignment of the value. More...
|
|
void | LLVMSetAlignment (LLVMValueRef V, unsigned Bytes) |
| Set the preferred alignment of the value. More...
|
|
LLVMValueMetadataEntry * | LLVMGlobalCopyAllMetadata (LLVMValueRef Value, size_t *NumEntries) |
| Retrieves an array of metadata entries representing the metadata attached to this value. More...
|
|
unsigned | LLVMValueMetadataEntriesGetKind (LLVMValueMetadataEntry *Entries, unsigned Index) |
| Returns the kind of a value metadata entry at a specific index. More...
|
|
LLVMMetadataRef | LLVMValueMetadataEntriesGetMetadata (LLVMValueMetadataEntry *Entries, unsigned Index) |
| Returns the underlying metadata node of a value metadata entry at a specific index. More...
|
|
void | LLVMDisposeValueMetadataEntries (LLVMValueMetadataEntry *Entries) |
| Destroys value metadata entries. More...
|
|
void | LLVMGlobalSetMetadata (LLVMValueRef Global, unsigned Kind, LLVMMetadataRef MD) |
| Sets a metadata attachment, erasing the existing metadata attachment if it already exists for the given kind. More...
|
|
void | LLVMGlobalEraseMetadata (LLVMValueRef Global, unsigned Kind) |
| Erases a metadata attachment of the given kind if it exists. More...
|
|
void | LLVMGlobalClearMetadata (LLVMValueRef Global) |
| Removes all metadata attachments from this value. More...
|
|
LLVMValueRef | LLVMAddGlobal (LLVMModuleRef M, LLVMTypeRef Ty, const char *Name) |
|
LLVMValueRef | LLVMAddGlobalInAddressSpace (LLVMModuleRef M, LLVMTypeRef Ty, const char *Name, unsigned AddressSpace) |
|
LLVMValueRef | LLVMGetNamedGlobal (LLVMModuleRef M, const char *Name) |
|
LLVMValueRef | LLVMGetFirstGlobal (LLVMModuleRef M) |
|
LLVMValueRef | LLVMGetLastGlobal (LLVMModuleRef M) |
|
LLVMValueRef | LLVMGetNextGlobal (LLVMValueRef GlobalVar) |
|
LLVMValueRef | LLVMGetPreviousGlobal (LLVMValueRef GlobalVar) |
|
void | LLVMDeleteGlobal (LLVMValueRef GlobalVar) |
|
LLVMValueRef | LLVMGetInitializer (LLVMValueRef GlobalVar) |
|
void | LLVMSetInitializer (LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) |
|
LLVMBool | LLVMIsThreadLocal (LLVMValueRef GlobalVar) |
|
void | LLVMSetThreadLocal (LLVMValueRef GlobalVar, LLVMBool IsThreadLocal) |
|
LLVMBool | LLVMIsGlobalConstant (LLVMValueRef GlobalVar) |
|
void | LLVMSetGlobalConstant (LLVMValueRef GlobalVar, LLVMBool IsConstant) |
|
LLVMThreadLocalMode | LLVMGetThreadLocalMode (LLVMValueRef GlobalVar) |
|
void | LLVMSetThreadLocalMode (LLVMValueRef GlobalVar, LLVMThreadLocalMode Mode) |
|
LLVMBool | LLVMIsExternallyInitialized (LLVMValueRef GlobalVar) |
|
void | LLVMSetExternallyInitialized (LLVMValueRef GlobalVar, LLVMBool IsExtInit) |
|
LLVMValueRef | LLVMAddAlias (LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, const char *Name) |
|
LLVMValueRef | LLVMGetNamedGlobalAlias (LLVMModuleRef M, const char *Name, size_t NameLen) |
| Obtain a GlobalAlias value from a Module by its name. More...
|
|
LLVMValueRef | LLVMGetFirstGlobalAlias (LLVMModuleRef M) |
| Obtain an iterator to the first GlobalAlias in a Module. More...
|
|
LLVMValueRef | LLVMGetLastGlobalAlias (LLVMModuleRef M) |
| Obtain an iterator to the last GlobalAlias in a Module. More...
|
|
LLVMValueRef | LLVMGetNextGlobalAlias (LLVMValueRef GA) |
| Advance a GlobalAlias iterator to the next GlobalAlias. More...
|
|
LLVMValueRef | LLVMGetPreviousGlobalAlias (LLVMValueRef GA) |
| Decrement a GlobalAlias iterator to the previous GlobalAlias. More...
|
|
LLVMValueRef | LLVMAliasGetAliasee (LLVMValueRef Alias) |
| Retrieve the target value of an alias. More...
|
|
void | LLVMAliasSetAliasee (LLVMValueRef Alias, LLVMValueRef Aliasee) |
| Set the target value of an alias. More...
|
|
LLVMValueRef | LLVMAddFunction (LLVMModuleRef M, const char *Name, LLVMTypeRef FunctionTy) |
| Add a function to a module under a specified name. More...
|
|
LLVMValueRef | LLVMGetNamedFunction (LLVMModuleRef M, const char *Name) |
| Obtain a Function value from a Module by its name. More...
|
|
LLVMValueRef | LLVMGetFirstFunction (LLVMModuleRef M) |
| Obtain an iterator to the first Function in a Module. More...
|
|
LLVMValueRef | LLVMGetLastFunction (LLVMModuleRef M) |
| Obtain an iterator to the last Function in a Module. More...
|
|
LLVMValueRef | LLVMGetNextFunction (LLVMValueRef Fn) |
| Advance a Function iterator to the next Function. More...
|
|
LLVMValueRef | LLVMGetPreviousFunction (LLVMValueRef Fn) |
| Decrement a Function iterator to the previous Function. More...
|
|
void | LLVMDeleteFunction (LLVMValueRef Fn) |
| Remove a function from its containing module and deletes it. More...
|
|
LLVMBool | LLVMHasPersonalityFn (LLVMValueRef Fn) |
| Check whether the given function has a personality function. More...
|
|
LLVMValueRef | LLVMGetPersonalityFn (LLVMValueRef Fn) |
| Obtain the personality function attached to the function. More...
|
|
void | LLVMSetPersonalityFn (LLVMValueRef Fn, LLVMValueRef PersonalityFn) |
| Set the personality function attached to the function. More...
|
|
unsigned | LLVMGetIntrinsicID (LLVMValueRef Fn) |
| Obtain the ID number from a function instance. More...
|
|
static Intrinsic::ID | llvm_map_to_intrinsic_id (unsigned ID) |
|
LLVMValueRef | LLVMGetIntrinsicDeclaration (LLVMModuleRef Mod, unsigned ID, LLVMTypeRef *ParamTypes, size_t ParamCount) |
| Create or insert the declaration of an intrinsic. More...
|
|
const char * | LLVMIntrinsicGetName (unsigned ID, size_t *NameLength) |
| Retrieves the name of an intrinsic. More...
|
|
LLVMTypeRef | LLVMIntrinsicGetType (LLVMContextRef Ctx, unsigned ID, LLVMTypeRef *ParamTypes, size_t ParamCount) |
| Retrieves the type of an intrinsic. More...
|
|
const char * | LLVMIntrinsicCopyOverloadedName (unsigned ID, LLVMTypeRef *ParamTypes, size_t ParamCount, size_t *NameLength) |
| Copies the name of an overloaded intrinsic identified by a given list of parameter types. More...
|
|
LLVMBool | LLVMIntrinsicIsOverloaded (unsigned ID) |
| Obtain if the intrinsic identified by the given ID is overloaded. More...
|
|
unsigned | LLVMGetFunctionCallConv (LLVMValueRef Fn) |
| Obtain the calling function of a function. More...
|
|
void | LLVMSetFunctionCallConv (LLVMValueRef Fn, unsigned CC) |
| Set the calling convention of a function. More...
|
|
const char * | LLVMGetGC (LLVMValueRef Fn) |
| Obtain the name of the garbage collector to use during code generation. More...
|
|
void | LLVMSetGC (LLVMValueRef Fn, const char *GC) |
| Define the garbage collector to use during code generation. More...
|
|
void | LLVMAddAttributeAtIndex (LLVMValueRef F, LLVMAttributeIndex Idx, LLVMAttributeRef A) |
| Add an attribute to a function. More...
|
|
unsigned | LLVMGetAttributeCountAtIndex (LLVMValueRef F, LLVMAttributeIndex Idx) |
|
void | LLVMGetAttributesAtIndex (LLVMValueRef F, LLVMAttributeIndex Idx, LLVMAttributeRef *Attrs) |
|
LLVMAttributeRef | LLVMGetEnumAttributeAtIndex (LLVMValueRef F, LLVMAttributeIndex Idx, unsigned KindID) |
|
LLVMAttributeRef | LLVMGetStringAttributeAtIndex (LLVMValueRef F, LLVMAttributeIndex Idx, const char *K, unsigned KLen) |
|
void | LLVMRemoveEnumAttributeAtIndex (LLVMValueRef F, LLVMAttributeIndex Idx, unsigned KindID) |
|
void | LLVMRemoveStringAttributeAtIndex (LLVMValueRef F, LLVMAttributeIndex Idx, const char *K, unsigned KLen) |
|
void | LLVMAddTargetDependentFunctionAttr (LLVMValueRef Fn, const char *A, const char *V) |
| Add a target-dependent attribute to a function. More...
|
|
unsigned | LLVMCountParams (LLVMValueRef FnRef) |
| Obtain the number of parameters in a function. More...
|
|
void | LLVMGetParams (LLVMValueRef FnRef, LLVMValueRef *ParamRefs) |
| Obtain the parameters in a function. More...
|
|
LLVMValueRef | LLVMGetParam (LLVMValueRef FnRef, unsigned index) |
| Obtain the parameter at the specified index. More...
|
|
LLVMValueRef | LLVMGetParamParent (LLVMValueRef V) |
| Obtain the function to which this argument belongs. More...
|
|
LLVMValueRef | LLVMGetFirstParam (LLVMValueRef Fn) |
| Obtain the first parameter to a function. More...
|
|
LLVMValueRef | LLVMGetLastParam (LLVMValueRef Fn) |
| Obtain the last parameter to a function. More...
|
|
LLVMValueRef | LLVMGetNextParam (LLVMValueRef Arg) |
| Obtain the next parameter to a function. More...
|
|
LLVMValueRef | LLVMGetPreviousParam (LLVMValueRef Arg) |
| Obtain the previous parameter to a function. More...
|
|
void | LLVMSetParamAlignment (LLVMValueRef Arg, unsigned align) |
| Set the alignment for a function parameter. More...
|
|
LLVMValueRef | LLVMBasicBlockAsValue (LLVMBasicBlockRef BB) |
| Convert a basic block instance to a value type. More...
|
|
LLVMBool | LLVMValueIsBasicBlock (LLVMValueRef Val) |
| Determine whether an LLVMValueRef is itself a basic block. More...
|
|
LLVMBasicBlockRef | LLVMValueAsBasicBlock (LLVMValueRef Val) |
| Convert an LLVMValueRef to an LLVMBasicBlockRef instance. More...
|
|
const char * | LLVMGetBasicBlockName (LLVMBasicBlockRef BB) |
| Obtain the string name of a basic block. More...
|
|
LLVMValueRef | LLVMGetBasicBlockParent (LLVMBasicBlockRef BB) |
| Obtain the function to which a basic block belongs. More...
|
|
LLVMValueRef | LLVMGetBasicBlockTerminator (LLVMBasicBlockRef BB) |
| Obtain the terminator instruction for a basic block. More...
|
|
unsigned | LLVMCountBasicBlocks (LLVMValueRef FnRef) |
| Obtain the number of basic blocks in a function. More...
|
|
void | LLVMGetBasicBlocks (LLVMValueRef FnRef, LLVMBasicBlockRef *BasicBlocksRefs) |
| Obtain all of the basic blocks in a function. More...
|
|
LLVMBasicBlockRef | LLVMGetEntryBasicBlock (LLVMValueRef Fn) |
| Obtain the basic block that corresponds to the entry point of a function. More...
|
|
LLVMBasicBlockRef | LLVMGetFirstBasicBlock (LLVMValueRef Fn) |
| Obtain the first basic block in a function. More...
|
|
LLVMBasicBlockRef | LLVMGetLastBasicBlock (LLVMValueRef Fn) |
| Obtain the last basic block in a function. More...
|
|
LLVMBasicBlockRef | LLVMGetNextBasicBlock (LLVMBasicBlockRef BB) |
| Advance a basic block iterator. More...
|
|
LLVMBasicBlockRef | LLVMGetPreviousBasicBlock (LLVMBasicBlockRef BB) |
| Go backwards in a basic block iterator. More...
|
|
LLVMBasicBlockRef | LLVMCreateBasicBlockInContext (LLVMContextRef C, const char *Name) |
| Create a new basic block without inserting it into a function. More...
|
|
LLVMBasicBlockRef | LLVMAppendBasicBlockInContext (LLVMContextRef C, LLVMValueRef FnRef, const char *Name) |
| Append a basic block to the end of a function. More...
|
|
LLVMBasicBlockRef | LLVMAppendBasicBlock (LLVMValueRef FnRef, const char *Name) |
| Append a basic block to the end of a function using the global context. More...
|
|
LLVMBasicBlockRef | LLVMInsertBasicBlockInContext (LLVMContextRef C, LLVMBasicBlockRef BBRef, const char *Name) |
| Insert a basic block in a function before another basic block. More...
|
|
LLVMBasicBlockRef | LLVMInsertBasicBlock (LLVMBasicBlockRef BBRef, const char *Name) |
| Insert a basic block in a function using the global context. More...
|
|
void | LLVMDeleteBasicBlock (LLVMBasicBlockRef BBRef) |
| Remove a basic block from a function and delete it. More...
|
|
void | LLVMRemoveBasicBlockFromParent (LLVMBasicBlockRef BBRef) |
| Remove a basic block from a function. More...
|
|
void | LLVMMoveBasicBlockBefore (LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos) |
| Move a basic block to before another one. More...
|
|
void | LLVMMoveBasicBlockAfter (LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos) |
| Move a basic block to after another one. More...
|
|
LLVMBasicBlockRef | LLVMGetInstructionParent (LLVMValueRef Inst) |
| Obtain the basic block to which an instruction belongs. More...
|
|
LLVMValueRef | LLVMGetFirstInstruction (LLVMBasicBlockRef BB) |
| Obtain the first instruction in a basic block. More...
|
|
LLVMValueRef | LLVMGetLastInstruction (LLVMBasicBlockRef BB) |
| Obtain the last instruction in a basic block. More...
|
|
LLVMValueRef | LLVMGetNextInstruction (LLVMValueRef Inst) |
| Obtain the instruction that occurs after the one specified. More...
|
|
LLVMValueRef | LLVMGetPreviousInstruction (LLVMValueRef Inst) |
| Obtain the instruction that occurred before this one. More...
|
|
void | LLVMInstructionRemoveFromParent (LLVMValueRef Inst) |
| Remove and delete an instruction. More...
|
|
void | LLVMInstructionEraseFromParent (LLVMValueRef Inst) |
| Remove and delete an instruction. More...
|
|
LLVMIntPredicate | LLVMGetICmpPredicate (LLVMValueRef Inst) |
| Obtain the predicate of an instruction. More...
|
|
LLVMRealPredicate | LLVMGetFCmpPredicate (LLVMValueRef Inst) |
| Obtain the float predicate of an instruction. More...
|
|
LLVMOpcode | LLVMGetInstructionOpcode (LLVMValueRef Inst) |
| Obtain the code opcode for an individual instruction. More...
|
|
LLVMValueRef | LLVMInstructionClone (LLVMValueRef Inst) |
| Create a copy of 'this' instruction that is identical in all ways except the following: More...
|
|
LLVMValueRef | LLVMIsATerminatorInst (LLVMValueRef Inst) |
| Determine whether an instruction is a terminator. More...
|
|
unsigned | LLVMGetNumArgOperands (LLVMValueRef Instr) |
| Obtain the argument count for a call instruction. More...
|
|
unsigned | LLVMGetInstructionCallConv (LLVMValueRef Instr) |
| Obtain the calling convention for a call instruction. More...
|
|
void | LLVMSetInstructionCallConv (LLVMValueRef Instr, unsigned CC) |
| Set the calling convention for a call instruction. More...
|
|
void | LLVMSetInstrParamAlignment (LLVMValueRef Instr, unsigned index, unsigned align) |
|
void | LLVMAddCallSiteAttribute (LLVMValueRef C, LLVMAttributeIndex Idx, LLVMAttributeRef A) |
|
unsigned | LLVMGetCallSiteAttributeCount (LLVMValueRef C, LLVMAttributeIndex Idx) |
|
void | LLVMGetCallSiteAttributes (LLVMValueRef C, LLVMAttributeIndex Idx, LLVMAttributeRef *Attrs) |
|
LLVMAttributeRef | LLVMGetCallSiteEnumAttribute (LLVMValueRef C, LLVMAttributeIndex Idx, unsigned KindID) |
|
LLVMAttributeRef | LLVMGetCallSiteStringAttribute (LLVMValueRef C, LLVMAttributeIndex Idx, const char *K, unsigned KLen) |
|
void | LLVMRemoveCallSiteEnumAttribute (LLVMValueRef C, LLVMAttributeIndex Idx, unsigned KindID) |
|
void | LLVMRemoveCallSiteStringAttribute (LLVMValueRef C, LLVMAttributeIndex Idx, const char *K, unsigned KLen) |
|
LLVMValueRef | LLVMGetCalledValue (LLVMValueRef Instr) |
| Obtain the pointer to the function invoked by this instruction. More...
|
|
LLVMTypeRef | LLVMGetCalledFunctionType (LLVMValueRef Instr) |
| Obtain the function type called by this instruction. More...
|
|
LLVMBool | LLVMIsTailCall (LLVMValueRef Call) |
| Obtain whether a call instruction is a tail call. More...
|
|
void | LLVMSetTailCall (LLVMValueRef Call, LLVMBool isTailCall) |
| Set whether a call instruction is a tail call. More...
|
|
LLVMBasicBlockRef | LLVMGetNormalDest (LLVMValueRef Invoke) |
| Return the normal destination basic block. More...
|
|
LLVMBasicBlockRef | LLVMGetUnwindDest (LLVMValueRef Invoke) |
| Return the unwind destination basic block. More...
|
|
void | LLVMSetNormalDest (LLVMValueRef Invoke, LLVMBasicBlockRef B) |
| Set the normal destination basic block. More...
|
|
void | LLVMSetUnwindDest (LLVMValueRef Invoke, LLVMBasicBlockRef B) |
| Set the unwind destination basic block. More...
|
|
unsigned | LLVMGetNumSuccessors (LLVMValueRef Term) |
| Return the number of successors that this terminator has. More...
|
|
LLVMBasicBlockRef | LLVMGetSuccessor (LLVMValueRef Term, unsigned i) |
| Return the specified successor. More...
|
|
void | LLVMSetSuccessor (LLVMValueRef Term, unsigned i, LLVMBasicBlockRef block) |
| Update the specified successor to point at the provided block. More...
|
|
LLVMBool | LLVMIsConditional (LLVMValueRef Branch) |
| Return if a branch is conditional. More...
|
|
LLVMValueRef | LLVMGetCondition (LLVMValueRef Branch) |
| Return the condition of a branch instruction. More...
|
|
void | LLVMSetCondition (LLVMValueRef Branch, LLVMValueRef Cond) |
| Set the condition of a branch instruction. More...
|
|
LLVMBasicBlockRef | LLVMGetSwitchDefaultDest (LLVMValueRef Switch) |
| Obtain the default destination basic block of a switch instruction. More...
|
|
LLVMTypeRef | LLVMGetAllocatedType (LLVMValueRef Alloca) |
| Obtain the type that is being allocated by the alloca instruction. More...
|
|
LLVMBool | LLVMIsInBounds (LLVMValueRef GEP) |
| Check whether the given GEP instruction is inbounds. More...
|
|
void | LLVMSetIsInBounds (LLVMValueRef GEP, LLVMBool InBounds) |
| Set the given GEP instruction to be inbounds or not. More...
|
|
void | LLVMAddIncoming (LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, LLVMBasicBlockRef *IncomingBlocks, unsigned Count) |
| Add an incoming value to the end of a PHI list. More...
|
|
unsigned | LLVMCountIncoming (LLVMValueRef PhiNode) |
| Obtain the number of incoming basic blocks to a PHI node. More...
|
|
LLVMValueRef | LLVMGetIncomingValue (LLVMValueRef PhiNode, unsigned Index) |
| Obtain an incoming value to a PHI node as an LLVMValueRef. More...
|
|
LLVMBasicBlockRef | LLVMGetIncomingBlock (LLVMValueRef PhiNode, unsigned Index) |
| Obtain an incoming value to a PHI node as an LLVMBasicBlockRef. More...
|
|
unsigned | LLVMGetNumIndices (LLVMValueRef Inst) |
| Obtain the number of indices. More...
|
|
const unsigned * | LLVMGetIndices (LLVMValueRef Inst) |
| Obtain the indices as an array. More...
|
|
LLVMBuilderRef | LLVMCreateBuilderInContext (LLVMContextRef C) |
|
LLVMBuilderRef | LLVMCreateBuilder (void) |
|
void | LLVMPositionBuilder (LLVMBuilderRef Builder, LLVMBasicBlockRef Block, LLVMValueRef Instr) |
|
void | LLVMPositionBuilderBefore (LLVMBuilderRef Builder, LLVMValueRef Instr) |
|
void | LLVMPositionBuilderAtEnd (LLVMBuilderRef Builder, LLVMBasicBlockRef Block) |
|
LLVMBasicBlockRef | LLVMGetInsertBlock (LLVMBuilderRef Builder) |
|
void | LLVMClearInsertionPosition (LLVMBuilderRef Builder) |
|
void | LLVMInsertIntoBuilder (LLVMBuilderRef Builder, LLVMValueRef Instr) |
|
void | LLVMInsertIntoBuilderWithName (LLVMBuilderRef Builder, LLVMValueRef Instr, const char *Name) |
|
void | LLVMDisposeBuilder (LLVMBuilderRef Builder) |
|
void | LLVMSetCurrentDebugLocation (LLVMBuilderRef Builder, LLVMValueRef L) |
|
LLVMValueRef | LLVMGetCurrentDebugLocation (LLVMBuilderRef Builder) |
|
void | LLVMSetInstDebugLocation (LLVMBuilderRef Builder, LLVMValueRef Inst) |
|
LLVMValueRef | LLVMBuildRetVoid (LLVMBuilderRef B) |
|
LLVMValueRef | LLVMBuildRet (LLVMBuilderRef B, LLVMValueRef V) |
|
LLVMValueRef | LLVMBuildAggregateRet (LLVMBuilderRef B, LLVMValueRef *RetVals, unsigned N) |
|
LLVMValueRef | LLVMBuildBr (LLVMBuilderRef B, LLVMBasicBlockRef Dest) |
|
LLVMValueRef | LLVMBuildCondBr (LLVMBuilderRef B, LLVMValueRef If, LLVMBasicBlockRef Then, LLVMBasicBlockRef Else) |
|
LLVMValueRef | LLVMBuildSwitch (LLVMBuilderRef B, LLVMValueRef V, LLVMBasicBlockRef Else, unsigned NumCases) |
|
LLVMValueRef | LLVMBuildIndirectBr (LLVMBuilderRef B, LLVMValueRef Addr, unsigned NumDests) |
|
LLVMValueRef | LLVMBuildInvoke (LLVMBuilderRef B, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, const char *Name) |
|
LLVMValueRef | LLVMBuildInvoke2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, const char *Name) |
|
LLVMValueRef | LLVMBuildLandingPad (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PersFn, unsigned NumClauses, const char *Name) |
|
LLVMValueRef | LLVMBuildCatchPad (LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMValueRef *Args, unsigned NumArgs, const char *Name) |
|
LLVMValueRef | LLVMBuildCleanupPad (LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMValueRef *Args, unsigned NumArgs, const char *Name) |
|
LLVMValueRef | LLVMBuildResume (LLVMBuilderRef B, LLVMValueRef Exn) |
|
LLVMValueRef | LLVMBuildCatchSwitch (LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMBasicBlockRef UnwindBB, unsigned NumHandlers, const char *Name) |
|
LLVMValueRef | LLVMBuildCatchRet (LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB) |
|
LLVMValueRef | LLVMBuildCleanupRet (LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB) |
|
LLVMValueRef | LLVMBuildUnreachable (LLVMBuilderRef B) |
|
void | LLVMAddCase (LLVMValueRef Switch, LLVMValueRef OnVal, LLVMBasicBlockRef Dest) |
|
void | LLVMAddDestination (LLVMValueRef IndirectBr, LLVMBasicBlockRef Dest) |
|
unsigned | LLVMGetNumClauses (LLVMValueRef LandingPad) |
|
LLVMValueRef | LLVMGetClause (LLVMValueRef LandingPad, unsigned Idx) |
|
void | LLVMAddClause (LLVMValueRef LandingPad, LLVMValueRef ClauseVal) |
|
LLVMBool | LLVMIsCleanup (LLVMValueRef LandingPad) |
|
void | LLVMSetCleanup (LLVMValueRef LandingPad, LLVMBool Val) |
|
void | LLVMAddHandler (LLVMValueRef CatchSwitch, LLVMBasicBlockRef Dest) |
|
unsigned | LLVMGetNumHandlers (LLVMValueRef CatchSwitch) |
|
void | LLVMGetHandlers (LLVMValueRef CatchSwitch, LLVMBasicBlockRef *Handlers) |
| Obtain the basic blocks acting as handlers for a catchswitch instruction. More...
|
|
LLVMValueRef | LLVMGetParentCatchSwitch (LLVMValueRef CatchPad) |
| Get the parent catchswitch instruction of a catchpad instruction. More...
|
|
void | LLVMSetParentCatchSwitch (LLVMValueRef CatchPad, LLVMValueRef CatchSwitch) |
| Set the parent catchswitch instruction of a catchpad instruction. More...
|
|
LLVMValueRef | LLVMGetArgOperand (LLVMValueRef Funclet, unsigned i) |
|
void | LLVMSetArgOperand (LLVMValueRef Funclet, unsigned i, LLVMValueRef value) |
|
LLVMValueRef | LLVMBuildAdd (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNSWAdd (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNUWAdd (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFAdd (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildSub (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNSWSub (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNUWSub (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFSub (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildMul (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNSWMul (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNUWMul (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFMul (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildUDiv (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildExactUDiv (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildSDiv (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildExactSDiv (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFDiv (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildURem (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildSRem (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFRem (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildShl (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildLShr (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildAShr (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildAnd (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildOr (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildXor (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildBinOp (LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNeg (LLVMBuilderRef B, LLVMValueRef V, const char *Name) |
|
LLVMValueRef | LLVMBuildNSWNeg (LLVMBuilderRef B, LLVMValueRef V, const char *Name) |
|
LLVMValueRef | LLVMBuildNUWNeg (LLVMBuilderRef B, LLVMValueRef V, const char *Name) |
|
LLVMValueRef | LLVMBuildFNeg (LLVMBuilderRef B, LLVMValueRef V, const char *Name) |
|
LLVMValueRef | LLVMBuildNot (LLVMBuilderRef B, LLVMValueRef V, const char *Name) |
|
LLVMValueRef | LLVMBuildMalloc (LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) |
|
LLVMValueRef | LLVMBuildArrayMalloc (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) |
|
LLVMValueRef | LLVMBuildMemSet (LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Val, LLVMValueRef Len, unsigned Align) |
| Creates and inserts a memset to the specified pointer and the specified value. More...
|
|
LLVMValueRef | LLVMBuildMemCpy (LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size) |
| Creates and inserts a memcpy between the specified pointers. More...
|
|
LLVMValueRef | LLVMBuildMemMove (LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size) |
| Creates and inserts a memmove between the specified pointers. More...
|
|
LLVMValueRef | LLVMBuildAlloca (LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) |
|
LLVMValueRef | LLVMBuildArrayAlloca (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) |
|
LLVMValueRef | LLVMBuildFree (LLVMBuilderRef B, LLVMValueRef PointerVal) |
|
LLVMValueRef | LLVMBuildLoad (LLVMBuilderRef B, LLVMValueRef PointerVal, const char *Name) |
|
LLVMValueRef | LLVMBuildLoad2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PointerVal, const char *Name) |
|
LLVMValueRef | LLVMBuildStore (LLVMBuilderRef B, LLVMValueRef Val, LLVMValueRef PointerVal) |
|
static AtomicOrdering | mapFromLLVMOrdering (LLVMAtomicOrdering Ordering) |
|
static LLVMAtomicOrdering | mapToLLVMOrdering (AtomicOrdering Ordering) |
|
LLVMValueRef | LLVMBuildFence (LLVMBuilderRef B, LLVMAtomicOrdering Ordering, LLVMBool isSingleThread, const char *Name) |
|
LLVMValueRef | LLVMBuildGEP (LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) |
|
LLVMValueRef | LLVMBuildGEP2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) |
|
LLVMValueRef | LLVMBuildInBoundsGEP (LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) |
|
LLVMValueRef | LLVMBuildInBoundsGEP2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) |
|
LLVMValueRef | LLVMBuildStructGEP (LLVMBuilderRef B, LLVMValueRef Pointer, unsigned Idx, const char *Name) |
|
LLVMValueRef | LLVMBuildStructGEP2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, unsigned Idx, const char *Name) |
|
LLVMValueRef | LLVMBuildGlobalString (LLVMBuilderRef B, const char *Str, const char *Name) |
|
LLVMValueRef | LLVMBuildGlobalStringPtr (LLVMBuilderRef B, const char *Str, const char *Name) |
|
LLVMBool | LLVMGetVolatile (LLVMValueRef MemAccessInst) |
|
void | LLVMSetVolatile (LLVMValueRef MemAccessInst, LLVMBool isVolatile) |
|
LLVMAtomicOrdering | LLVMGetOrdering (LLVMValueRef MemAccessInst) |
|
void | LLVMSetOrdering (LLVMValueRef MemAccessInst, LLVMAtomicOrdering Ordering) |
|
LLVMValueRef | LLVMBuildTrunc (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildZExt (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildSExt (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildFPToUI (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildFPToSI (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildUIToFP (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildSIToFP (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildFPTrunc (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildFPExt (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildPtrToInt (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildIntToPtr (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildBitCast (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildAddrSpaceCast (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildZExtOrBitCast (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildSExtOrBitCast (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildTruncOrBitCast (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildCast (LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildPointerCast (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildIntCast2 (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, LLVMBool IsSigned, const char *Name) |
|
LLVMValueRef | LLVMBuildIntCast (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
| Deprecated: This cast is always signed. More...
|
|
LLVMValueRef | LLVMBuildFPCast (LLVMBuilderRef B, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildICmp (LLVMBuilderRef B, LLVMIntPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFCmp (LLVMBuilderRef B, LLVMRealPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildPhi (LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) |
|
LLVMValueRef | LLVMBuildCall (LLVMBuilderRef B, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, const char *Name) |
|
LLVMValueRef | LLVMBuildCall2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, const char *Name) |
|
LLVMValueRef | LLVMBuildSelect (LLVMBuilderRef B, LLVMValueRef If, LLVMValueRef Then, LLVMValueRef Else, const char *Name) |
|
LLVMValueRef | LLVMBuildVAArg (LLVMBuilderRef B, LLVMValueRef List, LLVMTypeRef Ty, const char *Name) |
|
LLVMValueRef | LLVMBuildExtractElement (LLVMBuilderRef B, LLVMValueRef VecVal, LLVMValueRef Index, const char *Name) |
|
LLVMValueRef | LLVMBuildInsertElement (LLVMBuilderRef B, LLVMValueRef VecVal, LLVMValueRef EltVal, LLVMValueRef Index, const char *Name) |
|
LLVMValueRef | LLVMBuildShuffleVector (LLVMBuilderRef B, LLVMValueRef V1, LLVMValueRef V2, LLVMValueRef Mask, const char *Name) |
|
LLVMValueRef | LLVMBuildExtractValue (LLVMBuilderRef B, LLVMValueRef AggVal, unsigned Index, const char *Name) |
|
LLVMValueRef | LLVMBuildInsertValue (LLVMBuilderRef B, LLVMValueRef AggVal, LLVMValueRef EltVal, unsigned Index, const char *Name) |
|
LLVMValueRef | LLVMBuildIsNull (LLVMBuilderRef B, LLVMValueRef Val, const char *Name) |
|
LLVMValueRef | LLVMBuildIsNotNull (LLVMBuilderRef B, LLVMValueRef Val, const char *Name) |
|
LLVMValueRef | LLVMBuildPtrDiff (LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildAtomicRMW (LLVMBuilderRef B, LLVMAtomicRMWBinOp op, LLVMValueRef PTR, LLVMValueRef Val, LLVMAtomicOrdering ordering, LLVMBool singleThread) |
|
LLVMValueRef | LLVMBuildAtomicCmpXchg (LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Cmp, LLVMValueRef New, LLVMAtomicOrdering SuccessOrdering, LLVMAtomicOrdering FailureOrdering, LLVMBool singleThread) |
|
LLVMBool | LLVMIsAtomicSingleThread (LLVMValueRef AtomicInst) |
|
void | LLVMSetAtomicSingleThread (LLVMValueRef AtomicInst, LLVMBool NewValue) |
|
LLVMAtomicOrdering | LLVMGetCmpXchgSuccessOrdering (LLVMValueRef CmpXchgInst) |
|
void | LLVMSetCmpXchgSuccessOrdering (LLVMValueRef CmpXchgInst, LLVMAtomicOrdering Ordering) |
|
LLVMAtomicOrdering | LLVMGetCmpXchgFailureOrdering (LLVMValueRef CmpXchgInst) |
|
void | LLVMSetCmpXchgFailureOrdering (LLVMValueRef CmpXchgInst, LLVMAtomicOrdering Ordering) |
|
LLVMModuleProviderRef | LLVMCreateModuleProviderForExistingModule (LLVMModuleRef M) |
| Changes the type of M so it can be passed to FunctionPassManagers and the JIT. More...
|
|
void | LLVMDisposeModuleProvider (LLVMModuleProviderRef MP) |
| Destroys the module M. More...
|
|
LLVMBool | LLVMCreateMemoryBufferWithContentsOfFile (const char *Path, LLVMMemoryBufferRef *OutMemBuf, char **OutMessage) |
|
LLVMBool | LLVMCreateMemoryBufferWithSTDIN (LLVMMemoryBufferRef *OutMemBuf, char **OutMessage) |
|
LLVMMemoryBufferRef | LLVMCreateMemoryBufferWithMemoryRange (const char *InputData, size_t InputDataLength, const char *BufferName, LLVMBool RequiresNullTerminator) |
|
LLVMMemoryBufferRef | LLVMCreateMemoryBufferWithMemoryRangeCopy (const char *InputData, size_t InputDataLength, const char *BufferName) |
|
const char * | LLVMGetBufferStart (LLVMMemoryBufferRef MemBuf) |
|
size_t | LLVMGetBufferSize (LLVMMemoryBufferRef MemBuf) |
|
void | LLVMDisposeMemoryBuffer (LLVMMemoryBufferRef MemBuf) |
|
LLVMPassRegistryRef | LLVMGetGlobalPassRegistry (void) |
| Return the global pass registry, for use with initialization functions. More...
|
|
LLVMPassManagerRef | LLVMCreatePassManager () |
| Constructs a new whole-module pass pipeline. More...
|
|
LLVMPassManagerRef | LLVMCreateFunctionPassManagerForModule (LLVMModuleRef M) |
| Constructs a new function-by-function pass pipeline over the module provider. More...
|
|
LLVMPassManagerRef | LLVMCreateFunctionPassManager (LLVMModuleProviderRef P) |
| Deprecated: Use LLVMCreateFunctionPassManagerForModule instead. More...
|
|
LLVMBool | LLVMRunPassManager (LLVMPassManagerRef PM, LLVMModuleRef M) |
| Initializes, executes on the provided module, and finalizes all of the passes scheduled in the pass manager. More...
|
|
LLVMBool | LLVMInitializeFunctionPassManager (LLVMPassManagerRef FPM) |
| Initializes all of the function passes scheduled in the function pass manager. More...
|
|
LLVMBool | LLVMRunFunctionPassManager (LLVMPassManagerRef FPM, LLVMValueRef F) |
| Executes all of the function passes scheduled in the function pass manager on the provided function. More...
|
|
LLVMBool | LLVMFinalizeFunctionPassManager (LLVMPassManagerRef FPM) |
| Finalizes all of the function passes scheduled in the function pass manager. More...
|
|
void | LLVMDisposePassManager (LLVMPassManagerRef PM) |
| Frees the memory of a pass pipeline. More...
|
|
LLVMBool | LLVMStartMultithreaded () |
| Deprecated: Multi-threading can only be enabled/disabled with the compile time define LLVM_ENABLE_THREADS. More...
|
|
void | LLVMStopMultithreaded () |
| Deprecated: Multi-threading can only be enabled/disabled with the compile time define LLVM_ENABLE_THREADS. More...
|
|
LLVMBool | LLVMIsMultithreaded () |
| Check whether LLVM is executing in thread-safe mode or not. More...
|
|