Expand description
Safe(r) wrappers around llvm_sys::core.
Modules§
- llvm_
is_ a - The family of LLVMIsA* functions for Value
Structs§
- Basic
Block Iter - Iterate over all
BasicBlocks in a function. - Fastmath
Flags - Fast math flags for floating point operations.
- Function
Iter - Iterate over all
Functions in aModule. - Global
Variable Iter - Iterate over all
GlobalVariables in aModule. - Incoming
Iter - Iterate over all the incoming edges of a phi value.
- Instruction
Iter - Iterate over all
Instructions in a basic block. - IntrinsicID
- LLVM
Basic Block - Opaque wrapper around LLVMBasicBlockRef to hide the raw pointer
- LLVM
Builder - Managed LLVMBuilder.
- LLVM
Context - Managed LLVMContext
- LLVM
Memory Buffer - RAII wrapper around LLVMMemoryBufferRef
- LLVM
Module - RAII wrapper around LLVMModuleRef
- LLVM
Type - Opaque wrapper around LLVMTypeRef to hide the raw pointer
- LLVM
Value - Opaque wrapper around LLVMValueRef to hide the raw pointer
- Param
Iter - Iterate over all
Parameterss of aFunction.
Functions§
- basic_
block_ iter - Get an iterator over the basic blocks of a function.
- function_
iter - Get an iterator over the functions of a module.
- global_
iter - Get an iterator over the global variables of a module.
- incoming_
iter - Get an incoming edge iterator.
- instruction_
iter - Get an iterator over the instructions of a basic block.
- llvm_
add_ case - LLVMAddCase
- llvm_
add_ function - LLVMAddFunction
- llvm_
add_ global - LLVMAddGlobal
- llvm_
add_ incoming - LLVMAddIncoming
- llvm_
append_ basic_ block_ in_ context - LLVMAppendBasicBlockInContext
- llvm_
array_ type2 - LLVMArrayType2
- llvm_
basic_ block_ as_ value - LLVMBasicBlockAsValue
- llvm_
build_ add - LLVMBuildAdd
- llvm_
build_ and - LLVMBuildAnd
- llvm_
build_ array_ alloca - LLVMBuildArrayAlloca
- llvm_
build_ ashr - LLVMBuildAShr
- llvm_
build_ bitcast - LLVMBuildBitCast
- llvm_
build_ br - LLVMBuildBr
- llvm_
build_ call2 - LLVMBuildCall2
- llvm_
build_ cond_ br - LLVMBuildCondBr
- llvm_
build_ extract_ element - LLVMBuildExtractElement
- llvm_
build_ extract_ value - LLVMBuildExtractValue
- llvm_
build_ fadd - LLVMBuildFAdd
- llvm_
build_ fcmp - LLVMBuildFCmp
- llvm_
build_ fdiv - LLVMBuildFDiv
- llvm_
build_ fmul - LLVMBuildFMul
- llvm_
build_ fpext - LLVMBuildFPExt
- llvm_
build_ fptosi - LLVMBuildFPToSI
- llvm_
build_ fptoui - LLVMBuildFPToUI
- llvm_
build_ fptrunc - LLVMBuildFPTrunc
- llvm_
build_ freeze - LLVMBuildFreeze
- llvm_
build_ frem - LLVMBuildFRem
- llvm_
build_ fsub - LLVMBuildFSub
- llvm_
build_ gep2 - LLVMBuildGEP2
- llvm_
build_ icmp - LLVMBuildICmp
- llvm_
build_ insert_ element - LLVMBuildInsertElement
- llvm_
build_ insert_ value - LLVMBuildInsertValue
- llvm_
build_ int_ to_ ptr - LLVMBuildIntToPtr
- llvm_
build_ load2 - LLVMBuildLoad2
- llvm_
build_ lshr - LLVMBuildLShr
- llvm_
build_ mul - LLVMBuildMul
- llvm_
build_ or - LLVMBuildOr
- llvm_
build_ phi - LLVMBuildPhi
- llvm_
build_ ptr_ to_ int - LLVMBuildPtrToInt
- llvm_
build_ ret - LLVMBuildRet
- llvm_
build_ ret_ void - LLVMBuildRetVoid
- llvm_
build_ sdiv - LLVMBuildSDiv
- llvm_
build_ select - LLVMBuildSelect
- llvm_
build_ sext - LLVMBuildSExt
- llvm_
build_ shl - LLVMBuildShl
- llvm_
build_ shuffle_ vector - LLVMBuildShuffleVector
- llvm_
build_ sitofp - LLVMBuildSIToFP
- llvm_
build_ srem - LLVMBuildSRem
- llvm_
build_ store - LLVMBuildStore
- llvm_
build_ sub - LLVMBuildSub
- llvm_
build_ switch - LLVMBuildSwitch
- llvm_
build_ trunc - LLVMBuildTrunc
- llvm_
build_ udiv - LLVMBuildUDiv
- llvm_
build_ uitofp - LLVMBuildUIToFP
- llvm_
build_ unreachable - LLVMBuildUnreachable
- llvm_
build_ urem - LLVMBuildURem
- llvm_
build_ va_ arg - LLVMBuildVAArg
- llvm_
build_ xor - LLVMBuildXor
- llvm_
build_ zext - LLVMBuildZExt
- llvm_
can_ value_ use_ fast_ math_ flags - LLVMCanValueUseFastMathFlags
- llvm_
clear_ insertion_ position - LLVMClearInsertionPosition
- llvm_
const_ int - LLVMConstInt
- llvm_
const_ int_ get_ zext_ value - LLVMConstIntGetZExtValue
- llvm_
const_ null - LLVMConstNull
- llvm_
const_ real - LLVMConstReal
- llvm_
const_ real_ get_ double - LLVMConstRealGetDouble
- llvm_
const_ vector - LLVMConstVector
- llvm_
count_ incoming - LLVMCountIncoming
- llvm_
count_ param_ types - LLVMCountParamTypes
- llvm_
count_ params - LLVMCountParams
- llvm_
count_ struct_ element_ types - LLVMCountStructElementTypes
- llvm_
delete_ function - LLVMDeleteFunction
- llvm_
double_ type_ in_ context - LLVMDoubleTypeInContext
- llvm_
dump_ module - LLVMDumpModule
- llvm_
dump_ type - LLVMDumpType
- llvm_
dump_ value - LLVMDumpValue
- llvm_
float_ type_ in_ context - LLVMFloatTypeInContext
- llvm_
function_ type - LLVMFunctionType
- llvm_
get_ aggregate_ element - LLVMGetAggregateElement
- llvm_
get_ alignment - LLVMGetAlignment
- llvm_
get_ allocated_ type - LLVMGetAllocatedType
- llvm_
get_ array_ length2 - LLVMGetArrayLength2
- llvm_
get_ basic_ block_ name - LLVMGetBasicBlockName
- llvm_
get_ basic_ block_ parent - LLVMGetBasicBlockParent
- llvm_
get_ basic_ block_ terminator - LLVMGetBasicBlockTerminator
- llvm_
get_ called_ function_ type - LLVMGetCalledFunctionType
- llvm_
get_ called_ value - LLVMGetCalledValue
- llvm_
get_ const_ opcode - LLVMGetConstOpcode
- llvm_
get_ element_ type - LLVMGetElementType
- llvm_
get_ fast_ math_ flags - LLVMGetFastMathFlags
- llvm_
get_ fcmp_ predicate - LLVMGetFCmpPredicate
- llvm_
get_ first_ basic_ block - LLVMGetFirstBasicBlock
- llvm_
get_ first_ function - LLVMGetFirstFunction
- llvm_
get_ first_ global - LLVMGetFirstGlobal
- llvm_
get_ first_ instruction - LLVMGetFirstInstruction
- llvm_
get_ first_ param - LLVMGetFirstParam
- llvm_
get_ gep_ source_ element_ type - LLVMGetGEPSourceElementType
- llvm_
get_ global_ parent - LLVMGetGlobalParent
- llvm_
get_ icmp_ predicate - LLVMGetICmpPredicate
- llvm_
get_ incoming_ block - LLVMGetIncomingBlock
- llvm_
get_ incoming_ value - LLVMGetIncomingValue
- llvm_
get_ indices - LLVMGetIndices
- llvm_
get_ initializer - LLVMGetInitializer
- llvm_
get_ insert_ block - LLVMGetInsertBlock
- llvm_
get_ instruction_ opcode - LLVMGetInstructionOpcode
- llvm_
get_ instruction_ parent - LLVMGetInstructionParent
- llvm_
get_ int_ type_ width - LLVMGetIntTypeWidth
- llvm_
get_ intrinsic_ declaration - LLVMGetIntrinsicDeclaration
- llvm_
get_ last_ function - LLVMGetLasFunction
- llvm_
get_ last_ global - LLVMGetLastGlobal
- llvm_
get_ linkage - LLVMGetLinkage
- llvm_
get_ mask_ value - LLVMGetMaskValue
- llvm_
get_ module_ identifier - LLVMGetModuleIdentifier
- llvm_
get_ named_ function - LLVMGetNamedFunction
- llvm_
get_ named_ global - LLVMGetNamedGlobal
- llvm_
get_ next_ basic_ block - LLVMGetNextBasicBlock
- llvm_
get_ next_ function - LLVMGetNextFunction
- llvm_
get_ next_ global - LLVMGetNextGlobal
- llvm_
get_ next_ instruction - LLVMGetNextInstruction
- llvm_
get_ next_ param - LLVMGetNextParam
- llvm_
get_ nneg - LLVMGetNNeg
- llvm_
get_ nsw - LLVMGetNSW
- llvm_
get_ num_ arg_ operands - LLVMGetNumArgOperands
- llvm_
get_ num_ indices - LLVMGetNumIndices
- llvm_
get_ num_ mask_ elements - LLVMGetNumMaskElements
- llvm_
get_ num_ operands - LLVMGetNumOperands
- llvm_
get_ nuw - LLVMGetNUW
- llvm_
get_ operand - LLVMGetOperand
- llvm_
get_ param - LLVMGetParam
- llvm_
get_ param_ types - LLVMGetParamTypes
- llvm_
get_ poison - LLVMGetPoison
- llvm_
get_ previous_ basic_ block - LLVMGetPreviousBasicBlock
- llvm_
get_ previous_ function - LLVMGetPreviousFunction
- llvm_
get_ previous_ global - LLVMGetPreviousGlobal
- llvm_
get_ previous_ instruction - LLVMGetPreviousInstruction
- llvm_
get_ previous_ param - LLVMGetPreviousParam
- llvm_
get_ return_ type - LLVMGetReturnType
- llvm_
get_ struct_ element_ types - LLVMGetStructElementTypes
- llvm_
get_ struct_ name - LLVMGetStructName
- llvm_
get_ switch_ case_ value - LLVMGetSwitchCaseValue
- llvm_
get_ type_ kind - LLVMGetTypeKind
- llvm_
get_ undef - LLVMGetUndef
- llvm_
get_ undef_ mask_ elem - LLVMGetUndefMaskElem
- llvm_
get_ value_ kind - llvm_
get_ value_ name - LLVMGetValueName2
- llvm_
get_ vector_ size - LLVMGetVectorSize
- llvm_
global_ get_ value_ type - LLVMGlobalGetValueType
- llvm_
int_ type_ in_ context - LLVMIntTypeInContext
- llvm_
intrinsic_ is_ overloaded - LLVMIntrinsicIsOverloaded
- llvm_
is_ a_ terminator_ inst - LLVMIsATerminatorInst
- llvm_
is_ aggregate_ type - Type.h: isAggregateType()
- llvm_
is_ declaration - LLVMIsDeclaration
- llvm_
is_ first_ class_ type - isFirstClassType
- llvm_
is_ function_ type_ var_ arg - LLVMIsFunctionVarArg
- llvm_
is_ opaque_ struct - LLVMIsOpaqueStruct
- llvm_
is_ valid_ array_ element_ type - ArrayType::isValidElementType
- llvm_
is_ valid_ function_ argument_ type - FunctionType::isValidArgumentType
- llvm_
is_ valid_ function_ return_ type - FunctionType::isValidReturnType
- llvm_
is_ valid_ struct_ element_ type - StructType::isValidElementType
- llvm_
is_ valid_ vector_ element_ type - VectorType::isValidElementType
- llvm_
lookup_ intrinsic_ id - LLVMLookupIntrinsicID
- llvm_
pointer_ type_ in_ context - LLVMPointerTypeInContext
- llvm_
position_ builder_ at_ end - LLVMPositionBuilderAtEnd
- llvm_
position_ builder_ before - LLVMPositionBuilderBefore
- llvm_
print_ module_ to_ string - LLVMPrintModuleToString
- llvm_
print_ type_ to_ string - LLVMPrintTypeToString
- llvm_
print_ value_ to_ string - LLVMPrintValueToString
- llvm_
scalable_ vector_ type - LLVMScalableVectorType
- llvm_
set_ alignment - LLVMSetAlignment
- llvm_
set_ fast_ math_ flags - LLVMSetFastMathFlags
- llvm_
set_ initializer - LLVMSetInitializer
- llvm_
set_ linkage - LLVMSetLinkage
- llvm_
set_ nneg - LLVMSetNNeg
- llvm_
struct_ create_ named - LLVMStructCreateNamed
- llvm_
struct_ set_ body - LLVMStructSetBody
- llvm_
struct_ type_ in_ context - LLVMStructTypeInContext
- llvm_
type_ is_ sized - LLVMTypeIsSized
- llvm_
type_ of - LLVMTypeOf
- llvm_
value_ as_ basic_ block - LLVMValueAsBasicBlock
- llvm_
value_ is_ basic_ block - LLVMValueIsBasicBlock
- llvm_
vector_ type - LLVMVectorType
- llvm_
void_ type_ in_ context - LLVMVoidTypeInContext
- param_
iter - Get an iterator over the parameters of a function.