Module core

Module core 

Source
Expand description

The LLVM intermediate representation.

Functions§

LLVMAddAlias2⚠
LLVMAddAttributeAtIndex⚠
LLVMAddCallSiteAttribute⚠
LLVMAddCase⚠
Add a case to a switch instruction
LLVMAddClause⚠
Add a catch or filter clause to a landingpad instruction
LLVMAddDestination⚠
Add a destination to an indirectbr instruction
LLVMAddFunction⚠
LLVMAddGlobal⚠
LLVMAddGlobalIFunc⚠
Add a global indirect function to a module under a specified name.
LLVMAddGlobalInAddressSpace⚠
LLVMAddHandler⚠
Add a destination to the catchswitch instruction
LLVMAddIncoming⚠
LLVMAddMetadataToInst⚠
Adds the metadata registered with the given builder to the given instruction.
LLVMAddModuleFlag⚠
Add a module-level flag to the module-level flags metadata if it doesn’t already exist.
LLVMAddNamedMetadataOperand⚠
LLVMAddTargetDependentFunctionAttr⚠
LLVMAliasGetAliasee⚠
Retrieve the target value of an alias.
LLVMAliasSetAliasee⚠
Set the target value of an alias.
LLVMAlignOf⚠
LLVMAppendBasicBlock⚠
LLVMAppendBasicBlockInContext⚠
LLVMAppendExistingBasicBlock⚠
Append the given basic block to the basic block list of the given function.
LLVMAppendModuleInlineAsm⚠
LLVMArrayType⚠Deprecated
LLVMArrayType2⚠
Create a fixed size array type that refers to a specific type.
LLVMBFloatType⚠
LLVMBFloatTypeInContext⚠
LLVMBasicBlockAsValue⚠
LLVMBlockAddress⚠
LLVMBuildAShr⚠
LLVMBuildAdd⚠
LLVMBuildAddrSpaceCast⚠
LLVMBuildAggregateRet⚠
LLVMBuildAlloca⚠
LLVMBuildAnd⚠
LLVMBuildArrayAlloca⚠
LLVMBuildArrayMalloc⚠
LLVMBuildAtomicCmpXchg⚠
LLVMBuildAtomicCmpXchgSyncScope⚠
LLVMBuildAtomicRMW⚠
LLVMBuildAtomicRMWSyncScope⚠
LLVMBuildBinOp⚠
LLVMBuildBitCast⚠
LLVMBuildBr⚠
LLVMBuildCall2⚠
LLVMBuildCallBr⚠
LLVMBuildCallWithOperandBundles⚠
LLVMBuildCast⚠
LLVMBuildCatchPad⚠
LLVMBuildCatchRet⚠
LLVMBuildCatchSwitch⚠
LLVMBuildCleanupPad⚠
LLVMBuildCleanupRet⚠
LLVMBuildCondBr⚠
LLVMBuildExactSDiv⚠
LLVMBuildExactUDiv⚠
LLVMBuildExtractElement⚠
LLVMBuildExtractValue⚠
LLVMBuildFAdd⚠
LLVMBuildFCmp⚠
LLVMBuildFDiv⚠
LLVMBuildFMul⚠
LLVMBuildFNeg⚠
LLVMBuildFPCast⚠
LLVMBuildFPExt⚠
LLVMBuildFPToSI⚠
LLVMBuildFPToUI⚠
LLVMBuildFPTrunc⚠
LLVMBuildFRem⚠
LLVMBuildFSub⚠
LLVMBuildFence⚠
LLVMBuildFenceSyncScope⚠
LLVMBuildFree⚠
LLVMBuildFreeze⚠
LLVMBuildGEP2⚠
LLVMBuildGEPWithNoWrapFlags⚠
Creates a GetElementPtr instruction.
LLVMBuildGlobalString⚠
LLVMBuildGlobalStringPtr⚠Deprecated
LLVMBuildICmp⚠
LLVMBuildInBoundsGEP2⚠
LLVMBuildIndirectBr⚠
LLVMBuildInsertElement⚠
LLVMBuildInsertValue⚠
LLVMBuildIntCast⚠
LLVMBuildIntCast2⚠
LLVMBuildIntToPtr⚠
LLVMBuildInvoke2⚠
LLVMBuildInvokeWithOperandBundles⚠
LLVMBuildIsNotNull⚠
LLVMBuildIsNull⚠
LLVMBuildLShr⚠
LLVMBuildLandingPad⚠
LLVMBuildLoad2⚠
LLVMBuildMalloc⚠
LLVMBuildMemCpy⚠
LLVMBuildMemMove⚠
LLVMBuildMemSet⚠
LLVMBuildMul⚠
LLVMBuildNSWAdd⚠
LLVMBuildNSWMul⚠
LLVMBuildNSWNeg⚠
LLVMBuildNSWSub⚠
LLVMBuildNUWAdd⚠
LLVMBuildNUWMul⚠
LLVMBuildNUWNeg⚠Deprecated
LLVMBuildNUWSub⚠
LLVMBuildNeg⚠
LLVMBuildNot⚠
LLVMBuildOr⚠
LLVMBuildPhi⚠
LLVMBuildPointerCast⚠
LLVMBuildPtrDiff2⚠
LLVMBuildPtrToInt⚠
LLVMBuildResume⚠
LLVMBuildRet⚠
LLVMBuildRetVoid⚠
LLVMBuildSDiv⚠
LLVMBuildSExt⚠
LLVMBuildSExtOrBitCast⚠
LLVMBuildSIToFP⚠
LLVMBuildSRem⚠
LLVMBuildSelect⚠
LLVMBuildShl⚠
LLVMBuildShuffleVector⚠
LLVMBuildStore⚠
LLVMBuildStructGEP2⚠
LLVMBuildSub⚠
LLVMBuildSwitch⚠
LLVMBuildTrunc⚠
LLVMBuildTruncOrBitCast⚠
LLVMBuildUDiv⚠
LLVMBuildUIToFP⚠
LLVMBuildURem⚠
LLVMBuildUnreachable⚠
LLVMBuildVAArg⚠
LLVMBuildXor⚠
LLVMBuildZExt⚠
LLVMBuildZExtOrBitCast⚠
LLVMBuilderGetDefaultFPMathTag⚠
Get the dafult floating-point math metadata for a given builder.
LLVMBuilderSetDefaultFPMathTag⚠
Set the default floating-point math metadata for the given builder.
LLVMCanValueUseFastMathFlags⚠
Check if a given value can potentially have fast math flags.
LLVMClearInsertionPosition⚠
LLVMCloneModule⚠
LLVMConstAdd⚠
LLVMConstAddrSpaceCast⚠
LLVMConstAllOnes⚠
LLVMConstArray⚠Deprecated
LLVMConstArray2⚠
Create a ConstantArray from values.
LLVMConstBitCast⚠
LLVMConstDataArray⚠
Create a ConstantDataArray from raw values.
LLVMConstExtractElement⚠
LLVMConstGEP2⚠
LLVMConstGEPWithNoWrapFlags⚠
Creates a constant GetElementPtr expression.
LLVMConstInBoundsGEP2⚠
LLVMConstInlineAsm⚠Deprecated
LLVMConstInsertElement⚠
LLVMConstInt⚠
LLVMConstIntGetSExtValue⚠
LLVMConstIntGetZExtValue⚠
LLVMConstIntOfArbitraryPrecision⚠
LLVMConstIntOfString⚠
LLVMConstIntOfStringAndSize⚠
LLVMConstIntToPtr⚠
LLVMConstMul⚠
LLVMConstNSWAdd⚠
LLVMConstNSWMul⚠
LLVMConstNSWNeg⚠
LLVMConstNSWSub⚠
LLVMConstNUWAdd⚠
LLVMConstNUWMul⚠
LLVMConstNUWNeg⚠Deprecated
LLVMConstNUWSub⚠
LLVMConstNamedStruct⚠
LLVMConstNeg⚠
LLVMConstNot⚠
LLVMConstNull⚠
LLVMConstPointerCast⚠
LLVMConstPointerNull⚠
LLVMConstPtrToInt⚠
LLVMConstReal⚠
LLVMConstRealGetDouble⚠
LLVMConstRealOfString⚠
LLVMConstRealOfStringAndSize⚠
LLVMConstShuffleVector⚠
LLVMConstString⚠
LLVMConstStringInContext⚠Deprecated
LLVMConstStringInContext2⚠
LLVMConstStruct⚠
LLVMConstStructInContext⚠
LLVMConstSub⚠
LLVMConstTrunc⚠
LLVMConstTruncOrBitCast⚠
LLVMConstVector⚠
LLVMConstXor⚠
LLVMConstantPtrAuth⚠
Create a ConstantPtrAuth constant with the given values.
LLVMContextCreate⚠
LLVMContextDispose⚠
LLVMContextGetDiagnosticContext⚠
Get the diagnostic context of this context.
LLVMContextGetDiagnosticHandler⚠
Get the diagnostic handler of this context.
LLVMContextSetDiagnosticHandler⚠
LLVMContextSetDiscardValueNames⚠
LLVMContextSetYieldCallback⚠
LLVMContextShouldDiscardValueNames⚠
LLVMCopyModuleFlagsMetadata⚠
Returns the module flags as an array of flag-key-value triples. The caller is responsible for freeing this array by calling LLVMDisposeModuleFlagsMetadata.
LLVMCountBasicBlocks⚠
LLVMCountIncoming⚠
LLVMCountParamTypes⚠
LLVMCountParams⚠
LLVMCountStructElementTypes⚠
LLVMCreateBasicBlockInContext⚠
LLVMCreateBuilder⚠
LLVMCreateBuilderInContext⚠
LLVMCreateConstantRangeAttribute⚠
Create a ConstantRange attribute.
LLVMCreateEnumAttribute⚠
Create an enum attribute.
LLVMCreateFunctionPassManager⚠
LLVMCreateFunctionPassManagerForModule⚠
LLVMCreateMemoryBufferWithContentsOfFile⚠
LLVMCreateMemoryBufferWithMemoryRange⚠
LLVMCreateMemoryBufferWithMemoryRangeCopy⚠
LLVMCreateMemoryBufferWithSTDIN⚠
LLVMCreateMessage⚠
LLVMCreateModuleProviderForExistingModule⚠
LLVMCreateOperandBundle⚠
Create a new operand bundle.
LLVMCreatePassManager⚠
LLVMCreateStringAttribute⚠
Create a string attribute.
LLVMCreateTypeAttribute⚠
Create a type attribute.
LLVMDeleteBasicBlock⚠
LLVMDeleteFunction⚠
LLVMDeleteGlobal⚠
LLVMDeleteInstruction⚠
Remove the given instruction that is not inserted into a basic block. It must have previously been removed from its containing building block.
LLVMDisposeBuilder⚠
LLVMDisposeMemoryBuffer⚠
LLVMDisposeMessage⚠
LLVMDisposeModule⚠
LLVMDisposeModuleFlagsMetadata⚠
Destroys module flags metadata entries.
LLVMDisposeModuleProvider⚠
LLVMDisposeOperandBundle⚠
Destroy an operand bundle.
LLVMDisposePassManager⚠
LLVMDisposeValueMetadataEntries⚠
LLVMDoubleType⚠
LLVMDoubleTypeInContext⚠
LLVMDumpModule⚠
LLVMDumpType⚠
LLVMDumpValue⚠
LLVMEraseGlobalIFunc⚠
Remove a global indirect function from its parent module and delete it.
LLVMFP128Type⚠
LLVMFP128TypeInContext⚠
LLVMFinalizeFunctionPassManager⚠
LLVMFloatType⚠
LLVMFloatTypeInContext⚠
LLVMFunctionType⚠
LLVMGEPGetNoWrapFlags⚠
Get the no-wrap related flags for the given GEP instruction.
LLVMGEPSetNoWrapFlags⚠
Set the no-wrap related flags for the given GEP instruction.
LLVMGetAggregateElement⚠
LLVMGetAlignment⚠
LLVMGetAllocatedType⚠
LLVMGetArgOperand⚠
Get the number of funcletpad arguments.
LLVMGetArrayLength⚠Deprecated
LLVMGetArrayLength2⚠
Obtain the length of an array type.
LLVMGetAsString⚠
LLVMGetAtomicRMWBinOp⚠
LLVMGetAtomicSyncScopeID⚠
Returns the synchronization scope ID of an atomic instruction.
LLVMGetAttributeCountAtIndex⚠
LLVMGetAttributesAtIndex⚠
LLVMGetBasicBlockName⚠
Get the string name of a basic block.
LLVMGetBasicBlockParent⚠
LLVMGetBasicBlockTerminator⚠
LLVMGetBasicBlocks⚠
LLVMGetBlockAddressBasicBlock⚠
Gets the basic block associated with a given BlockAddress constant value.
LLVMGetBlockAddressFunction⚠
Gets the function associated with a given BlockAddress constant value.
LLVMGetBufferSize⚠
LLVMGetBufferStart⚠
LLVMGetBuilderContext⚠
Obtain the context to which this builder is associated.
LLVMGetCallBrDefaultDest⚠
Get the default destination of a CallBr instruction.
LLVMGetCallBrIndirectDest⚠
Get the indirect destination of a CallBr instruction at the given index.
LLVMGetCallBrNumIndirectDests⚠
Get the number of indirect destinations of a CallBr instruction.
LLVMGetCallSiteAttributeCount⚠
LLVMGetCallSiteAttributes⚠
LLVMGetCallSiteEnumAttribute⚠
LLVMGetCallSiteStringAttribute⚠
LLVMGetCalledFunctionType⚠
LLVMGetCalledValue⚠
Get a pointer to the function invoked by this instruction.
LLVMGetCastOpcode⚠
LLVMGetClause⚠
Get the value of the clause with the given index on a landingpad instruction.
LLVMGetCmpXchgFailureOrdering⚠
LLVMGetCmpXchgSuccessOrdering⚠
LLVMGetCondition⚠
LLVMGetConstOpcode⚠
LLVMGetConstantPtrAuthAddrDiscriminator⚠
Get the address discriminator value for the associated ConstantPtrAuth constant.
LLVMGetConstantPtrAuthDiscriminator⚠
Get the discriminator value for the associated ConstantPtrAuth constant.
LLVMGetConstantPtrAuthKey⚠
Get the key value for the associated ConstantPtrAuth constant.
LLVMGetConstantPtrAuthPointer⚠
Get the pointer value for the associated ConstantPtrAuth constant.
LLVMGetCurrentDebugLocation⚠
LLVMGetCurrentDebugLocation2⚠
Get location information used by debugging information.
LLVMGetDLLStorageClass⚠
LLVMGetDataLayout⚠Deprecated
LLVMGetDataLayoutStr⚠
Obtain the data layout for a module.
LLVMGetDebugLocColumn⚠
LLVMGetDebugLocDirectory⚠
LLVMGetDebugLocFilename⚠
LLVMGetDebugLocLine⚠
LLVMGetDiagInfoDescription⚠
LLVMGetDiagInfoSeverity⚠
LLVMGetElementAsConstant⚠Deprecated
LLVMGetElementType⚠
LLVMGetEntryBasicBlock⚠
LLVMGetEnumAttributeAtIndex⚠
LLVMGetEnumAttributeKind⚠
Get the unique id corresponding to the provided enum attribute.
LLVMGetEnumAttributeKindForName⚠
Return a unique id given the name of an enum attribute, or 0 if no attribute by that name exists.
LLVMGetEnumAttributeValue⚠
Get the value of an enum attribute.
LLVMGetExact⚠
LLVMGetFCmpPredicate⚠
LLVMGetFastMathFlags⚠
Get the flags for which fast-math-style optimizations are allowed for this value.
LLVMGetFirstBasicBlock⚠
LLVMGetFirstDbgRecord⚠
Obtain the first debug record attached to an instruction.
LLVMGetFirstFunction⚠
LLVMGetFirstGlobal⚠
LLVMGetFirstGlobalAlias⚠
Obtain an iterator to the first GlobalAlias in a Module.
LLVMGetFirstGlobalIFunc⚠
Obtain an iterator to the first GlobalIFunc in a Module.
LLVMGetFirstInstruction⚠
LLVMGetFirstNamedMetadata⚠
LLVMGetFirstParam⚠
LLVMGetFirstUse⚠
LLVMGetFunctionCallConv⚠
LLVMGetGC⚠
LLVMGetGEPSourceElementType⚠
Get the source element type of the given GEP operator.
LLVMGetGlobalContext⚠
LLVMGetGlobalIFuncResolver⚠
Retrieves the resolver function associated with this indirect function, or NULL if it doesn’t not exist.
LLVMGetGlobalParent⚠
LLVMGetHandlers⚠
Obtain the basic blocks acting as handlers for a catchswitch instruction.
LLVMGetICmpPredicate⚠
LLVMGetICmpSameSign⚠
Get whether or not an icmp instruction has the samesign flag.
LLVMGetIncomingBlock⚠
LLVMGetIncomingValue⚠
LLVMGetIndices⚠
LLVMGetInitializer⚠
LLVMGetInlineAsm⚠
LLVMGetInlineAsmAsmString⚠
Get the template string used for an inline assembly snippet.
LLVMGetInlineAsmCanUnwind⚠
Get if the inline asm snippet may unwind the stack
LLVMGetInlineAsmConstraintString⚠
Get the raw constraint string for an inline assembly snippet.
LLVMGetInlineAsmDialect⚠
Get the dialect used by the inline asm snippet.
LLVMGetInlineAsmFunctionType⚠
Get the function type of the inline assembly snippet.
LLVMGetInlineAsmHasSideEffects⚠
Get if the inline asm snippet has side effects
LLVMGetInlineAsmNeedsAlignedStack⚠
Get if the inline asm snippet needs an aligned stack
LLVMGetInsertBlock⚠
LLVMGetInstructionCallConv⚠
LLVMGetInstructionOpcode⚠
LLVMGetInstructionParent⚠
LLVMGetIntTypeWidth⚠
LLVMGetIntrinsicDeclaration⚠
LLVMGetIntrinsicID⚠
Obtain the ID number from a function instance.
LLVMGetIsDisjoint⚠
Gets whether the instruction has the disjoint flag set.
LLVMGetLastBasicBlock⚠
LLVMGetLastDbgRecord⚠
Obtain the last debug record attached to an instruction.
LLVMGetLastEnumAttributeKind⚠
LLVMGetLastFunction⚠
LLVMGetLastGlobal⚠
LLVMGetLastGlobalAlias⚠
Obtain an iterator to the last GlobalAlias in a Module.
LLVMGetLastGlobalIFunc⚠
Obtain an iterator to the last GlobalIFunc in a Module.
LLVMGetLastInstruction⚠
LLVMGetLastNamedMetadata⚠
LLVMGetLastParam⚠
LLVMGetLinkage⚠
LLVMGetMDKindID⚠
LLVMGetMDKindIDInContext⚠
LLVMGetMDNodeNumOperands⚠
LLVMGetMDNodeOperands⚠
LLVMGetMDString⚠
Obtain the underlying string from a MDString value.
LLVMGetMaskValue⚠
LLVMGetMetadata⚠
LLVMGetModuleContext⚠
LLVMGetModuleFlag⚠
Add a module-level flag to the module-level flags metadata if it doesn’t already exist.
LLVMGetModuleIdentifier⚠
Get the identifier of a module.
LLVMGetModuleInlineAsm⚠
LLVMGetNNeg⚠
Gets if the instruction has the non-negative flag set.
LLVMGetNSW⚠
LLVMGetNUW⚠
LLVMGetNamedFunction⚠
LLVMGetNamedFunctionWithLength⚠
Obtain a Function value from a Module by its name.
LLVMGetNamedGlobal⚠
LLVMGetNamedGlobalAlias⚠
Obtain a GlobalAlias value from a Module by its name.
LLVMGetNamedGlobalIFunc⚠
Obtain a GlobalIFunc value from a Module by its name.
LLVMGetNamedGlobalWithLength⚠
LLVMGetNamedMetadata⚠
LLVMGetNamedMetadataName⚠
LLVMGetNamedMetadataNumOperands⚠
LLVMGetNamedMetadataOperands⚠
LLVMGetNextBasicBlock⚠
LLVMGetNextDbgRecord⚠
Obtain the next DbgRecord in the sequence or NULL if there are no more.
LLVMGetNextFunction⚠
LLVMGetNextGlobal⚠
LLVMGetNextGlobalAlias⚠
Advance a GlobalAlias iterator to the next GlobalAlias.
LLVMGetNextGlobalIFunc⚠
Advance a GlobalIFunc iterator to the next GlobalIFunc.
LLVMGetNextInstruction⚠
LLVMGetNextNamedMetadata⚠
LLVMGetNextParam⚠
LLVMGetNextUse⚠
LLVMGetNormalDest⚠
Return the normal destination basic block of an invoke instruction.
LLVMGetNumArgOperands⚠
LLVMGetNumClauses⚠
Get the number of clauses on a landingpad instruction.
LLVMGetNumContainedTypes⚠
Return the number of types in the derived type.
LLVMGetNumHandlers⚠
Get the number of handlers on the catchswitch instruction
LLVMGetNumIndices⚠
Get the number of indices on an ExtractValue, InsertValue or GEP operator.
LLVMGetNumMaskElements⚠
LLVMGetNumOperandBundleArgs⚠
Obtain the number of operands for an operand bundle.
LLVMGetNumOperandBundles⚠
Get the number of operand bundles attached to this instruction.
LLVMGetNumOperands⚠
LLVMGetNumSuccessors⚠
LLVMGetOperand⚠
LLVMGetOperandBundleArgAtIndex⚠
Obtain the operand for an operand bundle at the given index.
LLVMGetOperandBundleAtIndex⚠
Get the operand bundle attached to this instruction at the given index.
LLVMGetOperandBundleTag⚠
Obtain the tag of an operand bundle as a string.
LLVMGetOperandUse⚠
LLVMGetOrInsertNamedMetadata⚠
LLVMGetOrdering⚠
LLVMGetParam⚠
LLVMGetParamParent⚠
LLVMGetParamTypes⚠
LLVMGetParams⚠
LLVMGetParentCatchSwitch⚠
Get the parent catchswitch instruction of a catchpad instruction.
LLVMGetPersonalityFn⚠
Obtain the personality function attached to the function.
LLVMGetPointerAddressSpace⚠
LLVMGetPoison⚠
Obtain a constant value referring to a poison value of a type.
LLVMGetPrefixData⚠
Gets the prefix data associated with a function.
LLVMGetPreviousBasicBlock⚠
LLVMGetPreviousDbgRecord⚠
Obtain the previous DbgRecord in the sequence or NULL if there are no more.
LLVMGetPreviousFunction⚠
LLVMGetPreviousGlobal⚠
LLVMGetPreviousGlobalAlias⚠
Decrement a GlobalAlias iterator to the previous GlobalAlias.
LLVMGetPreviousGlobalIFunc⚠
Decrement a GlobalIFunc iterator to the previous GlobalIFunc.
LLVMGetPreviousInstruction⚠
LLVMGetPreviousNamedMetadata⚠
LLVMGetPreviousParam⚠
LLVMGetPrologueData⚠
Gets the prologue data associated with a function.
LLVMGetRawDataValues⚠
Get the raw, underlying bytes of the given constant data sequential.
LLVMGetReturnType⚠
LLVMGetSection⚠
LLVMGetSourceFileName⚠
Obtain the module’s original source file name.
LLVMGetStringAttributeAtIndex⚠
LLVMGetStringAttributeKind⚠
Get a string attribute’s kind.
LLVMGetStringAttributeValue⚠
Get a string attribute’s value.
LLVMGetStructElementTypes⚠
LLVMGetStructName⚠
LLVMGetSubtypes⚠
Get the subtypes of the given type.
LLVMGetSuccessor⚠
LLVMGetSwitchDefaultDest⚠
LLVMGetSyncScopeID⚠
Maps a synchronization scope name to a ID unique within this context.
LLVMGetTailCallKind⚠
LLVMGetTarget⚠
LLVMGetTargetExtTypeIntParam⚠
Get the int parameter at the given index for the target extension type.
LLVMGetTargetExtTypeName⚠
Obtain the name for this target extension type.
LLVMGetTargetExtTypeNumIntParams⚠
Obtain the number of int parameters for this target extension type.
LLVMGetTargetExtTypeNumTypeParams⚠
Obtain the number of type parameters for this target extension type.
LLVMGetTargetExtTypeTypeParam⚠
Get the type parameter at the given index for the target extension type.
LLVMGetThreadLocalMode⚠
LLVMGetTypeAttributeValue⚠
Get the type attribute’s value.
LLVMGetTypeByName⚠Deprecated
LLVMGetTypeByName2⚠
Obtain a Type from a context by its registered name.
LLVMGetTypeContext⚠
LLVMGetTypeKind⚠
LLVMGetUndef⚠
LLVMGetUndefMaskElem⚠
LLVMGetUnnamedAddress⚠
LLVMGetUnwindDest⚠
Return the unwind destination basic block.
LLVMGetUsedValue⚠
LLVMGetUser⚠
LLVMGetValueContext⚠
Obtain the context to which this value is associated.
LLVMGetValueKind⚠
LLVMGetValueName⚠Deprecated
LLVMGetValueName2⚠
LLVMGetVectorSize⚠
Obtain the (possibly scalable) number of elements in a vector type.
LLVMGetVersion⚠
LLVMGetVisibility⚠
LLVMGetVolatile⚠
LLVMGetWeak⚠
LLVMGlobalClearMetadata⚠
LLVMGlobalCopyAllMetadata⚠
LLVMGlobalEraseMetadata⚠
LLVMGlobalGetValueType⚠
LLVMGlobalSetMetadata⚠
LLVMHalfType⚠
LLVMHalfTypeInContext⚠
LLVMHasMetadata⚠
LLVMHasPersonalityFn⚠
Check whether the given function has a personality function.
LLVMHasPrefixData⚠
Check if a given function has prefix data. Only valid on functions.
LLVMHasPrologueData⚠
Check if a given function has prologue data. Only valid on functions.
LLVMHasUnnamedAddr⚠Deprecated
LLVMInitializeFunctionPassManager⚠
LLVMInsertBasicBlock⚠
LLVMInsertBasicBlockInContext⚠
LLVMInsertExistingBasicBlockAfterInsertBlock⚠
Insert the given basic block after the insertion point of the given builder.
LLVMInsertIntoBuilder⚠
LLVMInsertIntoBuilderWithName⚠
LLVMInstructionClone⚠
LLVMInstructionEraseFromParent⚠
Remove the given instruction from its containing building block and delete it.
LLVMInstructionGetAllMetadataOtherThanDebugLoc⚠
LLVMInstructionRemoveFromParent⚠
Remove the given instruction from its containing building block but kept alive.
LLVMInt1Type⚠
LLVMInt1TypeInContext⚠
LLVMInt8Type⚠
LLVMInt8TypeInContext⚠
LLVMInt16Type⚠
LLVMInt16TypeInContext⚠
LLVMInt32Type⚠
LLVMInt32TypeInContext⚠
LLVMInt64Type⚠
LLVMInt64TypeInContext⚠
LLVMInt128Type⚠
LLVMInt128TypeInContext⚠
LLVMIntType⚠
LLVMIntTypeInContext⚠
LLVMIntrinsicCopyOverloadedName⚠Deprecated
LLVMIntrinsicCopyOverloadedName2⚠
LLVMIntrinsicGetName⚠
LLVMIntrinsicGetType⚠
LLVMIntrinsicIsOverloaded⚠
LLVMIsAAddrSpaceCastInst⚠
LLVMIsAAllocaInst⚠
LLVMIsAArgument⚠
LLVMIsAAtomicCmpXchgInst⚠
LLVMIsAAtomicRMWInst⚠
LLVMIsABasicBlock⚠
LLVMIsABinaryOperator⚠
LLVMIsABitCastInst⚠
LLVMIsABlockAddress⚠
LLVMIsABranchInst⚠
LLVMIsACallBrInst⚠
LLVMIsACallInst⚠
LLVMIsACastInst⚠
LLVMIsACatchPadInst⚠
LLVMIsACatchReturnInst⚠
LLVMIsACatchSwitchInst⚠
LLVMIsACleanupPadInst⚠
LLVMIsACleanupReturnInst⚠
LLVMIsACmpInst⚠
LLVMIsAConstant⚠
LLVMIsAConstantAggregateZero⚠
LLVMIsAConstantArray⚠
LLVMIsAConstantDataArray⚠
LLVMIsAConstantDataSequential⚠
LLVMIsAConstantDataVector⚠
LLVMIsAConstantExpr⚠
LLVMIsAConstantFP⚠
LLVMIsAConstantInt⚠
LLVMIsAConstantPointerNull⚠
LLVMIsAConstantPtrAuth⚠
LLVMIsAConstantStruct⚠
LLVMIsAConstantTokenNone⚠
LLVMIsAConstantVector⚠
LLVMIsADbgDeclareInst⚠
LLVMIsADbgInfoIntrinsic⚠
LLVMIsADbgLabelInst⚠
LLVMIsADbgVariableIntrinsic⚠
LLVMIsAExtractElementInst⚠
LLVMIsAExtractValueInst⚠
LLVMIsAFCmpInst⚠
LLVMIsAFPExtInst⚠
LLVMIsAFPToSIInst⚠
LLVMIsAFPToUIInst⚠
LLVMIsAFPTruncInst⚠
LLVMIsAFenceInst⚠
LLVMIsAFreezeInst⚠
LLVMIsAFuncletPadInst⚠
LLVMIsAFunction⚠
LLVMIsAGetElementPtrInst⚠
LLVMIsAGlobalAlias⚠
LLVMIsAGlobalIFunc⚠
LLVMIsAGlobalObject⚠
LLVMIsAGlobalValue⚠
LLVMIsAGlobalVariable⚠
LLVMIsAICmpInst⚠
LLVMIsAIndirectBrInst⚠
LLVMIsAInlineAsm⚠
LLVMIsAInsertElementInst⚠
LLVMIsAInsertValueInst⚠
LLVMIsAInstruction⚠
LLVMIsAIntToPtrInst⚠
LLVMIsAIntrinsicInst⚠
LLVMIsAInvokeInst⚠
LLVMIsALandingPadInst⚠
LLVMIsALoadInst⚠
LLVMIsAMDNode⚠
LLVMIsAMDString⚠
LLVMIsAMemCpyInst⚠
LLVMIsAMemIntrinsic⚠
LLVMIsAMemMoveInst⚠
LLVMIsAMemSetInst⚠
LLVMIsAPHINode⚠
LLVMIsAPoisonValue⚠
LLVMIsAPtrToIntInst⚠
LLVMIsAResumeInst⚠
LLVMIsAReturnInst⚠
LLVMIsASExtInst⚠
LLVMIsASIToFPInst⚠
LLVMIsASelectInst⚠
LLVMIsAShuffleVectorInst⚠
LLVMIsAStoreInst⚠
LLVMIsASwitchInst⚠
LLVMIsATerminatorInst⚠
LLVMIsATruncInst⚠
LLVMIsAUIToFPInst⚠
LLVMIsAUnaryInstruction⚠
LLVMIsAUnaryOperator⚠
LLVMIsAUndefValue⚠
LLVMIsAUnreachableInst⚠
LLVMIsAUser⚠
LLVMIsAVAArgInst⚠
LLVMIsAValueAsMetadata⚠
LLVMIsAZExtInst⚠
LLVMIsAtomic⚠
Returns whether an instruction is an atomic instruction, e.g., atomicrmw, cmpxchg, fence, or loads and stores with atomic ordering.
LLVMIsAtomicSingleThread⚠
LLVMIsCleanup⚠
Get the cleanup flag in a landingpad instruction.
LLVMIsConditional⚠
LLVMIsConstant⚠
Determine whether the specified value instance is constant.
LLVMIsConstantString⚠
LLVMIsDeclaration⚠
LLVMIsEnumAttribute⚠
LLVMIsExternallyInitialized⚠
LLVMIsFunctionVarArg⚠
LLVMIsGlobalConstant⚠
LLVMIsInBounds⚠
LLVMIsLiteralStruct⚠
LLVMIsMultithreaded⚠
LLVMIsNewDbgInfoFormat⚠
Soon to be deprecated.
LLVMIsNull⚠
LLVMIsOpaqueStruct⚠
LLVMIsPackedStruct⚠
Determine whether a structure is packed.
LLVMIsPoison⚠
Determine whether a value instance is poisonous.
LLVMIsStringAttribute⚠
LLVMIsTailCall⚠
Get whether a call instruction is a tail call.
LLVMIsThreadLocal⚠
LLVMIsTypeAttribute⚠
LLVMIsUndef⚠
LLVMLabelType⚠
LLVMLabelTypeInContext⚠
LLVMLookupIntrinsicID⚠
Obtain the intrinsic ID number which matches the given function name.
LLVMMDNode⚠Deprecated
LLVMMDNodeInContext⚠Deprecated
LLVMMDNodeInContext2⚠
Create an MDNode value with the given array of operands.
LLVMMDString⚠Deprecated
LLVMMDStringInContext⚠Deprecated
LLVMMDStringInContext2⚠
Create an MDString value from a given string value.
LLVMMetadataAsValue⚠
Obtain Metadata as a Value.
LLVMMetadataTypeInContext⚠
LLVMModuleCreateWithName⚠
LLVMModuleCreateWithNameInContext⚠
LLVMModuleFlagEntriesGetFlagBehavior⚠
Returns the flag behavior for a module flag entry at a specific index.
LLVMModuleFlagEntriesGetKey⚠
Returns the key for a module flag entry at a specific index.
LLVMModuleFlagEntriesGetMetadata⚠
Returns the metadata for a module flag entry at a specific index.
LLVMMoveBasicBlockAfter⚠
LLVMMoveBasicBlockBefore⚠
LLVMPPCFP128Type⚠
LLVMPPCFP128TypeInContext⚠
LLVMPointerType⚠
LLVMPointerTypeInContext⚠
Create an opaque pointer type in a context.
LLVMPointerTypeIsOpaque⚠
Determine whether a pointer is opaque.
LLVMPositionBuilder⚠
Set the builder position before Instr but after any attached debug records, or if Instr is null set the position to the end of Block.
LLVMPositionBuilderAtEnd⚠
LLVMPositionBuilderBefore⚠
Set the builder position before Instr but after any attached debug records.
LLVMPositionBuilderBeforeDbgRecords⚠
Set the builder position before Instr and any attached debug records, or if Instr is null set the position to the end of Block.
LLVMPositionBuilderBeforeInstrAndDbgRecords⚠
Set the builder position before Instr and any attached debug records.
LLVMPrintDbgRecordToString⚠
Return a string representation of the DbgRecord.
LLVMPrintModuleToFile⚠
LLVMPrintModuleToString⚠
LLVMPrintTypeToString⚠
LLVMPrintValueToString⚠
LLVMRemoveBasicBlockFromParent⚠
LLVMRemoveCallSiteEnumAttribute⚠
LLVMRemoveCallSiteStringAttribute⚠
LLVMRemoveEnumAttributeAtIndex⚠
LLVMRemoveGlobalIFunc⚠
Remove a global indirect function from its parent module.
LLVMRemoveStringAttributeAtIndex⚠
LLVMReplaceAllUsesWith⚠
LLVMReplaceMDNodeOperandWith⚠
Replace an operand at a specific index in a llvm::MDNode value.
LLVMRunFunctionPassManager⚠
LLVMRunPassManager⚠
LLVMScalableVectorType⚠
Create a vector type that contains a defined type and has a scalable number of elements.
LLVMSetAlignment⚠
LLVMSetArgOperand⚠
Set a funcletpad argument at the given index.
LLVMSetAtomicRMWBinOp⚠
LLVMSetAtomicSingleThread⚠
LLVMSetAtomicSyncScopeID⚠
Sets the synchronization scope ID of an atomic instruction.
LLVMSetCleanup⚠
Set the cleanup flag in a landingpad instruction.
LLVMSetCmpXchgFailureOrdering⚠
LLVMSetCmpXchgSuccessOrdering⚠
LLVMSetCondition⚠
LLVMSetCurrentDebugLocation⚠Deprecated
LLVMSetCurrentDebugLocation2⚠
Set location information used by debugging information.
LLVMSetDLLStorageClass⚠
LLVMSetDataLayout⚠
LLVMSetExact⚠
LLVMSetExternallyInitialized⚠
LLVMSetFastMathFlags⚠
Sets the flags for which fast-math-style optimizations are allowed for this value.
LLVMSetFunctionCallConv⚠
LLVMSetGC⚠
LLVMSetGlobalConstant⚠
LLVMSetGlobalIFuncResolver⚠
Sets the resolver function associated with this indirect function.
LLVMSetICmpSameSign⚠
Set the samesign flag on an icmp instruction.
LLVMSetInitializer⚠
LLVMSetInstDebugLocation⚠Deprecated
Attempts to set the debug location for the given instruction using the current debug location for the given builder. If the builder has no current debug location, this function is a no-op.
LLVMSetInstrParamAlignment⚠
LLVMSetInstructionCallConv⚠
LLVMSetIsDisjoint⚠
Sets the disjoint flag for the instruction.
LLVMSetIsInBounds⚠
Set the given GEP instruction to be inbounds or not.
LLVMSetIsNewDbgInfoFormat⚠
Soon to be deprecated.
LLVMSetLinkage⚠
LLVMSetMetadata⚠
LLVMSetModuleIdentifier⚠
Set the identifier of a module.
LLVMSetModuleInlineAsm⚠Deprecated
LLVMSetModuleInlineAsm2⚠
LLVMSetNNeg⚠
Sets the non-negative flag for the instruction.
LLVMSetNSW⚠
LLVMSetNUW⚠
LLVMSetNormalDest⚠
Set the normal destination basic block.
LLVMSetOperand⚠
LLVMSetOrdering⚠
LLVMSetParamAlignment⚠
LLVMSetParentCatchSwitch⚠
Set the parent catchswitch instruction of a catchpad instruction. This only works on llvm::CatchPadInst instructions.
LLVMSetPersonalityFn⚠
Set the personality function attached to the function.
LLVMSetPrefixData⚠
Sets the prefix data for the function. Only valid on functions.
LLVMSetPrologueData⚠
Sets the prologue data for the function. Only valid on functions.
LLVMSetSection⚠
LLVMSetSourceFileName⚠
Set the original source file name of a module to a string Name with length Len.
LLVMSetSuccessor⚠
LLVMSetTailCall⚠
LLVMSetTailCallKind⚠
LLVMSetTarget⚠
LLVMSetThreadLocal⚠
LLVMSetThreadLocalMode⚠
LLVMSetUnnamedAddr⚠Deprecated
LLVMSetUnnamedAddress⚠
LLVMSetUnwindDest⚠
Set the unwind destination basic block.
LLVMSetValueName⚠Deprecated
LLVMSetValueName2⚠
LLVMSetVisibility⚠
LLVMSetVolatile⚠
LLVMSetWeak⚠
LLVMShutdown⚠
LLVMSizeOf⚠
LLVMStartMultithreaded⚠
Deprecated: LLVM threading is configured at compile-time with LLVM_ENABLE_THREADS
LLVMStopMultithreaded⚠
Deprecated: LLVM threading is configured at compile-time with LLVM_ENABLE_THREADS
LLVMStructCreateNamed⚠
LLVMStructGetTypeAtIndex⚠
Get the type of the element at the given index in a structure.
LLVMStructSetBody⚠
LLVMStructType⚠
LLVMStructTypeInContext⚠
LLVMTargetExtTypeInContext⚠
LLVMTokenTypeInContext⚠
LLVMTypeIsSized⚠
LLVMTypeOf⚠
LLVMValueAsBasicBlock⚠
LLVMValueAsMetadata⚠
Obtain a Value as Metadata.
LLVMValueIsBasicBlock⚠
LLVMValueMetadataEntriesGetKind⚠
LLVMValueMetadataEntriesGetMetadata⚠
LLVMVectorType⚠
LLVMVoidType⚠
LLVMVoidTypeInContext⚠
LLVMX86AMXType⚠
LLVMX86AMXTypeInContext⚠
LLVMX86FP80Type⚠
LLVMX86FP80TypeInContext⚠