Skip to main content

Module core

Module core 

Source
Expand description

Safe(r) wrappers around llvm_sys::core.

Modules§

llvm_is_a
The family of LLVMIsA* functions for Value

Structs§

BasicBlockIter
Iterate over all BasicBlocks in a function.
FastmathFlags
Fast math flags for floating point operations.
FunctionIter
Iterate over all Functions in a Module.
GlobalVariableIter
Iterate over all GlobalVariables in a Module.
IncomingIter
Iterate over all the incoming edges of a phi value.
InstructionIter
Iterate over all Instructions in a basic block.
IntrinsicID
LLVMBasicBlock
Opaque wrapper around LLVMBasicBlockRef to hide the raw pointer
LLVMBuilder
Managed LLVMBuilder.
LLVMContext
Managed LLVMContext
LLVMMemoryBuffer
RAII wrapper around LLVMMemoryBufferRef
LLVMModule
RAII wrapper around LLVMModuleRef
LLVMType
Opaque wrapper around LLVMTypeRef to hide the raw pointer
LLVMValue
Opaque wrapper around LLVMValueRef to hide the raw pointer
ParamIter
Iterate over all Parameterss of a Function.

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.