public class LLVM extends LLVM
Modifier and Type | Field and Description |
---|---|
static long |
INT64_MAX |
static long |
INT64_MIN |
static int |
LLVMAbortProcessAction
enum LLVMVerifierFailureAction
|
static int |
LLVMAdd
enum LLVMOpcode
|
static int |
LLVMAddrSpaceCast
enum LLVMOpcode
|
static int |
LLVMAlloca
enum LLVMOpcode
|
static int |
LLVMAMDGPUCSCallConv
enum LLVMCallConv
|
static int |
LLVMAMDGPUESCallConv
enum LLVMCallConv
|
static int |
LLVMAMDGPUGSCallConv
enum LLVMCallConv
|
static int |
LLVMAMDGPUHSCallConv
enum LLVMCallConv
|
static int |
LLVMAMDGPUKERNELCallConv
enum LLVMCallConv
|
static int |
LLVMAMDGPULSCallConv
enum LLVMCallConv
|
static int |
LLVMAMDGPUPSCallConv
enum LLVMCallConv
|
static int |
LLVMAMDGPUVSCallConv
enum LLVMCallConv
|
static int |
LLVMAnd
enum LLVMOpcode
|
static int |
LLVMAnyComdatSelectionKind
enum LLVMComdatSelectionKind
|
static int |
LLVMAnyRegCallConv
enum LLVMCallConv
|
static int |
LLVMAppendingLinkage
enum LLVMLinkage
|
static int |
LLVMArgumentValueKind
enum LLVMValueKind
|
static int |
LLVMARMAAPCSCallConv
enum LLVMCallConv
|
static int |
LLVMARMAAPCSVFPCallConv
enum LLVMCallConv
|
static int |
LLVMARMAPCSCallConv
enum LLVMCallConv
|
static int |
LLVMArrayTypeKind
enum LLVMTypeKind
|
static int |
LLVMAShr
enum LLVMOpcode
|
static int |
LLVMAssemblyFile
enum LLVMCodeGenFileType
|
static int |
LLVMAtomicCmpXchg
enum LLVMOpcode
|
static int |
LLVMAtomicOrderingAcquire
enum LLVMAtomicOrdering
|
static int |
LLVMAtomicOrderingAcquireRelease
enum LLVMAtomicOrdering
|
static int |
LLVMAtomicOrderingMonotonic
enum LLVMAtomicOrdering
|
static int |
LLVMAtomicOrderingNotAtomic
enum LLVMAtomicOrdering
|
static int |
LLVMAtomicOrderingRelease
enum LLVMAtomicOrdering
|
static int |
LLVMAtomicOrderingSequentiallyConsistent
enum LLVMAtomicOrdering
|
static int |
LLVMAtomicOrderingUnordered
enum LLVMAtomicOrdering
|
static int |
LLVMAtomicRMW
enum LLVMOpcode
|
static int |
LLVMAtomicRMWBinOpAdd
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpAnd
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpFAdd
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpFMax
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpFMin
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpFSub
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpMax
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpMin
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpNand
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpOr
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpSub
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpUMax
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpUMin
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpXchg
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAtomicRMWBinOpXor
enum LLVMAtomicRMWBinOp
|
static int |
LLVMAttributeFunctionIndex
enum
|
static int |
LLVMAttributeReturnIndex
enum
|
static int |
LLVMAvailableExternallyLinkage
enum LLVMLinkage
|
static int |
LLVMAVRBUILTINCallConv
enum LLVMCallConv
|
static int |
LLVMAVRINTRCallConv
enum LLVMCallConv
|
static int |
LLVMAVRSIGNALCallConv
enum LLVMCallConv
|
static int |
LLVMBasicBlockValueKind
enum LLVMValueKind
|
static int |
LLVMBFloatTypeKind
enum LLVMTypeKind
|
static int |
LLVMBigEndian
enum LLVMByteOrdering
|
static int |
LLVMBinaryTypeArchive
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeCOFF
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeCOFFImportFile
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeELF32B
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeELF32L
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeELF64B
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeELF64L
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeIR
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeMachO32B
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeMachO32L
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeMachO64B
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeMachO64L
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeMachOUniversalBinary
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeOffload
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeWasm
enum LLVMBinaryType
|
static int |
LLVMBinaryTypeWinRes
enum LLVMBinaryType
|
static int |
LLVMBitCast
enum LLVMOpcode
|
static int |
LLVMBlockAddressValueKind
enum LLVMValueKind
|
static int |
LLVMBr
enum LLVMOpcode
|
static int |
LLVMCall
enum LLVMOpcode
|
static int |
LLVMCallBr
enum LLVMOpcode
|
static int |
LLVMCatchPad
enum LLVMOpcode
|
static int |
LLVMCatchRet
enum LLVMOpcode
|
static int |
LLVMCatchSwitch
enum LLVMOpcode
|
static int |
LLVMCCallConv
enum LLVMCallConv
|
static int |
LLVMCleanupPad
enum LLVMOpcode
|
static int |
LLVMCleanupRet
enum LLVMOpcode
|
static int |
LLVMCodeGenLevelAggressive
enum LLVMCodeGenOptLevel
|
static int |
LLVMCodeGenLevelDefault
enum LLVMCodeGenOptLevel
|
static int |
LLVMCodeGenLevelLess
enum LLVMCodeGenOptLevel
|
static int |
LLVMCodeGenLevelNone
enum LLVMCodeGenOptLevel
|
static int |
LLVMCodeModelDefault
enum LLVMCodeModel
|
static int |
LLVMCodeModelJITDefault
enum LLVMCodeModel
|
static int |
LLVMCodeModelKernel
enum LLVMCodeModel
|
static int |
LLVMCodeModelLarge
enum LLVMCodeModel
|
static int |
LLVMCodeModelMedium
enum LLVMCodeModel
|
static int |
LLVMCodeModelSmall
enum LLVMCodeModel
|
static int |
LLVMCodeModelTiny
enum LLVMCodeModel
|
static int |
LLVMColdCallConv
enum LLVMCallConv
|
static int |
LLVMCommonLinkage
enum LLVMLinkage
|
static int |
LLVMConstantAggregateZeroValueKind
enum LLVMValueKind
|
static int |
LLVMConstantArrayValueKind
enum LLVMValueKind
|
static int |
LLVMConstantAsMetadataMetadataKind
enum
|
static int |
LLVMConstantDataArrayValueKind
enum LLVMValueKind
|
static int |
LLVMConstantDataVectorValueKind
enum LLVMValueKind
|
static int |
LLVMConstantExprValueKind
enum LLVMValueKind
|
static int |
LLVMConstantFPValueKind
enum LLVMValueKind
|
static int |
LLVMConstantIntValueKind
enum LLVMValueKind
|
static int |
LLVMConstantPointerNullValueKind
enum LLVMValueKind
|
static int |
LLVMConstantStructValueKind
enum LLVMValueKind
|
static int |
LLVMConstantTargetNoneValueKind
enum LLVMValueKind
|
static int |
LLVMConstantTokenNoneValueKind
enum LLVMValueKind
|
static int |
LLVMConstantVectorValueKind
enum LLVMValueKind
|
static int |
LLVMCXXFASTTLSCallConv
enum LLVMCallConv
|
static int |
LLVMDefaultStorageClass
enum LLVMDLLStorageClass
|
static int |
LLVMDefaultVisibility
enum LLVMVisibility
|
static int |
LLVMDIArgListMetadataKind
enum
|
static int |
LLVMDIAssignIDMetadataKind
enum
|
static int |
LLVMDIBasicTypeMetadataKind
enum
|
static int |
LLVMDICommonBlockMetadataKind
enum
|
static int |
LLVMDICompileUnitMetadataKind
enum
|
static int |
LLVMDICompositeTypeMetadataKind
enum
|
static int |
LLVMDIDerivedTypeMetadataKind
enum
|
static int |
LLVMDIEnumeratorMetadataKind
enum
|
static int |
LLVMDIExpressionMetadataKind
enum
|
static int |
LLVMDIFileMetadataKind
enum
|
static int |
LLVMDIFlagAccessibility
enum LLVMDIFlags
|
static int |
LLVMDIFlagAppleBlock
enum LLVMDIFlags
|
static int |
LLVMDIFlagArtificial
enum LLVMDIFlags
|
static int |
LLVMDIFlagBigEndian
enum LLVMDIFlags
|
static int |
LLVMDIFlagBitField
enum LLVMDIFlags
|
static int |
LLVMDIFlagEnumClass
enum LLVMDIFlags
|
static int |
LLVMDIFlagExplicit
enum LLVMDIFlags
|
static int |
LLVMDIFlagFixedEnum
enum LLVMDIFlags
|
static int |
LLVMDIFlagFwdDecl
enum LLVMDIFlags
|
static int |
LLVMDIFlagIndirectVirtualBase
enum LLVMDIFlags
|
static int |
LLVMDIFlagIntroducedVirtual
enum LLVMDIFlags
|
static int |
LLVMDIFlagLittleEndian
enum LLVMDIFlags
|
static int |
LLVMDIFlagLValueReference
enum LLVMDIFlags
|
static int |
LLVMDIFlagMultipleInheritance
enum LLVMDIFlags
|
static int |
LLVMDIFlagNonTrivial
enum LLVMDIFlags
|
static int |
LLVMDIFlagNoReturn
enum LLVMDIFlags
|
static int |
LLVMDIFlagObjcClassComplete
enum LLVMDIFlags
|
static int |
LLVMDIFlagObjectPointer
enum LLVMDIFlags
|
static int |
LLVMDIFlagPrivate
enum LLVMDIFlags
|
static int |
LLVMDIFlagProtected
enum LLVMDIFlags
|
static int |
LLVMDIFlagPrototyped
enum LLVMDIFlags
|
static int |
LLVMDIFlagPtrToMemberRep
enum LLVMDIFlags
|
static int |
LLVMDIFlagPublic
enum LLVMDIFlags
|
static int |
LLVMDIFlagReserved
enum LLVMDIFlags
|
static int |
LLVMDIFlagReservedBit4
enum LLVMDIFlags
|
static int |
LLVMDIFlagRValueReference
enum LLVMDIFlags
|
static int |
LLVMDIFlagSingleInheritance
enum LLVMDIFlags
|
static int |
LLVMDIFlagStaticMember
enum LLVMDIFlags
|
static int |
LLVMDIFlagThunk
enum LLVMDIFlags
|
static int |
LLVMDIFlagTypePassByReference
enum LLVMDIFlags
|
static int |
LLVMDIFlagTypePassByValue
enum LLVMDIFlags
|
static int |
LLVMDIFlagVector
enum LLVMDIFlags
|
static int |
LLVMDIFlagVirtual
enum LLVMDIFlags
|
static int |
LLVMDIFlagVirtualInheritance
enum LLVMDIFlags
|
static int |
LLVMDIFlagZero
enum LLVMDIFlags
|
static int |
LLVMDIGenericSubrangeMetadataKind
enum
|
static int |
LLVMDIGlobalVariableExpressionMetadataKind
enum
|
static int |
LLVMDIGlobalVariableMetadataKind
enum
|
static int |
LLVMDIImportedEntityMetadataKind
enum
|
static int |
LLVMDILabelMetadataKind
enum
|
static int |
LLVMDILexicalBlockFileMetadataKind
enum
|
static int |
LLVMDILexicalBlockMetadataKind
enum
|
static int |
LLVMDILocalVariableMetadataKind
enum
|
static int |
LLVMDILocationMetadataKind
enum
|
static int |
LLVMDIMacroFileMetadataKind
enum
|
static int |
LLVMDIMacroMetadataKind
enum
|
static int |
LLVMDIModuleMetadataKind
enum
|
static int |
LLVMDINamespaceMetadataKind
enum
|
static int |
LLVMDIObjCPropertyMetadataKind
enum
|
static int |
LLVMDisassembler_Option_AsmPrinterVariant |
static int |
LLVMDisassembler_Option_PrintImmHex |
static int |
LLVMDisassembler_Option_PrintLatency |
static int |
LLVMDisassembler_Option_SetInstrComments |
static int |
LLVMDisassembler_Option_UseMarkup |
static int |
LLVMDisassembler_ReferenceType_DeMangled_Name |
static long |
LLVMDisassembler_ReferenceType_In_ARM64_ADDXri |
static long |
LLVMDisassembler_ReferenceType_In_ARM64_ADR |
static long |
LLVMDisassembler_ReferenceType_In_ARM64_ADRP |
static long |
LLVMDisassembler_ReferenceType_In_ARM64_LDRXl |
static long |
LLVMDisassembler_ReferenceType_In_ARM64_LDRXui |
static int |
LLVMDisassembler_ReferenceType_In_Branch |
static int |
LLVMDisassembler_ReferenceType_In_PCrel_Load |
static int |
LLVMDisassembler_ReferenceType_InOut_None
The reference types on input and output.
|
static int |
LLVMDisassembler_ReferenceType_Out_LitPool_CstrAddr |
static int |
LLVMDisassembler_ReferenceType_Out_LitPool_SymAddr |
static int |
LLVMDisassembler_ReferenceType_Out_Objc_CFString_Ref |
static int |
LLVMDisassembler_ReferenceType_Out_Objc_Class_Ref |
static int |
LLVMDisassembler_ReferenceType_Out_Objc_Message |
static int |
LLVMDisassembler_ReferenceType_Out_Objc_Message_Ref |
static int |
LLVMDisassembler_ReferenceType_Out_Objc_Selector_Ref |
static int |
LLVMDisassembler_ReferenceType_Out_SymbolStub |
static int |
LLVMDisassembler_VariantKind_ARM_HI16
The ARM target VariantKinds.
|
static int |
LLVMDisassembler_VariantKind_ARM_LO16 |
static int |
LLVMDisassembler_VariantKind_ARM64_GOTPAGE |
static int |
LLVMDisassembler_VariantKind_ARM64_GOTPAGEOFF |
static int |
LLVMDisassembler_VariantKind_ARM64_PAGE
The ARM64 target VariantKinds.
|
static int |
LLVMDisassembler_VariantKind_ARM64_PAGEOFF |
static int |
LLVMDisassembler_VariantKind_ARM64_TLVOFF |
static int |
LLVMDisassembler_VariantKind_ARM64_TLVP |
static int |
LLVMDisassembler_VariantKind_None
The operand VariantKinds for symbolic disassembly.
|
static int |
LLVMDistinctMDOperandPlaceholderMetadataKind
enum
|
static int |
LLVMDIStringTypeMetadataKind
enum
|
static int |
LLVMDISubprogramMetadataKind
enum
|
static int |
LLVMDISubrangeMetadataKind
enum
|
static int |
LLVMDISubroutineTypeMetadataKind
enum
|
static int |
LLVMDITemplateTypeParameterMetadataKind
enum
|
static int |
LLVMDITemplateValueParameterMetadataKind
enum
|
static int |
LLVMDLLExportLinkage
enum LLVMLinkage
|
static int |
LLVMDLLExportStorageClass
enum LLVMDLLStorageClass
|
static int |
LLVMDLLImportLinkage
enum LLVMLinkage
|
static int |
LLVMDLLImportStorageClass
enum LLVMDLLStorageClass
|
static int |
LLVMDoubleTypeKind
enum LLVMTypeKind
|
static int |
LLVMDSError
enum LLVMDiagnosticSeverity
|
static int |
LLVMDSNote
enum LLVMDiagnosticSeverity
|
static int |
LLVMDSRemark
enum LLVMDiagnosticSeverity
|
static int |
LLVMDSWarning
enum LLVMDiagnosticSeverity
|
static int |
LLVMDWARFEmissionFull
enum LLVMDWARFEmissionKind
|
static int |
LLVMDWARFEmissionLineTablesOnly
enum LLVMDWARFEmissionKind
|
static int |
LLVMDWARFEmissionNone
enum LLVMDWARFEmissionKind
|
static int |
LLVMDWARFMacinfoRecordTypeDefine
enum LLVMDWARFMacinfoRecordType
|
static int |
LLVMDWARFMacinfoRecordTypeEndFile
enum LLVMDWARFMacinfoRecordType
|
static int |
LLVMDWARFMacinfoRecordTypeMacro
enum LLVMDWARFMacinfoRecordType
|
static int |
LLVMDWARFMacinfoRecordTypeStartFile
enum LLVMDWARFMacinfoRecordType
|
static int |
LLVMDWARFMacinfoRecordTypeVendorExt
enum LLVMDWARFMacinfoRecordType
|
static int |
LLVMDWARFSourceLanguageAda2005
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageAda2012
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageAda83
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageAda95
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageBLISS
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageBORLAND_Delphi
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageC
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageC_plus_plus
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageC_plus_plus_03
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageC_plus_plus_11
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageC_plus_plus_14
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageC_plus_plus_17
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageC_plus_plus_20
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageC11
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageC17
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageC89
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageC99
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageCobol74
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageCobol85
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageCrystal
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageD
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageDylan
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageFortran03
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageFortran08
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageFortran18
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageFortran77
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageFortran90
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageFortran95
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageGo
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageGOOGLE_RenderScript
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageHaskell
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageJava
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageJulia
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageKotlin
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageMips_Assembler
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageModula2
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageModula3
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageMojo
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageObjC
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageObjC_plus_plus
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageOCaml
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageOpenCL
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguagePascal83
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguagePLI
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguagePython
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageRenderScript
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageRust
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageSwift
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageUPC
enum LLVMDWARFSourceLanguage
|
static int |
LLVMDWARFSourceLanguageZig
enum LLVMDWARFSourceLanguage
|
static int |
LLVMErrorSuccess
\defgroup LLVMCError Error Handling
\ingroup LLVMC
\{
|
static int |
LLVMExactMatchComdatSelectionKind
enum LLVMComdatSelectionKind
|
static int |
LLVMExternalLinkage
enum LLVMLinkage
|
static int |
LLVMExternalWeakLinkage
enum LLVMLinkage
|
static int |
LLVMExtractElement
enum LLVMOpcode
|
static int |
LLVMExtractValue
enum LLVMOpcode
|
static int |
LLVMFAdd
enum LLVMOpcode
|
static int |
LLVMFastCallConv
enum LLVMCallConv
|
static int |
LLVMFCmp
enum LLVMOpcode
|
static int |
LLVMFDiv
enum LLVMOpcode
|
static int |
LLVMFence
enum LLVMOpcode
|
static int |
LLVMFloatTypeKind
enum LLVMTypeKind
|
static int |
LLVMFMul
enum LLVMOpcode
|
static int |
LLVMFNeg
enum LLVMOpcode
|
static int |
LLVMFP128TypeKind
enum LLVMTypeKind
|
static int |
LLVMFPExt
enum LLVMOpcode
|
static int |
LLVMFPToSI
enum LLVMOpcode
|
static int |
LLVMFPToUI
enum LLVMOpcode
|
static int |
LLVMFPTrunc
enum LLVMOpcode
|
static int |
LLVMFreeze
enum LLVMOpcode
|
static int |
LLVMFRem
enum LLVMOpcode
|
static int |
LLVMFSub
enum LLVMOpcode
|
static int |
LLVMFunctionTypeKind
enum LLVMTypeKind
|
static int |
LLVMFunctionValueKind
enum LLVMValueKind
|
static int |
LLVMGeneralDynamicTLSModel
enum LLVMThreadLocalMode
|
static int |
LLVMGenericDINodeMetadataKind
enum
|
static int |
LLVMGetElementPtr
enum LLVMOpcode
|
static int |
LLVMGHCCallConv
enum LLVMCallConv
|
static int |
LLVMGhostLinkage
enum LLVMLinkage
|
static int |
LLVMGlobalAliasValueKind
enum LLVMValueKind
|
static int |
LLVMGlobalIFuncValueKind
enum LLVMValueKind
|
static int |
LLVMGlobalUnnamedAddr
enum LLVMUnnamedAddr
|
static int |
LLVMGlobalVariableValueKind
enum LLVMValueKind
|
static int |
LLVMHalfTypeKind
enum LLVMTypeKind
|
static int |
LLVMHHVMCallConv
enum LLVMCallConv
|
static int |
LLVMHHVMCCallConv
enum LLVMCallConv
|
static int |
LLVMHiddenVisibility
enum LLVMVisibility
|
static int |
LLVMHiPECallConv
enum LLVMCallConv
|
static int |
LLVMICmp
enum LLVMOpcode
|
static int |
LLVMIndirectBr
enum LLVMOpcode
|
static int |
LLVMInitialExecTLSModel
enum LLVMThreadLocalMode
|
static int |
LLVMInlineAsmDialectATT
enum LLVMInlineAsmDialect
|
static int |
LLVMInlineAsmDialectIntel
enum LLVMInlineAsmDialect
|
static int |
LLVMInlineAsmValueKind
enum LLVMValueKind
|
static int |
LLVMInsertElement
enum LLVMOpcode
|
static int |
LLVMInsertValue
enum LLVMOpcode
|
static int |
LLVMInstructionValueKind
enum LLVMValueKind
|
static int |
LLVMIntegerTypeKind
enum LLVMTypeKind
|
static int |
LLVMIntelOCLBICallConv
enum LLVMCallConv
|
static int |
LLVMIntEQ
enum LLVMIntPredicate
|
static int |
LLVMInternalLinkage
enum LLVMLinkage
|
static int |
LLVMIntNE
enum LLVMIntPredicate
|
static int |
LLVMIntSGE
enum LLVMIntPredicate
|
static int |
LLVMIntSGT
enum LLVMIntPredicate
|
static int |
LLVMIntSLE
enum LLVMIntPredicate
|
static int |
LLVMIntSLT
enum LLVMIntPredicate
|
static int |
LLVMIntToPtr
enum LLVMOpcode
|
static int |
LLVMIntUGE
enum LLVMIntPredicate
|
static int |
LLVMIntUGT
enum LLVMIntPredicate
|
static int |
LLVMIntULE
enum LLVMIntPredicate
|
static int |
LLVMIntULT
enum LLVMIntPredicate
|
static int |
LLVMInvoke
enum LLVMOpcode
|
static int |
LLVMJITSymbolGenericFlagsCallable
enum LLVMJITSymbolGenericFlags
|
static int |
LLVMJITSymbolGenericFlagsExported
enum LLVMJITSymbolGenericFlags
|
static int |
LLVMJITSymbolGenericFlagsMaterializationSideEffectsOnly
enum LLVMJITSymbolGenericFlags
|
static int |
LLVMJITSymbolGenericFlagsNone
enum LLVMJITSymbolGenericFlags
|
static int |
LLVMJITSymbolGenericFlagsWeak
enum LLVMJITSymbolGenericFlags
|
static int |
LLVMLabelTypeKind
enum LLVMTypeKind
|
static int |
LLVMLandingPad
enum LLVMOpcode
|
static int |
LLVMLandingPadCatch
enum LLVMLandingPadClauseTy
|
static int |
LLVMLandingPadFilter
enum LLVMLandingPadClauseTy
|
static int |
LLVMLargestComdatSelectionKind
enum LLVMComdatSelectionKind
|
static int |
LLVMLinkerDestroySource
enum LLVMLinkerMode
|
static int |
LLVMLinkerPreserveSource_Removed
enum LLVMLinkerMode
|
static int |
LLVMLinkerPrivateLinkage
enum LLVMLinkage
|
static int |
LLVMLinkerPrivateWeakLinkage
enum LLVMLinkage
|
static int |
LLVMLinkOnceAnyLinkage
enum LLVMLinkage
|
static int |
LLVMLinkOnceODRAutoHideLinkage
enum LLVMLinkage
|
static int |
LLVMLinkOnceODRLinkage
enum LLVMLinkage
|
static int |
LLVMLittleEndian
enum LLVMByteOrdering
|
static int |
LLVMLoad
enum LLVMOpcode
|
static int |
LLVMLocalAsMetadataMetadataKind
enum
|
static int |
LLVMLocalDynamicTLSModel
enum LLVMThreadLocalMode
|
static int |
LLVMLocalExecTLSModel
enum LLVMThreadLocalMode
|
static int |
LLVMLocalUnnamedAddr
enum LLVMUnnamedAddr
|
static int |
LLVMLShr
enum LLVMOpcode
|
static int |
LLVMMDStringMetadataKind
enum
|
static int |
LLVMMDTupleMetadataKind
enum
|
static int |
LLVMMemoryDefValueKind
enum LLVMValueKind
|
static int |
LLVMMemoryPhiValueKind
enum LLVMValueKind
|
static int |
LLVMMemoryUseValueKind
enum LLVMValueKind
|
static int |
LLVMMetadataAsValueValueKind
enum LLVMValueKind
|
static int |
LLVMMetadataTypeKind
enum LLVMTypeKind
|
static int |
LLVMModuleFlagBehaviorAppend
enum LLVMModuleFlagBehavior
|
static int |
LLVMModuleFlagBehaviorAppendUnique
enum LLVMModuleFlagBehavior
|
static int |
LLVMModuleFlagBehaviorError
enum LLVMModuleFlagBehavior
|
static int |
LLVMModuleFlagBehaviorOverride
enum LLVMModuleFlagBehavior
|
static int |
LLVMModuleFlagBehaviorRequire
enum LLVMModuleFlagBehavior
|
static int |
LLVMModuleFlagBehaviorWarning
enum LLVMModuleFlagBehavior
|
static int |
LLVMMSP430BUILTINCallConv
enum LLVMCallConv
|
static int |
LLVMMSP430INTRCallConv
enum LLVMCallConv
|
static int |
LLVMMul
enum LLVMOpcode
|
static int |
LLVMNoDeduplicateComdatSelectionKind
enum LLVMComdatSelectionKind
|
static int |
LLVMNotThreadLocal
enum LLVMThreadLocalMode
|
static int |
LLVMNoUnnamedAddr
enum LLVMUnnamedAddr
|
static int |
LLVMObjectFile
enum LLVMCodeGenFileType
|
static int |
LLVMOr
enum LLVMOpcode
|
static int |
LLVMOrcJITDylibLookupFlagsMatchAllSymbols
enum LLVMOrcJITDylibLookupFlags
|
static int |
LLVMOrcJITDylibLookupFlagsMatchExportedSymbolsOnly
enum LLVMOrcJITDylibLookupFlags
|
static int |
LLVMOrcLookupKindDLSym
enum LLVMOrcLookupKind
|
static int |
LLVMOrcLookupKindStatic
enum LLVMOrcLookupKind
|
static int |
LLVMOrcSymbolLookupFlagsRequiredSymbol
enum LLVMOrcSymbolLookupFlags
|
static int |
LLVMOrcSymbolLookupFlagsWeaklyReferencedSymbol
enum LLVMOrcSymbolLookupFlags
|
static int |
LLVMPHI
enum LLVMOpcode
|
static int |
LLVMPointerTypeKind
enum LLVMTypeKind
|
static int |
LLVMPoisonValueValueKind
enum LLVMValueKind
|
static int |
LLVMPPC_FP128TypeKind
enum LLVMTypeKind
|
static int |
LLVMPreserveAllCallConv
enum LLVMCallConv
|
static int |
LLVMPreserveMostCallConv
enum LLVMCallConv
|
static int |
LLVMPrintMessageAction
enum LLVMVerifierFailureAction
|
static int |
LLVMPrivateLinkage
enum LLVMLinkage
|
static int |
LLVMProtectedVisibility
enum LLVMVisibility
|
static int |
LLVMPtrToInt
enum LLVMOpcode
|
static int |
LLVMPTXDeviceCallConv
enum LLVMCallConv
|
static int |
LLVMPTXKernelCallConv
enum LLVMCallConv
|
static int |
LLVMRealOEQ
enum LLVMRealPredicate
|
static int |
LLVMRealOGE
enum LLVMRealPredicate
|
static int |
LLVMRealOGT
enum LLVMRealPredicate
|
static int |
LLVMRealOLE
enum LLVMRealPredicate
|
static int |
LLVMRealOLT
enum LLVMRealPredicate
|
static int |
LLVMRealONE
enum LLVMRealPredicate
|
static int |
LLVMRealORD
enum LLVMRealPredicate
|
static int |
LLVMRealPredicateFalse
enum LLVMRealPredicate
|
static int |
LLVMRealPredicateTrue
enum LLVMRealPredicate
|
static int |
LLVMRealUEQ
enum LLVMRealPredicate
|
static int |
LLVMRealUGE
enum LLVMRealPredicate
|
static int |
LLVMRealUGT
enum LLVMRealPredicate
|
static int |
LLVMRealULE
enum LLVMRealPredicate
|
static int |
LLVMRealULT
enum LLVMRealPredicate
|
static int |
LLVMRealUNE
enum LLVMRealPredicate
|
static int |
LLVMRealUNO
enum LLVMRealPredicate
|
static int |
LLVMRelocDefault
enum LLVMRelocMode
|
static int |
LLVMRelocDynamicNoPic
enum LLVMRelocMode
|
static int |
LLVMRelocPIC
enum LLVMRelocMode
|
static int |
LLVMRelocROPI
enum LLVMRelocMode
|
static int |
LLVMRelocROPI_RWPI
enum LLVMRelocMode
|
static int |
LLVMRelocRWPI
enum LLVMRelocMode
|
static int |
LLVMRelocStatic
enum LLVMRelocMode
|
static int |
LLVMRemarkTypeAnalysis
enum LLVMRemarkType
|
static int |
LLVMRemarkTypeAnalysisAliasing
enum LLVMRemarkType
|
static int |
LLVMRemarkTypeAnalysisFPCommute
enum LLVMRemarkType
|
static int |
LLVMRemarkTypeFailure
enum LLVMRemarkType
|
static int |
LLVMRemarkTypeMissed
enum LLVMRemarkType
|
static int |
LLVMRemarkTypePassed
enum LLVMRemarkType
|
static int |
LLVMRemarkTypeUnknown
enum LLVMRemarkType
|
static int |
LLVMResume
enum LLVMOpcode
|
static int |
LLVMRet
enum LLVMOpcode
|
static int |
LLVMReturnStatusAction
enum LLVMVerifierFailureAction
|
static int |
LLVMSameSizeComdatSelectionKind
enum LLVMComdatSelectionKind
|
static int |
LLVMScalableVectorTypeKind
enum LLVMTypeKind
|
static int |
LLVMSDiv
enum LLVMOpcode
|
static int |
LLVMSelect
enum LLVMOpcode
|
static int |
LLVMSExt
enum LLVMOpcode
|
static int |
LLVMShl
enum LLVMOpcode
|
static int |
LLVMShuffleVector
enum LLVMOpcode
|
static int |
LLVMSIToFP
enum LLVMOpcode
|
static int |
LLVMSPIRFUNCCallConv
enum LLVMCallConv
|
static int |
LLVMSPIRKERNELCallConv
enum LLVMCallConv
|
static int |
LLVMSRem
enum LLVMOpcode
|
static int |
LLVMStore
enum LLVMOpcode
|
static int |
LLVMStructTypeKind
enum LLVMTypeKind
|
static int |
LLVMSub
enum LLVMOpcode
|
static int |
LLVMSwiftCallConv
enum LLVMCallConv
|
static int |
LLVMSwitch
enum LLVMOpcode
|
static int |
LLVMTargetExtTypeKind
enum LLVMTypeKind
|
static int |
LLVMTokenTypeKind
enum LLVMTypeKind
|
static int |
LLVMTrunc
enum LLVMOpcode
|
static int |
LLVMUDiv
enum LLVMOpcode
|
static int |
LLVMUIToFP
enum LLVMOpcode
|
static int |
LLVMUndefValueValueKind
enum LLVMValueKind
|
static int |
LLVMUnreachable
enum LLVMOpcode
|
static int |
LLVMURem
enum LLVMOpcode
|
static int |
LLVMUserOp1
enum LLVMOpcode
|
static int |
LLVMUserOp2
enum LLVMOpcode
|
static int |
LLVMVAArg
enum LLVMOpcode
|
static int |
LLVMVectorTypeKind
enum LLVMTypeKind
|
static int |
LLVMVoidTypeKind
enum LLVMTypeKind
|
static int |
LLVMWeakAnyLinkage
enum LLVMLinkage
|
static int |
LLVMWeakODRLinkage
enum LLVMLinkage
|
static int |
LLVMWebKitJSCallConv
enum LLVMCallConv
|
static int |
LLVMWin64CallConv
enum LLVMCallConv
|
static int |
LLVMX86_AMXTypeKind
enum LLVMTypeKind
|
static int |
LLVMX86_FP80TypeKind
enum LLVMTypeKind
|
static int |
LLVMX86_MMXTypeKind
enum LLVMTypeKind
|
static int |
LLVMX8664SysVCallConv
enum LLVMCallConv
|
static int |
LLVMX86FastcallCallConv
enum LLVMCallConv
|
static int |
LLVMX86INTRCallConv
enum LLVMCallConv
|
static int |
LLVMX86RegCallCallConv
enum LLVMCallConv
|
static int |
LLVMX86StdcallCallConv
enum LLVMCallConv
|
static int |
LLVMX86ThisCallCallConv
enum LLVMCallConv
|
static int |
LLVMX86VectorCallCallConv
enum LLVMCallConv
|
static int |
LLVMXor
enum LLVMOpcode
|
static int |
LLVMZExt
enum LLVMOpcode
|
static int |
LTO_API_VERSION
\defgroup LLVMCLTO LTO
\ingroup LLVMC
\{
|
static int |
LTO_CODEGEN_PIC_MODEL_DEFAULT
enum lto_codegen_model
|
static int |
LTO_CODEGEN_PIC_MODEL_DYNAMIC
enum lto_codegen_model
|
static int |
LTO_CODEGEN_PIC_MODEL_DYNAMIC_NO_PIC
enum lto_codegen_model
|
static int |
LTO_CODEGEN_PIC_MODEL_STATIC
enum lto_codegen_model
|
static int |
LTO_DEBUG_MODEL_DWARF
enum lto_debug_model
|
static int |
LTO_DEBUG_MODEL_NONE
enum lto_debug_model
|
static int |
LTO_DS_ERROR
enum lto_codegen_diagnostic_severity_t
|
static int |
LTO_DS_NOTE
enum lto_codegen_diagnostic_severity_t
|
static int |
LTO_DS_REMARK
enum lto_codegen_diagnostic_severity_t
|
static int |
LTO_DS_WARNING
enum lto_codegen_diagnostic_severity_t
|
static int |
LTO_SYMBOL_ALIAS
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_ALIGNMENT_MASK
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_COMDAT
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_DEFINITION_MASK
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_DEFINITION_REGULAR
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_DEFINITION_TENTATIVE
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_DEFINITION_UNDEFINED
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_DEFINITION_WEAK
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_DEFINITION_WEAKUNDEF
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_PERMISSIONS_CODE
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_PERMISSIONS_DATA
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_PERMISSIONS_MASK
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_PERMISSIONS_RODATA
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_SCOPE_DEFAULT
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_SCOPE_HIDDEN
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_SCOPE_INTERNAL
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_SCOPE_MASK
enum lto_symbol_attributes
|
static int |
LTO_SYMBOL_SCOPE_PROTECTED
enum lto_symbol_attributes
|
static int |
REMARKS_API_VERSION
\defgroup LLVMCREMARKS Remarks
\ingroup LLVMC
\{
|
static long |
UINT64_MAX |
Constructor and Description |
---|
LLVM() |
Modifier and Type | Method and Description |
---|---|
static void |
addNamedMDNodeOperand(LLVMNamedMDNodeRef NodeRef,
LLVMValueRef Val)
Inlined re-implementation of LLVMAddNamedMetadataOperand without providing
a LLVMModuleRef parameter.
|
static BytePointer |
CodePreparationID() |
static void |
CodePreparationID(BytePointer setter) |
static Pass |
createCodeGenerationPass() |
static Pass |
createCodePreparationPass()
\}
|
static Pass |
createDeadCodeElimWrapperPass() |
static Pass |
createDeLICMPrinterLegacyPass(Pointer OS) |
static Pass |
createDeLICMWrapperPass() |
static Pass |
createDependenceInfoPass() |
static Pass |
createDependenceInfoPrinterLegacyFunctionPass(Pointer OS) |
static Pass |
createDependenceInfoPrinterLegacyPass(Pointer OS) |
static Pass |
createDependenceInfoWrapperPassPass() |
static Pass |
createDOTOnlyPrinterWrapperPass() |
static Pass |
createDOTOnlyViewerWrapperPass() |
static Pass |
createDOTPrinterWrapperPass() |
static Pass |
createDOTViewerWrapperPass() |
static Pass |
createFlattenSchedulePass() |
static Pass |
createFlattenSchedulePrinterLegacyPass(Pointer OS) |
static Pass |
createForwardOpTreePrinterLegacyPass(Pointer OS) |
static Pass |
createForwardOpTreeWrapperPass() |
static Pass |
createIslAstInfoPrinterLegacyPass(Pointer OS) |
static Pass |
createIslAstInfoWrapperPassPass() |
static Pass |
createIslScheduleOptimizerPrinterLegacyPass(Pointer OS) |
static Pass |
createIslScheduleOptimizerWrapperPass() |
static Pass |
createJSONExporterPass() |
static Pass |
createJSONImporterPass() |
static Pass |
createJSONImporterPrinterLegacyPass(Pointer OS) |
static Pass |
createMaximalStaticExpansionPass() |
static LLVMErrorRef |
createOptimizedJITCompilerForModule(LLVMExecutionEngineRef outJIT,
LLVMModuleRef moduleRef,
BytePointer cpu,
int optLevel)
This function is similar to LLVMCreateJITCompilerForModule() but does CPU specific optimization.
|
static LLVMErrorRef |
createOptimizedJITCompilerForModule(PointerPointer outJIT,
LLVMModuleRef moduleRef,
String cpu,
int optLevel) |
static Pass |
createPollyCanonicalizePass() |
static Pass |
createPolyhedralInfoPass() |
static Pass |
createPolyhedralInfoPrinterLegacyPass(Pointer OS) |
static Pass |
createPruneUnprofitableWrapperPass() |
static Pass |
createScopDetectionPrinterLegacyPass(Pointer OS) |
static Pass |
createScopDetectionWrapperPassPass() |
static Pass |
createScopInfoPrinterLegacyFunctionPass(Pointer OS) |
static Pass |
createScopInfoPrinterLegacyRegionPass(Pointer OS) |
static Pass |
createScopInfoRegionPassPass() |
static Pass |
createScopInfoWrapperPassPass() |
static Pass |
createScopInlinerPass() |
static Pass |
createSimplifyPrinterLegacyPass(Pointer OS) |
static Pass |
createSimplifyWrapperPass(int arg0) |
static int |
getMDNodeNumOperands(LLVMMetadataRef M)
Inlined re-implementation of LLVMGetMDNodeNumOperands
See /llvm/lib/IR/Core.cpp for original implementation
|
static void |
getMDNodeOperands(LLVMMetadataRef M,
LLVMContextRef C,
LLVMValueRef Dest)
Inlined re-implementation of LLVMGetMDNodeOperands
Accepts an additional LLVMContextRef argument in which all ConstantAsMetadata
values will be unwrapped and stored in.
|
static void |
getMDNodeOperands(LLVMMetadataRef M,
LLVMContextRef C,
PointerPointer Dest) |
static BytePointer |
getMDString(LLVMMetadataRef M,
int[] Length) |
static String |
getMDString(LLVMMetadataRef M,
IntBuffer Length) |
static BytePointer |
getMDString(LLVMMetadataRef M,
IntPointer Length)
Inlined re-implementation of LLVMGetMDString without providing a wrapped
MetadataAsValue instance
See /llvm/lib/IR/Core.cpp for original implementation
|
static int |
getNamedMDNodeNumOperands(LLVMNamedMDNodeRef NodeRef)
Exact re-implementation of LLVMGetNamedMetadataNumOperands without providing
a LLVMModuleRef parameter
Pass a LLVMNamedMDNodeRef instead, which is the true owner for the data
anyways
See /llvm/lib/IR/Core.cpp for original implementation
|
static void |
getNamedMDNodeOperands(LLVMNamedMDNodeRef NodeRef,
LLVMValueRef Dest,
LLVMContextRef InContext)
Exact re-implementation of LLVMGetNamedMetadataOperands without providing
a LLVMModuleRef parameter.
|
static void |
getNamedMDNodeOperands(LLVMNamedMDNodeRef NodeRef,
PointerPointer Dest,
LLVMContextRef InContext) |
static void |
initializeCodeGenerationPass(PassRegistry arg0) |
static void |
initializeCodePreparationPass(PassRegistry arg0) |
static void |
initializeDeadCodeElimWrapperPassPass(PassRegistry arg0) |
static void |
initializeDeLICMPrinterLegacyPassPass(PassRegistry arg0) |
static void |
initializeDeLICMWrapperPassPass(PassRegistry arg0) |
static void |
initializeDependenceInfoPass(PassRegistry arg0) |
static void |
initializeDependenceInfoPrinterLegacyFunctionPassPass(PassRegistry arg0) |
static void |
initializeDependenceInfoPrinterLegacyPassPass(PassRegistry arg0) |
static void |
initializeDependenceInfoWrapperPassPass(PassRegistry arg0) |
static void |
initializeFlattenSchedulePass(PassRegistry arg0) |
static void |
initializeFlattenSchedulePrinterLegacyPassPass(PassRegistry arg0) |
static void |
initializeForwardOpTreePrinterLegacyPassPass(PassRegistry arg0) |
static void |
initializeForwardOpTreeWrapperPassPass(PassRegistry arg0) |
static void |
initializeIslAstInfoPrinterLegacyPassPass(PassRegistry arg0) |
static void |
initializeIslAstInfoWrapperPassPass(PassRegistry arg0) |
static void |
initializeIslScheduleOptimizerPrinterLegacyPassPass(PassRegistry arg0) |
static void |
initializeIslScheduleOptimizerWrapperPassPass(PassRegistry arg0) |
static void |
initializeJSONExporterPass(PassRegistry arg0) |
static void |
initializeJSONImporterPass(PassRegistry arg0) |
static void |
initializeJSONImporterPrinterLegacyPassPass(PassRegistry arg0) |
static void |
initializeMaximalStaticExpanderWrapperPassPass(PassRegistry arg0) |
static void |
initializePollyCanonicalizePass(PassRegistry arg0) |
static void |
initializePolyhedralInfoPass(PassRegistry arg0) |
static void |
initializePolyhedralInfoPrinterLegacyPassPass(PassRegistry arg0) |
static void |
initializePruneUnprofitableWrapperPassPass(PassRegistry arg0) |
static void |
initializeScopDetectionPrinterLegacyPassPass(PassRegistry arg0) |
static void |
initializeScopDetectionWrapperPassPass(PassRegistry arg0) |
static void |
initializeScopInfoPrinterLegacyFunctionPassPass(PassRegistry arg0) |
static void |
initializeScopInfoPrinterLegacyRegionPassPass(PassRegistry arg0) |
static void |
initializeScopInfoRegionPassPass(PassRegistry arg0) |
static void |
initializeScopInfoWrapperPassPass(PassRegistry arg0) |
static void |
initializeScopInlinerPass(PassRegistry arg0) |
static void |
initializeSimplifyPrinterLegacyPassPass(PassRegistry arg0) |
static void |
initializeSimplifyWrapperPassPass(PassRegistry arg0) |
static int |
LLVMABIAlignmentOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the ABI alignment of a type in bytes for a target.
|
static long |
LLVMABISizeOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the ABI size of a type in bytes for a target.
|
static LLVMValueRef |
LLVMAddAlias2(LLVMModuleRef M,
LLVMTypeRef ValueTy,
int AddrSpace,
LLVMValueRef Aliasee,
BytePointer Name)
Add a GlobalAlias with the given value type, address space and aliasee.
|
static LLVMValueRef |
LLVMAddAlias2(LLVMModuleRef M,
LLVMTypeRef ValueTy,
int AddrSpace,
LLVMValueRef Aliasee,
String Name) |
static void |
LLVMAddAnalysisPasses(LLVMTargetMachineRef T,
LLVMPassManagerRef PM)
Adds the target-specific analysis passes to the pass manager.
|
static void |
LLVMAddAttributeAtIndex(LLVMValueRef F,
int Idx,
LLVMAttributeRef A)
Add an attribute to a function.
|
static void |
LLVMAddCallSiteAttribute(LLVMValueRef C,
int Idx,
LLVMAttributeRef A) |
static void |
LLVMAddCase(LLVMValueRef Switch,
LLVMValueRef OnVal,
LLVMBasicBlockRef Dest) |
static void |
LLVMAddClause(LLVMValueRef LandingPad,
LLVMValueRef ClauseVal) |
static void |
LLVMAddDestination(LLVMValueRef IndirectBr,
LLVMBasicBlockRef Dest) |
static LLVMValueRef |
LLVMAddFunction(LLVMModuleRef M,
BytePointer Name,
LLVMTypeRef FunctionTy)
Add a function to a module under a specified name.
|
static LLVMValueRef |
LLVMAddFunction(LLVMModuleRef M,
String Name,
LLVMTypeRef FunctionTy) |
static LLVMValueRef |
LLVMAddGlobal(LLVMModuleRef M,
LLVMTypeRef Ty,
BytePointer Name)
\defgroup LLVMCoreValueConstantGlobalVariable Global Variables
This group contains functions that operate on global variable values.
|
static LLVMValueRef |
LLVMAddGlobal(LLVMModuleRef M,
LLVMTypeRef Ty,
String Name) |
static LLVMValueRef |
LLVMAddGlobalIFunc(LLVMModuleRef M,
BytePointer Name,
long NameLen,
LLVMTypeRef Ty,
int AddrSpace,
LLVMValueRef Resolver)
Add a global indirect function to a module under a specified name.
|
static LLVMValueRef |
LLVMAddGlobalIFunc(LLVMModuleRef M,
String Name,
long NameLen,
LLVMTypeRef Ty,
int AddrSpace,
LLVMValueRef Resolver) |
static LLVMValueRef |
LLVMAddGlobalInAddressSpace(LLVMModuleRef M,
LLVMTypeRef Ty,
BytePointer Name,
int AddressSpace) |
static LLVMValueRef |
LLVMAddGlobalInAddressSpace(LLVMModuleRef M,
LLVMTypeRef Ty,
String Name,
int AddressSpace) |
static void |
LLVMAddGlobalMapping(LLVMExecutionEngineRef EE,
LLVMValueRef Global,
Pointer Addr) |
static void |
LLVMAddHandler(LLVMValueRef CatchSwitch,
LLVMBasicBlockRef Dest) |
static void |
LLVMAddIncoming(LLVMValueRef PhiNode,
LLVMValueRef IncomingValues,
LLVMBasicBlockRef IncomingBlocks,
int Count)
Add an incoming value to the end of a PHI list.
|
static void |
LLVMAddIncoming(LLVMValueRef PhiNode,
PointerPointer IncomingValues,
PointerPointer IncomingBlocks,
int Count) |
static void |
LLVMAddMetadataToInst(LLVMBuilderRef Builder,
LLVMValueRef Inst)
Adds the metadata registered with the given builder to the given instruction.
|
static void |
LLVMAddModule(LLVMExecutionEngineRef EE,
LLVMModuleRef M) |
static void |
LLVMAddModuleFlag(LLVMModuleRef M,
int Behavior,
BytePointer Key,
long KeyLen,
LLVMMetadataRef Val)
Add a module-level flag to the module-level flags metadata if it doesn't
already exist.
|
static void |
LLVMAddModuleFlag(LLVMModuleRef M,
int Behavior,
String Key,
long KeyLen,
LLVMMetadataRef Val) |
static void |
LLVMAddNamedMetadataOperand(LLVMModuleRef M,
BytePointer Name,
LLVMValueRef Val)
Add an operand to named metadata.
|
static void |
LLVMAddNamedMetadataOperand(LLVMModuleRef M,
String Name,
LLVMValueRef Val) |
static void |
LLVMAddSymbol(BytePointer symbolName,
Pointer symbolValue)
This functions permanently adds the symbol \p symbolName with the
value \p symbolValue.
|
static void |
LLVMAddSymbol(String symbolName,
Pointer symbolValue) |
static void |
LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn,
BytePointer A,
BytePointer V)
Add a target-dependent attribute to a function
|
static void |
LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn,
String A,
String V) |
static void |
LLVMAddTargetLibraryInfo(LLVMTargetLibraryInfoRef TLI,
LLVMPassManagerRef PM)
Adds target library information to a pass manager.
|
static LLVMValueRef |
LLVMAliasGetAliasee(LLVMValueRef Alias)
Retrieve the target value of an alias.
|
static void |
LLVMAliasSetAliasee(LLVMValueRef Alias,
LLVMValueRef Aliasee)
Set the target value of an alias.
|
static LLVMValueRef |
LLVMAlignOf(LLVMTypeRef Ty) |
static LLVMBasicBlockRef |
LLVMAppendBasicBlock(LLVMValueRef Fn,
BytePointer Name)
Append a basic block to the end of a function using the global
context.
|
static LLVMBasicBlockRef |
LLVMAppendBasicBlock(LLVMValueRef Fn,
String Name) |
static LLVMBasicBlockRef |
LLVMAppendBasicBlockInContext(LLVMContextRef C,
LLVMValueRef Fn,
BytePointer Name)
Append a basic block to the end of a function.
|
static LLVMBasicBlockRef |
LLVMAppendBasicBlockInContext(LLVMContextRef C,
LLVMValueRef Fn,
String Name) |
static void |
LLVMAppendExistingBasicBlock(LLVMValueRef Fn,
LLVMBasicBlockRef BB)
Append the given basic block to the basic block list of the given function.
|
static void |
LLVMAppendModuleInlineAsm(LLVMModuleRef M,
BytePointer Asm,
long Len)
Append inline assembly to a module.
|
static void |
LLVMAppendModuleInlineAsm(LLVMModuleRef M,
String Asm,
long Len) |
static LLVMTypeRef |
LLVMArrayType(LLVMTypeRef ElementType,
int ElementCount)
Deprecated.
LLVMArrayType is deprecated in favor of the API accurate
LLVMArrayType2
|
static LLVMTypeRef |
LLVMArrayType2(LLVMTypeRef ElementType,
long ElementCount)
Create a fixed size array type that refers to a specific type.
|
static LLVMValueRef |
LLVMBasicBlockAsValue(LLVMBasicBlockRef BB)
Convert a basic block instance to a value type.
|
static LLVMTypeRef |
LLVMBFloatType() |
static LLVMTypeRef |
LLVMBFloatTypeInContext(LLVMContextRef C)
Obtain a 16-bit brain floating point type from a context.
|
static LLVMMemoryBufferRef |
LLVMBinaryCopyMemoryBuffer(LLVMBinaryRef BR)
Retrieves a copy of the memory buffer associated with this object file.
|
static int |
LLVMBinaryGetType(LLVMBinaryRef BR)
Retrieve the specific type of a binary.
|
static LLVMValueRef |
LLVMBlockAddress(LLVMValueRef F,
LLVMBasicBlockRef BB) |
static LLVMValueRef |
LLVMBuildAdd(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildAdd(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildAddrSpaceCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildAddrSpaceCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildAggregateRet(LLVMBuilderRef arg0,
LLVMValueRef RetVals,
int N) |
static LLVMValueRef |
LLVMBuildAggregateRet(LLVMBuilderRef arg0,
PointerPointer RetVals,
int N) |
static LLVMValueRef |
LLVMBuildAlloca(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildAlloca(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
String Name) |
static LLVMValueRef |
LLVMBuildAnd(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildAnd(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildArrayAlloca(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Val,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildArrayAlloca(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Val,
String Name) |
static LLVMValueRef |
LLVMBuildArrayMalloc(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Val,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildArrayMalloc(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Val,
String Name) |
static LLVMValueRef |
LLVMBuildAShr(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildAShr(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildAtomicCmpXchg(LLVMBuilderRef B,
LLVMValueRef Ptr,
LLVMValueRef Cmp,
LLVMValueRef New,
int SuccessOrdering,
int FailureOrdering,
int SingleThread) |
static LLVMValueRef |
LLVMBuildAtomicRMW(LLVMBuilderRef B,
int op,
LLVMValueRef PTR,
LLVMValueRef Val,
int ordering,
int singleThread) |
static LLVMValueRef |
LLVMBuildBinOp(LLVMBuilderRef B,
int Op,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildBinOp(LLVMBuilderRef B,
int Op,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildBr(LLVMBuilderRef arg0,
LLVMBasicBlockRef Dest) |
static LLVMValueRef |
LLVMBuildCall2(LLVMBuilderRef arg0,
LLVMTypeRef arg1,
LLVMValueRef Fn,
LLVMValueRef Args,
int NumArgs,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildCall2(LLVMBuilderRef arg0,
LLVMTypeRef arg1,
LLVMValueRef Fn,
PointerPointer Args,
int NumArgs,
String Name) |
static LLVMValueRef |
LLVMBuildCast(LLVMBuilderRef B,
int Op,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildCast(LLVMBuilderRef B,
int Op,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildCatchPad(LLVMBuilderRef B,
LLVMValueRef ParentPad,
LLVMValueRef Args,
int NumArgs,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildCatchPad(LLVMBuilderRef B,
LLVMValueRef ParentPad,
PointerPointer Args,
int NumArgs,
String Name) |
static LLVMValueRef |
LLVMBuildCatchRet(LLVMBuilderRef B,
LLVMValueRef CatchPad,
LLVMBasicBlockRef BB) |
static LLVMValueRef |
LLVMBuildCatchSwitch(LLVMBuilderRef B,
LLVMValueRef ParentPad,
LLVMBasicBlockRef UnwindBB,
int NumHandlers,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildCatchSwitch(LLVMBuilderRef B,
LLVMValueRef ParentPad,
LLVMBasicBlockRef UnwindBB,
int NumHandlers,
String Name) |
static LLVMValueRef |
LLVMBuildCleanupPad(LLVMBuilderRef B,
LLVMValueRef ParentPad,
LLVMValueRef Args,
int NumArgs,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildCleanupPad(LLVMBuilderRef B,
LLVMValueRef ParentPad,
PointerPointer Args,
int NumArgs,
String Name) |
static LLVMValueRef |
LLVMBuildCleanupRet(LLVMBuilderRef B,
LLVMValueRef CatchPad,
LLVMBasicBlockRef BB) |
static LLVMValueRef |
LLVMBuildCondBr(LLVMBuilderRef arg0,
LLVMValueRef If,
LLVMBasicBlockRef Then,
LLVMBasicBlockRef Else) |
static LLVMMetadataRef |
LLVMBuilderGetDefaultFPMathTag(LLVMBuilderRef Builder)
Get the dafult floating-point math metadata for a given builder.
|
static void |
LLVMBuilderSetDefaultFPMathTag(LLVMBuilderRef Builder,
LLVMMetadataRef FPMathTag)
Set the default floating-point math metadata for the given builder.
|
static LLVMValueRef |
LLVMBuildExactSDiv(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildExactSDiv(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildExactUDiv(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildExactUDiv(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildExtractElement(LLVMBuilderRef arg0,
LLVMValueRef VecVal,
LLVMValueRef Index,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildExtractElement(LLVMBuilderRef arg0,
LLVMValueRef VecVal,
LLVMValueRef Index,
String Name) |
static LLVMValueRef |
LLVMBuildExtractValue(LLVMBuilderRef arg0,
LLVMValueRef AggVal,
int Index,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildExtractValue(LLVMBuilderRef arg0,
LLVMValueRef AggVal,
int Index,
String Name) |
static LLVMValueRef |
LLVMBuildFAdd(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFAdd(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildFCmp(LLVMBuilderRef arg0,
int Op,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFCmp(LLVMBuilderRef arg0,
int Op,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildFDiv(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFDiv(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildFence(LLVMBuilderRef B,
int ordering,
int singleThread,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFence(LLVMBuilderRef B,
int ordering,
int singleThread,
String Name) |
static LLVMValueRef |
LLVMBuildFMul(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFMul(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildFNeg(LLVMBuilderRef arg0,
LLVMValueRef V,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFNeg(LLVMBuilderRef arg0,
LLVMValueRef V,
String Name) |
static LLVMValueRef |
LLVMBuildFPCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFPCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildFPExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFPExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildFPToSI(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFPToSI(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildFPToUI(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFPToUI(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildFPTrunc(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFPTrunc(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildFree(LLVMBuilderRef arg0,
LLVMValueRef PointerVal) |
static LLVMValueRef |
LLVMBuildFreeze(LLVMBuilderRef arg0,
LLVMValueRef Val,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFreeze(LLVMBuilderRef arg0,
LLVMValueRef Val,
String Name) |
static LLVMValueRef |
LLVMBuildFRem(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFRem(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildFSub(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildFSub(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
LLVMValueRef Indices,
int NumIndices,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
PointerPointer Indices,
int NumIndices,
String Name) |
static LLVMValueRef |
LLVMBuildGlobalString(LLVMBuilderRef B,
BytePointer Str,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildGlobalString(LLVMBuilderRef B,
String Str,
String Name) |
static LLVMValueRef |
LLVMBuildGlobalStringPtr(LLVMBuilderRef B,
BytePointer Str,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildGlobalStringPtr(LLVMBuilderRef B,
String Str,
String Name) |
static LLVMValueRef |
LLVMBuildICmp(LLVMBuilderRef arg0,
int Op,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildICmp(LLVMBuilderRef arg0,
int Op,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildInBoundsGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
LLVMValueRef Indices,
int NumIndices,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildInBoundsGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
PointerPointer Indices,
int NumIndices,
String Name) |
static LLVMValueRef |
LLVMBuildIndirectBr(LLVMBuilderRef B,
LLVMValueRef Addr,
int NumDests) |
static LLVMValueRef |
LLVMBuildInsertElement(LLVMBuilderRef arg0,
LLVMValueRef VecVal,
LLVMValueRef EltVal,
LLVMValueRef Index,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildInsertElement(LLVMBuilderRef arg0,
LLVMValueRef VecVal,
LLVMValueRef EltVal,
LLVMValueRef Index,
String Name) |
static LLVMValueRef |
LLVMBuildInsertValue(LLVMBuilderRef arg0,
LLVMValueRef AggVal,
LLVMValueRef EltVal,
int Index,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildInsertValue(LLVMBuilderRef arg0,
LLVMValueRef AggVal,
LLVMValueRef EltVal,
int Index,
String Name) |
static LLVMValueRef |
LLVMBuildIntCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name)
Deprecated: This cast is always signed.
|
static LLVMValueRef |
LLVMBuildIntCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildIntCast2(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
int IsSigned,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildIntCast2(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
int IsSigned,
String Name) |
static LLVMValueRef |
LLVMBuildIntToPtr(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildIntToPtr(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildInvoke2(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Fn,
LLVMValueRef Args,
int NumArgs,
LLVMBasicBlockRef Then,
LLVMBasicBlockRef Catch,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildInvoke2(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Fn,
PointerPointer Args,
int NumArgs,
LLVMBasicBlockRef Then,
LLVMBasicBlockRef Catch,
String Name) |
static LLVMValueRef |
LLVMBuildIsNotNull(LLVMBuilderRef arg0,
LLVMValueRef Val,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildIsNotNull(LLVMBuilderRef arg0,
LLVMValueRef Val,
String Name) |
static LLVMValueRef |
LLVMBuildIsNull(LLVMBuilderRef arg0,
LLVMValueRef Val,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildIsNull(LLVMBuilderRef arg0,
LLVMValueRef Val,
String Name) |
static LLVMValueRef |
LLVMBuildLandingPad(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef PersFn,
int NumClauses,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildLandingPad(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef PersFn,
int NumClauses,
String Name) |
static LLVMValueRef |
LLVMBuildLoad2(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef PointerVal,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildLoad2(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef PointerVal,
String Name) |
static LLVMValueRef |
LLVMBuildLShr(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildLShr(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildMalloc(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildMalloc(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
String Name) |
static LLVMValueRef |
LLVMBuildMemCpy(LLVMBuilderRef B,
LLVMValueRef Dst,
int DstAlign,
LLVMValueRef Src,
int SrcAlign,
LLVMValueRef Size)
Creates and inserts a memcpy between the specified pointers.
|
static LLVMValueRef |
LLVMBuildMemMove(LLVMBuilderRef B,
LLVMValueRef Dst,
int DstAlign,
LLVMValueRef Src,
int SrcAlign,
LLVMValueRef Size)
Creates and inserts a memmove between the specified pointers.
|
static LLVMValueRef |
LLVMBuildMemSet(LLVMBuilderRef B,
LLVMValueRef Ptr,
LLVMValueRef Val,
LLVMValueRef Len,
int Align)
Creates and inserts a memset to the specified pointer and the
specified value.
|
static LLVMValueRef |
LLVMBuildMul(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildMul(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildNeg(LLVMBuilderRef arg0,
LLVMValueRef V,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildNeg(LLVMBuilderRef arg0,
LLVMValueRef V,
String Name) |
static LLVMValueRef |
LLVMBuildNot(LLVMBuilderRef arg0,
LLVMValueRef V,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildNot(LLVMBuilderRef arg0,
LLVMValueRef V,
String Name) |
static LLVMValueRef |
LLVMBuildNSWAdd(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildNSWAdd(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildNSWMul(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildNSWMul(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildNSWNeg(LLVMBuilderRef B,
LLVMValueRef V,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildNSWNeg(LLVMBuilderRef B,
LLVMValueRef V,
String Name) |
static LLVMValueRef |
LLVMBuildNSWSub(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildNSWSub(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildNUWAdd(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildNUWAdd(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildNUWMul(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildNUWMul(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildNUWNeg(LLVMBuilderRef B,
LLVMValueRef V,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildNUWNeg(LLVMBuilderRef B,
LLVMValueRef V,
String Name) |
static LLVMValueRef |
LLVMBuildNUWSub(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildNUWSub(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildOr(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildOr(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildPhi(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildPhi(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
String Name) |
static LLVMValueRef |
LLVMBuildPointerCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildPointerCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildPtrDiff2(LLVMBuilderRef arg0,
LLVMTypeRef ElemTy,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildPtrDiff2(LLVMBuilderRef arg0,
LLVMTypeRef ElemTy,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildPtrToInt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildPtrToInt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildResume(LLVMBuilderRef B,
LLVMValueRef Exn) |
static LLVMValueRef |
LLVMBuildRet(LLVMBuilderRef arg0,
LLVMValueRef V) |
static LLVMValueRef |
LLVMBuildRetVoid(LLVMBuilderRef arg0) |
static LLVMValueRef |
LLVMBuildSDiv(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildSDiv(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildSelect(LLVMBuilderRef arg0,
LLVMValueRef If,
LLVMValueRef Then,
LLVMValueRef Else,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildSelect(LLVMBuilderRef arg0,
LLVMValueRef If,
LLVMValueRef Then,
LLVMValueRef Else,
String Name) |
static LLVMValueRef |
LLVMBuildSExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildSExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildSExtOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildSExtOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildShl(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildShl(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildShuffleVector(LLVMBuilderRef arg0,
LLVMValueRef V1,
LLVMValueRef V2,
LLVMValueRef Mask,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildShuffleVector(LLVMBuilderRef arg0,
LLVMValueRef V1,
LLVMValueRef V2,
LLVMValueRef Mask,
String Name) |
static LLVMValueRef |
LLVMBuildSIToFP(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildSIToFP(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildSRem(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildSRem(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildStore(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMValueRef Ptr) |
static LLVMValueRef |
LLVMBuildStructGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
int Idx,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildStructGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
int Idx,
String Name) |
static LLVMValueRef |
LLVMBuildSub(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildSub(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildSwitch(LLVMBuilderRef arg0,
LLVMValueRef V,
LLVMBasicBlockRef Else,
int NumCases) |
static LLVMValueRef |
LLVMBuildTrunc(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildTrunc(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildTruncOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildTruncOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildUDiv(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildUDiv(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildUIToFP(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildUIToFP(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildUnreachable(LLVMBuilderRef arg0) |
static LLVMValueRef |
LLVMBuildURem(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildURem(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildVAArg(LLVMBuilderRef arg0,
LLVMValueRef List,
LLVMTypeRef Ty,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildVAArg(LLVMBuilderRef arg0,
LLVMValueRef List,
LLVMTypeRef Ty,
String Name) |
static LLVMValueRef |
LLVMBuildXor(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildXor(LLVMBuilderRef arg0,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVMBuildZExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildZExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVMBuildZExtOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVMBuildZExtOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static int |
LLVMByteOrder(LLVMTargetDataRef TD)
Returns the byte order of a target, either LLVMBigEndian or
LLVMLittleEndian.
|
static int |
LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the call frame alignment of a type in bytes for a target.
|
static void |
LLVMClearInsertionPosition(LLVMBuilderRef Builder) |
static LLVMModuleRef |
LLVMCloneModule(LLVMModuleRef M)
Return an exact copy of the specified module.
|
static LLVMValueRef |
LLVMConstAdd(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstAllOnes(LLVMTypeRef Ty)
Obtain a constant value referring to the instance of a type
consisting of all ones.
|
static LLVMValueRef |
LLVMConstAnd(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstArray(LLVMTypeRef ElementTy,
LLVMValueRef ConstantVals,
int Length)
Deprecated.
LLVMConstArray is deprecated in favor of the API accurate
LLVMConstArray2
|
static LLVMValueRef |
LLVMConstArray(LLVMTypeRef ElementTy,
PointerPointer ConstantVals,
int Length) |
static LLVMValueRef |
LLVMConstArray2(LLVMTypeRef ElementTy,
LLVMValueRef ConstantVals,
long Length)
Create a ConstantArray from values.
|
static LLVMValueRef |
LLVMConstArray2(LLVMTypeRef ElementTy,
PointerPointer ConstantVals,
long Length) |
static LLVMValueRef |
LLVMConstAShr(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstBitCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstExtractElement(LLVMValueRef VectorConstant,
LLVMValueRef IndexConstant) |
static LLVMValueRef |
LLVMConstFCmp(int Predicate,
LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstFPCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstFPExt(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstFPToSI(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstFPToUI(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstFPTrunc(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstGEP2(LLVMTypeRef Ty,
LLVMValueRef ConstantVal,
LLVMValueRef ConstantIndices,
int NumIndices) |
static LLVMValueRef |
LLVMConstGEP2(LLVMTypeRef Ty,
LLVMValueRef ConstantVal,
PointerPointer ConstantIndices,
int NumIndices) |
static LLVMValueRef |
LLVMConstICmp(int Predicate,
LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstInBoundsGEP2(LLVMTypeRef Ty,
LLVMValueRef ConstantVal,
LLVMValueRef ConstantIndices,
int NumIndices) |
static LLVMValueRef |
LLVMConstInBoundsGEP2(LLVMTypeRef Ty,
LLVMValueRef ConstantVal,
PointerPointer ConstantIndices,
int NumIndices) |
static LLVMValueRef |
LLVMConstInlineAsm(LLVMTypeRef Ty,
BytePointer AsmString,
BytePointer Constraints,
int HasSideEffects,
int IsAlignStack)
Deprecated: Use LLVMGetInlineAsm instead.
|
static LLVMValueRef |
LLVMConstInlineAsm(LLVMTypeRef Ty,
String AsmString,
String Constraints,
int HasSideEffects,
int IsAlignStack) |
static LLVMValueRef |
LLVMConstInsertElement(LLVMValueRef VectorConstant,
LLVMValueRef ElementValueConstant,
LLVMValueRef IndexConstant) |
static LLVMValueRef |
LLVMConstInt(LLVMTypeRef IntTy,
long N,
int SignExtend)
Obtain a constant value for an integer type.
|
static LLVMValueRef |
LLVMConstIntCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType,
int isSigned) |
static long |
LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal)
Obtain the sign extended value for an integer constant value.
|
static long |
LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal)
Obtain the zero extended value for an integer constant value.
|
static LLVMValueRef |
LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy,
int NumWords,
long[] Words) |
static LLVMValueRef |
LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy,
int NumWords,
LongBuffer Words) |
static LLVMValueRef |
LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy,
int NumWords,
LongPointer Words)
Obtain a constant value for an integer of arbitrary precision.
|
static LLVMValueRef |
LLVMConstIntOfString(LLVMTypeRef IntTy,
BytePointer Text,
byte Radix)
Obtain a constant value for an integer parsed from a string.
|
static LLVMValueRef |
LLVMConstIntOfString(LLVMTypeRef IntTy,
String Text,
byte Radix) |
static LLVMValueRef |
LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy,
BytePointer Text,
int SLen,
byte Radix)
Obtain a constant value for an integer parsed from a string with
specified length.
|
static LLVMValueRef |
LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy,
String Text,
int SLen,
byte Radix) |
static LLVMValueRef |
LLVMConstIntToPtr(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstLShr(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstMul(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstNamedStruct(LLVMTypeRef StructTy,
LLVMValueRef ConstantVals,
int Count)
Create a non-anonymous ConstantStruct from values.
|
static LLVMValueRef |
LLVMConstNamedStruct(LLVMTypeRef StructTy,
PointerPointer ConstantVals,
int Count) |
static LLVMValueRef |
LLVMConstNeg(LLVMValueRef ConstantVal) |
static LLVMValueRef |
LLVMConstNot(LLVMValueRef ConstantVal) |
static LLVMValueRef |
LLVMConstNSWAdd(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstNSWMul(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstNSWNeg(LLVMValueRef ConstantVal) |
static LLVMValueRef |
LLVMConstNSWSub(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstNull(LLVMTypeRef Ty)
Obtain a constant value referring to the null instance of a type.
|
static LLVMValueRef |
LLVMConstNUWAdd(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstNUWMul(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstNUWNeg(LLVMValueRef ConstantVal) |
static LLVMValueRef |
LLVMConstNUWSub(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstOr(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstPointerCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstPointerNull(LLVMTypeRef Ty)
Obtain a constant that is a constant pointer pointing to NULL for a
specified type.
|
static LLVMValueRef |
LLVMConstPtrToInt(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstReal(LLVMTypeRef RealTy,
double N)
Obtain a constant value referring to a double floating point value.
|
static double |
LLVMConstRealGetDouble(LLVMValueRef ConstantVal,
int[] losesInfo) |
static double |
LLVMConstRealGetDouble(LLVMValueRef ConstantVal,
IntBuffer losesInfo) |
static double |
LLVMConstRealGetDouble(LLVMValueRef ConstantVal,
IntPointer losesInfo)
Obtain the double value for an floating point constant value.
|
static LLVMValueRef |
LLVMConstRealOfString(LLVMTypeRef RealTy,
BytePointer Text)
Obtain a constant for a floating point value parsed from a string.
|
static LLVMValueRef |
LLVMConstRealOfString(LLVMTypeRef RealTy,
String Text) |
static LLVMValueRef |
LLVMConstRealOfStringAndSize(LLVMTypeRef RealTy,
BytePointer Text,
int SLen)
Obtain a constant for a floating point value parsed from a string.
|
static LLVMValueRef |
LLVMConstRealOfStringAndSize(LLVMTypeRef RealTy,
String Text,
int SLen) |
static LLVMValueRef |
LLVMConstSExt(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstSExtOrBitCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstShl(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstShuffleVector(LLVMValueRef VectorAConstant,
LLVMValueRef VectorBConstant,
LLVMValueRef MaskConstant) |
static LLVMValueRef |
LLVMConstSIToFP(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstString(BytePointer Str,
int Length,
int DontNullTerminate)
Create a ConstantDataSequential with string content in the global context.
|
static LLVMValueRef |
LLVMConstString(String Str,
int Length,
int DontNullTerminate) |
static LLVMValueRef |
LLVMConstStringInContext(LLVMContextRef C,
BytePointer Str,
int Length,
int DontNullTerminate)
Create a ConstantDataSequential and initialize it with a string.
|
static LLVMValueRef |
LLVMConstStringInContext(LLVMContextRef C,
String Str,
int Length,
int DontNullTerminate) |
static LLVMValueRef |
LLVMConstStruct(LLVMValueRef ConstantVals,
int Count,
int Packed)
Create a ConstantStruct in the global Context.
|
static LLVMValueRef |
LLVMConstStruct(PointerPointer ConstantVals,
int Count,
int Packed) |
static LLVMValueRef |
LLVMConstStructInContext(LLVMContextRef C,
LLVMValueRef ConstantVals,
int Count,
int Packed)
Create an anonymous ConstantStruct with the specified values.
|
static LLVMValueRef |
LLVMConstStructInContext(LLVMContextRef C,
PointerPointer ConstantVals,
int Count,
int Packed) |
static LLVMValueRef |
LLVMConstSub(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstTrunc(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstUIToFP(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstVector(LLVMValueRef ScalarConstantVals,
int Size)
Create a ConstantVector from values.
|
static LLVMValueRef |
LLVMConstVector(PointerPointer ScalarConstantVals,
int Size) |
static LLVMValueRef |
LLVMConstXor(LLVMValueRef LHSConstant,
LLVMValueRef RHSConstant) |
static LLVMValueRef |
LLVMConstZExt(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVMConstZExtOrBitCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static void |
LLVMConsumeError(LLVMErrorRef Err)
Dispose of the given error without handling it.
|
static LLVMContextRef |
LLVMContextCreate()
Create a new context.
|
static void |
LLVMContextDispose(LLVMContextRef C)
Destroy a context instance.
|
static Pointer |
LLVMContextGetDiagnosticContext(LLVMContextRef C)
Get the diagnostic context of this context.
|
static LLVMDiagnosticHandler |
LLVMContextGetDiagnosticHandler(LLVMContextRef C)
Get the diagnostic handler of this context.
|
static void |
LLVMContextSetDiagnosticHandler(LLVMContextRef C,
LLVMDiagnosticHandler Handler,
Pointer DiagnosticContext)
Set the diagnostic handler for this context.
|
static void |
LLVMContextSetDiscardValueNames(LLVMContextRef C,
int Discard)
Set whether the given context discards all value names.
|
static void |
LLVMContextSetYieldCallback(LLVMContextRef C,
LLVMYieldCallback Callback,
Pointer OpaqueHandle)
Set the yield callback function for this context.
|
static int |
LLVMContextShouldDiscardValueNames(LLVMContextRef C)
Retrieve whether the given context is set to discard all value names.
|
static LLVMModuleFlagEntry |
LLVMCopyModuleFlagsMetadata(LLVMModuleRef M,
SizeTPointer Len)
Returns the module flags as an array of flag-key-value triples.
|
static BytePointer |
LLVMCopyStringRepOfTargetData(LLVMTargetDataRef TD)
Converts target data to a target layout string.
|
static int |
LLVMCountBasicBlocks(LLVMValueRef Fn)
Obtain the number of basic blocks in a function.
|
static int |
LLVMCountIncoming(LLVMValueRef PhiNode)
Obtain the number of incoming basic blocks to a PHI node.
|
static int |
LLVMCountParams(LLVMValueRef Fn)
Obtain the number of parameters in a function.
|
static int |
LLVMCountParamTypes(LLVMTypeRef FunctionTy)
Obtain the number of parameters this function accepts.
|
static int |
LLVMCountStructElementTypes(LLVMTypeRef StructTy)
Get the number of elements defined inside the structure.
|
static LLVMBasicBlockRef |
LLVMCreateBasicBlockInContext(LLVMContextRef C,
BytePointer Name)
Create a new basic block without inserting it into a function.
|
static LLVMBasicBlockRef |
LLVMCreateBasicBlockInContext(LLVMContextRef C,
String Name) |
static LLVMBinaryRef |
LLVMCreateBinary(LLVMMemoryBufferRef MemBuf,
LLVMContextRef Context,
byte[] ErrorMessage) |
static LLVMBinaryRef |
LLVMCreateBinary(LLVMMemoryBufferRef MemBuf,
LLVMContextRef Context,
ByteBuffer ErrorMessage) |
static LLVMBinaryRef |
LLVMCreateBinary(LLVMMemoryBufferRef MemBuf,
LLVMContextRef Context,
BytePointer ErrorMessage) |
static LLVMBinaryRef |
LLVMCreateBinary(LLVMMemoryBufferRef MemBuf,
LLVMContextRef Context,
PointerPointer ErrorMessage)
Create a binary file from the given memory buffer.
|
static LLVMBuilderRef |
LLVMCreateBuilder() |
static LLVMBuilderRef |
LLVMCreateBuilderInContext(LLVMContextRef C)
\defgroup LLVMCCoreInstructionBuilder Instruction Builders
An instruction builder represents a point within a basic block and is
the exclusive means of building instructions using the C interface.
|
static LLVMDIBuilderRef |
LLVMCreateDIBuilder(LLVMModuleRef M)
Construct a builder for a module and collect unresolved nodes attached
to the module in order to resolve cycles during a call to
\c LLVMDIBuilderFinalize.
|
static LLVMDIBuilderRef |
LLVMCreateDIBuilderDisallowUnresolved(LLVMModuleRef M)
Construct a builder for a module, and do not allow for unresolved nodes
attached to the module.
|
static LLVMDisasmContextRef |
LLVMCreateDisasm(BytePointer TripleName,
Pointer DisInfo,
int TagType,
LLVMOpInfoCallback GetOpInfo,
LLVMSymbolLookupCallback SymbolLookUp)
Create a disassembler for the TripleName.
|
static LLVMDisasmContextRef |
LLVMCreateDisasm(String TripleName,
Pointer DisInfo,
int TagType,
LLVMOpInfoCallback GetOpInfo,
LLVMSymbolLookupCallback SymbolLookUp) |
static LLVMDisasmContextRef |
LLVMCreateDisasmCPU(BytePointer Triple,
BytePointer CPU,
Pointer DisInfo,
int TagType,
LLVMOpInfoCallback GetOpInfo,
LLVMSymbolLookupCallback SymbolLookUp)
Create a disassembler for the TripleName and a specific CPU.
|
static LLVMDisasmContextRef |
LLVMCreateDisasmCPU(String Triple,
String CPU,
Pointer DisInfo,
int TagType,
LLVMOpInfoCallback GetOpInfo,
LLVMSymbolLookupCallback SymbolLookUp) |
static LLVMDisasmContextRef |
LLVMCreateDisasmCPUFeatures(BytePointer Triple,
BytePointer CPU,
BytePointer Features,
Pointer DisInfo,
int TagType,
LLVMOpInfoCallback GetOpInfo,
LLVMSymbolLookupCallback SymbolLookUp)
Create a disassembler for the TripleName, a specific CPU and specific feature
string.
|
static LLVMDisasmContextRef |
LLVMCreateDisasmCPUFeatures(String Triple,
String CPU,
String Features,
Pointer DisInfo,
int TagType,
LLVMOpInfoCallback GetOpInfo,
LLVMSymbolLookupCallback SymbolLookUp) |
static LLVMAttributeRef |
LLVMCreateEnumAttribute(LLVMContextRef C,
int KindID,
long Val)
Create an enum attribute.
|
static int |
LLVMCreateExecutionEngineForModule(LLVMExecutionEngineRef OutEE,
LLVMModuleRef M,
byte[] OutError) |
static int |
LLVMCreateExecutionEngineForModule(LLVMExecutionEngineRef OutEE,
LLVMModuleRef M,
ByteBuffer OutError) |
static int |
LLVMCreateExecutionEngineForModule(LLVMExecutionEngineRef OutEE,
LLVMModuleRef M,
BytePointer OutError) |
static int |
LLVMCreateExecutionEngineForModule(LLVMExecutionEngineRef OutEE,
LLVMModuleRef M,
PointerPointer OutError) |
static int |
LLVMCreateExecutionEngineForModule(PointerPointer OutEE,
LLVMModuleRef M,
byte[] OutError) |
static int |
LLVMCreateExecutionEngineForModule(PointerPointer OutEE,
LLVMModuleRef M,
ByteBuffer OutError) |
static int |
LLVMCreateExecutionEngineForModule(PointerPointer OutEE,
LLVMModuleRef M,
BytePointer OutError) |
static LLVMPassManagerRef |
LLVMCreateFunctionPassManager(LLVMModuleProviderRef MP)
Deprecated: Use LLVMCreateFunctionPassManagerForModule instead.
|
static LLVMPassManagerRef |
LLVMCreateFunctionPassManagerForModule(LLVMModuleRef M)
Constructs a new function-by-function pass pipeline over the module
provider.
|
static LLVMJITEventListenerRef |
LLVMCreateGDBRegistrationListener() |
static LLVMGenericValueRef |
LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty,
double N) |
static LLVMGenericValueRef |
LLVMCreateGenericValueOfInt(LLVMTypeRef Ty,
long N,
int IsSigned) |
static LLVMGenericValueRef |
LLVMCreateGenericValueOfPointer(Pointer P) |
static LLVMJITEventListenerRef |
LLVMCreateIntelJITEventListener() |
static int |
LLVMCreateInterpreterForModule(LLVMExecutionEngineRef OutInterp,
LLVMModuleRef M,
byte[] OutError) |
static int |
LLVMCreateInterpreterForModule(LLVMExecutionEngineRef OutInterp,
LLVMModuleRef M,
ByteBuffer OutError) |
static int |
LLVMCreateInterpreterForModule(LLVMExecutionEngineRef OutInterp,
LLVMModuleRef M,
BytePointer OutError) |
static int |
LLVMCreateInterpreterForModule(LLVMExecutionEngineRef OutInterp,
LLVMModuleRef M,
PointerPointer OutError) |
static int |
LLVMCreateInterpreterForModule(PointerPointer OutInterp,
LLVMModuleRef M,
byte[] OutError) |
static int |
LLVMCreateInterpreterForModule(PointerPointer OutInterp,
LLVMModuleRef M,
ByteBuffer OutError) |
static int |
LLVMCreateInterpreterForModule(PointerPointer OutInterp,
LLVMModuleRef M,
BytePointer OutError) |
static int |
LLVMCreateJITCompilerForModule(LLVMExecutionEngineRef OutJIT,
LLVMModuleRef M,
int OptLevel,
byte[] OutError) |
static int |
LLVMCreateJITCompilerForModule(LLVMExecutionEngineRef OutJIT,
LLVMModuleRef M,
int OptLevel,
ByteBuffer OutError) |
static int |
LLVMCreateJITCompilerForModule(LLVMExecutionEngineRef OutJIT,
LLVMModuleRef M,
int OptLevel,
BytePointer OutError) |
static int |
LLVMCreateJITCompilerForModule(LLVMExecutionEngineRef OutJIT,
LLVMModuleRef M,
int OptLevel,
PointerPointer OutError) |
static int |
LLVMCreateJITCompilerForModule(PointerPointer OutJIT,
LLVMModuleRef M,
int OptLevel,
byte[] OutError) |
static int |
LLVMCreateJITCompilerForModule(PointerPointer OutJIT,
LLVMModuleRef M,
int OptLevel,
ByteBuffer OutError) |
static int |
LLVMCreateJITCompilerForModule(PointerPointer OutJIT,
LLVMModuleRef M,
int OptLevel,
BytePointer OutError) |
static int |
LLVMCreateMCJITCompilerForModule(LLVMExecutionEngineRef OutJIT,
LLVMModuleRef M,
LLVMMCJITCompilerOptions Options,
long SizeOfOptions,
byte[] OutError) |
static int |
LLVMCreateMCJITCompilerForModule(LLVMExecutionEngineRef OutJIT,
LLVMModuleRef M,
LLVMMCJITCompilerOptions Options,
long SizeOfOptions,
ByteBuffer OutError) |
static int |
LLVMCreateMCJITCompilerForModule(LLVMExecutionEngineRef OutJIT,
LLVMModuleRef M,
LLVMMCJITCompilerOptions Options,
long SizeOfOptions,
BytePointer OutError) |
static int |
LLVMCreateMCJITCompilerForModule(LLVMExecutionEngineRef OutJIT,
LLVMModuleRef M,
LLVMMCJITCompilerOptions Options,
long SizeOfOptions,
PointerPointer OutError)
Create an MCJIT execution engine for a module, with the given options.
|
static int |
LLVMCreateMCJITCompilerForModule(PointerPointer OutJIT,
LLVMModuleRef M,
LLVMMCJITCompilerOptions Options,
long SizeOfOptions,
byte[] OutError) |
static int |
LLVMCreateMCJITCompilerForModule(PointerPointer OutJIT,
LLVMModuleRef M,
LLVMMCJITCompilerOptions Options,
long SizeOfOptions,
ByteBuffer OutError) |
static int |
LLVMCreateMCJITCompilerForModule(PointerPointer OutJIT,
LLVMModuleRef M,
LLVMMCJITCompilerOptions Options,
long SizeOfOptions,
BytePointer OutError) |
static int |
LLVMCreateMemoryBufferWithContentsOfFile(BytePointer Path,
LLVMMemoryBufferRef OutMemBuf,
byte[] OutMessage) |
static int |
LLVMCreateMemoryBufferWithContentsOfFile(BytePointer Path,
LLVMMemoryBufferRef OutMemBuf,
ByteBuffer OutMessage) |
static int |
LLVMCreateMemoryBufferWithContentsOfFile(BytePointer Path,
LLVMMemoryBufferRef OutMemBuf,
BytePointer OutMessage) |
static int |
LLVMCreateMemoryBufferWithContentsOfFile(BytePointer Path,
LLVMMemoryBufferRef OutMemBuf,
PointerPointer OutMessage)
\defgroup LLVMCCoreMemoryBuffers Memory Buffers
\{
|
static int |
LLVMCreateMemoryBufferWithContentsOfFile(String Path,
PointerPointer OutMemBuf,
byte[] OutMessage) |
static int |
LLVMCreateMemoryBufferWithContentsOfFile(String Path,
PointerPointer OutMemBuf,
ByteBuffer OutMessage) |
static int |
LLVMCreateMemoryBufferWithContentsOfFile(String Path,
PointerPointer OutMemBuf,
BytePointer OutMessage) |
static LLVMMemoryBufferRef |
LLVMCreateMemoryBufferWithMemoryRange(BytePointer InputData,
long InputDataLength,
BytePointer BufferName,
int RequiresNullTerminator) |
static LLVMMemoryBufferRef |
LLVMCreateMemoryBufferWithMemoryRange(String InputData,
long InputDataLength,
String BufferName,
int RequiresNullTerminator) |
static LLVMMemoryBufferRef |
LLVMCreateMemoryBufferWithMemoryRangeCopy(BytePointer InputData,
long InputDataLength,
BytePointer BufferName) |
static LLVMMemoryBufferRef |
LLVMCreateMemoryBufferWithMemoryRangeCopy(String InputData,
long InputDataLength,
String BufferName) |
static int |
LLVMCreateMemoryBufferWithSTDIN(LLVMMemoryBufferRef OutMemBuf,
byte[] OutMessage) |
static int |
LLVMCreateMemoryBufferWithSTDIN(LLVMMemoryBufferRef OutMemBuf,
ByteBuffer OutMessage) |
static int |
LLVMCreateMemoryBufferWithSTDIN(LLVMMemoryBufferRef OutMemBuf,
BytePointer OutMessage) |
static int |
LLVMCreateMemoryBufferWithSTDIN(LLVMMemoryBufferRef OutMemBuf,
PointerPointer OutMessage) |
static int |
LLVMCreateMemoryBufferWithSTDIN(PointerPointer OutMemBuf,
byte[] OutMessage) |
static int |
LLVMCreateMemoryBufferWithSTDIN(PointerPointer OutMemBuf,
ByteBuffer OutMessage) |
static int |
LLVMCreateMemoryBufferWithSTDIN(PointerPointer OutMemBuf,
BytePointer OutMessage) |
static BytePointer |
LLVMCreateMessage(BytePointer Message) |
static ByteBuffer |
LLVMCreateMessage(String Message) |
static LLVMModuleProviderRef |
LLVMCreateModuleProviderForExistingModule(LLVMModuleRef M)
Changes the type of M so it can be passed to FunctionPassManagers and the
JIT.
|
static LLVMObjectFileRef |
LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf)
Deprecated: Use LLVMCreateBinary instead.
|
static LLVMJITEventListenerRef |
LLVMCreateOProfileJITEventListener() |
static LLVMPassBuilderOptionsRef |
LLVMCreatePassBuilderOptions()
Create a new set of options for a PassBuilder
Ownership of the returned instance is given to the client, and they are
responsible for it.
|
static LLVMPassManagerRef |
LLVMCreatePassManager()
Constructs a new whole-module pass pipeline.
|
static LLVMJITEventListenerRef |
LLVMCreatePerfJITEventListener() |
static LLVMMCJITMemoryManagerRef |
LLVMCreateSimpleMCJITMemoryManager(Pointer Opaque,
LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection,
LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection,
LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory,
LLVMMemoryManagerDestroyCallback Destroy)
Create a simple custom MCJIT memory manager.
|
static LLVMAttributeRef |
LLVMCreateStringAttribute(LLVMContextRef C,
BytePointer K,
int KLength,
BytePointer V,
int VLength)
Create a string attribute.
|
static LLVMAttributeRef |
LLVMCreateStringAttribute(LLVMContextRef C,
String K,
int KLength,
String V,
int VLength) |
static LLVMErrorRef |
LLVMCreateStringError(BytePointer ErrMsg)
Create a StringError.
|
static LLVMErrorRef |
LLVMCreateStringError(String ErrMsg) |
static LLVMTargetDataRef |
LLVMCreateTargetData(BytePointer StringRep)
Creates target data from a target layout string.
|
static LLVMTargetDataRef |
LLVMCreateTargetData(String StringRep) |
static LLVMTargetDataRef |
LLVMCreateTargetDataLayout(LLVMTargetMachineRef T)
Create a DataLayout based on the targetMachine.
|
static LLVMTargetMachineRef |
LLVMCreateTargetMachine(LLVMTargetRef T,
BytePointer Triple,
BytePointer CPU,
BytePointer Features,
int Level,
int Reloc,
int CodeModel)
Creates a new llvm::TargetMachine.
|
static LLVMTargetMachineRef |
LLVMCreateTargetMachine(LLVMTargetRef T,
String Triple,
String CPU,
String Features,
int Level,
int Reloc,
int CodeModel) |
static LLVMAttributeRef |
LLVMCreateTypeAttribute(LLVMContextRef C,
int KindID,
LLVMTypeRef type_ref)
Create a type attribute
|
static int |
LLVMDebugMetadataVersion()
The current debug metadata version number.
|
static void |
LLVMDeleteBasicBlock(LLVMBasicBlockRef BB)
Remove a basic block from a function and delete it.
|
static void |
LLVMDeleteFunction(LLVMValueRef Fn)
Remove a function from its containing module and deletes it.
|
static void |
LLVMDeleteGlobal(LLVMValueRef GlobalVar) |
static void |
LLVMDeleteInstruction(LLVMValueRef Inst)
Delete an instruction.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Builder,
long Size,
int AlignInBits,
LLVMMetadataRef Ty,
LLVMMetadataRef Subscripts,
int NumSubscripts)
Create debugging information entry for an array.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Builder,
long Size,
int AlignInBits,
LLVMMetadataRef Ty,
PointerPointer Subscripts,
int NumSubscripts) |
static LLVMMetadataRef |
LLVMDIBuilderCreateArtificialType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Type)
Create a uniqued DIType* clone with FlagArtificial set.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateAutoVariable(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Ty,
int AlwaysPreserve,
int Flags,
int AlignInBits)
Create a new descriptor for a local auto variable.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateAutoVariable(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Ty,
int AlwaysPreserve,
int Flags,
int AlignInBits) |
static LLVMMetadataRef |
LLVMDIBuilderCreateBasicType(LLVMDIBuilderRef Builder,
BytePointer Name,
long NameLen,
long SizeInBits,
int Encoding,
int Flags)
Create debugging information entry for a basic
type.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateBasicType(LLVMDIBuilderRef Builder,
String Name,
long NameLen,
long SizeInBits,
int Encoding,
int Flags) |
static LLVMMetadataRef |
LLVMDIBuilderCreateBitFieldMemberType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
long SizeInBits,
long OffsetInBits,
long StorageOffsetInBits,
int Flags,
LLVMMetadataRef Type)
Create debugging information entry for a bit field member.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateBitFieldMemberType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
long SizeInBits,
long OffsetInBits,
long StorageOffsetInBits,
int Flags,
LLVMMetadataRef Type) |
static LLVMMetadataRef |
LLVMDIBuilderCreateClassType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
long SizeInBits,
int AlignInBits,
long OffsetInBits,
int Flags,
LLVMMetadataRef DerivedFrom,
LLVMMetadataRef Elements,
int NumElements,
LLVMMetadataRef VTableHolder,
LLVMMetadataRef TemplateParamsNode,
BytePointer UniqueIdentifier,
long UniqueIdentifierLen)
Create debugging information entry for a class.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateClassType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
long SizeInBits,
int AlignInBits,
long OffsetInBits,
int Flags,
LLVMMetadataRef DerivedFrom,
PointerPointer Elements,
int NumElements,
LLVMMetadataRef VTableHolder,
LLVMMetadataRef TemplateParamsNode,
String UniqueIdentifier,
long UniqueIdentifierLen) |
static LLVMMetadataRef |
LLVMDIBuilderCreateCompileUnit(LLVMDIBuilderRef Builder,
int Lang,
LLVMMetadataRef FileRef,
BytePointer Producer,
long ProducerLen,
int isOptimized,
BytePointer Flags,
long FlagsLen,
int RuntimeVer,
BytePointer SplitName,
long SplitNameLen,
int Kind,
int DWOId,
int SplitDebugInlining,
int DebugInfoForProfiling,
BytePointer SysRoot,
long SysRootLen,
BytePointer SDK,
long SDKLen)
A CompileUnit provides an anchor for all debugging
information generated during this instance of compilation.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateCompileUnit(LLVMDIBuilderRef Builder,
int Lang,
LLVMMetadataRef FileRef,
String Producer,
long ProducerLen,
int isOptimized,
String Flags,
long FlagsLen,
int RuntimeVer,
String SplitName,
long SplitNameLen,
int Kind,
int DWOId,
int SplitDebugInlining,
int DebugInfoForProfiling,
String SysRoot,
long SysRootLen,
String SDK,
long SDKLen) |
static LLVMMetadataRef |
LLVMDIBuilderCreateConstantValueExpression(LLVMDIBuilderRef Builder,
long Value)
Create a new descriptor for the specified variable that does not have an
address, but does have a constant value.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateDebugLocation(LLVMContextRef Ctx,
int Line,
int Column,
LLVMMetadataRef Scope,
LLVMMetadataRef InlinedAt)
Creates a new DebugLocation that describes a source location.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateEnumerationType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
long SizeInBits,
int AlignInBits,
LLVMMetadataRef Elements,
int NumElements,
LLVMMetadataRef ClassTy)
Create debugging information entry for an enumeration.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateEnumerationType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
long SizeInBits,
int AlignInBits,
PointerPointer Elements,
int NumElements,
LLVMMetadataRef ClassTy) |
static LLVMMetadataRef |
LLVMDIBuilderCreateEnumerator(LLVMDIBuilderRef Builder,
BytePointer Name,
long NameLen,
long Value,
int IsUnsigned)
Create debugging information entry for an enumerator.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateEnumerator(LLVMDIBuilderRef Builder,
String Name,
long NameLen,
long Value,
int IsUnsigned) |
static LLVMMetadataRef |
LLVMDIBuilderCreateExpression(LLVMDIBuilderRef Builder,
long[] Addr,
long Length) |
static LLVMMetadataRef |
LLVMDIBuilderCreateExpression(LLVMDIBuilderRef Builder,
LongBuffer Addr,
long Length) |
static LLVMMetadataRef |
LLVMDIBuilderCreateExpression(LLVMDIBuilderRef Builder,
LongPointer Addr,
long Length)
Create a new descriptor for the specified variable which has a complex
address expression for its address.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateFile(LLVMDIBuilderRef Builder,
BytePointer Filename,
long FilenameLen,
BytePointer Directory,
long DirectoryLen)
Create a file descriptor to hold debugging information for a file.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateFile(LLVMDIBuilderRef Builder,
String Filename,
long FilenameLen,
String Directory,
long DirectoryLen) |
static LLVMMetadataRef |
LLVMDIBuilderCreateForwardDecl(LLVMDIBuilderRef Builder,
int Tag,
BytePointer Name,
long NameLen,
LLVMMetadataRef Scope,
LLVMMetadataRef File,
int Line,
int RuntimeLang,
long SizeInBits,
int AlignInBits,
BytePointer UniqueIdentifier,
long UniqueIdentifierLen)
Create a permanent forward-declared type.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateForwardDecl(LLVMDIBuilderRef Builder,
int Tag,
String Name,
long NameLen,
LLVMMetadataRef Scope,
LLVMMetadataRef File,
int Line,
int RuntimeLang,
long SizeInBits,
int AlignInBits,
String UniqueIdentifier,
long UniqueIdentifierLen) |
static LLVMMetadataRef |
LLVMDIBuilderCreateFunction(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
BytePointer LinkageName,
long LinkageNameLen,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Ty,
int IsLocalToUnit,
int IsDefinition,
int ScopeLine,
int Flags,
int IsOptimized)
Create a new descriptor for the specified subprogram.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateFunction(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
String LinkageName,
long LinkageNameLen,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Ty,
int IsLocalToUnit,
int IsDefinition,
int ScopeLine,
int Flags,
int IsOptimized) |
static LLVMMetadataRef |
LLVMDIBuilderCreateGlobalVariableExpression(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
BytePointer Linkage,
long LinkLen,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Ty,
int LocalToUnit,
LLVMMetadataRef Expr,
LLVMMetadataRef Decl,
int AlignInBits)
Create a new descriptor for the specified variable.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateGlobalVariableExpression(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
String Linkage,
long LinkLen,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Ty,
int LocalToUnit,
LLVMMetadataRef Expr,
LLVMMetadataRef Decl,
int AlignInBits) |
static LLVMMetadataRef |
LLVMDIBuilderCreateImportedDeclaration(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
LLVMMetadataRef Decl,
LLVMMetadataRef File,
int Line,
BytePointer Name,
long NameLen,
LLVMMetadataRef Elements,
int NumElements)
Create a descriptor for an imported function, type, or variable.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateImportedDeclaration(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
LLVMMetadataRef Decl,
LLVMMetadataRef File,
int Line,
String Name,
long NameLen,
PointerPointer Elements,
int NumElements) |
static LLVMMetadataRef |
LLVMDIBuilderCreateImportedModuleFromAlias(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
LLVMMetadataRef ImportedEntity,
LLVMMetadataRef File,
int Line,
LLVMMetadataRef Elements,
int NumElements)
Create a descriptor for an imported module that aliases another
imported entity descriptor.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateImportedModuleFromAlias(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
LLVMMetadataRef ImportedEntity,
LLVMMetadataRef File,
int Line,
PointerPointer Elements,
int NumElements) |
static LLVMMetadataRef |
LLVMDIBuilderCreateImportedModuleFromModule(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
LLVMMetadataRef M,
LLVMMetadataRef File,
int Line,
LLVMMetadataRef Elements,
int NumElements)
Create a descriptor for an imported module.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateImportedModuleFromModule(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
LLVMMetadataRef M,
LLVMMetadataRef File,
int Line,
PointerPointer Elements,
int NumElements) |
static LLVMMetadataRef |
LLVMDIBuilderCreateImportedModuleFromNamespace(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
LLVMMetadataRef NS,
LLVMMetadataRef File,
int Line)
Create a descriptor for an imported namespace.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateInheritance(LLVMDIBuilderRef Builder,
LLVMMetadataRef Ty,
LLVMMetadataRef BaseTy,
long BaseOffset,
int VBPtrOffset,
int Flags)
Create debugging information entry to establish inheritance relationship
between two types.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateLexicalBlock(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
LLVMMetadataRef File,
int Line,
int Column)
Create a descriptor for a lexical block with the specified parent context.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateLexicalBlockFile(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
LLVMMetadataRef File,
int Discriminator)
Create a descriptor for a lexical block with a new file attached.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateMacro(LLVMDIBuilderRef Builder,
LLVMMetadataRef ParentMacroFile,
int Line,
int RecordType,
BytePointer Name,
long NameLen,
BytePointer Value,
long ValueLen)
Create debugging information entry for a macro.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateMacro(LLVMDIBuilderRef Builder,
LLVMMetadataRef ParentMacroFile,
int Line,
int RecordType,
String Name,
long NameLen,
String Value,
long ValueLen) |
static LLVMMetadataRef |
LLVMDIBuilderCreateMemberPointerType(LLVMDIBuilderRef Builder,
LLVMMetadataRef PointeeType,
LLVMMetadataRef ClassType,
long SizeInBits,
int AlignInBits,
int Flags)
Create debugging information entry for a pointer to member.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateMemberType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
LLVMMetadataRef File,
int LineNo,
long SizeInBits,
int AlignInBits,
long OffsetInBits,
int Flags,
LLVMMetadataRef Ty)
Create debugging information entry for a member.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateMemberType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
LLVMMetadataRef File,
int LineNo,
long SizeInBits,
int AlignInBits,
long OffsetInBits,
int Flags,
LLVMMetadataRef Ty) |
static LLVMMetadataRef |
LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder,
LLVMMetadataRef ParentScope,
BytePointer Name,
long NameLen,
BytePointer ConfigMacros,
long ConfigMacrosLen,
BytePointer IncludePath,
long IncludePathLen,
BytePointer APINotesFile,
long APINotesFileLen)
Creates a new descriptor for a module with the specified parent scope.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder,
LLVMMetadataRef ParentScope,
String Name,
long NameLen,
String ConfigMacros,
long ConfigMacrosLen,
String IncludePath,
long IncludePathLen,
String APINotesFile,
long APINotesFileLen) |
static LLVMMetadataRef |
LLVMDIBuilderCreateNameSpace(LLVMDIBuilderRef Builder,
LLVMMetadataRef ParentScope,
BytePointer Name,
long NameLen,
int ExportSymbols)
Creates a new descriptor for a namespace with the specified parent scope.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateNameSpace(LLVMDIBuilderRef Builder,
LLVMMetadataRef ParentScope,
String Name,
long NameLen,
int ExportSymbols) |
static LLVMMetadataRef |
LLVMDIBuilderCreateNullPtrType(LLVMDIBuilderRef Builder)
Create C++11 nullptr type.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateObjCIVar(LLVMDIBuilderRef Builder,
BytePointer Name,
long NameLen,
LLVMMetadataRef File,
int LineNo,
long SizeInBits,
int AlignInBits,
long OffsetInBits,
int Flags,
LLVMMetadataRef Ty,
LLVMMetadataRef PropertyNode)
Create debugging information entry for Objective-C instance variable.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateObjCIVar(LLVMDIBuilderRef Builder,
String Name,
long NameLen,
LLVMMetadataRef File,
int LineNo,
long SizeInBits,
int AlignInBits,
long OffsetInBits,
int Flags,
LLVMMetadataRef Ty,
LLVMMetadataRef PropertyNode) |
static LLVMMetadataRef |
LLVMDIBuilderCreateObjCProperty(LLVMDIBuilderRef Builder,
BytePointer Name,
long NameLen,
LLVMMetadataRef File,
int LineNo,
BytePointer GetterName,
long GetterNameLen,
BytePointer SetterName,
long SetterNameLen,
int PropertyAttributes,
LLVMMetadataRef Ty)
Create debugging information entry for Objective-C property.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateObjCProperty(LLVMDIBuilderRef Builder,
String Name,
long NameLen,
LLVMMetadataRef File,
int LineNo,
String GetterName,
long GetterNameLen,
String SetterName,
long SetterNameLen,
int PropertyAttributes,
LLVMMetadataRef Ty) |
static LLVMMetadataRef |
LLVMDIBuilderCreateObjectPointerType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Type)
Create a uniqued DIType* clone with FlagObjectPointer and FlagArtificial set.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateParameterVariable(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
int ArgNo,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Ty,
int AlwaysPreserve,
int Flags)
Create a new descriptor for a function parameter variable.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateParameterVariable(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
int ArgNo,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Ty,
int AlwaysPreserve,
int Flags) |
static LLVMMetadataRef |
LLVMDIBuilderCreatePointerType(LLVMDIBuilderRef Builder,
LLVMMetadataRef PointeeTy,
long SizeInBits,
int AlignInBits,
int AddressSpace,
BytePointer Name,
long NameLen)
Create debugging information entry for a pointer.
|
static LLVMMetadataRef |
LLVMDIBuilderCreatePointerType(LLVMDIBuilderRef Builder,
LLVMMetadataRef PointeeTy,
long SizeInBits,
int AlignInBits,
int AddressSpace,
String Name,
long NameLen) |
static LLVMMetadataRef |
LLVMDIBuilderCreateQualifiedType(LLVMDIBuilderRef Builder,
int Tag,
LLVMMetadataRef Type)
Create debugging information entry for a qualified
type, e.g.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateReferenceType(LLVMDIBuilderRef Builder,
int Tag,
LLVMMetadataRef Type)
Create debugging information entry for a c++
style reference or rvalue reference type.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateReplaceableCompositeType(LLVMDIBuilderRef Builder,
int Tag,
BytePointer Name,
long NameLen,
LLVMMetadataRef Scope,
LLVMMetadataRef File,
int Line,
int RuntimeLang,
long SizeInBits,
int AlignInBits,
int Flags,
BytePointer UniqueIdentifier,
long UniqueIdentifierLen)
Create a temporary forward-declared type.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateReplaceableCompositeType(LLVMDIBuilderRef Builder,
int Tag,
String Name,
long NameLen,
LLVMMetadataRef Scope,
LLVMMetadataRef File,
int Line,
int RuntimeLang,
long SizeInBits,
int AlignInBits,
int Flags,
String UniqueIdentifier,
long UniqueIdentifierLen) |
static LLVMMetadataRef |
LLVMDIBuilderCreateStaticMemberType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
LLVMMetadataRef Type,
int Flags,
LLVMValueRef ConstantVal,
int AlignInBits)
Create debugging information entry for a
C++ static data member.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateStaticMemberType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
LLVMMetadataRef Type,
int Flags,
LLVMValueRef ConstantVal,
int AlignInBits) |
static LLVMMetadataRef |
LLVMDIBuilderCreateStructType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
long SizeInBits,
int AlignInBits,
int Flags,
LLVMMetadataRef DerivedFrom,
LLVMMetadataRef Elements,
int NumElements,
int RunTimeLang,
LLVMMetadataRef VTableHolder,
BytePointer UniqueId,
long UniqueIdLen)
Create debugging information entry for a struct.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateStructType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
long SizeInBits,
int AlignInBits,
int Flags,
LLVMMetadataRef DerivedFrom,
PointerPointer Elements,
int NumElements,
int RunTimeLang,
LLVMMetadataRef VTableHolder,
String UniqueId,
long UniqueIdLen) |
static LLVMMetadataRef |
LLVMDIBuilderCreateSubroutineType(LLVMDIBuilderRef Builder,
LLVMMetadataRef File,
LLVMMetadataRef ParameterTypes,
int NumParameterTypes,
int Flags)
Create subroutine type.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateSubroutineType(LLVMDIBuilderRef Builder,
LLVMMetadataRef File,
PointerPointer ParameterTypes,
int NumParameterTypes,
int Flags) |
static LLVMMetadataRef |
LLVMDIBuilderCreateTempGlobalVariableFwdDecl(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
BytePointer Linkage,
long LnkLen,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Ty,
int LocalToUnit,
LLVMMetadataRef Decl,
int AlignInBits)
Create a new descriptor for the specified global variable that is temporary
and meant to be RAUWed.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateTempGlobalVariableFwdDecl(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
String Linkage,
long LnkLen,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Ty,
int LocalToUnit,
LLVMMetadataRef Decl,
int AlignInBits) |
static LLVMMetadataRef |
LLVMDIBuilderCreateTempMacroFile(LLVMDIBuilderRef Builder,
LLVMMetadataRef ParentMacroFile,
int Line,
LLVMMetadataRef File)
Create debugging information temporary entry for a macro file.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateTypedef(LLVMDIBuilderRef Builder,
LLVMMetadataRef Type,
BytePointer Name,
long NameLen,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Scope,
int AlignInBits)
Create debugging information entry for a typedef.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateTypedef(LLVMDIBuilderRef Builder,
LLVMMetadataRef Type,
String Name,
long NameLen,
LLVMMetadataRef File,
int LineNo,
LLVMMetadataRef Scope,
int AlignInBits) |
static LLVMMetadataRef |
LLVMDIBuilderCreateUnionType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
BytePointer Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
long SizeInBits,
int AlignInBits,
int Flags,
LLVMMetadataRef Elements,
int NumElements,
int RunTimeLang,
BytePointer UniqueId,
long UniqueIdLen)
Create debugging information entry for a union.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateUnionType(LLVMDIBuilderRef Builder,
LLVMMetadataRef Scope,
String Name,
long NameLen,
LLVMMetadataRef File,
int LineNumber,
long SizeInBits,
int AlignInBits,
int Flags,
PointerPointer Elements,
int NumElements,
int RunTimeLang,
String UniqueId,
long UniqueIdLen) |
static LLVMMetadataRef |
LLVMDIBuilderCreateUnspecifiedType(LLVMDIBuilderRef Builder,
BytePointer Name,
long NameLen)
Create a DWARF unspecified type.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateUnspecifiedType(LLVMDIBuilderRef Builder,
String Name,
long NameLen) |
static LLVMMetadataRef |
LLVMDIBuilderCreateVectorType(LLVMDIBuilderRef Builder,
long Size,
int AlignInBits,
LLVMMetadataRef Ty,
LLVMMetadataRef Subscripts,
int NumSubscripts)
Create debugging information entry for a vector type.
|
static LLVMMetadataRef |
LLVMDIBuilderCreateVectorType(LLVMDIBuilderRef Builder,
long Size,
int AlignInBits,
LLVMMetadataRef Ty,
PointerPointer Subscripts,
int NumSubscripts) |
static void |
LLVMDIBuilderFinalize(LLVMDIBuilderRef Builder)
Construct any deferred debug info descriptors.
|
static void |
LLVMDIBuilderFinalizeSubprogram(LLVMDIBuilderRef Builder,
LLVMMetadataRef Subprogram)
Finalize a specific subprogram.
|
static LLVMMetadataRef |
LLVMDIBuilderGetOrCreateArray(LLVMDIBuilderRef Builder,
LLVMMetadataRef Data,
long NumElements)
Create an array of DI Nodes.
|
static LLVMMetadataRef |
LLVMDIBuilderGetOrCreateArray(LLVMDIBuilderRef Builder,
PointerPointer Data,
long NumElements) |
static LLVMMetadataRef |
LLVMDIBuilderGetOrCreateSubrange(LLVMDIBuilderRef Builder,
long LowerBound,
long Count)
Create a descriptor for a value range.
|
static LLVMMetadataRef |
LLVMDIBuilderGetOrCreateTypeArray(LLVMDIBuilderRef Builder,
LLVMMetadataRef Data,
long NumElements)
Create a type array.
|
static LLVMMetadataRef |
LLVMDIBuilderGetOrCreateTypeArray(LLVMDIBuilderRef Builder,
PointerPointer Data,
long NumElements) |
static LLVMValueRef |
LLVMDIBuilderInsertDbgValueAtEnd(LLVMDIBuilderRef Builder,
LLVMValueRef Val,
LLVMMetadataRef VarInfo,
LLVMMetadataRef Expr,
LLVMMetadataRef DebugLoc,
LLVMBasicBlockRef Block)
Insert a new llvm.dbg.value intrinsic call at the end of the given basic
block.
|
static LLVMValueRef |
LLVMDIBuilderInsertDbgValueBefore(LLVMDIBuilderRef Builder,
LLVMValueRef Val,
LLVMMetadataRef VarInfo,
LLVMMetadataRef Expr,
LLVMMetadataRef DebugLoc,
LLVMValueRef Instr)
Insert a new llvm.dbg.value intrinsic call before the given instruction.
|
static LLVMValueRef |
LLVMDIBuilderInsertDeclareAtEnd(LLVMDIBuilderRef Builder,
LLVMValueRef Storage,
LLVMMetadataRef VarInfo,
LLVMMetadataRef Expr,
LLVMMetadataRef DebugLoc,
LLVMBasicBlockRef Block)
Insert a new llvm.dbg.declare intrinsic call at the end of the given basic
block.
|
static LLVMValueRef |
LLVMDIBuilderInsertDeclareBefore(LLVMDIBuilderRef Builder,
LLVMValueRef Storage,
LLVMMetadataRef VarInfo,
LLVMMetadataRef Expr,
LLVMMetadataRef DebugLoc,
LLVMValueRef Instr)
Insert a new llvm.dbg.declare intrinsic call before the given instruction.
|
static BytePointer |
LLVMDIFileGetDirectory(LLVMMetadataRef File,
int[] Len) |
static String |
LLVMDIFileGetDirectory(LLVMMetadataRef File,
IntBuffer Len) |
static BytePointer |
LLVMDIFileGetDirectory(LLVMMetadataRef File,
IntPointer Len)
Get the directory of a given file.
|
static BytePointer |
LLVMDIFileGetFilename(LLVMMetadataRef File,
int[] Len) |
static String |
LLVMDIFileGetFilename(LLVMMetadataRef File,
IntBuffer Len) |
static BytePointer |
LLVMDIFileGetFilename(LLVMMetadataRef File,
IntPointer Len)
Get the name of a given file.
|
static BytePointer |
LLVMDIFileGetSource(LLVMMetadataRef File,
int[] Len) |
static String |
LLVMDIFileGetSource(LLVMMetadataRef File,
IntBuffer Len) |
static BytePointer |
LLVMDIFileGetSource(LLVMMetadataRef File,
IntPointer Len)
Get the source of a given file.
|
static LLVMMetadataRef |
LLVMDIGlobalVariableExpressionGetExpression(LLVMMetadataRef GVE)
Retrieves the \c DIExpression associated with this global variable expression.
|
static LLVMMetadataRef |
LLVMDIGlobalVariableExpressionGetVariable(LLVMMetadataRef GVE)
Retrieves the \c DIVariable associated with this global variable expression.
|
static int |
LLVMDILocationGetColumn(LLVMMetadataRef Location)
Get the column number of this debug location.
|
static LLVMMetadataRef |
LLVMDILocationGetInlinedAt(LLVMMetadataRef Location)
Get the "inline at" location associated with this debug location.
|
static int |
LLVMDILocationGetLine(LLVMMetadataRef Location)
Get the line number of this debug location.
|
static LLVMMetadataRef |
LLVMDILocationGetScope(LLVMMetadataRef Location)
Get the local scope associated with this debug location.
|
static void |
LLVMDisasmDispose(LLVMDisasmContextRef DC)
Dispose of a disassembler context.
|
static long |
LLVMDisasmInstruction(LLVMDisasmContextRef DC,
byte[] Bytes,
long BytesSize,
long PC,
byte[] OutString,
long OutStringSize) |
static long |
LLVMDisasmInstruction(LLVMDisasmContextRef DC,
ByteBuffer Bytes,
long BytesSize,
long PC,
ByteBuffer OutString,
long OutStringSize) |
static long |
LLVMDisasmInstruction(LLVMDisasmContextRef DC,
BytePointer Bytes,
long BytesSize,
long PC,
BytePointer OutString,
long OutStringSize)
Disassemble a single instruction using the disassembler context specified in
the parameter DC.
|
static LLVMMetadataRef |
LLVMDIScopeGetFile(LLVMMetadataRef Scope)
Get the metadata of the file associated with a given scope.
|
static void |
LLVMDisposeBinary(LLVMBinaryRef BR)
Dispose of a binary file.
|
static void |
LLVMDisposeBuilder(LLVMBuilderRef Builder) |
static void |
LLVMDisposeDIBuilder(LLVMDIBuilderRef Builder)
Deallocates the \c DIBuilder and everything it owns.
|
static void |
LLVMDisposeErrorMessage(byte[] ErrMsg) |
static void |
LLVMDisposeErrorMessage(ByteBuffer ErrMsg) |
static void |
LLVMDisposeErrorMessage(BytePointer ErrMsg)
Dispose of the given error message.
|
static void |
LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE) |
static void |
LLVMDisposeGenericValue(LLVMGenericValueRef GenVal) |
static void |
LLVMDisposeMCJITMemoryManager(LLVMMCJITMemoryManagerRef MM) |
static void |
LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf) |
static void |
LLVMDisposeMessage(byte[] Message) |
static void |
LLVMDisposeMessage(ByteBuffer Message) |
static void |
LLVMDisposeMessage(BytePointer Message) |
static void |
LLVMDisposeModule(LLVMModuleRef M)
Destroy a module instance.
|
static void |
LLVMDisposeModuleFlagsMetadata(LLVMModuleFlagEntry Entries)
Destroys module flags metadata entries.
|
static void |
LLVMDisposeModuleProvider(LLVMModuleProviderRef M)
Destroys the module M.
|
static void |
LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile)
Deprecated: Use LLVMDisposeBinary instead.
|
static void |
LLVMDisposePassBuilderOptions(LLVMPassBuilderOptionsRef Options)
Dispose of a heap-allocated PassBuilderOptions instance
|
static void |
LLVMDisposePassManager(LLVMPassManagerRef PM)
Frees the memory of a pass pipeline.
|
static void |
LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef RI) |
static void |
LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI) |
static void |
LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI) |
static void |
LLVMDisposeTargetData(LLVMTargetDataRef TD)
Deallocates a TargetData.
|
static void |
LLVMDisposeTargetMachine(LLVMTargetMachineRef T)
Dispose the LLVMTargetMachineRef instance generated by
LLVMCreateTargetMachine.
|
static void |
LLVMDisposeTemporaryMDNode(LLVMMetadataRef TempNode)
Deallocate a temporary node.
|
static void |
LLVMDisposeValueMetadataEntries(LLVMValueMetadataEntry Entries)
Destroys value metadata entries.
|
static int |
LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram)
Get the line associated with a given subprogram.
|
static int |
LLVMDITypeGetAlignInBits(LLVMMetadataRef DType)
Get the alignment of this DIType in bits.
|
static int |
LLVMDITypeGetFlags(LLVMMetadataRef DType)
Get the flags associated with this DIType.
|
static int |
LLVMDITypeGetLine(LLVMMetadataRef DType)
Get the source line where this DIType is declared.
|
static BytePointer |
LLVMDITypeGetName(LLVMMetadataRef DType,
SizeTPointer Length)
Get the name of this DIType.
|
static long |
LLVMDITypeGetOffsetInBits(LLVMMetadataRef DType)
Get the offset of this DIType in bits.
|
static long |
LLVMDITypeGetSizeInBits(LLVMMetadataRef DType)
Get the size of this DIType in bits.
|
static LLVMMetadataRef |
LLVMDIVariableGetFile(LLVMMetadataRef Var)
Get the metadata of the file associated with a given variable.
|
static int |
LLVMDIVariableGetLine(LLVMMetadataRef Var)
Get the source line where this \c DIVariable is declared.
|
static LLVMMetadataRef |
LLVMDIVariableGetScope(LLVMMetadataRef Var)
Get the metadata of the scope associated with a given variable.
|
static LLVMTypeRef |
LLVMDoubleType() |
static LLVMTypeRef |
LLVMDoubleTypeInContext(LLVMContextRef C)
Obtain a 64-bit floating point type from a context.
|
static void |
LLVMDumpModule(LLVMModuleRef M)
Dump a representation of a module to stderr.
|
static void |
LLVMDumpType(LLVMTypeRef Val)
Dump a representation of a type to stderr.
|
static void |
LLVMDumpValue(LLVMValueRef Val)
Dump a representation of a value to stderr.
|
static int |
LLVMElementAtOffset(LLVMTargetDataRef TD,
LLVMTypeRef StructTy,
long Offset)
Computes the structure element that contains the byte offset for a target.
|
static void |
LLVMEnablePrettyStackTrace()
Enable LLVM's built-in stack trace code.
|
static void |
LLVMEraseGlobalIFunc(LLVMValueRef IFunc)
Remove a global indirect function from its parent module and delete it.
|
static int |
LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE,
byte[] OutError) |
static int |
LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE,
ByteBuffer OutError) |
static int |
LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE,
BytePointer OutError) |
static int |
LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE,
PointerPointer OutError)
Returns true on error, false on success.
|
static int |
LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM)
Finalizes all of the function passes scheduled in the function pass
manager.
|
static int |
LLVMFindFunction(LLVMExecutionEngineRef EE,
BytePointer Name,
LLVMValueRef OutFn) |
static int |
LLVMFindFunction(LLVMExecutionEngineRef EE,
String Name,
PointerPointer OutFn) |
static LLVMTypeRef |
LLVMFloatType() |
static LLVMTypeRef |
LLVMFloatTypeInContext(LLVMContextRef C)
Obtain a 32-bit floating point type from a context.
|
static LLVMTypeRef |
LLVMFP128Type() |
static LLVMTypeRef |
LLVMFP128TypeInContext(LLVMContextRef C)
Obtain a 128-bit floating point type (112-bit mantissa) from a
context.
|
static void |
LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE,
LLVMValueRef F) |
static LLVMTypeRef |
LLVMFunctionType(LLVMTypeRef ReturnType,
LLVMTypeRef ParamTypes,
int ParamCount,
int IsVarArg)
Obtain a function type consisting of a specified signature.
|
static LLVMTypeRef |
LLVMFunctionType(LLVMTypeRef ReturnType,
PointerPointer ParamTypes,
int ParamCount,
int IsVarArg) |
static int |
LLVMGenericValueIntWidth(LLVMGenericValueRef GenValRef) |
static double |
LLVMGenericValueToFloat(LLVMTypeRef TyRef,
LLVMGenericValueRef GenVal) |
static long |
LLVMGenericValueToInt(LLVMGenericValueRef GenVal,
int IsSigned) |
static Pointer |
LLVMGenericValueToPointer(LLVMGenericValueRef GenVal) |
static LLVMValueRef |
LLVMGetAggregateElement(LLVMValueRef C,
int Idx)
Get element of a constant aggregate (struct, array or vector) at the
specified index.
|
static int |
LLVMGetAlignment(LLVMValueRef V)
Obtain the preferred alignment of the value.
|
static LLVMTypeRef |
LLVMGetAllocatedType(LLVMValueRef Alloca)
Obtain the type that is being allocated by the alloca instruction.
|
static LLVMValueRef |
LLVMGetArgOperand(LLVMValueRef Funclet,
int i) |
static int |
LLVMGetArrayLength(LLVMTypeRef ArrayTy)
Deprecated.
LLVMGetArrayLength is deprecated in favor of the API accurate
LLVMGetArrayLength2
|
static long |
LLVMGetArrayLength2(LLVMTypeRef ArrayTy)
Obtain the length of an array type.
|
static BytePointer |
LLVMGetAsString(LLVMValueRef c,
SizeTPointer Length)
Get the given constant data sequential as a string.
|
static int |
LLVMGetAtomicRMWBinOp(LLVMValueRef AtomicRMWInst) |
static int |
LLVMGetAttributeCountAtIndex(LLVMValueRef F,
int Idx) |
static void |
LLVMGetAttributesAtIndex(LLVMValueRef F,
int Idx,
LLVMAttributeRef Attrs) |
static void |
LLVMGetAttributesAtIndex(LLVMValueRef F,
int Idx,
PointerPointer Attrs) |
static BytePointer |
LLVMGetBasicBlockName(LLVMBasicBlockRef BB)
Obtain the string name of a basic block.
|
static LLVMValueRef |
LLVMGetBasicBlockParent(LLVMBasicBlockRef BB)
Obtain the function to which a basic block belongs.
|
static void |
LLVMGetBasicBlocks(LLVMValueRef Fn,
LLVMBasicBlockRef BasicBlocks)
Obtain all of the basic blocks in a function.
|
static void |
LLVMGetBasicBlocks(LLVMValueRef Fn,
PointerPointer BasicBlocks) |
static LLVMValueRef |
LLVMGetBasicBlockTerminator(LLVMBasicBlockRef BB)
Obtain the terminator instruction for a basic block.
|
static int |
LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
byte[] OutMessage) |
static int |
LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
ByteBuffer OutMessage) |
static int |
LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
BytePointer OutMessage) |
static int |
LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
PointerPointer OutMessage) |
static int |
LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf,
PointerPointer OutM,
byte[] OutMessage) |
static int |
LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf,
PointerPointer OutM,
ByteBuffer OutMessage) |
static int |
LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf,
PointerPointer OutM,
BytePointer OutMessage) |
static int |
LLVMGetBitcodeModule2(LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM) |
static int |
LLVMGetBitcodeModule2(LLVMMemoryBufferRef MemBuf,
PointerPointer OutM) |
static int |
LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
byte[] OutMessage) |
static int |
LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
ByteBuffer OutMessage) |
static int |
LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
BytePointer OutMessage) |
static int |
LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
PointerPointer OutMessage)
Reads a module from the specified path, returning via the OutMP parameter
a module provider which performs lazy deserialization.
|
static int |
LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
PointerPointer OutM,
byte[] OutMessage) |
static int |
LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
PointerPointer OutM,
ByteBuffer OutMessage) |
static int |
LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
PointerPointer OutM,
BytePointer OutMessage) |
static int |
LLVMGetBitcodeModuleInContext2(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM)
Reads a module from the given memory buffer, returning via the OutMP
parameter a module provider which performs lazy deserialization.
|
static int |
LLVMGetBitcodeModuleInContext2(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
PointerPointer OutM) |
static long |
LLVMGetBufferSize(LLVMMemoryBufferRef MemBuf) |
static BytePointer |
LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf) |
static LLVMTypeRef |
LLVMGetCalledFunctionType(LLVMValueRef C)
Obtain the function type called by this instruction.
|
static LLVMValueRef |
LLVMGetCalledValue(LLVMValueRef Instr)
Obtain the pointer to the function invoked by this instruction.
|
static int |
LLVMGetCallSiteAttributeCount(LLVMValueRef C,
int Idx) |
static void |
LLVMGetCallSiteAttributes(LLVMValueRef C,
int Idx,
LLVMAttributeRef Attrs) |
static void |
LLVMGetCallSiteAttributes(LLVMValueRef C,
int Idx,
PointerPointer Attrs) |
static LLVMAttributeRef |
LLVMGetCallSiteEnumAttribute(LLVMValueRef C,
int Idx,
int KindID) |
static LLVMAttributeRef |
LLVMGetCallSiteStringAttribute(LLVMValueRef C,
int Idx,
BytePointer K,
int KLen) |
static LLVMAttributeRef |
LLVMGetCallSiteStringAttribute(LLVMValueRef C,
int Idx,
String K,
int KLen) |
static int |
LLVMGetCastOpcode(LLVMValueRef Src,
int SrcIsSigned,
LLVMTypeRef DestTy,
int DestIsSigned) |
static LLVMValueRef |
LLVMGetClause(LLVMValueRef LandingPad,
int Idx) |
static int |
LLVMGetCmpXchgFailureOrdering(LLVMValueRef CmpXchgInst) |
static int |
LLVMGetCmpXchgSuccessOrdering(LLVMValueRef CmpXchgInst) |
static LLVMComdatRef |
LLVMGetComdat(LLVMValueRef V)
Get the Comdat assigned to the given global object.
|
static int |
LLVMGetComdatSelectionKind(LLVMComdatRef C) |
static LLVMValueRef |
LLVMGetCondition(LLVMValueRef Branch)
Return the condition of a branch instruction.
|
static int |
LLVMGetConstOpcode(LLVMValueRef ConstantVal)
\defgroup LLVMCCoreValueConstantExpressions Constant Expressions
Functions in this group correspond to APIs on llvm::ConstantExpr.
|
static LLVMValueRef |
LLVMGetCurrentDebugLocation(LLVMBuilderRef Builder)
Deprecated: Returning the NULL location will crash.
|
static LLVMMetadataRef |
LLVMGetCurrentDebugLocation2(LLVMBuilderRef Builder)
Get location information used by debugging information.
|
static BytePointer |
LLVMGetDataLayout(LLVMModuleRef M) |
static BytePointer |
LLVMGetDataLayoutStr(LLVMModuleRef M)
Obtain the data layout for a module.
|
static int |
LLVMGetDebugLocColumn(LLVMValueRef Val)
Return the column number of the debug location for this value, which must be
an llvm::Instruction.
|
static BytePointer |
LLVMGetDebugLocDirectory(LLVMValueRef Val,
int[] Length) |
static String |
LLVMGetDebugLocDirectory(LLVMValueRef Val,
IntBuffer Length) |
static BytePointer |
LLVMGetDebugLocDirectory(LLVMValueRef Val,
IntPointer Length)
Return the directory of the debug location for this value, which must be
an llvm::Instruction, llvm::GlobalVariable, or llvm::Function.
|
static BytePointer |
LLVMGetDebugLocFilename(LLVMValueRef Val,
int[] Length) |
static String |
LLVMGetDebugLocFilename(LLVMValueRef Val,
IntBuffer Length) |
static BytePointer |
LLVMGetDebugLocFilename(LLVMValueRef Val,
IntPointer Length)
Return the filename of the debug location for this value, which must be
an llvm::Instruction, llvm::GlobalVariable, or llvm::Function.
|
static int |
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.
|
static BytePointer |
LLVMGetDefaultTargetTriple()
Get a triple for the host machine as a string.
|
static BytePointer |
LLVMGetDiagInfoDescription(LLVMDiagnosticInfoRef DI)
Return a string representation of the DiagnosticInfo.
|
static int |
LLVMGetDiagInfoSeverity(LLVMDiagnosticInfoRef DI)
Return an enum LLVMDiagnosticSeverity.
|
static short |
LLVMGetDINodeTag(LLVMMetadataRef MD)
Get the dwarf::Tag of a DINode
|
static int |
LLVMGetDLLStorageClass(LLVMValueRef Global) |
static LLVMTypeRef |
LLVMGetElementType(LLVMTypeRef Ty)
Obtain the element type of an array or vector type.
|
static LLVMBasicBlockRef |
LLVMGetEntryBasicBlock(LLVMValueRef Fn)
Obtain the basic block that corresponds to the entry point of a
function.
|
static LLVMAttributeRef |
LLVMGetEnumAttributeAtIndex(LLVMValueRef F,
int Idx,
int KindID) |
static int |
LLVMGetEnumAttributeKind(LLVMAttributeRef A)
Get the unique id corresponding to the enum attribute
passed as argument.
|
static int |
LLVMGetEnumAttributeKindForName(BytePointer Name,
long SLen)
Return an unique id given the name of a enum attribute,
or 0 if no attribute by that name exists.
|
static int |
LLVMGetEnumAttributeKindForName(String Name,
long SLen) |
static long |
LLVMGetEnumAttributeValue(LLVMAttributeRef A)
Get the enum attribute's value.
|
static BytePointer |
LLVMGetErrorMessage(LLVMErrorRef Err)
Returns the given string's error message.
|
static LLVMErrorTypeId |
LLVMGetErrorTypeId(LLVMErrorRef Err)
Returns the type id for the given error instance, which must be a failure
value (i.e.
|
static int |
LLVMGetExact(LLVMValueRef DivOrShrInst) |
static LLVMTargetDataRef |
LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) |
static LLVMTargetMachineRef |
LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE) |
static int |
LLVMGetFCmpPredicate(LLVMValueRef Inst)
Obtain the float predicate of an instruction.
|
static LLVMBasicBlockRef |
LLVMGetFirstBasicBlock(LLVMValueRef Fn)
Obtain the first basic block in a function.
|
static LLVMValueRef |
LLVMGetFirstFunction(LLVMModuleRef M)
Obtain an iterator to the first Function in a Module.
|
static LLVMValueRef |
LLVMGetFirstGlobal(LLVMModuleRef M) |
static LLVMValueRef |
LLVMGetFirstGlobalAlias(LLVMModuleRef M)
Obtain an iterator to the first GlobalAlias in a Module.
|
static LLVMValueRef |
LLVMGetFirstGlobalIFunc(LLVMModuleRef M)
Obtain an iterator to the first GlobalIFunc in a Module.
|
static LLVMValueRef |
LLVMGetFirstInstruction(LLVMBasicBlockRef BB)
Obtain the first instruction in a basic block.
|
static LLVMNamedMDNodeRef |
LLVMGetFirstNamedMetadata(LLVMModuleRef M)
Obtain an iterator to the first NamedMDNode in a Module.
|
static LLVMValueRef |
LLVMGetFirstParam(LLVMValueRef Fn)
Obtain the first parameter to a function.
|
static LLVMTargetRef |
LLVMGetFirstTarget()
Returns the first llvm::Target in the registered targets list.
|
static LLVMUseRef |
LLVMGetFirstUse(LLVMValueRef Val)
Obtain the first use of a value.
|
static long |
LLVMGetFunctionAddress(LLVMExecutionEngineRef EE,
BytePointer Name) |
static long |
LLVMGetFunctionAddress(LLVMExecutionEngineRef EE,
String Name) |
static int |
LLVMGetFunctionCallConv(LLVMValueRef Fn)
Obtain the calling function of a function.
|
static BytePointer |
LLVMGetGC(LLVMValueRef Fn)
Obtain the name of the garbage collector to use during code
generation.
|
static LLVMTypeRef |
LLVMGetGEPSourceElementType(LLVMValueRef GEP)
Get the source element type of the given GEP operator.
|
static LLVMContextRef |
LLVMGetGlobalContext()
Obtain the global context instance.
|
static LLVMValueRef |
LLVMGetGlobalIFuncResolver(LLVMValueRef IFunc)
Retrieves the resolver function associated with this indirect function, or
NULL if it doesn't not exist.
|
static LLVMModuleRef |
LLVMGetGlobalParent(LLVMValueRef Global)
\defgroup LLVMCCoreValueConstantGlobals Global Values
This group contains functions that operate on global values.
|
static long |
LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE,
BytePointer Name) |
static long |
LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE,
String Name) |
static void |
LLVMGetHandlers(LLVMValueRef CatchSwitch,
LLVMBasicBlockRef Handlers)
Obtain the basic blocks acting as handlers for a catchswitch instruction.
|
static void |
LLVMGetHandlers(LLVMValueRef CatchSwitch,
PointerPointer Handlers) |
static BytePointer |
LLVMGetHostCPUFeatures()
Get the host CPU's features as a string.
|
static BytePointer |
LLVMGetHostCPUName()
Get the host CPU as a string.
|
static int |
LLVMGetICmpPredicate(LLVMValueRef Inst)
Obtain the predicate of an instruction.
|
static LLVMBasicBlockRef |
LLVMGetIncomingBlock(LLVMValueRef PhiNode,
int Index)
Obtain an incoming value to a PHI node as an LLVMBasicBlockRef.
|
static LLVMValueRef |
LLVMGetIncomingValue(LLVMValueRef PhiNode,
int Index)
Obtain an incoming value to a PHI node as an LLVMValueRef.
|
static IntPointer |
LLVMGetIndices(LLVMValueRef Inst)
Obtain the indices as an array.
|
static LLVMValueRef |
LLVMGetInitializer(LLVMValueRef GlobalVar) |
static LLVMValueRef |
LLVMGetInlineAsm(LLVMTypeRef Ty,
byte[] AsmString,
long AsmStringSize,
byte[] Constraints,
long ConstraintsSize,
int HasSideEffects,
int IsAlignStack,
int Dialect,
int CanThrow) |
static LLVMValueRef |
LLVMGetInlineAsm(LLVMTypeRef Ty,
ByteBuffer AsmString,
long AsmStringSize,
ByteBuffer Constraints,
long ConstraintsSize,
int HasSideEffects,
int IsAlignStack,
int Dialect,
int CanThrow) |
static LLVMValueRef |
LLVMGetInlineAsm(LLVMTypeRef Ty,
BytePointer AsmString,
long AsmStringSize,
BytePointer Constraints,
long ConstraintsSize,
int HasSideEffects,
int IsAlignStack,
int Dialect,
int CanThrow)
Create the specified uniqued inline asm string.
|
static LLVMBasicBlockRef |
LLVMGetInsertBlock(LLVMBuilderRef Builder) |
static int |
LLVMGetInstructionCallConv(LLVMValueRef Instr)
Obtain the calling convention for a call instruction.
|
static int |
LLVMGetInstructionOpcode(LLVMValueRef Inst)
Obtain the code opcode for an individual instruction.
|
static LLVMBasicBlockRef |
LLVMGetInstructionParent(LLVMValueRef Inst)
Obtain the basic block to which an instruction belongs.
|
static LLVMValueRef |
LLVMGetIntrinsicDeclaration(LLVMModuleRef Mod,
int ID,
LLVMTypeRef ParamTypes,
long ParamCount)
Create or insert the declaration of an intrinsic.
|
static LLVMValueRef |
LLVMGetIntrinsicDeclaration(LLVMModuleRef Mod,
int ID,
PointerPointer ParamTypes,
long ParamCount) |
static int |
LLVMGetIntrinsicID(LLVMValueRef Fn)
Obtain the ID number from a function instance.
|
static int |
LLVMGetIntTypeWidth(LLVMTypeRef IntegerTy) |
static LLVMBasicBlockRef |
LLVMGetLastBasicBlock(LLVMValueRef Fn)
Obtain the last basic block in a function.
|
static int |
LLVMGetLastEnumAttributeKind() |
static LLVMValueRef |
LLVMGetLastFunction(LLVMModuleRef M)
Obtain an iterator to the last Function in a Module.
|
static LLVMValueRef |
LLVMGetLastGlobal(LLVMModuleRef M) |
static LLVMValueRef |
LLVMGetLastGlobalAlias(LLVMModuleRef M)
Obtain an iterator to the last GlobalAlias in a Module.
|
static LLVMValueRef |
LLVMGetLastGlobalIFunc(LLVMModuleRef M)
Obtain an iterator to the last GlobalIFunc in a Module.
|
static LLVMValueRef |
LLVMGetLastInstruction(LLVMBasicBlockRef BB)
Obtain the last instruction in a basic block.
|
static LLVMNamedMDNodeRef |
LLVMGetLastNamedMetadata(LLVMModuleRef M)
Obtain an iterator to the last NamedMDNode in a Module.
|
static LLVMValueRef |
LLVMGetLastParam(LLVMValueRef Fn)
Obtain the last parameter to a function.
|
static int |
LLVMGetLinkage(LLVMValueRef Global) |
static int |
LLVMGetMaskValue(LLVMValueRef ShuffleVectorInst,
int Elt)
Get the mask value at position Elt in the mask of a ShuffleVector
instruction.
|
static int |
LLVMGetMDKindID(BytePointer Name,
int SLen) |
static int |
LLVMGetMDKindID(String Name,
int SLen) |
static int |
LLVMGetMDKindIDInContext(LLVMContextRef C,
BytePointer Name,
int SLen) |
static int |
LLVMGetMDKindIDInContext(LLVMContextRef C,
String Name,
int SLen) |
static int |
LLVMGetMDNodeNumOperands(LLVMValueRef V)
Obtain the number of operands from an MDNode value.
|
static void |
LLVMGetMDNodeOperands(LLVMValueRef V,
LLVMValueRef Dest)
Obtain the given MDNode's operands.
|
static void |
LLVMGetMDNodeOperands(LLVMValueRef V,
PointerPointer Dest) |
static BytePointer |
LLVMGetMDString(LLVMValueRef V,
int[] Length) |
static String |
LLVMGetMDString(LLVMValueRef V,
IntBuffer Length) |
static BytePointer |
LLVMGetMDString(LLVMValueRef V,
IntPointer Length)
Obtain the underlying string from a MDString value.
|
static LLVMValueRef |
LLVMGetMetadata(LLVMValueRef Val,
int KindID)
Return metadata associated with an instruction value.
|
static int |
LLVMGetMetadataKind(LLVMMetadataRef Metadata)
Obtain the enumerated type of a Metadata instance.
|
static LLVMContextRef |
LLVMGetModuleContext(LLVMModuleRef M)
Obtain the context to which this module is associated.
|
static LLVMTargetDataRef |
LLVMGetModuleDataLayout(LLVMModuleRef M)
Obtain the data layout for a module.
|
static int |
LLVMGetModuleDebugMetadataVersion(LLVMModuleRef Module)
The version of debug metadata that's present in the provided \c Module.
|
static LLVMMetadataRef |
LLVMGetModuleFlag(LLVMModuleRef M,
BytePointer Key,
long KeyLen)
Add a module-level flag to the module-level flags metadata if it doesn't
already exist.
|
static LLVMMetadataRef |
LLVMGetModuleFlag(LLVMModuleRef M,
String Key,
long KeyLen) |
static BytePointer |
LLVMGetModuleIdentifier(LLVMModuleRef M,
SizeTPointer Len)
Obtain the identifier of a module.
|
static BytePointer |
LLVMGetModuleInlineAsm(LLVMModuleRef M,
SizeTPointer Len)
Get inline assembly for a module.
|
static LLVMValueRef |
LLVMGetNamedFunction(LLVMModuleRef M,
BytePointer Name)
Obtain a Function value from a Module by its name.
|
static LLVMValueRef |
LLVMGetNamedFunction(LLVMModuleRef M,
String Name) |
static LLVMValueRef |
LLVMGetNamedGlobal(LLVMModuleRef M,
BytePointer Name) |
static LLVMValueRef |
LLVMGetNamedGlobal(LLVMModuleRef M,
String Name) |
static LLVMValueRef |
LLVMGetNamedGlobalAlias(LLVMModuleRef M,
BytePointer Name,
long NameLen)
Obtain a GlobalAlias value from a Module by its name.
|
static LLVMValueRef |
LLVMGetNamedGlobalAlias(LLVMModuleRef M,
String Name,
long NameLen) |
static LLVMValueRef |
LLVMGetNamedGlobalIFunc(LLVMModuleRef M,
BytePointer Name,
long NameLen)
Obtain a GlobalIFunc value from a Module by its name.
|
static LLVMValueRef |
LLVMGetNamedGlobalIFunc(LLVMModuleRef M,
String Name,
long NameLen) |
static LLVMNamedMDNodeRef |
LLVMGetNamedMetadata(LLVMModuleRef M,
BytePointer Name,
long NameLen)
Retrieve a NamedMDNode with the given name, returning NULL if no such
node exists.
|
static LLVMNamedMDNodeRef |
LLVMGetNamedMetadata(LLVMModuleRef M,
String Name,
long NameLen) |
static BytePointer |
LLVMGetNamedMetadataName(LLVMNamedMDNodeRef NamedMD,
SizeTPointer NameLen)
Retrieve the name of a NamedMDNode.
|
static int |
LLVMGetNamedMetadataNumOperands(LLVMModuleRef M,
BytePointer Name)
Obtain the number of operands for named metadata in a module.
|
static int |
LLVMGetNamedMetadataNumOperands(LLVMModuleRef M,
String Name) |
static void |
LLVMGetNamedMetadataOperands(LLVMModuleRef M,
BytePointer Name,
LLVMValueRef Dest)
Obtain the named metadata operands for a module.
|
static void |
LLVMGetNamedMetadataOperands(LLVMModuleRef M,
String Name,
PointerPointer Dest) |
static LLVMBasicBlockRef |
LLVMGetNextBasicBlock(LLVMBasicBlockRef BB)
Advance a basic block iterator.
|
static LLVMValueRef |
LLVMGetNextFunction(LLVMValueRef Fn)
Advance a Function iterator to the next Function.
|
static LLVMValueRef |
LLVMGetNextGlobal(LLVMValueRef GlobalVar) |
static LLVMValueRef |
LLVMGetNextGlobalAlias(LLVMValueRef GA)
Advance a GlobalAlias iterator to the next GlobalAlias.
|
static LLVMValueRef |
LLVMGetNextGlobalIFunc(LLVMValueRef IFunc)
Advance a GlobalIFunc iterator to the next GlobalIFunc.
|
static LLVMValueRef |
LLVMGetNextInstruction(LLVMValueRef Inst)
Obtain the instruction that occurs after the one specified.
|
static LLVMNamedMDNodeRef |
LLVMGetNextNamedMetadata(LLVMNamedMDNodeRef NamedMDNode)
Advance a NamedMDNode iterator to the next NamedMDNode.
|
static LLVMValueRef |
LLVMGetNextParam(LLVMValueRef Arg)
Obtain the next parameter to a function.
|
static LLVMTargetRef |
LLVMGetNextTarget(LLVMTargetRef T)
Returns the next llvm::Target given a previous one (or null if there's none)
|
static LLVMUseRef |
LLVMGetNextUse(LLVMUseRef U)
Obtain the next use of a value.
|
static LLVMBasicBlockRef |
LLVMGetNormalDest(LLVMValueRef InvokeInst)
Return the normal destination basic block.
|
static int |
LLVMGetNSW(LLVMValueRef ArithInst) |
static int |
LLVMGetNumArgOperands(LLVMValueRef Instr)
Obtain the argument count for a call instruction.
|
static int |
LLVMGetNumClauses(LLVMValueRef LandingPad) |
static int |
LLVMGetNumContainedTypes(LLVMTypeRef Tp)
Return the number of types in the derived type.
|
static int |
LLVMGetNumHandlers(LLVMValueRef CatchSwitch) |
static int |
LLVMGetNumIndices(LLVMValueRef Inst)
Obtain the number of indices.
|
static int |
LLVMGetNumMaskElements(LLVMValueRef ShuffleVectorInst)
Get the number of elements in the mask of a ShuffleVector instruction.
|
static int |
LLVMGetNumOperands(LLVMValueRef Val)
Obtain the number of operands in a llvm::User value.
|
static int |
LLVMGetNumSuccessors(LLVMValueRef Term)
Return the number of successors that this terminator has.
|
static int |
LLVMGetNUW(LLVMValueRef ArithInst) |
static LLVMValueRef |
LLVMGetOperand(LLVMValueRef Val,
int Index)
Obtain an operand at a specific index in a llvm::User value.
|
static LLVMUseRef |
LLVMGetOperandUse(LLVMValueRef Val,
int Index)
Obtain the use of an operand at a specific index in a llvm::User value.
|
static int |
LLVMGetOrdering(LLVMValueRef MemoryAccessInst) |
static LLVMComdatRef |
LLVMGetOrInsertComdat(LLVMModuleRef M,
BytePointer Name)
Return the Comdat in the module with the specified name.
|
static LLVMComdatRef |
LLVMGetOrInsertComdat(LLVMModuleRef M,
String Name) |
static LLVMNamedMDNodeRef |
LLVMGetOrInsertNamedMetadata(LLVMModuleRef M,
BytePointer Name,
long NameLen)
Retrieve a NamedMDNode with the given name, creating a new node if no such
node exists.
|
static LLVMNamedMDNodeRef |
LLVMGetOrInsertNamedMetadata(LLVMModuleRef M,
String Name,
long NameLen) |
static LLVMValueRef |
LLVMGetParam(LLVMValueRef Fn,
int Index)
Obtain the parameter at the specified index.
|
static LLVMValueRef |
LLVMGetParamParent(LLVMValueRef Inst)
Obtain the function to which this argument belongs.
|
static void |
LLVMGetParams(LLVMValueRef Fn,
LLVMValueRef Params)
Obtain the parameters in a function.
|
static void |
LLVMGetParams(LLVMValueRef Fn,
PointerPointer Params) |
static void |
LLVMGetParamTypes(LLVMTypeRef FunctionTy,
LLVMTypeRef Dest)
Obtain the types of a function's parameters.
|
static void |
LLVMGetParamTypes(LLVMTypeRef FunctionTy,
PointerPointer Dest) |
static LLVMValueRef |
LLVMGetParentCatchSwitch(LLVMValueRef CatchPad)
Get the parent catchswitch instruction of a catchpad instruction.
|
static LLVMValueRef |
LLVMGetPersonalityFn(LLVMValueRef Fn)
Obtain the personality function attached to the function.
|
static int |
LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy)
Obtain the address space of a pointer type.
|
static Pointer |
LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE,
LLVMValueRef Global) |
static LLVMValueRef |
LLVMGetPoison(LLVMTypeRef Ty)
Obtain a constant value referring to a poison value of a type.
|
static LLVMBasicBlockRef |
LLVMGetPreviousBasicBlock(LLVMBasicBlockRef BB)
Go backwards in a basic block iterator.
|
static LLVMValueRef |
LLVMGetPreviousFunction(LLVMValueRef Fn)
Decrement a Function iterator to the previous Function.
|
static LLVMValueRef |
LLVMGetPreviousGlobal(LLVMValueRef GlobalVar) |
static LLVMValueRef |
LLVMGetPreviousGlobalAlias(LLVMValueRef GA)
Decrement a GlobalAlias iterator to the previous GlobalAlias.
|
static LLVMValueRef |
LLVMGetPreviousGlobalIFunc(LLVMValueRef IFunc)
Decrement a GlobalIFunc iterator to the previous GlobalIFunc.
|
static LLVMValueRef |
LLVMGetPreviousInstruction(LLVMValueRef Inst)
Obtain the instruction that occurred before this one.
|
static LLVMNamedMDNodeRef |
LLVMGetPreviousNamedMetadata(LLVMNamedMDNodeRef NamedMDNode)
Decrement a NamedMDNode iterator to the previous NamedMDNode.
|
static LLVMValueRef |
LLVMGetPreviousParam(LLVMValueRef Arg)
Obtain the previous parameter to a function.
|
static long |
LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI) |
static LLVMRelocationIteratorRef |
LLVMGetRelocations(LLVMSectionIteratorRef Section) |
static LLVMSymbolIteratorRef |
LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI) |
static long |
LLVMGetRelocationType(LLVMRelocationIteratorRef RI) |
static BytePointer |
LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI) |
static BytePointer |
LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI) |
static LLVMTypeRef |
LLVMGetReturnType(LLVMTypeRef FunctionTy)
Obtain the Type this function Type returns.
|
static BytePointer |
LLVMGetSection(LLVMValueRef Global) |
static long |
LLVMGetSectionAddress(LLVMSectionIteratorRef SI) |
static int |
LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI,
LLVMSymbolIteratorRef Sym) |
static BytePointer |
LLVMGetSectionContents(LLVMSectionIteratorRef SI) |
static BytePointer |
LLVMGetSectionName(LLVMSectionIteratorRef SI) |
static LLVMSectionIteratorRef |
LLVMGetSections(LLVMObjectFileRef ObjectFile)
Deprecated: Use LLVMObjectFileCopySectionIterator instead.
|
static long |
LLVMGetSectionSize(LLVMSectionIteratorRef SI) |
static BytePointer |
LLVMGetSourceFileName(LLVMModuleRef M,
SizeTPointer Len)
Obtain the module's original source file name.
|
static LLVMAttributeRef |
LLVMGetStringAttributeAtIndex(LLVMValueRef F,
int Idx,
BytePointer K,
int KLen) |
static LLVMAttributeRef |
LLVMGetStringAttributeAtIndex(LLVMValueRef F,
int Idx,
String K,
int KLen) |
static BytePointer |
LLVMGetStringAttributeKind(LLVMAttributeRef A,
int[] Length) |
static String |
LLVMGetStringAttributeKind(LLVMAttributeRef A,
IntBuffer Length) |
static BytePointer |
LLVMGetStringAttributeKind(LLVMAttributeRef A,
IntPointer Length)
Get the string attribute's kind.
|
static BytePointer |
LLVMGetStringAttributeValue(LLVMAttributeRef A,
int[] Length) |
static String |
LLVMGetStringAttributeValue(LLVMAttributeRef A,
IntBuffer Length) |
static BytePointer |
LLVMGetStringAttributeValue(LLVMAttributeRef A,
IntPointer Length)
Get the string attribute's value.
|
static LLVMErrorTypeId |
LLVMGetStringErrorTypeId()
Returns the type id for llvm StringError.
|
static void |
LLVMGetStructElementTypes(LLVMTypeRef StructTy,
LLVMTypeRef Dest)
Get the elements within a structure.
|
static void |
LLVMGetStructElementTypes(LLVMTypeRef StructTy,
PointerPointer Dest) |
static BytePointer |
LLVMGetStructName(LLVMTypeRef Ty)
Obtain the name of a structure.
|
static LLVMMetadataRef |
LLVMGetSubprogram(LLVMValueRef Func)
Get the metadata of the subprogram attached to a function.
|
static void |
LLVMGetSubtypes(LLVMTypeRef Tp,
LLVMTypeRef Arr)
Returns type's subtypes
|
static void |
LLVMGetSubtypes(LLVMTypeRef Tp,
PointerPointer Arr) |
static LLVMBasicBlockRef |
LLVMGetSuccessor(LLVMValueRef Term,
int i)
Return the specified successor.
|
static LLVMBasicBlockRef |
LLVMGetSwitchDefaultDest(LLVMValueRef SwitchInstr)
Obtain the default destination basic block of a switch instruction.
|
static long |
LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI) |
static BytePointer |
LLVMGetSymbolName(LLVMSymbolIteratorRef SI) |
static LLVMSymbolIteratorRef |
LLVMGetSymbols(LLVMObjectFileRef ObjectFile)
Deprecated: Use LLVMObjectFileCopySymbolIterator instead.
|
static long |
LLVMGetSymbolSize(LLVMSymbolIteratorRef SI) |
static BytePointer |
LLVMGetTarget(LLVMModuleRef M)
Obtain the target triple for a module.
|
static BytePointer |
LLVMGetTargetDescription(LLVMTargetRef T)
Returns the description of a target.
|
static LLVMTargetRef |
LLVMGetTargetFromName(BytePointer Name)
Finds the target corresponding to the given name and stores it in \p T.
|
static LLVMTargetRef |
LLVMGetTargetFromName(String Name) |
static int |
LLVMGetTargetFromTriple(BytePointer Triple,
LLVMTargetRef T,
byte[] ErrorMessage) |
static int |
LLVMGetTargetFromTriple(BytePointer Triple,
LLVMTargetRef T,
ByteBuffer ErrorMessage) |
static int |
LLVMGetTargetFromTriple(BytePointer Triple,
LLVMTargetRef T,
BytePointer ErrorMessage) |
static int |
LLVMGetTargetFromTriple(BytePointer Triple,
LLVMTargetRef T,
PointerPointer ErrorMessage)
Finds the target corresponding to the given triple and stores it in \p T.
|
static int |
LLVMGetTargetFromTriple(String Triple,
PointerPointer T,
byte[] ErrorMessage) |
static int |
LLVMGetTargetFromTriple(String Triple,
PointerPointer T,
ByteBuffer ErrorMessage) |
static int |
LLVMGetTargetFromTriple(String Triple,
PointerPointer T,
BytePointer ErrorMessage) |
static BytePointer |
LLVMGetTargetMachineCPU(LLVMTargetMachineRef T)
Returns the cpu used creating this target machine.
|
static BytePointer |
LLVMGetTargetMachineFeatureString(LLVMTargetMachineRef T)
Returns the feature string used creating this target machine.
|
static LLVMTargetRef |
LLVMGetTargetMachineTarget(LLVMTargetMachineRef T)
Returns the Target used in a TargetMachine
|
static BytePointer |
LLVMGetTargetMachineTriple(LLVMTargetMachineRef T)
Returns the triple used creating this target machine.
|
static BytePointer |
LLVMGetTargetName(LLVMTargetRef T)
Returns the name of a target.
|
static int |
LLVMGetThreadLocalMode(LLVMValueRef GlobalVar) |
static LLVMTypeRef |
LLVMGetTypeAttributeValue(LLVMAttributeRef A)
Get the type attribute's value.
|
static LLVMTypeRef |
LLVMGetTypeByName(LLVMModuleRef M,
BytePointer Name)
Deprecated: Use LLVMGetTypeByName2 instead.
|
static LLVMTypeRef |
LLVMGetTypeByName(LLVMModuleRef M,
String Name) |
static LLVMTypeRef |
LLVMGetTypeByName2(LLVMContextRef C,
BytePointer Name)
Obtain a Type from a context by its registered name.
|
static LLVMTypeRef |
LLVMGetTypeByName2(LLVMContextRef C,
String Name) |
static LLVMContextRef |
LLVMGetTypeContext(LLVMTypeRef Ty)
Obtain the context to which this type instance is associated.
|
static int |
LLVMGetTypeKind(LLVMTypeRef Ty)
Obtain the enumerated type of a Type instance.
|
static LLVMValueRef |
LLVMGetUndef(LLVMTypeRef Ty)
Obtain a constant value referring to an undefined value of a type.
|
static int |
LLVMGetUndefMaskElem() |
static int |
LLVMGetUnnamedAddress(LLVMValueRef Global) |
static LLVMBasicBlockRef |
LLVMGetUnwindDest(LLVMValueRef InvokeInst)
Return the unwind destination basic block.
|
static LLVMValueRef |
LLVMGetUsedValue(LLVMUseRef U)
Obtain the value this use corresponds to.
|
static LLVMValueRef |
LLVMGetUser(LLVMUseRef U)
Obtain the user value for a user.
|
static int |
LLVMGetValueKind(LLVMValueRef Val)
Obtain the enumerated type of a Value instance.
|
static BytePointer |
LLVMGetValueName(LLVMValueRef Val)
Deprecated: Use LLVMGetValueName2 instead.
|
static BytePointer |
LLVMGetValueName2(LLVMValueRef Val,
SizeTPointer Length)
Obtain the string name of a value.
|
static int |
LLVMGetVectorSize(LLVMTypeRef VectorTy)
Obtain the (possibly scalable) number of elements in a vector type.
|
static void |
LLVMGetVersion(int[] Major,
int[] Minor,
int[] Patch) |
static void |
LLVMGetVersion(IntBuffer Major,
IntBuffer Minor,
IntBuffer Patch) |
static void |
LLVMGetVersion(IntPointer Major,
IntPointer Minor,
IntPointer Patch)
Return the major, minor, and patch version of LLVM
The version components are returned via the function's three output
parameters or skipped if a NULL pointer was supplied.
|
static int |
LLVMGetVisibility(LLVMValueRef Global) |
static int |
LLVMGetVolatile(LLVMValueRef MemoryAccessInst) |
static int |
LLVMGetWeak(LLVMValueRef CmpXchgInst) |
static void |
LLVMGlobalClearMetadata(LLVMValueRef Global)
Removes all metadata attachments from this value.
|
static LLVMValueMetadataEntry |
LLVMGlobalCopyAllMetadata(LLVMValueRef Value,
SizeTPointer NumEntries)
Retrieves an array of metadata entries representing the metadata attached to
this value.
|
static void |
LLVMGlobalEraseMetadata(LLVMValueRef Global,
int Kind)
Erases a metadata attachment of the given kind if it exists.
|
static LLVMTypeRef |
LLVMGlobalGetValueType(LLVMValueRef Global)
Returns the "value type" of a global value.
|
static void |
LLVMGlobalSetMetadata(LLVMValueRef Global,
int Kind,
LLVMMetadataRef MD)
Sets a metadata attachment, erasing the existing metadata attachment if
it already exists for the given kind.
|
static LLVMTypeRef |
LLVMHalfType()
Obtain a floating point type from the global context.
|
static LLVMTypeRef |
LLVMHalfTypeInContext(LLVMContextRef C)
Obtain a 16-bit floating point type from a context.
|
static int |
LLVMHasMetadata(LLVMValueRef Val)
Determine whether an instruction has any metadata attached.
|
static int |
LLVMHasPersonalityFn(LLVMValueRef Fn)
Check whether the given function has a personality function.
|
static int |
LLVMHasUnnamedAddr(LLVMValueRef Global)
Deprecated: Use LLVMGetUnnamedAddress instead.
|
static void |
LLVMInitializeAArch64AsmParser() |
static void |
LLVMInitializeAArch64AsmPrinter() |
static void |
LLVMInitializeAArch64Disassembler() |
static void |
LLVMInitializeAArch64Target() |
static void |
LLVMInitializeAArch64TargetInfo()
Stubs for all LLVM Target initialization routines
See #935 https://github.com/bytedeco/javacpp-presets/issues/935
|
static void |
LLVMInitializeAArch64TargetMC() |
static void |
LLVMInitializeAllAsmParsers()
LLVMInitializeAllAsmParsers - The main program should call this function if
it wants all asm parsers that LLVM is configured to support, to make them
available via the TargetRegistry.
|
static void |
LLVMInitializeAllAsmPrinters()
LLVMInitializeAllAsmPrinters - The main program should call this function if
it wants all asm printers that LLVM is configured to support, to make them
available via the TargetRegistry.
|
static void |
LLVMInitializeAllDisassemblers()
LLVMInitializeAllDisassemblers - The main program should call this function
if it wants all disassemblers that LLVM is configured to support, to make
them available via the TargetRegistry.
|
static void |
LLVMInitializeAllTargetInfos()
LLVMInitializeAllTargetInfos - The main program should call this function if
it wants access to all available targets that LLVM is configured to
support.
|
static void |
LLVMInitializeAllTargetMCs()
LLVMInitializeAllTargetMCs - The main program should call this function if
it wants access to all available target MC that LLVM is configured to
support.
|
static void |
LLVMInitializeAllTargets()
LLVMInitializeAllTargets - The main program should call this function if it
wants to link in all available targets that LLVM is configured to
support.
|
static void |
LLVMInitializeAMDGPUAsmParser() |
static void |
LLVMInitializeAMDGPUAsmPrinter() |
static void |
LLVMInitializeAMDGPUDisassembler() |
static void |
LLVMInitializeAMDGPUTarget() |
static void |
LLVMInitializeAMDGPUTargetInfo() |
static void |
LLVMInitializeAMDGPUTargetMC() |
static void |
LLVMInitializeARMAsmParser() |
static void |
LLVMInitializeARMAsmPrinter() |
static void |
LLVMInitializeARMDisassembler() |
static void |
LLVMInitializeARMTarget() |
static void |
LLVMInitializeARMTargetInfo() |
static void |
LLVMInitializeARMTargetMC() |
static void |
LLVMInitializeAVRAsmParser() |
static void |
LLVMInitializeAVRAsmPrinter() |
static void |
LLVMInitializeAVRDisassembler() |
static void |
LLVMInitializeAVRTarget() |
static void |
LLVMInitializeAVRTargetInfo() |
static void |
LLVMInitializeAVRTargetMC() |
static void |
LLVMInitializeBPFAsmParser() |
static void |
LLVMInitializeBPFAsmPrinter() |
static void |
LLVMInitializeBPFDisassembler() |
static void |
LLVMInitializeBPFTarget() |
static void |
LLVMInitializeBPFTargetInfo() |
static void |
LLVMInitializeBPFTargetMC() |
static int |
LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM)
Initializes all of the function passes scheduled in the function pass
manager.
|
static void |
LLVMInitializeHexagonAsmParser() |
static void |
LLVMInitializeHexagonAsmPrinter() |
static void |
LLVMInitializeHexagonDisassembler() |
static void |
LLVMInitializeHexagonTarget() |
static void |
LLVMInitializeHexagonTargetInfo() |
static void |
LLVMInitializeHexagonTargetMC() |
static void |
LLVMInitializeLanaiAsmParser() |
static void |
LLVMInitializeLanaiAsmPrinter() |
static void |
LLVMInitializeLanaiDisassembler() |
static void |
LLVMInitializeLanaiTarget() |
static void |
LLVMInitializeLanaiTargetInfo() |
static void |
LLVMInitializeLanaiTargetMC() |
static void |
LLVMInitializeMCJITCompilerOptions(LLVMMCJITCompilerOptions Options,
long SizeOfOptions) |
static void |
LLVMInitializeMipsAsmParser() |
static void |
LLVMInitializeMipsAsmPrinter() |
static void |
LLVMInitializeMipsDisassembler() |
static void |
LLVMInitializeMipsTarget() |
static void |
LLVMInitializeMipsTargetInfo() |
static void |
LLVMInitializeMipsTargetMC() |
static void |
LLVMInitializeMSP430AsmParser() |
static void |
LLVMInitializeMSP430AsmPrinter() |
static void |
LLVMInitializeMSP430Disassembler() |
static void |
LLVMInitializeMSP430Target() |
static void |
LLVMInitializeMSP430TargetInfo() |
static void |
LLVMInitializeMSP430TargetMC() |
static int |
LLVMInitializeNativeAsmParser()
LLVMInitializeNativeTargetAsmParser - The main program should call this
function to initialize the parser for the native target corresponding to the
host.
|
static int |
LLVMInitializeNativeAsmPrinter()
LLVMInitializeNativeTargetAsmPrinter - The main program should call this
function to initialize the printer for the native target corresponding to
the host.
|
static int |
LLVMInitializeNativeDisassembler()
LLVMInitializeNativeTargetDisassembler - The main program should call this
function to initialize the disassembler for the native target corresponding
to the host.
|
static int |
LLVMInitializeNativeTarget()
LLVMInitializeNativeTarget - The main program should call this function to
initialize the native target corresponding to the host.
|
static void |
LLVMInitializeNVPTXAsmPrinter() |
static void |
LLVMInitializeNVPTXTarget() |
static void |
LLVMInitializeNVPTXTargetInfo() |
static void |
LLVMInitializeNVPTXTargetMC() |
static void |
LLVMInitializePowerPCAsmParser() |
static void |
LLVMInitializePowerPCAsmPrinter() |
static void |
LLVMInitializePowerPCDisassembler() |
static void |
LLVMInitializePowerPCTarget() |
static void |
LLVMInitializePowerPCTargetInfo() |
static void |
LLVMInitializePowerPCTargetMC() |
static void |
LLVMInitializeRISCVAsmParser() |
static void |
LLVMInitializeRISCVAsmPrinter() |
static void |
LLVMInitializeRISCVDisassembler() |
static void |
LLVMInitializeRISCVTarget() |
static void |
LLVMInitializeRISCVTargetInfo() |
static void |
LLVMInitializeRISCVTargetMC() |
static void |
LLVMInitializeSparcAsmParser() |
static void |
LLVMInitializeSparcAsmPrinter() |
static void |
LLVMInitializeSparcDisassembler() |
static void |
LLVMInitializeSparcTarget() |
static void |
LLVMInitializeSparcTargetInfo() |
static void |
LLVMInitializeSparcTargetMC() |
static void |
LLVMInitializeSystemZAsmParser() |
static void |
LLVMInitializeSystemZAsmPrinter() |
static void |
LLVMInitializeSystemZDisassembler() |
static void |
LLVMInitializeSystemZTarget() |
static void |
LLVMInitializeSystemZTargetInfo() |
static void |
LLVMInitializeSystemZTargetMC() |
static void |
LLVMInitializeWebAssemblyAsmParser() |
static void |
LLVMInitializeWebAssemblyAsmPrinter() |
static void |
LLVMInitializeWebAssemblyDisassembler() |
static void |
LLVMInitializeWebAssemblyTarget() |
static void |
LLVMInitializeWebAssemblyTargetInfo() |
static void |
LLVMInitializeWebAssemblyTargetMC() |
static void |
LLVMInitializeX86AsmParser() |
static void |
LLVMInitializeX86AsmPrinter() |
static void |
LLVMInitializeX86Disassembler() |
static void |
LLVMInitializeX86Target() |
static void |
LLVMInitializeX86TargetInfo() |
static void |
LLVMInitializeX86TargetMC() |
static void |
LLVMInitializeXCoreAsmPrinter() |
static void |
LLVMInitializeXCoreDisassembler() |
static void |
LLVMInitializeXCoreTarget() |
static void |
LLVMInitializeXCoreTargetInfo() |
static void |
LLVMInitializeXCoreTargetMC() |
static LLVMBasicBlockRef |
LLVMInsertBasicBlock(LLVMBasicBlockRef InsertBeforeBB,
BytePointer Name)
Insert a basic block in a function using the global context.
|
static LLVMBasicBlockRef |
LLVMInsertBasicBlock(LLVMBasicBlockRef InsertBeforeBB,
String Name) |
static LLVMBasicBlockRef |
LLVMInsertBasicBlockInContext(LLVMContextRef C,
LLVMBasicBlockRef BB,
BytePointer Name)
Insert a basic block in a function before another basic block.
|
static LLVMBasicBlockRef |
LLVMInsertBasicBlockInContext(LLVMContextRef C,
LLVMBasicBlockRef BB,
String Name) |
static void |
LLVMInsertExistingBasicBlockAfterInsertBlock(LLVMBuilderRef Builder,
LLVMBasicBlockRef BB)
Insert the given basic block after the insertion point of the given builder.
|
static void |
LLVMInsertIntoBuilder(LLVMBuilderRef Builder,
LLVMValueRef Instr) |
static void |
LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder,
LLVMValueRef Instr,
BytePointer Name) |
static void |
LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder,
LLVMValueRef Instr,
String Name) |
static void |
LLVMInstallFatalErrorHandler(LLVMFatalErrorHandler Handler)
Install a fatal error handler.
|
static LLVMValueRef |
LLVMInstructionClone(LLVMValueRef Inst)
Create a copy of 'this' instruction that is identical in all ways
except the following:
* The instruction has no parent
* The instruction has no name
|
static void |
LLVMInstructionEraseFromParent(LLVMValueRef Inst)
Remove and delete an instruction.
|
static LLVMValueMetadataEntry |
LLVMInstructionGetAllMetadataOtherThanDebugLoc(LLVMValueRef Instr,
SizeTPointer NumEntries)
Returns the metadata associated with an instruction value, but filters out
all the debug locations.
|
static LLVMMetadataRef |
LLVMInstructionGetDebugLoc(LLVMValueRef Inst)
Get the debug location for the given instruction.
|
static void |
LLVMInstructionRemoveFromParent(LLVMValueRef Inst)
Remove an instruction.
|
static void |
LLVMInstructionSetDebugLoc(LLVMValueRef Inst,
LLVMMetadataRef Loc)
Set the debug location for the given instruction.
|
static LLVMTypeRef |
LLVMInt128Type() |
static LLVMTypeRef |
LLVMInt128TypeInContext(LLVMContextRef C) |
static LLVMTypeRef |
LLVMInt16Type() |
static LLVMTypeRef |
LLVMInt16TypeInContext(LLVMContextRef C) |
static LLVMTypeRef |
LLVMInt1Type()
Obtain an integer type from the global context with a specified bit
width.
|
static LLVMTypeRef |
LLVMInt1TypeInContext(LLVMContextRef C)
Obtain an integer type from a context with specified bit width.
|
static LLVMTypeRef |
LLVMInt32Type() |
static LLVMTypeRef |
LLVMInt32TypeInContext(LLVMContextRef C) |
static LLVMTypeRef |
LLVMInt64Type() |
static LLVMTypeRef |
LLVMInt64TypeInContext(LLVMContextRef C) |
static LLVMTypeRef |
LLVMInt8Type() |
static LLVMTypeRef |
LLVMInt8TypeInContext(LLVMContextRef C) |
static LLVMTypeRef |
LLVMIntPtrType(LLVMTargetDataRef TD)
Returns the integer type that is the same size as a pointer on a target.
|
static LLVMTypeRef |
LLVMIntPtrTypeForAS(LLVMTargetDataRef TD,
int AS)
Returns the integer type that is the same size as a pointer on a target.
|
static LLVMTypeRef |
LLVMIntPtrTypeForASInContext(LLVMContextRef C,
LLVMTargetDataRef TD,
int AS)
Returns the integer type that is the same size as a pointer on a target.
|
static LLVMTypeRef |
LLVMIntPtrTypeInContext(LLVMContextRef C,
LLVMTargetDataRef TD)
Returns the integer type that is the same size as a pointer on a target.
|
static BytePointer |
LLVMIntrinsicCopyOverloadedName(int ID,
LLVMTypeRef ParamTypes,
long ParamCount,
SizeTPointer NameLength)
Deprecated: Use LLVMIntrinsicCopyOverloadedName2 instead.
|
static String |
LLVMIntrinsicCopyOverloadedName(int ID,
PointerPointer ParamTypes,
long ParamCount,
SizeTPointer NameLength) |
static BytePointer |
LLVMIntrinsicCopyOverloadedName2(LLVMModuleRef Mod,
int ID,
LLVMTypeRef ParamTypes,
long ParamCount,
SizeTPointer NameLength)
Copies the name of an overloaded intrinsic identified by a given list of
parameter types.
|
static String |
LLVMIntrinsicCopyOverloadedName2(LLVMModuleRef Mod,
int ID,
PointerPointer ParamTypes,
long ParamCount,
SizeTPointer NameLength) |
static BytePointer |
LLVMIntrinsicGetName(int ID,
SizeTPointer NameLength)
Retrieves the name of an intrinsic.
|
static LLVMTypeRef |
LLVMIntrinsicGetType(LLVMContextRef Ctx,
int ID,
LLVMTypeRef ParamTypes,
long ParamCount)
Retrieves the type of an intrinsic.
|
static LLVMTypeRef |
LLVMIntrinsicGetType(LLVMContextRef Ctx,
int ID,
PointerPointer ParamTypes,
long ParamCount) |
static int |
LLVMIntrinsicIsOverloaded(int ID)
Obtain if the intrinsic identified by the given ID is overloaded.
|
static LLVMTypeRef |
LLVMIntType(int NumBits) |
static LLVMTypeRef |
LLVMIntTypeInContext(LLVMContextRef C,
int NumBits) |
static LLVMValueRef |
LLVMIsAAddrSpaceCastInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAAllocaInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAArgument(LLVMValueRef Val)
Convert value instances between types.
|
static LLVMValueRef |
LLVMIsAAtomicCmpXchgInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAAtomicRMWInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsABasicBlock(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsABinaryOperator(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsABitCastInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsABlockAddress(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsABranchInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsACallBrInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsACallInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsACastInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsACatchPadInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsACatchReturnInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsACatchSwitchInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsACleanupPadInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsACleanupReturnInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsACmpInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstant(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantAggregateZero(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantArray(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantDataArray(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantDataSequential(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantDataVector(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantExpr(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantFP(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantInt(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantPointerNull(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantStruct(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantTokenNone(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAConstantVector(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsADbgDeclareInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsADbgInfoIntrinsic(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsADbgLabelInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsADbgVariableIntrinsic(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAExtractElementInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAExtractValueInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAFCmpInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAFenceInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAFPExtInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAFPToSIInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAFPToUIInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAFPTruncInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAFreezeInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAFuncletPadInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAFunction(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAGetElementPtrInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAGlobalAlias(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAGlobalIFunc(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAGlobalObject(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAGlobalValue(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAGlobalVariable(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAICmpInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAIndirectBrInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAInlineAsm(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAInsertElementInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAInsertValueInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAInstruction(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAIntrinsicInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAIntToPtrInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAInvokeInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsALandingPadInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsALoadInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAMDNode(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAMDString(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAMemCpyInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAMemIntrinsic(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAMemMoveInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAMemSetInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAPHINode(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAPoisonValue(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAPtrToIntInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAResumeInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAReturnInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsASelectInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsASExtInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAShuffleVectorInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsASIToFPInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAStoreInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsASwitchInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsATerminatorInst(LLVMValueRef Inst)
Determine whether an instruction is a terminator.
|
static int |
LLVMIsAtomicSingleThread(LLVMValueRef AtomicInst) |
static LLVMValueRef |
LLVMIsATruncInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAUIToFPInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAUnaryInstruction(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAUnaryOperator(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAUndefValue(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAUnreachableInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAUser(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAVAArgInst(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAValueAsMetadata(LLVMValueRef Val) |
static LLVMValueRef |
LLVMIsAZExtInst(LLVMValueRef Val) |
static int |
LLVMIsCleanup(LLVMValueRef LandingPad) |
static int |
LLVMIsConditional(LLVMValueRef Branch)
Return if a branch is conditional.
|
static int |
LLVMIsConstant(LLVMValueRef Val)
Determine whether the specified value instance is constant.
|
static int |
LLVMIsConstantString(LLVMValueRef c)
Returns true if the specified constant is an array of i8.
|
static int |
LLVMIsDeclaration(LLVMValueRef Global) |
static int |
LLVMIsEnumAttribute(LLVMAttributeRef A)
Check for the different types of attributes.
|
static int |
LLVMIsExternallyInitialized(LLVMValueRef GlobalVar) |
static int |
LLVMIsFunctionVarArg(LLVMTypeRef FunctionTy)
Returns whether a function type is variadic.
|
static int |
LLVMIsGlobalConstant(LLVMValueRef GlobalVar) |
static int |
LLVMIsInBounds(LLVMValueRef GEP)
Check whether the given GEP operator is inbounds.
|
static int |
LLVMIsLiteralStruct(LLVMTypeRef StructTy)
Determine whether a structure is literal.
|
static int |
LLVMIsMultithreaded()
Check whether LLVM is executing in thread-safe mode or not.
|
static int |
LLVMIsNull(LLVMValueRef Val)
Determine whether a value instance is null.
|
static int |
LLVMIsOpaqueStruct(LLVMTypeRef StructTy)
Determine whether a structure is opaque.
|
static int |
LLVMIsPackedStruct(LLVMTypeRef StructTy)
Determine whether a structure is packed.
|
static int |
LLVMIsPoison(LLVMValueRef Val)
Determine whether a value instance is poisonous.
|
static int |
LLVMIsRelocationIteratorAtEnd(LLVMSectionIteratorRef Section,
LLVMRelocationIteratorRef RI) |
static int |
LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile,
LLVMSectionIteratorRef SI)
Deprecated: Use LLVMObjectFileIsSectionIteratorAtEnd instead.
|
static int |
LLVMIsStringAttribute(LLVMAttributeRef A) |
static int |
LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile,
LLVMSymbolIteratorRef SI)
Deprecated: Use LLVMObjectFileIsSymbolIteratorAtEnd instead.
|
static int |
LLVMIsTailCall(LLVMValueRef CallInst)
Obtain whether a call instruction is a tail call.
|
static int |
LLVMIsThreadLocal(LLVMValueRef GlobalVar) |
static int |
LLVMIsTypeAttribute(LLVMAttributeRef A) |
static int |
LLVMIsUndef(LLVMValueRef Val)
Determine whether a value instance is undefined.
|
static LLVMTypeRef |
LLVMLabelType() |
static LLVMTypeRef |
LLVMLabelTypeInContext(LLVMContextRef C)
Create a label type in a context.
|
static void |
LLVMLinkInInterpreter() |
static void |
LLVMLinkInMCJIT()
\defgroup LLVMCExecutionEngine Execution Engine
\ingroup LLVMC
\{
|
static int |
LLVMLinkModules2(LLVMModuleRef Dest,
LLVMModuleRef Src) |
static int |
LLVMLoadLibraryPermanently(BytePointer Filename)
This function permanently loads the dynamic library at the given path.
|
static int |
LLVMLoadLibraryPermanently(String Filename) |
static int |
LLVMLookupIntrinsicID(BytePointer Name,
long NameLen)
Obtain the intrinsic ID number which matches the given function name.
|
static int |
LLVMLookupIntrinsicID(String Name,
long NameLen) |
static LLVMBinaryRef |
LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR,
BytePointer Arch,
long ArchLen,
byte[] ErrorMessage) |
static LLVMBinaryRef |
LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR,
BytePointer Arch,
long ArchLen,
ByteBuffer ErrorMessage) |
static LLVMBinaryRef |
LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR,
BytePointer Arch,
long ArchLen,
BytePointer ErrorMessage) |
static LLVMBinaryRef |
LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR,
BytePointer Arch,
long ArchLen,
PointerPointer ErrorMessage) |
static LLVMBinaryRef |
LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR,
String Arch,
long ArchLen,
byte[] ErrorMessage) |
static LLVMBinaryRef |
LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR,
String Arch,
long ArchLen,
ByteBuffer ErrorMessage) |
static LLVMBinaryRef |
LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR,
String Arch,
long ArchLen,
BytePointer ErrorMessage) |
static LLVMValueRef |
LLVMMDNode(LLVMValueRef Vals,
int Count)
Deprecated: Use LLVMMDNodeInContext2 instead.
|
static LLVMValueRef |
LLVMMDNode(PointerPointer Vals,
int Count) |
static LLVMValueRef |
LLVMMDNodeInContext(LLVMContextRef C,
LLVMValueRef Vals,
int Count)
Deprecated: Use LLVMMDNodeInContext2 instead.
|
static LLVMValueRef |
LLVMMDNodeInContext(LLVMContextRef C,
PointerPointer Vals,
int Count) |
static LLVMMetadataRef |
LLVMMDNodeInContext2(LLVMContextRef C,
LLVMMetadataRef MDs,
long Count)
Create an MDNode value with the given array of operands.
|
static LLVMMetadataRef |
LLVMMDNodeInContext2(LLVMContextRef C,
PointerPointer MDs,
long Count) |
static LLVMValueRef |
LLVMMDString(BytePointer Str,
int SLen)
Deprecated: Use LLVMMDStringInContext2 instead.
|
static LLVMValueRef |
LLVMMDString(String Str,
int SLen) |
static LLVMValueRef |
LLVMMDStringInContext(LLVMContextRef C,
BytePointer Str,
int SLen)
Deprecated: Use LLVMMDStringInContext2 instead.
|
static LLVMValueRef |
LLVMMDStringInContext(LLVMContextRef C,
String Str,
int SLen) |
static LLVMMetadataRef |
LLVMMDStringInContext2(LLVMContextRef C,
BytePointer Str,
long SLen)
Create an MDString value from a given string value.
|
static LLVMMetadataRef |
LLVMMDStringInContext2(LLVMContextRef C,
String Str,
long SLen) |
static LLVMValueRef |
LLVMMetadataAsValue(LLVMContextRef C,
LLVMMetadataRef MD)
Obtain a Metadata as a Value.
|
static void |
LLVMMetadataReplaceAllUsesWith(LLVMMetadataRef TempTargetMetadata,
LLVMMetadataRef Replacement)
Replace all uses of temporary metadata.
|
static LLVMTypeRef |
LLVMMetadataTypeInContext(LLVMContextRef C)
Create a metadata type in a context.
|
static LLVMModuleRef |
LLVMModuleCreateWithName(BytePointer ModuleID)
Create a new, empty module in the global context.
|
static LLVMModuleRef |
LLVMModuleCreateWithName(String ModuleID) |
static LLVMModuleRef |
LLVMModuleCreateWithNameInContext(BytePointer ModuleID,
LLVMContextRef C)
Create a new, empty module in a specific context.
|
static LLVMModuleRef |
LLVMModuleCreateWithNameInContext(String ModuleID,
LLVMContextRef C) |
static int |
LLVMModuleFlagEntriesGetFlagBehavior(LLVMModuleFlagEntry Entries,
int Index)
Returns the flag behavior for a module flag entry at a specific index.
|
static BytePointer |
LLVMModuleFlagEntriesGetKey(LLVMModuleFlagEntry Entries,
int Index,
SizeTPointer Len)
Returns the key for a module flag entry at a specific index.
|
static LLVMMetadataRef |
LLVMModuleFlagEntriesGetMetadata(LLVMModuleFlagEntry Entries,
int Index)
Returns the metadata for a module flag entry at a specific index.
|
static void |
LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB,
LLVMBasicBlockRef MovePos)
Move a basic block to after another one.
|
static void |
LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB,
LLVMBasicBlockRef MovePos)
Move a basic block to before another one.
|
static void |
LLVMMoveToContainingSection(LLVMSectionIteratorRef Sect,
LLVMSymbolIteratorRef Sym) |
static void |
LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI) |
static void |
LLVMMoveToNextSection(LLVMSectionIteratorRef SI) |
static void |
LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI) |
static BytePointer |
LLVMNormalizeTargetTriple(BytePointer triple)
Normalize a target triple.
|
static ByteBuffer |
LLVMNormalizeTargetTriple(String triple) |
static LLVMSectionIteratorRef |
LLVMObjectFileCopySectionIterator(LLVMBinaryRef BR)
Retrieve a copy of the section iterator for this object file.
|
static LLVMSymbolIteratorRef |
LLVMObjectFileCopySymbolIterator(LLVMBinaryRef BR)
Retrieve a copy of the symbol iterator for this object file.
|
static int |
LLVMObjectFileIsSectionIteratorAtEnd(LLVMBinaryRef BR,
LLVMSectionIteratorRef SI)
Returns whether the given section iterator is at the end.
|
static int |
LLVMObjectFileIsSymbolIteratorAtEnd(LLVMBinaryRef BR,
LLVMSymbolIteratorRef SI)
Returns whether the given symbol iterator is at the end.
|
static long |
LLVMOffsetOfElement(LLVMTargetDataRef TD,
LLVMTypeRef StructTy,
int Element)
Computes the byte offset of the indexed struct element for a target.
|
static LLVMOrcMaterializationUnitRef |
LLVMOrcAbsoluteSymbols(LLVMOrcCSymbolMapPair Syms,
long NumPairs)
Create a MaterializationUnit to define the given symbols as pointing to
the corresponding raw addresses.
|
static LLVMOrcDefinitionGeneratorRef |
LLVMOrcCreateCustomCAPIDefinitionGenerator(LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction F,
Pointer Ctx,
LLVMOrcDisposeCAPIDefinitionGeneratorFunction Dispose)
Create a custom generator.
|
static LLVMOrcMaterializationUnitRef |
LLVMOrcCreateCustomMaterializationUnit(BytePointer Name,
Pointer Ctx,
LLVMOrcCSymbolFlagsMapPair Syms,
long NumSyms,
LLVMOrcSymbolStringPoolEntryRef InitSym,
LLVMOrcMaterializationUnitMaterializeFunction Materialize,
LLVMOrcMaterializationUnitDiscardFunction Discard,
LLVMOrcMaterializationUnitDestroyFunction Destroy)
Create a custom MaterializationUnit.
|
static LLVMOrcMaterializationUnitRef |
LLVMOrcCreateCustomMaterializationUnit(String Name,
Pointer Ctx,
LLVMOrcCSymbolFlagsMapPair Syms,
long NumSyms,
LLVMOrcSymbolStringPoolEntryRef InitSym,
LLVMOrcMaterializationUnitMaterializeFunction Materialize,
LLVMOrcMaterializationUnitDiscardFunction Discard,
LLVMOrcMaterializationUnitDestroyFunction Destroy) |
static LLVMOrcDumpObjectsRef |
LLVMOrcCreateDumpObjects(BytePointer DumpDir,
BytePointer IdentifierOverride)
Create a DumpObjects instance.
|
static LLVMOrcDumpObjectsRef |
LLVMOrcCreateDumpObjects(String DumpDir,
String IdentifierOverride) |
static LLVMErrorRef |
LLVMOrcCreateDynamicLibrarySearchGeneratorForPath(LLVMOrcDefinitionGeneratorRef Result,
BytePointer FileName,
byte GlobalPrefix,
LLVMOrcSymbolPredicate Filter,
Pointer FilterCtx)
Get a LLVMOrcCreateDynamicLibararySearchGeneratorForPath that will reflect
library symbols into the JITDylib.
|
static LLVMErrorRef |
LLVMOrcCreateDynamicLibrarySearchGeneratorForPath(PointerPointer Result,
String FileName,
byte GlobalPrefix,
LLVMOrcSymbolPredicate Filter,
Pointer FilterCtx) |
static LLVMErrorRef |
LLVMOrcCreateDynamicLibrarySearchGeneratorForProcess(LLVMOrcDefinitionGeneratorRef Result,
byte GlobalPrefx,
LLVMOrcSymbolPredicate Filter,
Pointer FilterCtx)
Get a DynamicLibrarySearchGenerator that will reflect process symbols into
the JITDylib.
|
static LLVMErrorRef |
LLVMOrcCreateDynamicLibrarySearchGeneratorForProcess(PointerPointer Result,
byte GlobalPrefx,
LLVMOrcSymbolPredicate Filter,
Pointer FilterCtx) |
static LLVMErrorRef |
LLVMOrcCreateLLJIT(LLVMOrcLLJITRef Result,
LLVMOrcLLJITBuilderRef Builder)
Create an LLJIT instance from an LLJITBuilder.
|
static LLVMErrorRef |
LLVMOrcCreateLLJIT(PointerPointer Result,
LLVMOrcLLJITBuilderRef Builder) |
static LLVMOrcLLJITBuilderRef |
LLVMOrcCreateLLJITBuilder()
Create an LLVMOrcLLJITBuilder.
|
static LLVMOrcIndirectStubsManagerRef |
LLVMOrcCreateLocalIndirectStubsManager(BytePointer TargetTriple)
Create a LocalIndirectStubsManager from the given target triple.
|
static LLVMOrcIndirectStubsManagerRef |
LLVMOrcCreateLocalIndirectStubsManager(String TargetTriple) |
static LLVMErrorRef |
LLVMOrcCreateLocalLazyCallThroughManager(BytePointer TargetTriple,
LLVMOrcExecutionSessionRef ES,
long ErrorHandlerAddr,
LLVMOrcLazyCallThroughManagerRef LCTM) |
static LLVMErrorRef |
LLVMOrcCreateLocalLazyCallThroughManager(String TargetTriple,
LLVMOrcExecutionSessionRef ES,
long ErrorHandlerAddr,
PointerPointer LCTM) |
static LLVMOrcThreadSafeContextRef |
LLVMOrcCreateNewThreadSafeContext()
Create a ThreadSafeContext containing a new LLVMContext.
|
static LLVMOrcThreadSafeModuleRef |
LLVMOrcCreateNewThreadSafeModule(LLVMModuleRef M,
LLVMOrcThreadSafeContextRef TSCtx)
Create a ThreadSafeModule wrapper around the given LLVM module.
|
static LLVMOrcObjectLayerRef |
LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks(LLVMOrcExecutionSessionRef ES,
Pointer CreateContextCtx,
LLVMMemoryManagerCreateContextCallback CreateContext,
LLVMMemoryManagerNotifyTerminatingCallback NotifyTerminating,
LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection,
LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection,
LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory,
LLVMMemoryManagerDestroyCallback Destroy)
Create a RTDyldObjectLinkingLayer instance using MCJIT-memory-manager-like
callbacks.
|
static LLVMOrcObjectLayerRef |
LLVMOrcCreateRTDyldObjectLinkingLayerWithSectionMemoryManager(LLVMOrcExecutionSessionRef ES)
Create a RTDyldObjectLinkingLayer instance using the standard
SectionMemoryManager for memory management.
|
static void |
LLVMOrcDisposeCSymbolFlagsMap(LLVMOrcCSymbolFlagsMapPair Pairs)
Disposes of the passed LLVMOrcCSymbolFlagsMap.
|
static void |
LLVMOrcDisposeDefinitionGenerator(LLVMOrcDefinitionGeneratorRef DG)
Dispose of a JITDylib::DefinitionGenerator.
|
static void |
LLVMOrcDisposeDumpObjects(LLVMOrcDumpObjectsRef DumpObjects)
Dispose of a DumpObjects instance.
|
static void |
LLVMOrcDisposeIndirectStubsManager(LLVMOrcIndirectStubsManagerRef ISM)
Dispose of an IndirectStubsManager.
|
static void |
LLVMOrcDisposeJITTargetMachineBuilder(LLVMOrcJITTargetMachineBuilderRef JTMB)
Dispose of a JITTargetMachineBuilder.
|
static void |
LLVMOrcDisposeLazyCallThroughManager(LLVMOrcLazyCallThroughManagerRef LCTM)
Dispose of an LazyCallThroughManager.
|
static LLVMErrorRef |
LLVMOrcDisposeLLJIT(LLVMOrcLLJITRef J)
Dispose of an LLJIT instance.
|
static void |
LLVMOrcDisposeLLJITBuilder(LLVMOrcLLJITBuilderRef Builder)
Dispose of an LLVMOrcLLJITBuilderRef.
|
static void |
LLVMOrcDisposeMaterializationResponsibility(LLVMOrcMaterializationResponsibilityRef MR)
Disposes of the passed MaterializationResponsibility object.
|
static void |
LLVMOrcDisposeMaterializationUnit(LLVMOrcMaterializationUnitRef MU)
Dispose of a MaterializationUnit.
|
static void |
LLVMOrcDisposeObjectLayer(LLVMOrcObjectLayerRef ObjLayer)
Dispose of an ObjectLayer.
|
static void |
LLVMOrcDisposeSymbols(LLVMOrcSymbolStringPoolEntryRef Symbols)
Disposes of the passed LLVMOrcSymbolStringPoolEntryRef* .
|
static void |
LLVMOrcDisposeSymbols(PointerPointer Symbols) |
static void |
LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx)
Dispose of a ThreadSafeContext.
|
static void |
LLVMOrcDisposeThreadSafeModule(LLVMOrcThreadSafeModuleRef TSM)
Dispose of a ThreadSafeModule.
|
static LLVMErrorRef |
LLVMOrcDumpObjects_CallOperator(LLVMOrcDumpObjectsRef DumpObjects,
LLVMMemoryBufferRef ObjBuffer)
Dump the contents of the given MemoryBuffer.
|
static LLVMErrorRef |
LLVMOrcDumpObjects_CallOperator(LLVMOrcDumpObjectsRef DumpObjects,
PointerPointer ObjBuffer) |
static LLVMOrcJITDylibRef |
LLVMOrcExecutionSessionCreateBareJITDylib(LLVMOrcExecutionSessionRef ES,
BytePointer Name)
Create a "bare" JITDylib.
|
static LLVMOrcJITDylibRef |
LLVMOrcExecutionSessionCreateBareJITDylib(LLVMOrcExecutionSessionRef ES,
String Name) |
static LLVMErrorRef |
LLVMOrcExecutionSessionCreateJITDylib(LLVMOrcExecutionSessionRef ES,
LLVMOrcJITDylibRef Result,
BytePointer Name)
Create a JITDylib.
|
static LLVMErrorRef |
LLVMOrcExecutionSessionCreateJITDylib(LLVMOrcExecutionSessionRef ES,
PointerPointer Result,
String Name) |
static LLVMOrcJITDylibRef |
LLVMOrcExecutionSessionGetJITDylibByName(LLVMOrcExecutionSessionRef ES,
BytePointer Name)
Returns the JITDylib with the given name, or NULL if no such JITDylib
exists.
|
static LLVMOrcJITDylibRef |
LLVMOrcExecutionSessionGetJITDylibByName(LLVMOrcExecutionSessionRef ES,
String Name) |
static LLVMOrcSymbolStringPoolRef |
LLVMOrcExecutionSessionGetSymbolStringPool(LLVMOrcExecutionSessionRef ES)
Return a reference to the SymbolStringPool for an ExecutionSession.
|
static LLVMOrcSymbolStringPoolEntryRef |
LLVMOrcExecutionSessionIntern(LLVMOrcExecutionSessionRef ES,
BytePointer Name)
Intern a string in the ExecutionSession's SymbolStringPool and return a
reference to it.
|
static LLVMOrcSymbolStringPoolEntryRef |
LLVMOrcExecutionSessionIntern(LLVMOrcExecutionSessionRef ES,
String Name) |
static void |
LLVMOrcExecutionSessionLookup(LLVMOrcExecutionSessionRef ES,
int K,
LLVMOrcCJITDylibSearchOrderElement SearchOrder,
long SearchOrderSize,
LLVMOrcCLookupSetElement Symbols,
long SymbolsSize,
LLVMOrcExecutionSessionLookupHandleResultFunction HandleResult,
Pointer Ctx)
Look up symbols in an execution session.
|
static void |
LLVMOrcExecutionSessionSetErrorReporter(LLVMOrcExecutionSessionRef ES,
LLVMOrcErrorReporterFunction ReportError,
Pointer Ctx)
Attach a custom error reporter function to the ExecutionSession.
|
static void |
LLVMOrcIRTransformLayerEmit(LLVMOrcIRTransformLayerRef IRTransformLayer,
LLVMOrcMaterializationResponsibilityRef MR,
LLVMOrcThreadSafeModuleRef TSM) |
static void |
LLVMOrcIRTransformLayerSetTransform(LLVMOrcIRTransformLayerRef IRTransformLayer,
LLVMOrcIRTransformLayerTransformFunction TransformFunction,
Pointer Ctx)
Set the transform function of the provided transform layer, passing through a
pointer to user provided context.
|
static void |
LLVMOrcJITDylibAddGenerator(LLVMOrcJITDylibRef JD,
LLVMOrcDefinitionGeneratorRef DG)
Add a DefinitionGenerator to the given JITDylib.
|
static LLVMErrorRef |
LLVMOrcJITDylibClear(LLVMOrcJITDylibRef JD)
Calls remove on all trackers associated with this JITDylib, see
JITDylib::clear().
|
static LLVMOrcResourceTrackerRef |
LLVMOrcJITDylibCreateResourceTracker(LLVMOrcJITDylibRef JD)
Return a reference to a newly created resource tracker associated with JD.
|
static LLVMErrorRef |
LLVMOrcJITDylibDefine(LLVMOrcJITDylibRef JD,
LLVMOrcMaterializationUnitRef MU)
Add the given MaterializationUnit to the given JITDylib.
|
static LLVMOrcResourceTrackerRef |
LLVMOrcJITDylibGetDefaultResourceTracker(LLVMOrcJITDylibRef JD)
Return a reference to the default resource tracker for the given JITDylib.
|
static LLVMOrcJITTargetMachineBuilderRef |
LLVMOrcJITTargetMachineBuilderCreateFromTargetMachine(LLVMTargetMachineRef TM)
Create a JITTargetMachineBuilder from the given TargetMachine template.
|
static LLVMErrorRef |
LLVMOrcJITTargetMachineBuilderDetectHost(LLVMOrcJITTargetMachineBuilderRef Result)
Create a JITTargetMachineBuilder by detecting the host.
|
static LLVMErrorRef |
LLVMOrcJITTargetMachineBuilderDetectHost(PointerPointer Result) |
static BytePointer |
LLVMOrcJITTargetMachineBuilderGetTargetTriple(LLVMOrcJITTargetMachineBuilderRef JTMB)
Returns the target triple for the given JITTargetMachineBuilder as a string.
|
static void |
LLVMOrcJITTargetMachineBuilderSetTargetTriple(LLVMOrcJITTargetMachineBuilderRef JTMB,
BytePointer TargetTriple)
Sets the target triple for the given JITTargetMachineBuilder to the given
string.
|
static void |
LLVMOrcJITTargetMachineBuilderSetTargetTriple(LLVMOrcJITTargetMachineBuilderRef JTMB,
String TargetTriple) |
static LLVMOrcMaterializationUnitRef |
LLVMOrcLazyReexports(LLVMOrcLazyCallThroughManagerRef LCTM,
LLVMOrcIndirectStubsManagerRef ISM,
LLVMOrcJITDylibRef SourceRef,
LLVMOrcCSymbolAliasMapPair CallableAliases,
long NumPairs)
Create a MaterializationUnit to define lazy re-expots.
|
static LLVMErrorRef |
LLVMOrcLLJITAddLLVMIRModule(LLVMOrcLLJITRef J,
LLVMOrcJITDylibRef JD,
LLVMOrcThreadSafeModuleRef TSM)
Add an IR module to the given JITDylib in the given LLJIT instance.
|
static LLVMErrorRef |
LLVMOrcLLJITAddLLVMIRModuleWithRT(LLVMOrcLLJITRef J,
LLVMOrcResourceTrackerRef JD,
LLVMOrcThreadSafeModuleRef TSM)
Add an IR module to the given ResourceTracker's JITDylib in the given LLJIT
instance.
|
static LLVMErrorRef |
LLVMOrcLLJITAddObjectFile(LLVMOrcLLJITRef J,
LLVMOrcJITDylibRef JD,
LLVMMemoryBufferRef ObjBuffer)
Add a buffer representing an object file to the given JITDylib in the given
LLJIT instance.
|
static LLVMErrorRef |
LLVMOrcLLJITAddObjectFileWithRT(LLVMOrcLLJITRef J,
LLVMOrcResourceTrackerRef RT,
LLVMMemoryBufferRef ObjBuffer)
Add a buffer representing an object file to the given ResourceTracker's
JITDylib in the given LLJIT instance.
|
static void |
LLVMOrcLLJITBuilderSetJITTargetMachineBuilder(LLVMOrcLLJITBuilderRef Builder,
LLVMOrcJITTargetMachineBuilderRef JTMB)
Set the JITTargetMachineBuilder to be used when constructing the LLJIT
instance.
|
static void |
LLVMOrcLLJITBuilderSetObjectLinkingLayerCreator(LLVMOrcLLJITBuilderRef Builder,
LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction F,
Pointer Ctx)
Set an ObjectLinkingLayer creator function for this LLJIT instance.
|
static BytePointer |
LLVMOrcLLJITGetDataLayoutStr(LLVMOrcLLJITRef J)
Get the LLJIT instance's default data layout string.
|
static LLVMOrcExecutionSessionRef |
LLVMOrcLLJITGetExecutionSession(LLVMOrcLLJITRef J)
Get a reference to the ExecutionSession for this LLJIT instance.
|
static byte |
LLVMOrcLLJITGetGlobalPrefix(LLVMOrcLLJITRef J)
Returns the global prefix character according to the LLJIT's DataLayout.
|
static LLVMOrcIRTransformLayerRef |
LLVMOrcLLJITGetIRTransformLayer(LLVMOrcLLJITRef J)
Returns a non-owning reference to the LLJIT instance's IR transform layer.
|
static LLVMOrcJITDylibRef |
LLVMOrcLLJITGetMainJITDylib(LLVMOrcLLJITRef J)
Return a reference to the Main JITDylib.
|
static LLVMOrcObjectLayerRef |
LLVMOrcLLJITGetObjLinkingLayer(LLVMOrcLLJITRef J)
Returns a non-owning reference to the LLJIT instance's object linking layer.
|
static LLVMOrcObjectTransformLayerRef |
LLVMOrcLLJITGetObjTransformLayer(LLVMOrcLLJITRef J)
Returns a non-owning reference to the LLJIT instance's object linking layer.
|
static BytePointer |
LLVMOrcLLJITGetTripleString(LLVMOrcLLJITRef J)
Return the target triple for this LLJIT instance.
|
static LLVMErrorRef |
LLVMOrcLLJITLookup(LLVMOrcLLJITRef J,
long[] Result,
BytePointer Name) |
static LLVMErrorRef |
LLVMOrcLLJITLookup(LLVMOrcLLJITRef J,
long[] Result,
String Name) |
static LLVMErrorRef |
LLVMOrcLLJITLookup(LLVMOrcLLJITRef J,
LongBuffer Result,
BytePointer Name) |
static LLVMErrorRef |
LLVMOrcLLJITLookup(LLVMOrcLLJITRef J,
LongBuffer Result,
String Name) |
static LLVMErrorRef |
LLVMOrcLLJITLookup(LLVMOrcLLJITRef J,
LongPointer Result,
BytePointer Name)
Look up the given symbol in the main JITDylib of the given LLJIT instance.
|
static LLVMErrorRef |
LLVMOrcLLJITLookup(LLVMOrcLLJITRef J,
LongPointer Result,
String Name) |
static LLVMOrcSymbolStringPoolEntryRef |
LLVMOrcLLJITMangleAndIntern(LLVMOrcLLJITRef J,
BytePointer UnmangledName)
Mangles the given string according to the LLJIT instance's DataLayout, then
interns the result in the SymbolStringPool and returns a reference to the
pool entry.
|
static LLVMOrcSymbolStringPoolEntryRef |
LLVMOrcLLJITMangleAndIntern(LLVMOrcLLJITRef J,
String UnmangledName) |
static void |
LLVMOrcLookupStateContinueLookup(LLVMOrcLookupStateRef S,
LLVMErrorRef Err)
Continue a lookup that was suspended in a generator (see
LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction).
|
static void |
LLVMOrcMaterializationResponsibilityAddDependencies(LLVMOrcMaterializationResponsibilityRef MR,
LLVMOrcSymbolStringPoolEntryRef Name,
LLVMOrcCDependenceMapPair Dependencies,
long NumPairs)
Adds dependencies to a symbol that the MaterializationResponsibility is
responsible for.
|
static void |
LLVMOrcMaterializationResponsibilityAddDependenciesForAll(LLVMOrcMaterializationResponsibilityRef MR,
LLVMOrcCDependenceMapPair Dependencies,
long NumPairs)
Adds dependencies to all symbols that the MaterializationResponsibility is
responsible for.
|
static LLVMErrorRef |
LLVMOrcMaterializationResponsibilityDefineMaterializing(LLVMOrcMaterializationResponsibilityRef MR,
LLVMOrcCSymbolFlagsMapPair Pairs,
long NumPairs)
Attempt to claim responsibility for new definitions.
|
static LLVMErrorRef |
LLVMOrcMaterializationResponsibilityDelegate(LLVMOrcMaterializationResponsibilityRef MR,
LLVMOrcSymbolStringPoolEntryRef Symbols,
long NumSymbols,
LLVMOrcMaterializationResponsibilityRef Result)
Delegates responsibility for the given symbols to the returned
materialization responsibility.
|
static LLVMErrorRef |
LLVMOrcMaterializationResponsibilityDelegate(LLVMOrcMaterializationResponsibilityRef MR,
PointerPointer Symbols,
long NumSymbols,
PointerPointer Result) |
static void |
LLVMOrcMaterializationResponsibilityFailMaterialization(LLVMOrcMaterializationResponsibilityRef MR)
Notify all not-yet-emitted covered by this MaterializationResponsibility
instance that an error has occurred.
|
static LLVMOrcExecutionSessionRef |
LLVMOrcMaterializationResponsibilityGetExecutionSession(LLVMOrcMaterializationResponsibilityRef MR)
Returns the ExecutionSession for this MaterializationResponsibility.
|
static LLVMOrcSymbolStringPoolEntryRef |
LLVMOrcMaterializationResponsibilityGetInitializerSymbol(LLVMOrcMaterializationResponsibilityRef MR)
Returns the initialization pseudo-symbol, if any.
|
static LLVMOrcSymbolStringPoolEntryRef |
LLVMOrcMaterializationResponsibilityGetRequestedSymbols(LLVMOrcMaterializationResponsibilityRef MR,
SizeTPointer NumSymbols)
Returns the names of any symbols covered by this
MaterializationResponsibility object that have queries pending.
|
static LLVMOrcCSymbolFlagsMapPair |
LLVMOrcMaterializationResponsibilityGetSymbols(LLVMOrcMaterializationResponsibilityRef MR,
SizeTPointer NumPairs)
Returns the symbol flags map for this responsibility instance.
|
static LLVMOrcJITDylibRef |
LLVMOrcMaterializationResponsibilityGetTargetDylib(LLVMOrcMaterializationResponsibilityRef MR)
Returns the target JITDylib that these symbols are being materialized into.
|
static LLVMErrorRef |
LLVMOrcMaterializationResponsibilityNotifyEmitted(LLVMOrcMaterializationResponsibilityRef MR)
Notifies the target JITDylib (and any pending queries on that JITDylib)
that all symbols covered by this MaterializationResponsibility instance
have been emitted.
|
static LLVMErrorRef |
LLVMOrcMaterializationResponsibilityNotifyResolved(LLVMOrcMaterializationResponsibilityRef MR,
LLVMOrcCSymbolMapPair Symbols,
long NumPairs)
Notifies the target JITDylib that the given symbols have been resolved.
|
static LLVMErrorRef |
LLVMOrcMaterializationResponsibilityReplace(LLVMOrcMaterializationResponsibilityRef MR,
LLVMOrcMaterializationUnitRef MU)
Transfers responsibility to the given MaterializationUnit for all
symbols defined by that MaterializationUnit.
|
static LLVMErrorRef |
LLVMOrcObjectLayerAddObjectFile(LLVMOrcObjectLayerRef ObjLayer,
LLVMOrcJITDylibRef JD,
LLVMMemoryBufferRef ObjBuffer)
Add an object to an ObjectLayer to the given JITDylib.
|
static void |
LLVMOrcObjectLayerEmit(LLVMOrcObjectLayerRef ObjLayer,
LLVMOrcMaterializationResponsibilityRef R,
LLVMMemoryBufferRef ObjBuffer)
Emit an object buffer to an ObjectLayer.
|
static void |
LLVMOrcObjectTransformLayerSetTransform(LLVMOrcObjectTransformLayerRef ObjTransformLayer,
LLVMOrcObjectTransformLayerTransformFunction TransformFunction,
Pointer Ctx)
Set the transform function on an LLVMOrcObjectTransformLayer.
|
static void |
LLVMOrcReleaseResourceTracker(LLVMOrcResourceTrackerRef RT)
Reduces the ref-count of a ResourceTracker.
|
static void |
LLVMOrcReleaseSymbolStringPoolEntry(LLVMOrcSymbolStringPoolEntryRef S)
Reduces the ref-count for of a SymbolStringPool entry.
|
static LLVMErrorRef |
LLVMOrcResourceTrackerRemove(LLVMOrcResourceTrackerRef RT)
Remove all resources associated with the given tracker.
|
static void |
LLVMOrcResourceTrackerTransferTo(LLVMOrcResourceTrackerRef SrcRT,
LLVMOrcResourceTrackerRef DstRT)
Transfers tracking of all resources associated with resource tracker SrcRT
to resource tracker DstRT.
|
static void |
LLVMOrcRetainSymbolStringPoolEntry(LLVMOrcSymbolStringPoolEntryRef S)
Increments the ref-count for a SymbolStringPool entry.
|
static void |
LLVMOrcRTDyldObjectLinkingLayerRegisterJITEventListener(LLVMOrcObjectLayerRef RTDyldObjLinkingLayer,
LLVMJITEventListenerRef Listener)
Add the given listener to the given RTDyldObjectLinkingLayer.
|
static void |
LLVMOrcSymbolStringPoolClearDeadEntries(LLVMOrcSymbolStringPoolRef SSP)
Clear all unreferenced symbol string pool entries.
|
static BytePointer |
LLVMOrcSymbolStringPoolEntryStr(LLVMOrcSymbolStringPoolEntryRef S)
Return the c-string for the given symbol.
|
static LLVMContextRef |
LLVMOrcThreadSafeContextGetContext(LLVMOrcThreadSafeContextRef TSCtx)
Get a reference to the wrapped LLVMContext.
|
static LLVMErrorRef |
LLVMOrcThreadSafeModuleWithModuleDo(LLVMOrcThreadSafeModuleRef TSM,
LLVMOrcGenericIRModuleOperationFunction F,
Pointer Ctx)
Apply the given function to the module contained in this ThreadSafeModule.
|
static int |
LLVMParseBitcode(LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutModule,
byte[] OutMessage) |
static int |
LLVMParseBitcode(LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutModule,
ByteBuffer OutMessage) |
static int |
LLVMParseBitcode(LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutModule,
BytePointer OutMessage) |
static int |
LLVMParseBitcode(LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutModule,
PointerPointer OutMessage)
\defgroup LLVMCBitReader Bit Reader
\ingroup LLVMC
\{
|
static int |
LLVMParseBitcode(LLVMMemoryBufferRef MemBuf,
PointerPointer OutModule,
byte[] OutMessage) |
static int |
LLVMParseBitcode(LLVMMemoryBufferRef MemBuf,
PointerPointer OutModule,
ByteBuffer OutMessage) |
static int |
LLVMParseBitcode(LLVMMemoryBufferRef MemBuf,
PointerPointer OutModule,
BytePointer OutMessage) |
static int |
LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutModule) |
static int |
LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf,
PointerPointer OutModule) |
static int |
LLVMParseBitcodeInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutModule,
byte[] OutMessage) |
static int |
LLVMParseBitcodeInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutModule,
ByteBuffer OutMessage) |
static int |
LLVMParseBitcodeInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutModule,
BytePointer OutMessage) |
static int |
LLVMParseBitcodeInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutModule,
PointerPointer OutMessage) |
static int |
LLVMParseBitcodeInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
PointerPointer OutModule,
byte[] OutMessage) |
static int |
LLVMParseBitcodeInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
PointerPointer OutModule,
ByteBuffer OutMessage) |
static int |
LLVMParseBitcodeInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
PointerPointer OutModule,
BytePointer OutMessage) |
static int |
LLVMParseBitcodeInContext2(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutModule) |
static int |
LLVMParseBitcodeInContext2(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
PointerPointer OutModule) |
static void |
LLVMParseCommandLineOptions(int argc,
byte[] argv,
BytePointer Overview) |
static void |
LLVMParseCommandLineOptions(int argc,
byte[] argv,
String Overview) |
static void |
LLVMParseCommandLineOptions(int argc,
ByteBuffer argv,
BytePointer Overview) |
static void |
LLVMParseCommandLineOptions(int argc,
ByteBuffer argv,
String Overview) |
static void |
LLVMParseCommandLineOptions(int argc,
BytePointer argv,
BytePointer Overview) |
static void |
LLVMParseCommandLineOptions(int argc,
BytePointer argv,
String Overview) |
static void |
LLVMParseCommandLineOptions(int argc,
PointerPointer argv,
BytePointer Overview)
This function parses the given arguments using the LLVM command line parser.
|
static int |
LLVMParseIRInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
byte[] OutMessage) |
static int |
LLVMParseIRInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
ByteBuffer OutMessage) |
static int |
LLVMParseIRInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
BytePointer OutMessage) |
static int |
LLVMParseIRInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
LLVMModuleRef OutM,
PointerPointer OutMessage)
Read LLVM IR from a memory buffer and convert it into an in-memory Module
object.
|
static int |
LLVMParseIRInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
PointerPointer OutM,
byte[] OutMessage) |
static int |
LLVMParseIRInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
PointerPointer OutM,
ByteBuffer OutMessage) |
static int |
LLVMParseIRInContext(LLVMContextRef ContextRef,
LLVMMemoryBufferRef MemBuf,
PointerPointer OutM,
BytePointer OutMessage) |
static void |
LLVMPassBuilderOptionsSetCallGraphProfile(LLVMPassBuilderOptionsRef Options,
int CallGraphProfile) |
static void |
LLVMPassBuilderOptionsSetDebugLogging(LLVMPassBuilderOptionsRef Options,
int DebugLogging)
Toggle debug logging when running the PassBuilder
|
static void |
LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll(LLVMPassBuilderOptionsRef Options,
int ForgetAllSCEVInLoopUnroll) |
static void |
LLVMPassBuilderOptionsSetInlinerThreshold(LLVMPassBuilderOptionsRef Options,
int Threshold) |
static void |
LLVMPassBuilderOptionsSetLicmMssaNoAccForPromotionCap(LLVMPassBuilderOptionsRef Options,
int LicmMssaNoAccForPromotionCap) |
static void |
LLVMPassBuilderOptionsSetLicmMssaOptCap(LLVMPassBuilderOptionsRef Options,
int LicmMssaOptCap) |
static void |
LLVMPassBuilderOptionsSetLoopInterleaving(LLVMPassBuilderOptionsRef Options,
int LoopInterleaving) |
static void |
LLVMPassBuilderOptionsSetLoopUnrolling(LLVMPassBuilderOptionsRef Options,
int LoopUnrolling) |
static void |
LLVMPassBuilderOptionsSetLoopVectorization(LLVMPassBuilderOptionsRef Options,
int LoopVectorization) |
static void |
LLVMPassBuilderOptionsSetMergeFunctions(LLVMPassBuilderOptionsRef Options,
int MergeFunctions) |
static void |
LLVMPassBuilderOptionsSetSLPVectorization(LLVMPassBuilderOptionsRef Options,
int SLPVectorization) |
static void |
LLVMPassBuilderOptionsSetVerifyEach(LLVMPassBuilderOptionsRef Options,
int VerifyEach)
Toggle adding the VerifierPass for the PassBuilder, ensuring all functions
inside the module is valid.
|
static int |
LLVMPointerSize(LLVMTargetDataRef TD)
Returns the pointer size in bytes for a target.
|
static int |
LLVMPointerSizeForAS(LLVMTargetDataRef TD,
int AS)
Returns the pointer size in bytes for a target for a specified
address space.
|
static LLVMTypeRef |
LLVMPointerType(LLVMTypeRef ElementType,
int AddressSpace)
Create a pointer type that points to a defined type.
|
static LLVMTypeRef |
LLVMPointerTypeInContext(LLVMContextRef C,
int AddressSpace)
Create an opaque pointer type in a context.
|
static int |
LLVMPointerTypeIsOpaque(LLVMTypeRef Ty)
Determine whether a pointer is opaque.
|
static void |
LLVMPositionBuilder(LLVMBuilderRef Builder,
LLVMBasicBlockRef Block,
LLVMValueRef Instr) |
static void |
LLVMPositionBuilderAtEnd(LLVMBuilderRef Builder,
LLVMBasicBlockRef Block) |
static void |
LLVMPositionBuilderBefore(LLVMBuilderRef Builder,
LLVMValueRef Instr) |
static LLVMTypeRef |
LLVMPPCFP128Type() |
static LLVMTypeRef |
LLVMPPCFP128TypeInContext(LLVMContextRef C)
Obtain a 128-bit floating point type (two 64-bits) from a context.
|
static int |
LLVMPreferredAlignmentOfGlobal(LLVMTargetDataRef TD,
LLVMValueRef GlobalVar)
Computes the preferred alignment of a global variable in bytes for a target.
|
static int |
LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the preferred alignment of a type in bytes for a target.
|
static int |
LLVMPrintModuleToFile(LLVMModuleRef M,
BytePointer Filename,
byte[] ErrorMessage) |
static int |
LLVMPrintModuleToFile(LLVMModuleRef M,
BytePointer Filename,
ByteBuffer ErrorMessage) |
static int |
LLVMPrintModuleToFile(LLVMModuleRef M,
BytePointer Filename,
BytePointer ErrorMessage) |
static int |
LLVMPrintModuleToFile(LLVMModuleRef M,
BytePointer Filename,
PointerPointer ErrorMessage)
Print a representation of a module to a file.
|
static int |
LLVMPrintModuleToFile(LLVMModuleRef M,
String Filename,
byte[] ErrorMessage) |
static int |
LLVMPrintModuleToFile(LLVMModuleRef M,
String Filename,
ByteBuffer ErrorMessage) |
static int |
LLVMPrintModuleToFile(LLVMModuleRef M,
String Filename,
BytePointer ErrorMessage) |
static BytePointer |
LLVMPrintModuleToString(LLVMModuleRef M)
Return a string representation of the module.
|
static BytePointer |
LLVMPrintTypeToString(LLVMTypeRef Val)
Return a string representation of the type.
|
static BytePointer |
LLVMPrintValueToString(LLVMValueRef Val)
Return a string representation of the value.
|
static Pointer |
LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE,
LLVMValueRef Fn) |
static LLVMRemarkDebugLocRef |
LLVMRemarkArgGetDebugLoc(LLVMRemarkArgRef Arg)
Returns the debug location that is attached to the value of this argument.
|
static LLVMRemarkStringRef |
LLVMRemarkArgGetKey(LLVMRemarkArgRef Arg)
Returns the key of an argument.
|
static LLVMRemarkStringRef |
LLVMRemarkArgGetValue(LLVMRemarkArgRef Arg)
Returns the value of an argument.
|
static int |
LLVMRemarkDebugLocGetSourceColumn(LLVMRemarkDebugLocRef DL)
Return the column in the source file for a debug location.
|
static LLVMRemarkStringRef |
LLVMRemarkDebugLocGetSourceFilePath(LLVMRemarkDebugLocRef DL)
Return the path to the source file for a debug location.
|
static int |
LLVMRemarkDebugLocGetSourceLine(LLVMRemarkDebugLocRef DL)
Return the line in the source file for a debug location.
|
static void |
LLVMRemarkEntryDispose(LLVMRemarkEntryRef Remark)
Free the resources used by the remark entry.
|
static LLVMRemarkDebugLocRef |
LLVMRemarkEntryGetDebugLoc(LLVMRemarkEntryRef Remark)
Returns the debug location that is attached to this remark.
|
static LLVMRemarkArgRef |
LLVMRemarkEntryGetFirstArg(LLVMRemarkEntryRef Remark)
Get a new iterator to iterate over a remark's argument.
|
static LLVMRemarkStringRef |
LLVMRemarkEntryGetFunctionName(LLVMRemarkEntryRef Remark)
Get the name of the function being processed when the remark was emitted.
|
static long |
LLVMRemarkEntryGetHotness(LLVMRemarkEntryRef Remark)
Return the hotness of the remark.
|
static LLVMRemarkArgRef |
LLVMRemarkEntryGetNextArg(LLVMRemarkArgRef It,
LLVMRemarkEntryRef Remark)
Get the next argument in \p Remark from the position of \p It.
|
static int |
LLVMRemarkEntryGetNumArgs(LLVMRemarkEntryRef Remark)
The number of arguments the remark holds.
|
static LLVMRemarkStringRef |
LLVMRemarkEntryGetPassName(LLVMRemarkEntryRef Remark)
Get the name of the pass that emitted this remark.
|
static LLVMRemarkStringRef |
LLVMRemarkEntryGetRemarkName(LLVMRemarkEntryRef Remark)
Get an identifier of the remark.
|
static int |
LLVMRemarkEntryGetType(LLVMRemarkEntryRef Remark)
The type of the remark.
|
static LLVMRemarkParserRef |
LLVMRemarkParserCreateBitstream(Pointer Buf,
long Size)
Creates a remark parser that can be used to parse the buffer located in \p
Buf of size \p Size bytes.
|
static LLVMRemarkParserRef |
LLVMRemarkParserCreateYAML(Pointer Buf,
long Size)
Creates a remark parser that can be used to parse the buffer located in \p
Buf of size \p Size bytes.
|
static void |
LLVMRemarkParserDispose(LLVMRemarkParserRef Parser)
Releases all the resources used by \p Parser.
|
static BytePointer |
LLVMRemarkParserGetErrorMessage(LLVMRemarkParserRef Parser)
Returns a null-terminated string containing an error message.
|
static LLVMRemarkEntryRef |
LLVMRemarkParserGetNext(LLVMRemarkParserRef Parser)
Returns the next remark in the file.
|
static int |
LLVMRemarkParserHasError(LLVMRemarkParserRef Parser)
Returns
1 if the parser encountered an error while parsing the buffer. |
static BytePointer |
LLVMRemarkStringGetData(LLVMRemarkStringRef String)
Returns the buffer holding the string.
|
static int |
LLVMRemarkStringGetLen(LLVMRemarkStringRef String)
Returns the size of the string.
|
static int |
LLVMRemarkVersion()
Returns the version of the remarks library.
|
static void |
LLVMRemoveBasicBlockFromParent(LLVMBasicBlockRef BB)
Remove a basic block from a function.
|
static void |
LLVMRemoveCallSiteEnumAttribute(LLVMValueRef C,
int Idx,
int KindID) |
static void |
LLVMRemoveCallSiteStringAttribute(LLVMValueRef C,
int Idx,
BytePointer K,
int KLen) |
static void |
LLVMRemoveCallSiteStringAttribute(LLVMValueRef C,
int Idx,
String K,
int KLen) |
static void |
LLVMRemoveEnumAttributeAtIndex(LLVMValueRef F,
int Idx,
int KindID) |
static void |
LLVMRemoveGlobalIFunc(LLVMValueRef IFunc)
Remove a global indirect function from its parent module.
|
static int |
LLVMRemoveModule(LLVMExecutionEngineRef EE,
LLVMModuleRef M,
LLVMModuleRef OutMod,
byte[] OutError) |
static int |
LLVMRemoveModule(LLVMExecutionEngineRef EE,
LLVMModuleRef M,
LLVMModuleRef OutMod,
ByteBuffer OutError) |
static int |
LLVMRemoveModule(LLVMExecutionEngineRef EE,
LLVMModuleRef M,
LLVMModuleRef OutMod,
BytePointer OutError) |
static int |
LLVMRemoveModule(LLVMExecutionEngineRef EE,
LLVMModuleRef M,
LLVMModuleRef OutMod,
PointerPointer OutError) |
static int |
LLVMRemoveModule(LLVMExecutionEngineRef EE,
LLVMModuleRef M,
PointerPointer OutMod,
byte[] OutError) |
static int |
LLVMRemoveModule(LLVMExecutionEngineRef EE,
LLVMModuleRef M,
PointerPointer OutMod,
ByteBuffer OutError) |
static int |
LLVMRemoveModule(LLVMExecutionEngineRef EE,
LLVMModuleRef M,
PointerPointer OutMod,
BytePointer OutError) |
static void |
LLVMRemoveStringAttributeAtIndex(LLVMValueRef F,
int Idx,
BytePointer K,
int KLen) |
static void |
LLVMRemoveStringAttributeAtIndex(LLVMValueRef F,
int Idx,
String K,
int KLen) |
static void |
LLVMReplaceAllUsesWith(LLVMValueRef OldVal,
LLVMValueRef NewVal)
Replace all uses of a value with another one.
|
static void |
LLVMReplaceMDNodeOperandWith(LLVMValueRef V,
int Index,
LLVMMetadataRef Replacement)
Replace an operand at a specific index in a llvm::MDNode value.
|
static void |
LLVMResetFatalErrorHandler()
Reset the fatal error handler.
|
static LLVMGenericValueRef |
LLVMRunFunction(LLVMExecutionEngineRef EE,
LLVMValueRef F,
int NumArgs,
LLVMGenericValueRef Args) |
static LLVMGenericValueRef |
LLVMRunFunction(LLVMExecutionEngineRef EE,
LLVMValueRef F,
int NumArgs,
PointerPointer Args) |
static int |
LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE,
LLVMValueRef F,
int ArgC,
byte[] ArgV,
byte[] EnvP) |
static int |
LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE,
LLVMValueRef F,
int ArgC,
ByteBuffer ArgV,
ByteBuffer EnvP) |
static int |
LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE,
LLVMValueRef F,
int ArgC,
BytePointer ArgV,
BytePointer EnvP) |
static int |
LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE,
LLVMValueRef F,
int ArgC,
PointerPointer ArgV,
PointerPointer EnvP) |
static int |
LLVMRunFunctionPassManager(LLVMPassManagerRef FPM,
LLVMValueRef F)
Executes all of the function passes scheduled in the function pass manager
on the provided function.
|
static LLVMErrorRef |
LLVMRunPasses(LLVMModuleRef M,
BytePointer Passes,
LLVMTargetMachineRef TM,
LLVMPassBuilderOptionsRef Options)
Construct and run a set of passes over a module
This function takes a string with the passes that should be used.
|
static LLVMErrorRef |
LLVMRunPasses(LLVMModuleRef M,
String Passes,
LLVMTargetMachineRef TM,
LLVMPassBuilderOptionsRef Options) |
static int |
LLVMRunPassManager(LLVMPassManagerRef PM,
LLVMModuleRef M)
Initializes, executes on the provided module, and finalizes all of the
passes scheduled in the pass manager.
|
static void |
LLVMRunStaticConstructors(LLVMExecutionEngineRef EE) |
static void |
LLVMRunStaticDestructors(LLVMExecutionEngineRef EE) |
static LLVMTypeRef |
LLVMScalableVectorType(LLVMTypeRef ElementType,
int ElementCount)
Create a vector type that contains a defined type and has a scalable
number of elements.
|
static Pointer |
LLVMSearchForAddressOfSymbol(BytePointer symbolName)
This function will search through all previously loaded dynamic
libraries for the symbol \p symbolName.
|
static Pointer |
LLVMSearchForAddressOfSymbol(String symbolName) |
static void |
LLVMSetAlignment(LLVMValueRef V,
int Bytes)
Set the preferred alignment of the value.
|
static void |
LLVMSetArgOperand(LLVMValueRef Funclet,
int i,
LLVMValueRef value) |
static void |
LLVMSetAtomicRMWBinOp(LLVMValueRef AtomicRMWInst,
int BinOp) |
static void |
LLVMSetAtomicSingleThread(LLVMValueRef AtomicInst,
int SingleThread) |
static void |
LLVMSetCleanup(LLVMValueRef LandingPad,
int Val) |
static void |
LLVMSetCmpXchgFailureOrdering(LLVMValueRef CmpXchgInst,
int Ordering) |
static void |
LLVMSetCmpXchgSuccessOrdering(LLVMValueRef CmpXchgInst,
int Ordering) |
static void |
LLVMSetComdat(LLVMValueRef V,
LLVMComdatRef C)
Assign the Comdat to the given global object.
|
static void |
LLVMSetComdatSelectionKind(LLVMComdatRef C,
int Kind) |
static void |
LLVMSetCondition(LLVMValueRef Branch,
LLVMValueRef Cond)
Set the condition of a branch instruction.
|
static void |
LLVMSetCurrentDebugLocation(LLVMBuilderRef Builder,
LLVMValueRef L)
Deprecated: Passing the NULL location will crash.
|
static void |
LLVMSetCurrentDebugLocation2(LLVMBuilderRef Builder,
LLVMMetadataRef Loc)
Set location information used by debugging information.
|
static void |
LLVMSetDataLayout(LLVMModuleRef M,
BytePointer DataLayoutStr)
Set the data layout for a module.
|
static void |
LLVMSetDataLayout(LLVMModuleRef M,
String DataLayoutStr) |
static int |
LLVMSetDisasmOptions(LLVMDisasmContextRef DC,
long Options)
Set the disassembler's options.
|
static void |
LLVMSetDLLStorageClass(LLVMValueRef Global,
int Class) |
static void |
LLVMSetExact(LLVMValueRef DivOrShrInst,
int IsExact) |
static void |
LLVMSetExternallyInitialized(LLVMValueRef GlobalVar,
int IsExtInit) |
static void |
LLVMSetFunctionCallConv(LLVMValueRef Fn,
int CC)
Set the calling convention of a function.
|
static void |
LLVMSetGC(LLVMValueRef Fn,
BytePointer Name)
Define the garbage collector to use during code generation.
|
static void |
LLVMSetGC(LLVMValueRef Fn,
String Name) |
static void |
LLVMSetGlobalConstant(LLVMValueRef GlobalVar,
int IsConstant) |
static void |
LLVMSetGlobalIFuncResolver(LLVMValueRef IFunc,
LLVMValueRef Resolver)
Sets the resolver function associated with this indirect function.
|
static void |
LLVMSetInitializer(LLVMValueRef GlobalVar,
LLVMValueRef ConstantVal) |
static void |
LLVMSetInstDebugLocation(LLVMBuilderRef Builder,
LLVMValueRef Inst)
Deprecated.
LLVMSetInstDebugLocation is deprecated in favor of the more general
LLVMAddMetadataToInst.
|
static void |
LLVMSetInstrParamAlignment(LLVMValueRef Instr,
int Idx,
int Align) |
static void |
LLVMSetInstructionCallConv(LLVMValueRef Instr,
int CC)
Set the calling convention for a call instruction.
|
static void |
LLVMSetIsInBounds(LLVMValueRef GEP,
int InBounds)
Set the given GEP instruction to be inbounds or not.
|
static void |
LLVMSetLinkage(LLVMValueRef Global,
int Linkage) |
static void |
LLVMSetMetadata(LLVMValueRef Val,
int KindID,
LLVMValueRef Node)
Set metadata associated with an instruction value.
|
static void |
LLVMSetModuleDataLayout(LLVMModuleRef M,
LLVMTargetDataRef DL)
Set the data layout for a module.
|
static void |
LLVMSetModuleIdentifier(LLVMModuleRef M,
BytePointer Ident,
long Len)
Set the identifier of a module to a string Ident with length Len.
|
static void |
LLVMSetModuleIdentifier(LLVMModuleRef M,
String Ident,
long Len) |
static void |
LLVMSetModuleInlineAsm(LLVMModuleRef M,
BytePointer Asm)
Deprecated: Use LLVMSetModuleInlineAsm2 instead.
|
static void |
LLVMSetModuleInlineAsm(LLVMModuleRef M,
String Asm) |
static void |
LLVMSetModuleInlineAsm2(LLVMModuleRef M,
BytePointer Asm,
long Len)
Set inline assembly for a module.
|
static void |
LLVMSetModuleInlineAsm2(LLVMModuleRef M,
String Asm,
long Len) |
static void |
LLVMSetNormalDest(LLVMValueRef InvokeInst,
LLVMBasicBlockRef B)
Set the normal destination basic block.
|
static void |
LLVMSetNSW(LLVMValueRef ArithInst,
int HasNSW) |
static void |
LLVMSetNUW(LLVMValueRef ArithInst,
int HasNUW) |
static void |
LLVMSetOperand(LLVMValueRef User,
int Index,
LLVMValueRef Val)
Set an operand at a specific index in a llvm::User value.
|
static void |
LLVMSetOrdering(LLVMValueRef MemoryAccessInst,
int Ordering) |
static void |
LLVMSetParamAlignment(LLVMValueRef Arg,
int Align)
Set the alignment for a function parameter.
|
static void |
LLVMSetParentCatchSwitch(LLVMValueRef CatchPad,
LLVMValueRef CatchSwitch)
Set the parent catchswitch instruction of a catchpad instruction.
|
static void |
LLVMSetPersonalityFn(LLVMValueRef Fn,
LLVMValueRef PersonalityFn)
Set the personality function attached to the function.
|
static void |
LLVMSetSection(LLVMValueRef Global,
BytePointer Section) |
static void |
LLVMSetSection(LLVMValueRef Global,
String Section) |
static void |
LLVMSetSourceFileName(LLVMModuleRef M,
BytePointer Name,
long Len)
Set the original source file name of a module to a string Name with length
Len.
|
static void |
LLVMSetSourceFileName(LLVMModuleRef M,
String Name,
long Len) |
static void |
LLVMSetSubprogram(LLVMValueRef Func,
LLVMMetadataRef SP)
Set the subprogram attached to a function.
|
static void |
LLVMSetSuccessor(LLVMValueRef Term,
int i,
LLVMBasicBlockRef block)
Update the specified successor to point at the provided block.
|
static void |
LLVMSetTailCall(LLVMValueRef CallInst,
int IsTailCall)
Set whether a call instruction is a tail call.
|
static void |
LLVMSetTarget(LLVMModuleRef M,
BytePointer Triple)
Set the target triple for a module.
|
static void |
LLVMSetTarget(LLVMModuleRef M,
String Triple) |
static void |
LLVMSetTargetMachineAsmVerbosity(LLVMTargetMachineRef T,
int VerboseAsm)
Set the target machine's ASM verbosity.
|
static void |
LLVMSetThreadLocal(LLVMValueRef GlobalVar,
int IsThreadLocal) |
static void |
LLVMSetThreadLocalMode(LLVMValueRef GlobalVar,
int Mode) |
static void |
LLVMSetUnnamedAddr(LLVMValueRef Global,
int HasUnnamedAddr)
Deprecated: Use LLVMSetUnnamedAddress instead.
|
static void |
LLVMSetUnnamedAddress(LLVMValueRef Global,
int UnnamedAddr) |
static void |
LLVMSetUnwindDest(LLVMValueRef InvokeInst,
LLVMBasicBlockRef B)
Set the unwind destination basic block.
|
static void |
LLVMSetValueName(LLVMValueRef Val,
BytePointer Name)
Deprecated: Use LLVMSetValueName2 instead.
|
static void |
LLVMSetValueName(LLVMValueRef Val,
String Name) |
static void |
LLVMSetValueName2(LLVMValueRef Val,
BytePointer Name,
long NameLen)
Set the string name of a value.
|
static void |
LLVMSetValueName2(LLVMValueRef Val,
String Name,
long NameLen) |
static void |
LLVMSetVisibility(LLVMValueRef Global,
int Viz) |
static void |
LLVMSetVolatile(LLVMValueRef MemoryAccessInst,
int IsVolatile) |
static void |
LLVMSetWeak(LLVMValueRef CmpXchgInst,
int IsWeak) |
static void |
LLVMShutdown()
Deallocate and destroy all ManagedStatic variables.
|
static LLVMValueRef |
LLVMSizeOf(LLVMTypeRef Ty) |
static long |
LLVMSizeOfTypeInBits(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the size of a type in bytes for a target.
|
static int |
LLVMStartMultithreaded()
Deprecated: Multi-threading can only be enabled/disabled with the compile
time define LLVM_ENABLE_THREADS.
|
static void |
LLVMStopMultithreaded()
Deprecated: Multi-threading can only be enabled/disabled with the compile
time define LLVM_ENABLE_THREADS.
|
static long |
LLVMStoreSizeOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the storage size of a type in bytes for a target.
|
static int |
LLVMStripModuleDebugInfo(LLVMModuleRef Module)
Strip debug info in the module if it exists.
|
static LLVMTypeRef |
LLVMStructCreateNamed(LLVMContextRef C,
BytePointer Name)
Create an empty structure in a context having a specified name.
|
static LLVMTypeRef |
LLVMStructCreateNamed(LLVMContextRef C,
String Name) |
static LLVMTypeRef |
LLVMStructGetTypeAtIndex(LLVMTypeRef StructTy,
int i)
Get the type of the element at a given index in the structure.
|
static void |
LLVMStructSetBody(LLVMTypeRef StructTy,
LLVMTypeRef ElementTypes,
int ElementCount,
int Packed)
Set the contents of a structure type.
|
static void |
LLVMStructSetBody(LLVMTypeRef StructTy,
PointerPointer ElementTypes,
int ElementCount,
int Packed) |
static LLVMTypeRef |
LLVMStructType(LLVMTypeRef ElementTypes,
int ElementCount,
int Packed)
Create a new structure type in the global context.
|
static LLVMTypeRef |
LLVMStructType(PointerPointer ElementTypes,
int ElementCount,
int Packed) |
static LLVMTypeRef |
LLVMStructTypeInContext(LLVMContextRef C,
LLVMTypeRef ElementTypes,
int ElementCount,
int Packed)
Create a new structure type in a context.
|
static LLVMTypeRef |
LLVMStructTypeInContext(LLVMContextRef C,
PointerPointer ElementTypes,
int ElementCount,
int Packed) |
static LLVMTypeRef |
LLVMTargetExtTypeInContext(LLVMContextRef C,
BytePointer Name,
LLVMTypeRef TypeParams,
int TypeParamCount,
int[] IntParams,
int IntParamCount) |
static LLVMTypeRef |
LLVMTargetExtTypeInContext(LLVMContextRef C,
BytePointer Name,
LLVMTypeRef TypeParams,
int TypeParamCount,
IntBuffer IntParams,
int IntParamCount) |
static LLVMTypeRef |
LLVMTargetExtTypeInContext(LLVMContextRef C,
BytePointer Name,
LLVMTypeRef TypeParams,
int TypeParamCount,
IntPointer IntParams,
int IntParamCount)
Create a target extension type in LLVM context.
|
static LLVMTypeRef |
LLVMTargetExtTypeInContext(LLVMContextRef C,
String Name,
PointerPointer TypeParams,
int TypeParamCount,
int[] IntParams,
int IntParamCount) |
static LLVMTypeRef |
LLVMTargetExtTypeInContext(LLVMContextRef C,
String Name,
PointerPointer TypeParams,
int TypeParamCount,
IntBuffer IntParams,
int IntParamCount) |
static LLVMTypeRef |
LLVMTargetExtTypeInContext(LLVMContextRef C,
String Name,
PointerPointer TypeParams,
int TypeParamCount,
IntPointer IntParams,
int IntParamCount) |
static int |
LLVMTargetHasAsmBackend(LLVMTargetRef T)
Returns if the target as an ASM backend (required for emitting output)
|
static int |
LLVMTargetHasJIT(LLVMTargetRef T)
Returns if the target has a JIT
|
static int |
LLVMTargetHasTargetMachine(LLVMTargetRef T)
Returns if the target has a TargetMachine associated
|
static int |
LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T,
LLVMModuleRef M,
BytePointer Filename,
int codegen,
byte[] ErrorMessage) |
static int |
LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T,
LLVMModuleRef M,
BytePointer Filename,
int codegen,
ByteBuffer ErrorMessage) |
static int |
LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T,
LLVMModuleRef M,
BytePointer Filename,
int codegen,
BytePointer ErrorMessage) |
static int |
LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T,
LLVMModuleRef M,
BytePointer Filename,
int codegen,
PointerPointer ErrorMessage)
Emits an asm or object file for the given module to the filename.
|
static int |
LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T,
LLVMModuleRef M,
String Filename,
int codegen,
byte[] ErrorMessage) |
static int |
LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T,
LLVMModuleRef M,
String Filename,
int codegen,
ByteBuffer ErrorMessage) |
static int |
LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T,
LLVMModuleRef M,
String Filename,
int codegen,
BytePointer ErrorMessage) |
static int |
LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T,
LLVMModuleRef M,
int codegen,
byte[] ErrorMessage,
LLVMMemoryBufferRef OutMemBuf) |
static int |
LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T,
LLVMModuleRef M,
int codegen,
byte[] ErrorMessage,
PointerPointer OutMemBuf) |
static int |
LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T,
LLVMModuleRef M,
int codegen,
ByteBuffer ErrorMessage,
LLVMMemoryBufferRef OutMemBuf) |
static int |
LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T,
LLVMModuleRef M,
int codegen,
ByteBuffer ErrorMessage,
PointerPointer OutMemBuf) |
static int |
LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T,
LLVMModuleRef M,
int codegen,
BytePointer ErrorMessage,
LLVMMemoryBufferRef OutMemBuf) |
static int |
LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T,
LLVMModuleRef M,
int codegen,
BytePointer ErrorMessage,
PointerPointer OutMemBuf) |
static int |
LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T,
LLVMModuleRef M,
int codegen,
PointerPointer ErrorMessage,
LLVMMemoryBufferRef OutMemBuf)
Compile the LLVM IR stored in \p M and store the result in \p OutMemBuf.
|
static LLVMMetadataRef |
LLVMTemporaryMDNode(LLVMContextRef Ctx,
LLVMMetadataRef Data,
long NumElements)
Create a new temporary \c MDNode.
|
static LLVMMetadataRef |
LLVMTemporaryMDNode(LLVMContextRef Ctx,
PointerPointer Data,
long NumElements) |
static LLVMTypeRef |
LLVMTokenTypeInContext(LLVMContextRef C)
Create a token type in a context.
|
static int |
LLVMTypeIsSized(LLVMTypeRef Ty)
Whether the type has a known size.
|
static LLVMTypeRef |
LLVMTypeOf(LLVMValueRef Val)
Obtain the type of a value.
|
static LLVMBasicBlockRef |
LLVMValueAsBasicBlock(LLVMValueRef Val)
Convert an LLVMValueRef to an LLVMBasicBlockRef instance.
|
static LLVMMetadataRef |
LLVMValueAsMetadata(LLVMValueRef Val)
Obtain a Value as a Metadata.
|
static int |
LLVMValueIsBasicBlock(LLVMValueRef Val)
Determine whether an LLVMValueRef is itself a basic block.
|
static int |
LLVMValueMetadataEntriesGetKind(LLVMValueMetadataEntry Entries,
int Index)
Returns the kind of a value metadata entry at a specific index.
|
static LLVMMetadataRef |
LLVMValueMetadataEntriesGetMetadata(LLVMValueMetadataEntry Entries,
int Index)
Returns the underlying metadata node of a value metadata entry at a
specific index.
|
static LLVMTypeRef |
LLVMVectorType(LLVMTypeRef ElementType,
int ElementCount)
Create a vector type that contains a defined type and has a specific
number of elements.
|
static int |
LLVMVerifyFunction(LLVMValueRef Fn,
int Action) |
static int |
LLVMVerifyModule(LLVMModuleRef M,
int Action,
byte[] OutMessage) |
static int |
LLVMVerifyModule(LLVMModuleRef M,
int Action,
ByteBuffer OutMessage) |
static int |
LLVMVerifyModule(LLVMModuleRef M,
int Action,
BytePointer OutMessage) |
static int |
LLVMVerifyModule(LLVMModuleRef M,
int Action,
PointerPointer OutMessage) |
static void |
LLVMViewFunctionCFG(LLVMValueRef Fn) |
static void |
LLVMViewFunctionCFGOnly(LLVMValueRef Fn) |
static LLVMTypeRef |
LLVMVoidType()
These are similar to the above functions except they operate on the
global context.
|
static LLVMTypeRef |
LLVMVoidTypeInContext(LLVMContextRef C)
Create a void type in a context.
|
static int |
LLVMWriteBitcodeToFD(LLVMModuleRef M,
int FD,
int ShouldClose,
int Unbuffered)
Writes a module to an open file descriptor.
|
static int |
LLVMWriteBitcodeToFile(LLVMModuleRef M,
BytePointer Path)
Writes a module to the specified path.
|
static int |
LLVMWriteBitcodeToFile(LLVMModuleRef M,
String Path) |
static int |
LLVMWriteBitcodeToFileHandle(LLVMModuleRef M,
int Handle)
Deprecated for LLVMWriteBitcodeToFD.
|
static LLVMMemoryBufferRef |
LLVMWriteBitcodeToMemoryBuffer(LLVMModuleRef M)
Writes a module to a new memory buffer and returns it.
|
static LLVMTypeRef |
LLVMX86AMXType() |
static LLVMTypeRef |
LLVMX86AMXTypeInContext(LLVMContextRef C)
Create a X86 AMX type in a context.
|
static LLVMTypeRef |
LLVMX86FP80Type() |
static LLVMTypeRef |
LLVMX86FP80TypeInContext(LLVMContextRef C)
Obtain a 80-bit floating point type (X87) from a context.
|
static LLVMTypeRef |
LLVMX86MMXType() |
static LLVMTypeRef |
LLVMX86MMXTypeInContext(LLVMContextRef C)
Create a X86 MMX type in a context.
|
static int |
lto_api_version()
Returns the runtime API version.
|
static boolean |
lto_codegen_add_module(lto_code_gen_t cg,
lto_module_t mod)
Add an object module to the set of modules for which code will be generated.
|
static void |
lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg,
BytePointer symbol)
Adds to a list of all global symbols that must exist in the final generated
code.
|
static void |
lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg,
String symbol) |
static Pointer |
lto_codegen_compile_optimized(lto_code_gen_t cg,
SizeTPointer length)
Generates code for the optimized merged module into one native object file.
|
static boolean |
lto_codegen_compile_to_file(lto_code_gen_t cg,
byte[] name) |
static boolean |
lto_codegen_compile_to_file(lto_code_gen_t cg,
ByteBuffer name) |
static boolean |
lto_codegen_compile_to_file(lto_code_gen_t cg,
BytePointer name) |
static boolean |
lto_codegen_compile_to_file(lto_code_gen_t cg,
PointerPointer name)
Generates code for all added modules into one native object file.
|
static Pointer |
lto_codegen_compile(lto_code_gen_t cg,
SizeTPointer length)
Generates code for all added modules into one native object file.
|
static lto_code_gen_t |
lto_codegen_create_in_local_context()
Instantiate a code generator in its own context.
|
static lto_code_gen_t |
lto_codegen_create()
Instantiates a code generator.
|
static void |
lto_codegen_debug_options_array(lto_code_gen_t cg,
byte[] arg1,
int number) |
static void |
lto_codegen_debug_options_array(lto_code_gen_t cg,
ByteBuffer arg1,
int number) |
static void |
lto_codegen_debug_options_array(lto_code_gen_t cg,
BytePointer arg1,
int number) |
static void |
lto_codegen_debug_options_array(lto_code_gen_t cg,
PointerPointer arg1,
int number)
Same as the previous function, but takes every option separately through an
array.
|
static void |
lto_codegen_debug_options(lto_code_gen_t cg,
BytePointer arg1)
Sets options to help debug codegen bugs.
|
static void |
lto_codegen_debug_options(lto_code_gen_t cg,
String arg1) |
static void |
lto_codegen_dispose(lto_code_gen_t arg0)
Frees all code generator and all memory it internally allocated.
|
static boolean |
lto_codegen_optimize(lto_code_gen_t cg)
Runs optimization for the merged module.
|
static void |
lto_codegen_set_assembler_args(lto_code_gen_t cg,
byte[] args,
int nargs) |
static void |
lto_codegen_set_assembler_args(lto_code_gen_t cg,
ByteBuffer args,
int nargs) |
static void |
lto_codegen_set_assembler_args(lto_code_gen_t cg,
BytePointer args,
int nargs) |
static void |
lto_codegen_set_assembler_args(lto_code_gen_t cg,
PointerPointer args,
int nargs)
Sets extra arguments that libLTO should pass to the assembler.
|
static void |
lto_codegen_set_assembler_path(lto_code_gen_t cg,
BytePointer path)
Sets the location of the assembler tool to run.
|
static void |
lto_codegen_set_assembler_path(lto_code_gen_t cg,
String path) |
static void |
lto_codegen_set_cpu(lto_code_gen_t cg,
BytePointer cpu)
Sets the cpu to generate code for.
|
static void |
lto_codegen_set_cpu(lto_code_gen_t cg,
String cpu) |
static boolean |
lto_codegen_set_debug_model(lto_code_gen_t cg,
int arg1)
Sets if debug info should be generated.
|
static void |
lto_codegen_set_diagnostic_handler(lto_code_gen_t arg0,
lto_diagnostic_handler_t arg1,
Pointer arg2)
Set a diagnostic handler and the related context (void *).
|
static void |
lto_codegen_set_module(lto_code_gen_t cg,
lto_module_t mod)
Sets the object module for code generation.
|
static boolean |
lto_codegen_set_pic_model(lto_code_gen_t cg,
int arg1)
Sets which PIC code model to generated.
|
static void |
lto_codegen_set_should_embed_uselists(lto_code_gen_t cg,
boolean ShouldEmbedUselists)
Set whether to embed uselists in bitcode.
|
static void |
lto_codegen_set_should_internalize(lto_code_gen_t cg,
boolean ShouldInternalize)
Sets if we should run internalize pass during optimization and code
generation.
|
static boolean |
lto_codegen_write_merged_modules(lto_code_gen_t cg,
BytePointer path)
Writes a new object file at the specified path that contains the
merged contents of all modules added so far.
|
static boolean |
lto_codegen_write_merged_modules(lto_code_gen_t cg,
String path) |
static BytePointer |
lto_get_error_message()
Returns the last error string or NULL if last operation was successful.
|
static BytePointer |
lto_get_version()
Returns a printable string.
|
static void |
lto_initialize_disassembler()
Initializes LLVM disassemblers.
|
static lto_input_t |
lto_input_create(Pointer buffer,
long buffer_size,
BytePointer path)
Creates an LTO input file from a buffer.
|
static lto_input_t |
lto_input_create(Pointer buffer,
long buffer_size,
String path) |
static void |
lto_input_dispose(lto_input_t input)
Frees all memory internally allocated by the LTO input file.
|
static BytePointer |
lto_input_get_dependent_library(lto_input_t input,
long index,
SizeTPointer size)
Returns the ith dependent library specifier
for the given LTO input file.
|
static int |
lto_input_get_num_dependent_libraries(lto_input_t input)
Returns the number of dependent library specifiers
for the given LTO input file.
|
static lto_module_t |
lto_module_create_from_fd_at_offset(int fd,
BytePointer path,
long file_size,
long map_size,
long offset)
Loads an object file from disk.
|
static lto_module_t |
lto_module_create_from_fd_at_offset(int fd,
String path,
long file_size,
long map_size,
long offset) |
static lto_module_t |
lto_module_create_from_fd(int fd,
BytePointer path,
long file_size)
Loads an object file from disk.
|
static lto_module_t |
lto_module_create_from_fd(int fd,
String path,
long file_size) |
static lto_module_t |
lto_module_create_from_memory_with_path(Pointer mem,
long length,
BytePointer path)
Loads an object file from memory with an extra path argument.
|
static lto_module_t |
lto_module_create_from_memory_with_path(Pointer mem,
long length,
String path) |
static lto_module_t |
lto_module_create_from_memory(Pointer mem,
long length)
Loads an object file from memory.
|
static lto_module_t |
lto_module_create_in_codegen_context(Pointer mem,
long length,
BytePointer path,
lto_code_gen_t cg)
Loads an object file in the codegen context.
|
static lto_module_t |
lto_module_create_in_codegen_context(Pointer mem,
long length,
String path,
lto_code_gen_t cg) |
static lto_module_t |
lto_module_create_in_local_context(Pointer mem,
long length,
BytePointer path)
Loads an object file in its own context.
|
static lto_module_t |
lto_module_create_in_local_context(Pointer mem,
long length,
String path) |
static lto_module_t |
lto_module_create(BytePointer path)
Loads an object file from disk.
|
static lto_module_t |
lto_module_create(String path) |
static void |
lto_module_dispose(lto_module_t mod)
Frees all memory internally allocated by the module.
|
static BytePointer |
lto_module_get_linkeropts(lto_module_t mod)
Returns the module's linker options.
|
static boolean |
lto_module_get_macho_cputype(lto_module_t mod,
int[] out_cputype,
int[] out_cpusubtype) |
static boolean |
lto_module_get_macho_cputype(lto_module_t mod,
IntBuffer out_cputype,
IntBuffer out_cpusubtype) |
static boolean |
lto_module_get_macho_cputype(lto_module_t mod,
IntPointer out_cputype,
IntPointer out_cpusubtype)
If targeting mach-o on darwin, this function gets the CPU type and subtype
that will end up being encoded in the mach-o header.
|
static int |
lto_module_get_num_symbols(lto_module_t mod)
Returns the number of symbols in the object module.
|
static int |
lto_module_get_symbol_attribute(lto_module_t mod,
int index)
Returns the attributes of the ith symbol in the object module.
|
static BytePointer |
lto_module_get_symbol_name(lto_module_t mod,
int index)
Returns the name of the ith symbol in the object module.
|
static BytePointer |
lto_module_get_target_triple(lto_module_t mod)
Returns triple string which the object module was compiled under.
|
static boolean |
lto_module_has_ctor_dtor(lto_module_t mod)
This function can be used by the linker to check if a given module has
any constructor or destructor functions.
|
static boolean |
lto_module_has_objc_category(Pointer mem,
long length)
Return true if \p Buffer contains a bitcode file with ObjC code (category
or class) in it.
|
static boolean |
lto_module_is_object_file_for_target(BytePointer path,
BytePointer target_triple_prefix)
Checks if a file is a loadable object compiled for requested target.
|
static boolean |
lto_module_is_object_file_for_target(String path,
String target_triple_prefix) |
static boolean |
lto_module_is_object_file_in_memory_for_target(Pointer mem,
long length,
BytePointer target_triple_prefix)
Checks if a buffer is a loadable object compiled for requested target.
|
static boolean |
lto_module_is_object_file_in_memory_for_target(Pointer mem,
long length,
String target_triple_prefix) |
static boolean |
lto_module_is_object_file_in_memory(Pointer mem,
long length)
Checks if a buffer is a loadable object file.
|
static boolean |
lto_module_is_object_file(BytePointer path)
Checks if a file is a loadable object file.
|
static boolean |
lto_module_is_object_file(String path) |
static boolean |
lto_module_is_thinlto(lto_module_t mod)
Test if a module has support for ThinLTO linking.
|
static void |
lto_module_set_target_triple(lto_module_t mod,
BytePointer triple)
Sets triple string with which the object will be codegened.
|
static void |
lto_module_set_target_triple(lto_module_t mod,
String triple) |
static PointerPointer |
lto_runtime_lib_symbols_list(SizeTPointer size)
Returns the list of libcall symbols that can be generated by LTO
that might not be visible from the symbol table of bitcode files.
|
static void |
lto_set_debug_options(byte[] options,
int number) |
static void |
lto_set_debug_options(ByteBuffer options,
int number) |
static void |
lto_set_debug_options(BytePointer options,
int number) |
static void |
lto_set_debug_options(PointerPointer options,
int number)
Parses options immediately, making them available as early as possible.
|
static LLVMErrorRef |
optimizeModule(LLVMModuleRef moduleRef,
BytePointer cpu,
int optLevel,
int sizeLevel)
This function does the standard LLVM optimization.
|
static LLVMErrorRef |
optimizeModule(LLVMModuleRef moduleRef,
String cpu,
int optLevel,
int sizeLevel) |
static void |
thinlto_codegen_add_cross_referenced_symbol(thinlto_code_gen_t cg,
BytePointer name,
int length)
Adds a symbol to the list of global symbols that are cross-referenced between
ThinLTO files.
|
static void |
thinlto_codegen_add_cross_referenced_symbol(thinlto_code_gen_t cg,
String name,
int length) |
static void |
thinlto_codegen_add_module(thinlto_code_gen_t cg,
BytePointer identifier,
BytePointer data,
int length)
Add a module to a ThinLTO code generator.
|
static void |
thinlto_codegen_add_module(thinlto_code_gen_t cg,
String identifier,
String data,
int length) |
static void |
thinlto_codegen_add_must_preserve_symbol(thinlto_code_gen_t cg,
BytePointer name,
int length)
Adds a symbol to the list of global symbols that must exist in the final
generated code.
|
static void |
thinlto_codegen_add_must_preserve_symbol(thinlto_code_gen_t cg,
String name,
int length) |
static void |
thinlto_codegen_disable_codegen(thinlto_code_gen_t cg,
boolean disable)
Disable CodeGen, only run the stages till codegen and stop.
|
static void |
thinlto_codegen_dispose(thinlto_code_gen_t cg)
Frees the generator and all memory it internally allocated.
|
static void |
thinlto_codegen_process(thinlto_code_gen_t cg)
Optimize and codegen all the modules added to the codegenerator using
ThinLTO.
|
static void |
thinlto_codegen_set_cache_dir(thinlto_code_gen_t cg,
BytePointer cache_dir)
Sets the path to a directory to use as a cache storage for incremental build.
|
static void |
thinlto_codegen_set_cache_dir(thinlto_code_gen_t cg,
String cache_dir) |
static void |
thinlto_codegen_set_cache_entry_expiration(thinlto_code_gen_t cg,
int expiration)
Sets the expiration (in seconds) for an entry in the cache.
|
static void |
thinlto_codegen_set_cache_pruning_interval(thinlto_code_gen_t cg,
int interval)
Sets the cache pruning interval (in seconds).
|
static void |
thinlto_codegen_set_cache_size_bytes(thinlto_code_gen_t cg,
int max_size_bytes)
Sets the maximum size of the cache directory (in bytes).
|
static void |
thinlto_codegen_set_cache_size_files(thinlto_code_gen_t cg,
int max_size_files)
Sets the maximum number of files in the cache directory.
|
static void |
thinlto_codegen_set_cache_size_megabytes(thinlto_code_gen_t cg,
int max_size_megabytes)
Same as thinlto_codegen_set_cache_size_bytes, except the maximum size is in
megabytes (2^20 bytes).
|
static void |
thinlto_codegen_set_codegen_only(thinlto_code_gen_t cg,
boolean codegen_only)
Perform CodeGen only: disable all other stages.
|
static void |
thinlto_codegen_set_cpu(thinlto_code_gen_t cg,
BytePointer cpu)
Sets the cpu to generate code for.
|
static void |
thinlto_codegen_set_cpu(thinlto_code_gen_t cg,
String cpu) |
static void |
thinlto_codegen_set_final_cache_size_relative_to_available_space(thinlto_code_gen_t cg,
int percentage)
Sets the maximum cache size that can be persistent across build, in terms of
percentage of the available space on the disk.
|
static boolean |
thinlto_codegen_set_pic_model(thinlto_code_gen_t cg,
int arg1)
Sets which PIC code model to generate.
|
static void |
thinlto_codegen_set_savetemps_dir(thinlto_code_gen_t cg,
BytePointer save_temps_dir)
Sets the path to a directory to use as a storage for temporary bitcode files.
|
static void |
thinlto_codegen_set_savetemps_dir(thinlto_code_gen_t cg,
String save_temps_dir) |
static thinlto_code_gen_t |
thinlto_create_codegen()
Instantiates a ThinLTO code generator.
|
static void |
thinlto_debug_options(byte[] options,
int number) |
static void |
thinlto_debug_options(ByteBuffer options,
int number) |
static void |
thinlto_debug_options(BytePointer options,
int number) |
static void |
thinlto_debug_options(PointerPointer options,
int number)
Parse -mllvm style debug options.
|
static int |
thinlto_module_get_num_object_files(thinlto_code_gen_t cg)
Returns the number of object files produced by the ThinLTO CodeGenerator.
|
static int |
thinlto_module_get_num_objects(thinlto_code_gen_t cg)
Returns the number of object files produced by the ThinLTO CodeGenerator.
|
static BytePointer |
thinlto_module_get_object_file(thinlto_code_gen_t cg,
int index)
Returns the path to the ith object file produced by the ThinLTO
CodeGenerator.
|
static LTOObjectBuffer |
thinlto_module_get_object(thinlto_code_gen_t cg,
int index)
Returns a reference to the ith object file produced by the ThinLTO
CodeGenerator.
|
static void |
thinlto_set_generated_objects_dir(thinlto_code_gen_t cg,
BytePointer save_temps_dir)
Set the path to a directory where to save generated object files.
|
static void |
thinlto_set_generated_objects_dir(thinlto_code_gen_t cg,
String save_temps_dir) |
cachePackage, map
public static final long INT64_MAX
public static final long INT64_MIN
public static final long UINT64_MAX
public static final int LLVMRet
public static final int LLVMBr
public static final int LLVMSwitch
public static final int LLVMIndirectBr
public static final int LLVMInvoke
public static final int LLVMUnreachable
public static final int LLVMCallBr
public static final int LLVMFNeg
public static final int LLVMAdd
public static final int LLVMFAdd
public static final int LLVMSub
public static final int LLVMFSub
public static final int LLVMMul
public static final int LLVMFMul
public static final int LLVMUDiv
public static final int LLVMSDiv
public static final int LLVMFDiv
public static final int LLVMURem
public static final int LLVMSRem
public static final int LLVMFRem
public static final int LLVMShl
public static final int LLVMLShr
public static final int LLVMAShr
public static final int LLVMAnd
public static final int LLVMOr
public static final int LLVMXor
public static final int LLVMAlloca
public static final int LLVMLoad
public static final int LLVMStore
public static final int LLVMGetElementPtr
public static final int LLVMTrunc
public static final int LLVMZExt
public static final int LLVMSExt
public static final int LLVMFPToUI
public static final int LLVMFPToSI
public static final int LLVMUIToFP
public static final int LLVMSIToFP
public static final int LLVMFPTrunc
public static final int LLVMFPExt
public static final int LLVMPtrToInt
public static final int LLVMIntToPtr
public static final int LLVMBitCast
public static final int LLVMAddrSpaceCast
public static final int LLVMICmp
public static final int LLVMFCmp
public static final int LLVMPHI
public static final int LLVMCall
public static final int LLVMSelect
public static final int LLVMUserOp1
public static final int LLVMUserOp2
public static final int LLVMVAArg
public static final int LLVMExtractElement
public static final int LLVMInsertElement
public static final int LLVMShuffleVector
public static final int LLVMExtractValue
public static final int LLVMInsertValue
public static final int LLVMFreeze
public static final int LLVMFence
public static final int LLVMAtomicCmpXchg
public static final int LLVMAtomicRMW
public static final int LLVMResume
public static final int LLVMLandingPad
public static final int LLVMCleanupRet
public static final int LLVMCatchRet
public static final int LLVMCatchPad
public static final int LLVMCleanupPad
public static final int LLVMCatchSwitch
public static final int LLVMVoidTypeKind
public static final int LLVMHalfTypeKind
public static final int LLVMFloatTypeKind
public static final int LLVMDoubleTypeKind
public static final int LLVMX86_FP80TypeKind
public static final int LLVMFP128TypeKind
public static final int LLVMPPC_FP128TypeKind
public static final int LLVMLabelTypeKind
public static final int LLVMIntegerTypeKind
public static final int LLVMFunctionTypeKind
public static final int LLVMStructTypeKind
public static final int LLVMArrayTypeKind
public static final int LLVMPointerTypeKind
public static final int LLVMVectorTypeKind
public static final int LLVMMetadataTypeKind
public static final int LLVMX86_MMXTypeKind
public static final int LLVMTokenTypeKind
public static final int LLVMScalableVectorTypeKind
public static final int LLVMBFloatTypeKind
public static final int LLVMX86_AMXTypeKind
public static final int LLVMTargetExtTypeKind
public static final int LLVMExternalLinkage
public static final int LLVMAvailableExternallyLinkage
public static final int LLVMLinkOnceAnyLinkage
public static final int LLVMLinkOnceODRLinkage
public static final int LLVMLinkOnceODRAutoHideLinkage
public static final int LLVMWeakAnyLinkage
public static final int LLVMWeakODRLinkage
public static final int LLVMAppendingLinkage
public static final int LLVMInternalLinkage
public static final int LLVMPrivateLinkage
public static final int LLVMDLLImportLinkage
public static final int LLVMDLLExportLinkage
public static final int LLVMExternalWeakLinkage
public static final int LLVMGhostLinkage
public static final int LLVMCommonLinkage
public static final int LLVMLinkerPrivateLinkage
public static final int LLVMLinkerPrivateWeakLinkage
public static final int LLVMDefaultVisibility
public static final int LLVMHiddenVisibility
public static final int LLVMProtectedVisibility
public static final int LLVMNoUnnamedAddr
public static final int LLVMLocalUnnamedAddr
public static final int LLVMGlobalUnnamedAddr
public static final int LLVMDefaultStorageClass
public static final int LLVMDLLImportStorageClass
public static final int LLVMDLLExportStorageClass
public static final int LLVMCCallConv
public static final int LLVMFastCallConv
public static final int LLVMColdCallConv
public static final int LLVMGHCCallConv
public static final int LLVMHiPECallConv
public static final int LLVMWebKitJSCallConv
public static final int LLVMAnyRegCallConv
public static final int LLVMPreserveMostCallConv
public static final int LLVMPreserveAllCallConv
public static final int LLVMSwiftCallConv
public static final int LLVMCXXFASTTLSCallConv
public static final int LLVMX86StdcallCallConv
public static final int LLVMX86FastcallCallConv
public static final int LLVMARMAPCSCallConv
public static final int LLVMARMAAPCSCallConv
public static final int LLVMARMAAPCSVFPCallConv
public static final int LLVMMSP430INTRCallConv
public static final int LLVMX86ThisCallCallConv
public static final int LLVMPTXKernelCallConv
public static final int LLVMPTXDeviceCallConv
public static final int LLVMSPIRFUNCCallConv
public static final int LLVMSPIRKERNELCallConv
public static final int LLVMIntelOCLBICallConv
public static final int LLVMX8664SysVCallConv
public static final int LLVMWin64CallConv
public static final int LLVMX86VectorCallCallConv
public static final int LLVMHHVMCallConv
public static final int LLVMHHVMCCallConv
public static final int LLVMX86INTRCallConv
public static final int LLVMAVRINTRCallConv
public static final int LLVMAVRSIGNALCallConv
public static final int LLVMAVRBUILTINCallConv
public static final int LLVMAMDGPUVSCallConv
public static final int LLVMAMDGPUGSCallConv
public static final int LLVMAMDGPUPSCallConv
public static final int LLVMAMDGPUCSCallConv
public static final int LLVMAMDGPUKERNELCallConv
public static final int LLVMX86RegCallCallConv
public static final int LLVMAMDGPUHSCallConv
public static final int LLVMMSP430BUILTINCallConv
public static final int LLVMAMDGPULSCallConv
public static final int LLVMAMDGPUESCallConv
public static final int LLVMArgumentValueKind
public static final int LLVMBasicBlockValueKind
public static final int LLVMMemoryUseValueKind
public static final int LLVMMemoryDefValueKind
public static final int LLVMMemoryPhiValueKind
public static final int LLVMFunctionValueKind
public static final int LLVMGlobalAliasValueKind
public static final int LLVMGlobalIFuncValueKind
public static final int LLVMGlobalVariableValueKind
public static final int LLVMBlockAddressValueKind
public static final int LLVMConstantExprValueKind
public static final int LLVMConstantArrayValueKind
public static final int LLVMConstantStructValueKind
public static final int LLVMConstantVectorValueKind
public static final int LLVMUndefValueValueKind
public static final int LLVMConstantAggregateZeroValueKind
public static final int LLVMConstantDataArrayValueKind
public static final int LLVMConstantDataVectorValueKind
public static final int LLVMConstantIntValueKind
public static final int LLVMConstantFPValueKind
public static final int LLVMConstantPointerNullValueKind
public static final int LLVMConstantTokenNoneValueKind
public static final int LLVMMetadataAsValueValueKind
public static final int LLVMInlineAsmValueKind
public static final int LLVMInstructionValueKind
public static final int LLVMPoisonValueValueKind
public static final int LLVMConstantTargetNoneValueKind
public static final int LLVMIntEQ
public static final int LLVMIntNE
public static final int LLVMIntUGT
public static final int LLVMIntUGE
public static final int LLVMIntULT
public static final int LLVMIntULE
public static final int LLVMIntSGT
public static final int LLVMIntSGE
public static final int LLVMIntSLT
public static final int LLVMIntSLE
public static final int LLVMRealPredicateFalse
public static final int LLVMRealOEQ
public static final int LLVMRealOGT
public static final int LLVMRealOGE
public static final int LLVMRealOLT
public static final int LLVMRealOLE
public static final int LLVMRealONE
public static final int LLVMRealORD
public static final int LLVMRealUNO
public static final int LLVMRealUEQ
public static final int LLVMRealUGT
public static final int LLVMRealUGE
public static final int LLVMRealULT
public static final int LLVMRealULE
public static final int LLVMRealUNE
public static final int LLVMRealPredicateTrue
public static final int LLVMLandingPadCatch
public static final int LLVMLandingPadFilter
public static final int LLVMNotThreadLocal
public static final int LLVMGeneralDynamicTLSModel
public static final int LLVMLocalDynamicTLSModel
public static final int LLVMInitialExecTLSModel
public static final int LLVMLocalExecTLSModel
public static final int LLVMAtomicOrderingNotAtomic
public static final int LLVMAtomicOrderingUnordered
public static final int LLVMAtomicOrderingMonotonic
public static final int LLVMAtomicOrderingAcquire
public static final int LLVMAtomicOrderingRelease
public static final int LLVMAtomicOrderingAcquireRelease
public static final int LLVMAtomicOrderingSequentiallyConsistent
public static final int LLVMAtomicRMWBinOpXchg
public static final int LLVMAtomicRMWBinOpAdd
public static final int LLVMAtomicRMWBinOpSub
public static final int LLVMAtomicRMWBinOpAnd
public static final int LLVMAtomicRMWBinOpNand
public static final int LLVMAtomicRMWBinOpOr
public static final int LLVMAtomicRMWBinOpXor
public static final int LLVMAtomicRMWBinOpMax
public static final int LLVMAtomicRMWBinOpMin
public static final int LLVMAtomicRMWBinOpUMax
public static final int LLVMAtomicRMWBinOpUMin
public static final int LLVMAtomicRMWBinOpFAdd
public static final int LLVMAtomicRMWBinOpFSub
public static final int LLVMAtomicRMWBinOpFMax
public static final int LLVMAtomicRMWBinOpFMin
public static final int LLVMDSError
public static final int LLVMDSWarning
public static final int LLVMDSRemark
public static final int LLVMDSNote
public static final int LLVMInlineAsmDialectATT
public static final int LLVMInlineAsmDialectIntel
public static final int LLVMModuleFlagBehaviorError
public static final int LLVMModuleFlagBehaviorWarning
public static final int LLVMModuleFlagBehaviorRequire
public static final int LLVMModuleFlagBehaviorOverride
public static final int LLVMModuleFlagBehaviorAppend
public static final int LLVMModuleFlagBehaviorAppendUnique
public static final int LLVMAttributeReturnIndex
public static final int LLVMAttributeFunctionIndex
public static final int LLVMAbortProcessAction
public static final int LLVMPrintMessageAction
public static final int LLVMReturnStatusAction
public static final int LLVMDisassembler_VariantKind_None
public static final int LLVMDisassembler_VariantKind_ARM_HI16
public static final int LLVMDisassembler_VariantKind_ARM_LO16
public static final int LLVMDisassembler_VariantKind_ARM64_PAGE
public static final int LLVMDisassembler_VariantKind_ARM64_PAGEOFF
public static final int LLVMDisassembler_VariantKind_ARM64_GOTPAGE
public static final int LLVMDisassembler_VariantKind_ARM64_GOTPAGEOFF
public static final int LLVMDisassembler_VariantKind_ARM64_TLVP
public static final int LLVMDisassembler_VariantKind_ARM64_TLVOFF
public static final int LLVMDisassembler_ReferenceType_InOut_None
public static final int LLVMDisassembler_ReferenceType_In_Branch
public static final int LLVMDisassembler_ReferenceType_In_PCrel_Load
public static final long LLVMDisassembler_ReferenceType_In_ARM64_ADRP
public static final long LLVMDisassembler_ReferenceType_In_ARM64_ADDXri
public static final long LLVMDisassembler_ReferenceType_In_ARM64_LDRXui
public static final long LLVMDisassembler_ReferenceType_In_ARM64_LDRXl
public static final long LLVMDisassembler_ReferenceType_In_ARM64_ADR
public static final int LLVMDisassembler_ReferenceType_Out_SymbolStub
public static final int LLVMDisassembler_ReferenceType_Out_LitPool_SymAddr
public static final int LLVMDisassembler_ReferenceType_Out_LitPool_CstrAddr
public static final int LLVMDisassembler_ReferenceType_Out_Objc_CFString_Ref
public static final int LLVMDisassembler_ReferenceType_Out_Objc_Message
public static final int LLVMDisassembler_ReferenceType_Out_Objc_Message_Ref
public static final int LLVMDisassembler_ReferenceType_Out_Objc_Selector_Ref
public static final int LLVMDisassembler_ReferenceType_Out_Objc_Class_Ref
public static final int LLVMDisassembler_ReferenceType_DeMangled_Name
public static final int LLVMDisassembler_Option_UseMarkup
public static final int LLVMDisassembler_Option_PrintImmHex
public static final int LLVMDisassembler_Option_AsmPrinterVariant
public static final int LLVMDisassembler_Option_SetInstrComments
public static final int LLVMDisassembler_Option_PrintLatency
public static final int LLVMLinkerDestroySource
public static final int LLVMLinkerPreserveSource_Removed
public static final int LTO_API_VERSION
public static final int LTO_SYMBOL_ALIGNMENT_MASK
public static final int LTO_SYMBOL_PERMISSIONS_MASK
public static final int LTO_SYMBOL_PERMISSIONS_CODE
public static final int LTO_SYMBOL_PERMISSIONS_DATA
public static final int LTO_SYMBOL_PERMISSIONS_RODATA
public static final int LTO_SYMBOL_DEFINITION_MASK
public static final int LTO_SYMBOL_DEFINITION_REGULAR
public static final int LTO_SYMBOL_DEFINITION_TENTATIVE
public static final int LTO_SYMBOL_DEFINITION_WEAK
public static final int LTO_SYMBOL_DEFINITION_UNDEFINED
public static final int LTO_SYMBOL_DEFINITION_WEAKUNDEF
public static final int LTO_SYMBOL_SCOPE_MASK
public static final int LTO_SYMBOL_SCOPE_INTERNAL
public static final int LTO_SYMBOL_SCOPE_HIDDEN
public static final int LTO_SYMBOL_SCOPE_PROTECTED
public static final int LTO_SYMBOL_SCOPE_DEFAULT
public static final int LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN
public static final int LTO_SYMBOL_COMDAT
public static final int LTO_SYMBOL_ALIAS
public static final int LTO_DEBUG_MODEL_NONE
public static final int LTO_DEBUG_MODEL_DWARF
public static final int LTO_CODEGEN_PIC_MODEL_STATIC
public static final int LTO_CODEGEN_PIC_MODEL_DYNAMIC
public static final int LTO_CODEGEN_PIC_MODEL_DYNAMIC_NO_PIC
public static final int LTO_CODEGEN_PIC_MODEL_DEFAULT
public static final int LTO_DS_ERROR
public static final int LTO_DS_WARNING
public static final int LTO_DS_REMARK
public static final int LTO_DS_NOTE
public static final int LLVMBinaryTypeArchive
public static final int LLVMBinaryTypeMachOUniversalBinary
public static final int LLVMBinaryTypeCOFFImportFile
public static final int LLVMBinaryTypeIR
public static final int LLVMBinaryTypeWinRes
public static final int LLVMBinaryTypeCOFF
public static final int LLVMBinaryTypeELF32L
public static final int LLVMBinaryTypeELF32B
public static final int LLVMBinaryTypeELF64L
public static final int LLVMBinaryTypeELF64B
public static final int LLVMBinaryTypeMachO32L
public static final int LLVMBinaryTypeMachO32B
public static final int LLVMBinaryTypeMachO64L
public static final int LLVMBinaryTypeMachO64B
public static final int LLVMBinaryTypeWasm
public static final int LLVMBinaryTypeOffload
public static final int LLVMBigEndian
public static final int LLVMLittleEndian
public static final int LLVMCodeGenLevelNone
public static final int LLVMCodeGenLevelLess
public static final int LLVMCodeGenLevelDefault
public static final int LLVMCodeGenLevelAggressive
public static final int LLVMRelocDefault
public static final int LLVMRelocStatic
public static final int LLVMRelocPIC
public static final int LLVMRelocDynamicNoPic
public static final int LLVMRelocROPI
public static final int LLVMRelocRWPI
public static final int LLVMRelocROPI_RWPI
public static final int LLVMCodeModelDefault
public static final int LLVMCodeModelJITDefault
public static final int LLVMCodeModelTiny
public static final int LLVMCodeModelSmall
public static final int LLVMCodeModelKernel
public static final int LLVMCodeModelMedium
public static final int LLVMCodeModelLarge
public static final int LLVMAssemblyFile
public static final int LLVMObjectFile
public static final int LLVMAnyComdatSelectionKind
public static final int LLVMExactMatchComdatSelectionKind
public static final int LLVMLargestComdatSelectionKind
public static final int LLVMNoDeduplicateComdatSelectionKind
public static final int LLVMSameSizeComdatSelectionKind
public static final int LLVMDIFlagZero
public static final int LLVMDIFlagPrivate
public static final int LLVMDIFlagProtected
public static final int LLVMDIFlagPublic
public static final int LLVMDIFlagFwdDecl
public static final int LLVMDIFlagAppleBlock
public static final int LLVMDIFlagReservedBit4
public static final int LLVMDIFlagVirtual
public static final int LLVMDIFlagArtificial
public static final int LLVMDIFlagExplicit
public static final int LLVMDIFlagPrototyped
public static final int LLVMDIFlagObjcClassComplete
public static final int LLVMDIFlagObjectPointer
public static final int LLVMDIFlagVector
public static final int LLVMDIFlagStaticMember
public static final int LLVMDIFlagLValueReference
public static final int LLVMDIFlagRValueReference
public static final int LLVMDIFlagReserved
public static final int LLVMDIFlagSingleInheritance
public static final int LLVMDIFlagMultipleInheritance
public static final int LLVMDIFlagVirtualInheritance
public static final int LLVMDIFlagIntroducedVirtual
public static final int LLVMDIFlagBitField
public static final int LLVMDIFlagNoReturn
public static final int LLVMDIFlagTypePassByValue
public static final int LLVMDIFlagTypePassByReference
public static final int LLVMDIFlagEnumClass
public static final int LLVMDIFlagFixedEnum
public static final int LLVMDIFlagThunk
public static final int LLVMDIFlagNonTrivial
public static final int LLVMDIFlagBigEndian
public static final int LLVMDIFlagLittleEndian
public static final int LLVMDIFlagIndirectVirtualBase
public static final int LLVMDIFlagAccessibility
public static final int LLVMDIFlagPtrToMemberRep
public static final int LLVMDWARFSourceLanguageC89
public static final int LLVMDWARFSourceLanguageC
public static final int LLVMDWARFSourceLanguageAda83
public static final int LLVMDWARFSourceLanguageC_plus_plus
public static final int LLVMDWARFSourceLanguageCobol74
public static final int LLVMDWARFSourceLanguageCobol85
public static final int LLVMDWARFSourceLanguageFortran77
public static final int LLVMDWARFSourceLanguageFortran90
public static final int LLVMDWARFSourceLanguagePascal83
public static final int LLVMDWARFSourceLanguageModula2
public static final int LLVMDWARFSourceLanguageJava
public static final int LLVMDWARFSourceLanguageC99
public static final int LLVMDWARFSourceLanguageAda95
public static final int LLVMDWARFSourceLanguageFortran95
public static final int LLVMDWARFSourceLanguagePLI
public static final int LLVMDWARFSourceLanguageObjC
public static final int LLVMDWARFSourceLanguageObjC_plus_plus
public static final int LLVMDWARFSourceLanguageUPC
public static final int LLVMDWARFSourceLanguageD
public static final int LLVMDWARFSourceLanguagePython
public static final int LLVMDWARFSourceLanguageOpenCL
public static final int LLVMDWARFSourceLanguageGo
public static final int LLVMDWARFSourceLanguageModula3
public static final int LLVMDWARFSourceLanguageHaskell
public static final int LLVMDWARFSourceLanguageC_plus_plus_03
public static final int LLVMDWARFSourceLanguageC_plus_plus_11
public static final int LLVMDWARFSourceLanguageOCaml
public static final int LLVMDWARFSourceLanguageRust
public static final int LLVMDWARFSourceLanguageC11
public static final int LLVMDWARFSourceLanguageSwift
public static final int LLVMDWARFSourceLanguageJulia
public static final int LLVMDWARFSourceLanguageDylan
public static final int LLVMDWARFSourceLanguageC_plus_plus_14
public static final int LLVMDWARFSourceLanguageFortran03
public static final int LLVMDWARFSourceLanguageFortran08
public static final int LLVMDWARFSourceLanguageRenderScript
public static final int LLVMDWARFSourceLanguageBLISS
public static final int LLVMDWARFSourceLanguageKotlin
public static final int LLVMDWARFSourceLanguageZig
public static final int LLVMDWARFSourceLanguageCrystal
public static final int LLVMDWARFSourceLanguageC_plus_plus_17
public static final int LLVMDWARFSourceLanguageC_plus_plus_20
public static final int LLVMDWARFSourceLanguageC17
public static final int LLVMDWARFSourceLanguageFortran18
public static final int LLVMDWARFSourceLanguageAda2005
public static final int LLVMDWARFSourceLanguageAda2012
public static final int LLVMDWARFSourceLanguageMojo
public static final int LLVMDWARFSourceLanguageMips_Assembler
public static final int LLVMDWARFSourceLanguageGOOGLE_RenderScript
public static final int LLVMDWARFSourceLanguageBORLAND_Delphi
public static final int LLVMDWARFEmissionNone
public static final int LLVMDWARFEmissionFull
public static final int LLVMDWARFEmissionLineTablesOnly
public static final int LLVMMDStringMetadataKind
public static final int LLVMConstantAsMetadataMetadataKind
public static final int LLVMLocalAsMetadataMetadataKind
public static final int LLVMDistinctMDOperandPlaceholderMetadataKind
public static final int LLVMMDTupleMetadataKind
public static final int LLVMDILocationMetadataKind
public static final int LLVMDIExpressionMetadataKind
public static final int LLVMDIGlobalVariableExpressionMetadataKind
public static final int LLVMGenericDINodeMetadataKind
public static final int LLVMDISubrangeMetadataKind
public static final int LLVMDIEnumeratorMetadataKind
public static final int LLVMDIBasicTypeMetadataKind
public static final int LLVMDIDerivedTypeMetadataKind
public static final int LLVMDICompositeTypeMetadataKind
public static final int LLVMDISubroutineTypeMetadataKind
public static final int LLVMDIFileMetadataKind
public static final int LLVMDICompileUnitMetadataKind
public static final int LLVMDISubprogramMetadataKind
public static final int LLVMDILexicalBlockMetadataKind
public static final int LLVMDILexicalBlockFileMetadataKind
public static final int LLVMDINamespaceMetadataKind
public static final int LLVMDIModuleMetadataKind
public static final int LLVMDITemplateTypeParameterMetadataKind
public static final int LLVMDITemplateValueParameterMetadataKind
public static final int LLVMDIGlobalVariableMetadataKind
public static final int LLVMDILocalVariableMetadataKind
public static final int LLVMDILabelMetadataKind
public static final int LLVMDIObjCPropertyMetadataKind
public static final int LLVMDIImportedEntityMetadataKind
public static final int LLVMDIMacroMetadataKind
public static final int LLVMDIMacroFileMetadataKind
public static final int LLVMDICommonBlockMetadataKind
public static final int LLVMDIStringTypeMetadataKind
public static final int LLVMDIGenericSubrangeMetadataKind
public static final int LLVMDIArgListMetadataKind
public static final int LLVMDIAssignIDMetadataKind
public static final int LLVMDWARFMacinfoRecordTypeDefine
public static final int LLVMDWARFMacinfoRecordTypeMacro
public static final int LLVMDWARFMacinfoRecordTypeStartFile
public static final int LLVMDWARFMacinfoRecordTypeEndFile
public static final int LLVMDWARFMacinfoRecordTypeVendorExt
public static final int LLVMErrorSuccess
public static final int LLVMJITSymbolGenericFlagsNone
public static final int LLVMJITSymbolGenericFlagsExported
public static final int LLVMJITSymbolGenericFlagsWeak
public static final int LLVMJITSymbolGenericFlagsCallable
public static final int LLVMJITSymbolGenericFlagsMaterializationSideEffectsOnly
public static final int LLVMOrcLookupKindStatic
public static final int LLVMOrcLookupKindDLSym
public static final int LLVMOrcJITDylibLookupFlagsMatchExportedSymbolsOnly
public static final int LLVMOrcJITDylibLookupFlagsMatchAllSymbols
public static final int LLVMOrcSymbolLookupFlagsRequiredSymbol
public static final int LLVMOrcSymbolLookupFlagsWeaklyReferencedSymbol
public static final int REMARKS_API_VERSION
public static final int LLVMRemarkTypeUnknown
public static final int LLVMRemarkTypePassed
public static final int LLVMRemarkTypeMissed
public static final int LLVMRemarkTypeAnalysis
public static final int LLVMRemarkTypeAnalysisFPCommute
public static final int LLVMRemarkTypeAnalysisAliasing
public static final int LLVMRemarkTypeFailure
@Cast(value="LLVMBool") public static int LLVMLoadLibraryPermanently(@Cast(value="const char*") BytePointer Filename)
sys::DynamicLibrary::LoadLibraryPermanently()
@Cast(value="LLVMBool") public static int LLVMLoadLibraryPermanently(String Filename)
public static void LLVMParseCommandLineOptions(int argc, @Cast(value="const char*const*") PointerPointer argv, @Cast(value="const char*") BytePointer Overview)
llvm::cl::ParseCommandLineOptions()
public static void LLVMParseCommandLineOptions(int argc, @Cast(value="const char*const*") @ByPtrPtr BytePointer argv, @Cast(value="const char*") BytePointer Overview)
public static void LLVMParseCommandLineOptions(int argc, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer argv, String Overview)
public static void LLVMParseCommandLineOptions(int argc, @Cast(value="const char*const*") @ByPtrPtr byte[] argv, @Cast(value="const char*") BytePointer Overview)
public static void LLVMParseCommandLineOptions(int argc, @Cast(value="const char*const*") @ByPtrPtr BytePointer argv, String Overview)
public static void LLVMParseCommandLineOptions(int argc, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer argv, @Cast(value="const char*") BytePointer Overview)
public static void LLVMParseCommandLineOptions(int argc, @Cast(value="const char*const*") @ByPtrPtr byte[] argv, String Overview)
public static Pointer LLVMSearchForAddressOfSymbol(@Cast(value="const char*") BytePointer symbolName)
sys::DynamicLibrary::SearchForAddressOfSymbol()
public static void LLVMAddSymbol(@Cast(value="const char*") BytePointer symbolName, Pointer symbolValue)
sys::DynamicLibrary::AddSymbol()
public static void LLVMShutdown()
llvm::llvm_shutdown
,
ManagedStatic
public static void LLVMGetVersion(@Cast(value="unsigned*") IntPointer Major, @Cast(value="unsigned*") IntPointer Minor, @Cast(value="unsigned*") IntPointer Patch)
public static void LLVMGetVersion(@Cast(value="unsigned*") IntBuffer Major, @Cast(value="unsigned*") IntBuffer Minor, @Cast(value="unsigned*") IntBuffer Patch)
public static void LLVMGetVersion(@Cast(value="unsigned*") int[] Major, @Cast(value="unsigned*") int[] Minor, @Cast(value="unsigned*") int[] Patch)
@Cast(value="char*") public static BytePointer LLVMCreateMessage(@Cast(value="const char*") BytePointer Message)
@Cast(value="char*") public static ByteBuffer LLVMCreateMessage(String Message)
public static void LLVMDisposeMessage(@Cast(value="char*") BytePointer Message)
public static void LLVMDisposeMessage(@Cast(value="char*") ByteBuffer Message)
public static LLVMContextRef LLVMContextCreate()
public static LLVMContextRef LLVMGetGlobalContext()
public static void LLVMContextSetDiagnosticHandler(LLVMContextRef C, LLVMDiagnosticHandler Handler, Pointer DiagnosticContext)
public static LLVMDiagnosticHandler LLVMContextGetDiagnosticHandler(LLVMContextRef C)
public static Pointer LLVMContextGetDiagnosticContext(LLVMContextRef C)
public static void LLVMContextSetYieldCallback(LLVMContextRef C, LLVMYieldCallback Callback, Pointer OpaqueHandle)
LLVMContext::setYieldCallback()
@Cast(value="LLVMBool") public static int LLVMContextShouldDiscardValueNames(LLVMContextRef C)
LLVMContext::shouldDiscardValueNames()
public static void LLVMContextSetDiscardValueNames(LLVMContextRef C, @Cast(value="LLVMBool") int Discard)
LLVMContext::setDiscardValueNames()
public static void LLVMContextDispose(LLVMContextRef C)
@Cast(value="char*") public static BytePointer LLVMGetDiagInfoDescription(LLVMDiagnosticInfoRef DI)
DiagnosticInfo::print()
@Cast(value="LLVMDiagnosticSeverity") public static int LLVMGetDiagInfoSeverity(LLVMDiagnosticInfoRef DI)
DiagnosticInfo::getSeverity()
@Cast(value="unsigned") public static int LLVMGetMDKindIDInContext(LLVMContextRef C, @Cast(value="const char*") BytePointer Name, @Cast(value="unsigned") int SLen)
@Cast(value="unsigned") public static int LLVMGetMDKindIDInContext(LLVMContextRef C, String Name, @Cast(value="unsigned") int SLen)
@Cast(value="unsigned") public static int LLVMGetMDKindID(@Cast(value="const char*") BytePointer Name, @Cast(value="unsigned") int SLen)
@Cast(value="unsigned") public static int LLVMGetMDKindID(String Name, @Cast(value="unsigned") int SLen)
@Cast(value="unsigned") public static int LLVMGetEnumAttributeKindForName(@Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long SLen)
@Cast(value="unsigned") public static int LLVMGetEnumAttributeKindForName(String Name, @Cast(value="size_t") long SLen)
@Cast(value="unsigned") public static int LLVMGetLastEnumAttributeKind()
public static LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, @Cast(value="unsigned") int KindID, @Cast(value="uint64_t") long Val)
@Cast(value="unsigned") public static int LLVMGetEnumAttributeKind(LLVMAttributeRef A)
@Cast(value="uint64_t") public static long LLVMGetEnumAttributeValue(LLVMAttributeRef A)
public static LLVMAttributeRef LLVMCreateTypeAttribute(LLVMContextRef C, @Cast(value="unsigned") int KindID, LLVMTypeRef type_ref)
public static LLVMTypeRef LLVMGetTypeAttributeValue(LLVMAttributeRef A)
public static LLVMAttributeRef LLVMCreateStringAttribute(LLVMContextRef C, @Cast(value="const char*") BytePointer K, @Cast(value="unsigned") int KLength, @Cast(value="const char*") BytePointer V, @Cast(value="unsigned") int VLength)
public static LLVMAttributeRef LLVMCreateStringAttribute(LLVMContextRef C, String K, @Cast(value="unsigned") int KLength, String V, @Cast(value="unsigned") int VLength)
@Cast(value="const char*") public static BytePointer LLVMGetStringAttributeKind(LLVMAttributeRef A, @Cast(value="unsigned*") IntPointer Length)
public static String LLVMGetStringAttributeKind(LLVMAttributeRef A, @Cast(value="unsigned*") IntBuffer Length)
@Cast(value="const char*") public static BytePointer LLVMGetStringAttributeKind(LLVMAttributeRef A, @Cast(value="unsigned*") int[] Length)
@Cast(value="const char*") public static BytePointer LLVMGetStringAttributeValue(LLVMAttributeRef A, @Cast(value="unsigned*") IntPointer Length)
public static String LLVMGetStringAttributeValue(LLVMAttributeRef A, @Cast(value="unsigned*") IntBuffer Length)
@Cast(value="const char*") public static BytePointer LLVMGetStringAttributeValue(LLVMAttributeRef A, @Cast(value="unsigned*") int[] Length)
@Cast(value="LLVMBool") public static int LLVMIsEnumAttribute(LLVMAttributeRef A)
@Cast(value="LLVMBool") public static int LLVMIsStringAttribute(LLVMAttributeRef A)
@Cast(value="LLVMBool") public static int LLVMIsTypeAttribute(LLVMAttributeRef A)
public static LLVMTypeRef LLVMGetTypeByName2(LLVMContextRef C, @Cast(value="const char*") BytePointer Name)
public static LLVMTypeRef LLVMGetTypeByName2(LLVMContextRef C, String Name)
public static LLVMModuleRef LLVMModuleCreateWithName(@Cast(value="const char*") BytePointer ModuleID)
public static LLVMModuleRef LLVMModuleCreateWithName(String ModuleID)
public static LLVMModuleRef LLVMModuleCreateWithNameInContext(@Cast(value="const char*") BytePointer ModuleID, LLVMContextRef C)
public static LLVMModuleRef LLVMModuleCreateWithNameInContext(String ModuleID, LLVMContextRef C)
public static LLVMModuleRef LLVMCloneModule(LLVMModuleRef M)
public static void LLVMDisposeModule(LLVMModuleRef M)
@Cast(value="const char*") public static BytePointer LLVMGetModuleIdentifier(LLVMModuleRef M, @Cast(value="size_t*") SizeTPointer Len)
M
- Module to obtain identifier ofLen
- Out parameter which holds the length of the returned string.Module::getModuleIdentifier()
public static void LLVMSetModuleIdentifier(LLVMModuleRef M, @Cast(value="const char*") BytePointer Ident, @Cast(value="size_t") long Len)
M
- The module to set identifierIdent
- The string to set M's identifier toLen
- Length of IdentModule::setModuleIdentifier()
public static void LLVMSetModuleIdentifier(LLVMModuleRef M, String Ident, @Cast(value="size_t") long Len)
@Cast(value="const char*") public static BytePointer LLVMGetSourceFileName(LLVMModuleRef M, @Cast(value="size_t*") SizeTPointer Len)
M
- Module to obtain the name ofLen
- Out parameter which holds the length of the returned stringModule::getSourceFileName()
public static void LLVMSetSourceFileName(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long Len)
M
- The module to set the source file name ofName
- The string to set M's source file name toLen
- Length of NameModule::setSourceFileName()
public static void LLVMSetSourceFileName(LLVMModuleRef M, String Name, @Cast(value="size_t") long Len)
@Cast(value="const char*") public static BytePointer LLVMGetDataLayoutStr(LLVMModuleRef M)
LLVMGetDataLayout is DEPRECATED, as the name is not only incorrect,
but match the name of another method on the module. Prefer the use
of LLVMGetDataLayoutStr, which is not ambiguous.
@Cast(value="const char*") public static BytePointer LLVMGetDataLayout(LLVMModuleRef M)
public static void LLVMSetDataLayout(LLVMModuleRef M, @Cast(value="const char*") BytePointer DataLayoutStr)
Module::setDataLayout()
public static void LLVMSetDataLayout(LLVMModuleRef M, String DataLayoutStr)
@Cast(value="const char*") public static BytePointer LLVMGetTarget(LLVMModuleRef M)
Module::getTargetTriple()
public static void LLVMSetTarget(LLVMModuleRef M, @Cast(value="const char*") BytePointer Triple)
Module::setTargetTriple()
public static void LLVMSetTarget(LLVMModuleRef M, String Triple)
public static LLVMModuleFlagEntry LLVMCopyModuleFlagsMetadata(LLVMModuleRef M, @Cast(value="size_t*") SizeTPointer Len)
Module::getModuleFlagsMetadata()
public static void LLVMDisposeModuleFlagsMetadata(LLVMModuleFlagEntry Entries)
@Cast(value="LLVMModuleFlagBehavior") public static int LLVMModuleFlagEntriesGetFlagBehavior(LLVMModuleFlagEntry Entries, @Cast(value="unsigned") int Index)
Module::ModuleFlagEntry::Behavior
@Cast(value="const char*") public static BytePointer LLVMModuleFlagEntriesGetKey(LLVMModuleFlagEntry Entries, @Cast(value="unsigned") int Index, @Cast(value="size_t*") SizeTPointer Len)
Module::ModuleFlagEntry::Key
public static LLVMMetadataRef LLVMModuleFlagEntriesGetMetadata(LLVMModuleFlagEntry Entries, @Cast(value="unsigned") int Index)
Module::ModuleFlagEntry::Val
public static LLVMMetadataRef LLVMGetModuleFlag(LLVMModuleRef M, @Cast(value="const char*") BytePointer Key, @Cast(value="size_t") long KeyLen)
Module::getModuleFlag()
public static LLVMMetadataRef LLVMGetModuleFlag(LLVMModuleRef M, String Key, @Cast(value="size_t") long KeyLen)
public static void LLVMAddModuleFlag(LLVMModuleRef M, @Cast(value="LLVMModuleFlagBehavior") int Behavior, @Cast(value="const char*") BytePointer Key, @Cast(value="size_t") long KeyLen, LLVMMetadataRef Val)
Module::addModuleFlag()
public static void LLVMAddModuleFlag(LLVMModuleRef M, @Cast(value="LLVMModuleFlagBehavior") int Behavior, String Key, @Cast(value="size_t") long KeyLen, LLVMMetadataRef Val)
public static void LLVMDumpModule(LLVMModuleRef M)
Module::dump()
@Cast(value="LLVMBool") public static int LLVMPrintModuleToFile(LLVMModuleRef M, @Cast(value="const char*") BytePointer Filename, @Cast(value="char**") PointerPointer ErrorMessage)
Module::print()
@Cast(value="LLVMBool") public static int LLVMPrintModuleToFile(LLVMModuleRef M, @Cast(value="const char*") BytePointer Filename, @Cast(value="char**") @ByPtrPtr BytePointer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMPrintModuleToFile(LLVMModuleRef M, String Filename, @Cast(value="char**") @ByPtrPtr ByteBuffer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMPrintModuleToFile(LLVMModuleRef M, @Cast(value="const char*") BytePointer Filename, @Cast(value="char**") @ByPtrPtr byte[] ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMPrintModuleToFile(LLVMModuleRef M, String Filename, @Cast(value="char**") @ByPtrPtr BytePointer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMPrintModuleToFile(LLVMModuleRef M, @Cast(value="const char*") BytePointer Filename, @Cast(value="char**") @ByPtrPtr ByteBuffer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMPrintModuleToFile(LLVMModuleRef M, String Filename, @Cast(value="char**") @ByPtrPtr byte[] ErrorMessage)
@Cast(value="char*") public static BytePointer LLVMPrintModuleToString(LLVMModuleRef M)
Module::print()
@Cast(value="const char*") public static BytePointer LLVMGetModuleInlineAsm(LLVMModuleRef M, @Cast(value="size_t*") SizeTPointer Len)
Module::getModuleInlineAsm()
public static void LLVMSetModuleInlineAsm2(LLVMModuleRef M, @Cast(value="const char*") BytePointer Asm, @Cast(value="size_t") long Len)
Module::setModuleInlineAsm()
public static void LLVMSetModuleInlineAsm2(LLVMModuleRef M, String Asm, @Cast(value="size_t") long Len)
public static void LLVMAppendModuleInlineAsm(LLVMModuleRef M, @Cast(value="const char*") BytePointer Asm, @Cast(value="size_t") long Len)
Module::appendModuleInlineAsm()
public static void LLVMAppendModuleInlineAsm(LLVMModuleRef M, String Asm, @Cast(value="size_t") long Len)
public static LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty, @Cast(value="char*") BytePointer AsmString, @Cast(value="size_t") long AsmStringSize, @Cast(value="char*") BytePointer Constraints, @Cast(value="size_t") long ConstraintsSize, @Cast(value="LLVMBool") int HasSideEffects, @Cast(value="LLVMBool") int IsAlignStack, @Cast(value="LLVMInlineAsmDialect") int Dialect, @Cast(value="LLVMBool") int CanThrow)
InlineAsm::get()
public static LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty, @Cast(value="char*") ByteBuffer AsmString, @Cast(value="size_t") long AsmStringSize, @Cast(value="char*") ByteBuffer Constraints, @Cast(value="size_t") long ConstraintsSize, @Cast(value="LLVMBool") int HasSideEffects, @Cast(value="LLVMBool") int IsAlignStack, @Cast(value="LLVMInlineAsmDialect") int Dialect, @Cast(value="LLVMBool") int CanThrow)
public static LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty, @Cast(value="char*") byte[] AsmString, @Cast(value="size_t") long AsmStringSize, @Cast(value="char*") byte[] Constraints, @Cast(value="size_t") long ConstraintsSize, @Cast(value="LLVMBool") int HasSideEffects, @Cast(value="LLVMBool") int IsAlignStack, @Cast(value="LLVMInlineAsmDialect") int Dialect, @Cast(value="LLVMBool") int CanThrow)
public static LLVMContextRef LLVMGetModuleContext(LLVMModuleRef M)
Module::getContext()
public static LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name)
public static LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, String Name)
public static LLVMNamedMDNodeRef LLVMGetFirstNamedMetadata(LLVMModuleRef M)
llvm::Module::named_metadata_begin()
public static LLVMNamedMDNodeRef LLVMGetLastNamedMetadata(LLVMModuleRef M)
llvm::Module::named_metadata_end()
public static LLVMNamedMDNodeRef LLVMGetNextNamedMetadata(LLVMNamedMDNodeRef NamedMDNode)
public static LLVMNamedMDNodeRef LLVMGetPreviousNamedMetadata(LLVMNamedMDNodeRef NamedMDNode)
public static LLVMNamedMDNodeRef LLVMGetNamedMetadata(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen)
llvm::Module::getNamedMetadata()
public static LLVMNamedMDNodeRef LLVMGetNamedMetadata(LLVMModuleRef M, String Name, @Cast(value="size_t") long NameLen)
public static LLVMNamedMDNodeRef LLVMGetOrInsertNamedMetadata(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen)
llvm::Module::getOrInsertNamedMetadata()
public static LLVMNamedMDNodeRef LLVMGetOrInsertNamedMetadata(LLVMModuleRef M, String Name, @Cast(value="size_t") long NameLen)
@Cast(value="const char*") public static BytePointer LLVMGetNamedMetadataName(LLVMNamedMDNodeRef NamedMD, @Cast(value="size_t*") SizeTPointer NameLen)
llvm::NamedMDNode::getName()
@Cast(value="unsigned") public static int LLVMGetNamedMetadataNumOperands(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name)
llvm::Module::getNamedMetadata()
@Cast(value="unsigned") public static int LLVMGetNamedMetadataNumOperands(LLVMModuleRef M, String Name)
public static void LLVMGetNamedMetadataOperands(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name, @ByPtrPtr LLVMValueRef Dest)
llvm::Module::getNamedMetadata()
,
llvm::MDNode::getOperand()
public static void LLVMGetNamedMetadataOperands(LLVMModuleRef M, String Name, @Cast(value="LLVMValueRef*") PointerPointer Dest)
public static void LLVMAddNamedMetadataOperand(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name, LLVMValueRef Val)
llvm::Module::getNamedMetadata()
,
llvm::MDNode::addOperand()
public static void LLVMAddNamedMetadataOperand(LLVMModuleRef M, String Name, LLVMValueRef Val)
@Cast(value="const char*") public static BytePointer LLVMGetDebugLocDirectory(LLVMValueRef Val, @Cast(value="unsigned*") IntPointer Length)
llvm::Instruction::getDebugLoc()
,
llvm::GlobalVariable::getDebugInfo()
,
llvm::Function::getSubprogram()
public static String LLVMGetDebugLocDirectory(LLVMValueRef Val, @Cast(value="unsigned*") IntBuffer Length)
@Cast(value="const char*") public static BytePointer LLVMGetDebugLocDirectory(LLVMValueRef Val, @Cast(value="unsigned*") int[] Length)
@Cast(value="const char*") public static BytePointer LLVMGetDebugLocFilename(LLVMValueRef Val, @Cast(value="unsigned*") IntPointer Length)
llvm::Instruction::getDebugLoc()
,
llvm::GlobalVariable::getDebugInfo()
,
llvm::Function::getSubprogram()
public static String LLVMGetDebugLocFilename(LLVMValueRef Val, @Cast(value="unsigned*") IntBuffer Length)
@Cast(value="const char*") public static BytePointer LLVMGetDebugLocFilename(LLVMValueRef Val, @Cast(value="unsigned*") int[] Length)
@Cast(value="unsigned") public static int LLVMGetDebugLocLine(LLVMValueRef Val)
llvm::Instruction::getDebugLoc()
,
llvm::GlobalVariable::getDebugInfo()
,
llvm::Function::getSubprogram()
@Cast(value="unsigned") public static int LLVMGetDebugLocColumn(LLVMValueRef Val)
llvm::Instruction::getDebugLoc()
public static LLVMValueRef LLVMAddFunction(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name, LLVMTypeRef FunctionTy)
llvm::Function::Create()
public static LLVMValueRef LLVMAddFunction(LLVMModuleRef M, String Name, LLVMTypeRef FunctionTy)
public static LLVMValueRef LLVMGetNamedFunction(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name)
llvm::Module::getFunction()
public static LLVMValueRef LLVMGetNamedFunction(LLVMModuleRef M, String Name)
public static LLVMValueRef LLVMGetFirstFunction(LLVMModuleRef M)
llvm::Module::begin()
public static LLVMValueRef LLVMGetLastFunction(LLVMModuleRef M)
llvm::Module::end()
public static LLVMValueRef LLVMGetNextFunction(LLVMValueRef Fn)
public static LLVMValueRef LLVMGetPreviousFunction(LLVMValueRef Fn)
public static void LLVMSetModuleInlineAsm(LLVMModuleRef M, @Cast(value="const char*") BytePointer Asm)
public static void LLVMSetModuleInlineAsm(LLVMModuleRef M, String Asm)
@Cast(value="LLVMTypeKind") public static int LLVMGetTypeKind(LLVMTypeRef Ty)
llvm::Type:getTypeID()
@Cast(value="LLVMBool") public static int LLVMTypeIsSized(LLVMTypeRef Ty)
llvm::Type::isSized()
public static LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty)
llvm::Type::getContext()
public static void LLVMDumpType(LLVMTypeRef Val)
llvm::Type::dump()
@Cast(value="char*") public static BytePointer LLVMPrintTypeToString(LLVMTypeRef Val)
llvm::Type::print()
public static LLVMTypeRef LLVMInt1TypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMInt8TypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMInt16TypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMInt32TypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMInt64TypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMInt128TypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMIntTypeInContext(LLVMContextRef C, @Cast(value="unsigned") int NumBits)
public static LLVMTypeRef LLVMInt1Type()
public static LLVMTypeRef LLVMInt8Type()
public static LLVMTypeRef LLVMInt16Type()
public static LLVMTypeRef LLVMInt32Type()
public static LLVMTypeRef LLVMInt64Type()
public static LLVMTypeRef LLVMInt128Type()
public static LLVMTypeRef LLVMIntType(@Cast(value="unsigned") int NumBits)
@Cast(value="unsigned") public static int LLVMGetIntTypeWidth(LLVMTypeRef IntegerTy)
public static LLVMTypeRef LLVMHalfTypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMBFloatTypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMFloatTypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMDoubleTypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMX86FP80TypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMFP128TypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMPPCFP128TypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMHalfType()
public static LLVMTypeRef LLVMBFloatType()
public static LLVMTypeRef LLVMFloatType()
public static LLVMTypeRef LLVMDoubleType()
public static LLVMTypeRef LLVMX86FP80Type()
public static LLVMTypeRef LLVMFP128Type()
public static LLVMTypeRef LLVMPPCFP128Type()
public static LLVMTypeRef LLVMFunctionType(LLVMTypeRef ReturnType, @ByPtrPtr LLVMTypeRef ParamTypes, @Cast(value="unsigned") int ParamCount, @Cast(value="LLVMBool") int IsVarArg)
public static LLVMTypeRef LLVMFunctionType(LLVMTypeRef ReturnType, @Cast(value="LLVMTypeRef*") PointerPointer ParamTypes, @Cast(value="unsigned") int ParamCount, @Cast(value="LLVMBool") int IsVarArg)
@Cast(value="LLVMBool") public static int LLVMIsFunctionVarArg(LLVMTypeRef FunctionTy)
public static LLVMTypeRef LLVMGetReturnType(LLVMTypeRef FunctionTy)
@Cast(value="unsigned") public static int LLVMCountParamTypes(LLVMTypeRef FunctionTy)
public static void LLVMGetParamTypes(LLVMTypeRef FunctionTy, @ByPtrPtr LLVMTypeRef Dest)
FunctionTy
- The function type to operate on.Dest
- Memory address of an array to be filled with result.public static void LLVMGetParamTypes(LLVMTypeRef FunctionTy, @Cast(value="LLVMTypeRef*") PointerPointer Dest)
public static LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, @ByPtrPtr LLVMTypeRef ElementTypes, @Cast(value="unsigned") int ElementCount, @Cast(value="LLVMBool") int Packed)
llvm::StructType::create()
public static LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, @Cast(value="LLVMTypeRef*") PointerPointer ElementTypes, @Cast(value="unsigned") int ElementCount, @Cast(value="LLVMBool") int Packed)
public static LLVMTypeRef LLVMStructType(@ByPtrPtr LLVMTypeRef ElementTypes, @Cast(value="unsigned") int ElementCount, @Cast(value="LLVMBool") int Packed)
llvm::StructType::create()
public static LLVMTypeRef LLVMStructType(@Cast(value="LLVMTypeRef*") PointerPointer ElementTypes, @Cast(value="unsigned") int ElementCount, @Cast(value="LLVMBool") int Packed)
public static LLVMTypeRef LLVMStructCreateNamed(LLVMContextRef C, @Cast(value="const char*") BytePointer Name)
llvm::StructType::create()
public static LLVMTypeRef LLVMStructCreateNamed(LLVMContextRef C, String Name)
@Cast(value="const char*") public static BytePointer LLVMGetStructName(LLVMTypeRef Ty)
llvm::StructType::getName()
public static void LLVMStructSetBody(LLVMTypeRef StructTy, @ByPtrPtr LLVMTypeRef ElementTypes, @Cast(value="unsigned") int ElementCount, @Cast(value="LLVMBool") int Packed)
llvm::StructType::setBody()
public static void LLVMStructSetBody(LLVMTypeRef StructTy, @Cast(value="LLVMTypeRef*") PointerPointer ElementTypes, @Cast(value="unsigned") int ElementCount, @Cast(value="LLVMBool") int Packed)
@Cast(value="unsigned") public static int LLVMCountStructElementTypes(LLVMTypeRef StructTy)
llvm::StructType::getNumElements()
public static void LLVMGetStructElementTypes(LLVMTypeRef StructTy, @ByPtrPtr LLVMTypeRef Dest)
public static void LLVMGetStructElementTypes(LLVMTypeRef StructTy, @Cast(value="LLVMTypeRef*") PointerPointer Dest)
public static LLVMTypeRef LLVMStructGetTypeAtIndex(LLVMTypeRef StructTy, @Cast(value="unsigned") int i)
llvm::StructType::getTypeAtIndex()
@Cast(value="LLVMBool") public static int LLVMIsPackedStruct(LLVMTypeRef StructTy)
llvm::StructType::isPacked()
@Cast(value="LLVMBool") public static int LLVMIsOpaqueStruct(LLVMTypeRef StructTy)
llvm::StructType::isOpaque()
@Cast(value="LLVMBool") public static int LLVMIsLiteralStruct(LLVMTypeRef StructTy)
llvm::StructType::isLiteral()
public static LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty)
llvm::SequentialType::getElementType()
public static void LLVMGetSubtypes(LLVMTypeRef Tp, @ByPtrPtr LLVMTypeRef Arr)
llvm::Type::subtypes()
public static void LLVMGetSubtypes(LLVMTypeRef Tp, @Cast(value="LLVMTypeRef*") PointerPointer Arr)
@Cast(value="unsigned") public static int LLVMGetNumContainedTypes(LLVMTypeRef Tp)
llvm::Type::getNumContainedTypes()
public static LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, @Cast(value="unsigned") int ElementCount)
llvm::ArrayType::get()
public static LLVMTypeRef LLVMArrayType2(LLVMTypeRef ElementType, @Cast(value="uint64_t") long ElementCount)
llvm::ArrayType::get()
@Cast(value="unsigned") public static int LLVMGetArrayLength(LLVMTypeRef ArrayTy)
llvm::ArrayType::getNumElements()
@Cast(value="uint64_t") public static long LLVMGetArrayLength2(LLVMTypeRef ArrayTy)
llvm::ArrayType::getNumElements()
public static LLVMTypeRef LLVMPointerType(LLVMTypeRef ElementType, @Cast(value="unsigned") int AddressSpace)
llvm::PointerType::get()
@Cast(value="LLVMBool") public static int LLVMPointerTypeIsOpaque(LLVMTypeRef Ty)
llvm::Type::isOpaquePointerTy()
public static LLVMTypeRef LLVMPointerTypeInContext(LLVMContextRef C, @Cast(value="unsigned") int AddressSpace)
llvm::PointerType::get()
@Cast(value="unsigned") public static int LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy)
llvm::PointerType::getAddressSpace()
public static LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, @Cast(value="unsigned") int ElementCount)
llvm::VectorType::get()
public static LLVMTypeRef LLVMScalableVectorType(LLVMTypeRef ElementType, @Cast(value="unsigned") int ElementCount)
llvm::ScalableVectorType::get()
@Cast(value="unsigned") public static int LLVMGetVectorSize(LLVMTypeRef VectorTy)
llvm::VectorType::getNumElements()
public static LLVMTypeRef LLVMVoidTypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMLabelTypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMX86MMXTypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMX86AMXTypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMTokenTypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMMetadataTypeInContext(LLVMContextRef C)
public static LLVMTypeRef LLVMVoidType()
public static LLVMTypeRef LLVMLabelType()
public static LLVMTypeRef LLVMX86MMXType()
public static LLVMTypeRef LLVMX86AMXType()
public static LLVMTypeRef LLVMTargetExtTypeInContext(LLVMContextRef C, @Cast(value="const char*") BytePointer Name, @ByPtrPtr LLVMTypeRef TypeParams, @Cast(value="unsigned") int TypeParamCount, @Cast(value="unsigned*") IntPointer IntParams, @Cast(value="unsigned") int IntParamCount)
public static LLVMTypeRef LLVMTargetExtTypeInContext(LLVMContextRef C, String Name, @Cast(value="LLVMTypeRef*") PointerPointer TypeParams, @Cast(value="unsigned") int TypeParamCount, @Cast(value="unsigned*") IntBuffer IntParams, @Cast(value="unsigned") int IntParamCount)
public static LLVMTypeRef LLVMTargetExtTypeInContext(LLVMContextRef C, @Cast(value="const char*") BytePointer Name, @ByPtrPtr LLVMTypeRef TypeParams, @Cast(value="unsigned") int TypeParamCount, @Cast(value="unsigned*") int[] IntParams, @Cast(value="unsigned") int IntParamCount)
public static LLVMTypeRef LLVMTargetExtTypeInContext(LLVMContextRef C, String Name, @Cast(value="LLVMTypeRef*") PointerPointer TypeParams, @Cast(value="unsigned") int TypeParamCount, @Cast(value="unsigned*") IntPointer IntParams, @Cast(value="unsigned") int IntParamCount)
public static LLVMTypeRef LLVMTargetExtTypeInContext(LLVMContextRef C, @Cast(value="const char*") BytePointer Name, @ByPtrPtr LLVMTypeRef TypeParams, @Cast(value="unsigned") int TypeParamCount, @Cast(value="unsigned*") IntBuffer IntParams, @Cast(value="unsigned") int IntParamCount)
public static LLVMTypeRef LLVMTargetExtTypeInContext(LLVMContextRef C, String Name, @Cast(value="LLVMTypeRef*") PointerPointer TypeParams, @Cast(value="unsigned") int TypeParamCount, @Cast(value="unsigned*") int[] IntParams, @Cast(value="unsigned") int IntParamCount)
public static LLVMTypeRef LLVMTypeOf(LLVMValueRef Val)
llvm::Value::getType()
@Cast(value="LLVMValueKind") public static int LLVMGetValueKind(LLVMValueRef Val)
llvm::Value::getValueID()
@Cast(value="const char*") public static BytePointer LLVMGetValueName2(LLVMValueRef Val, @Cast(value="size_t*") SizeTPointer Length)
llvm::Value::getName()
public static void LLVMSetValueName2(LLVMValueRef Val, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen)
llvm::Value::setName()
public static void LLVMSetValueName2(LLVMValueRef Val, String Name, @Cast(value="size_t") long NameLen)
public static void LLVMDumpValue(LLVMValueRef Val)
llvm::Value::dump()
@Cast(value="char*") public static BytePointer LLVMPrintValueToString(LLVMValueRef Val)
llvm::Value::print()
public static void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal)
llvm::Value::replaceAllUsesWith()
@Cast(value="LLVMBool") public static int LLVMIsConstant(LLVMValueRef Val)
@Cast(value="LLVMBool") public static int LLVMIsUndef(LLVMValueRef Val)
@Cast(value="LLVMBool") public static int LLVMIsPoison(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAArgument(LLVMValueRef Val)
llvm::dyn_cast_or_null<>
public static LLVMValueRef LLVMIsABasicBlock(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAInlineAsm(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAUser(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstant(LLVMValueRef Val)
public static LLVMValueRef LLVMIsABlockAddress(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantAggregateZero(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantArray(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantDataSequential(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantDataArray(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantDataVector(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantExpr(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantFP(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantInt(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantPointerNull(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantStruct(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantTokenNone(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAConstantVector(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAGlobalValue(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAGlobalAlias(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAGlobalObject(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAFunction(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAGlobalVariable(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAGlobalIFunc(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAUndefValue(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAPoisonValue(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAInstruction(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAUnaryOperator(LLVMValueRef Val)
public static LLVMValueRef LLVMIsABinaryOperator(LLVMValueRef Val)
public static LLVMValueRef LLVMIsACallInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAIntrinsicInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsADbgInfoIntrinsic(LLVMValueRef Val)
public static LLVMValueRef LLVMIsADbgVariableIntrinsic(LLVMValueRef Val)
public static LLVMValueRef LLVMIsADbgDeclareInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsADbgLabelInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAMemIntrinsic(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAMemCpyInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAMemMoveInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAMemSetInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsACmpInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAFCmpInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAICmpInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAExtractElementInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAGetElementPtrInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAInsertElementInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAInsertValueInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsALandingPadInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAPHINode(LLVMValueRef Val)
public static LLVMValueRef LLVMIsASelectInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAShuffleVectorInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAStoreInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsABranchInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAIndirectBrInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAInvokeInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAReturnInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsASwitchInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAUnreachableInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAResumeInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsACleanupReturnInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsACatchReturnInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsACatchSwitchInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsACallBrInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAFuncletPadInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsACatchPadInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsACleanupPadInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAUnaryInstruction(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAAllocaInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsACastInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAAddrSpaceCastInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsABitCastInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAFPExtInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAFPToSIInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAFPToUIInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAFPTruncInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAIntToPtrInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAPtrToIntInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsASExtInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsASIToFPInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsATruncInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAUIToFPInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAZExtInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAExtractValueInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsALoadInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAVAArgInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAFreezeInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAAtomicCmpXchgInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAAtomicRMWInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAFenceInst(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAMDNode(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAValueAsMetadata(LLVMValueRef Val)
public static LLVMValueRef LLVMIsAMDString(LLVMValueRef Val)
@Cast(value="const char*") public static BytePointer LLVMGetValueName(LLVMValueRef Val)
public static void LLVMSetValueName(LLVMValueRef Val, @Cast(value="const char*") BytePointer Name)
public static void LLVMSetValueName(LLVMValueRef Val, String Name)
public static LLVMUseRef LLVMGetFirstUse(LLVMValueRef Val)
llvm::Value::use_begin()
public static LLVMUseRef LLVMGetNextUse(LLVMUseRef U)
public static LLVMValueRef LLVMGetUser(LLVMUseRef U)
llvm::Use::getUser()
public static LLVMValueRef LLVMGetUsedValue(LLVMUseRef U)
llvm::Use::get().
public static LLVMValueRef LLVMGetOperand(LLVMValueRef Val, @Cast(value="unsigned") int Index)
llvm::User::getOperand()
public static LLVMUseRef LLVMGetOperandUse(LLVMValueRef Val, @Cast(value="unsigned") int Index)
llvm::User::getOperandUse()
public static void LLVMSetOperand(LLVMValueRef User, @Cast(value="unsigned") int Index, LLVMValueRef Val)
llvm::User::setOperand()
public static int LLVMGetNumOperands(LLVMValueRef Val)
llvm::User::getNumOperands()
public static LLVMValueRef LLVMConstNull(LLVMTypeRef Ty)
llvm::Constant::getNullValue()
public static LLVMValueRef LLVMConstAllOnes(LLVMTypeRef Ty)
llvm::Constant::getAllOnesValue()
public static LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty)
llvm::UndefValue::get()
public static LLVMValueRef LLVMGetPoison(LLVMTypeRef Ty)
llvm::PoisonValue::get()
@Cast(value="LLVMBool") public static int LLVMIsNull(LLVMValueRef Val)
llvm::Constant::isNullValue()
public static LLVMValueRef LLVMConstPointerNull(LLVMTypeRef Ty)
public static LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, @Cast(value="unsigned long long") long N, @Cast(value="LLVMBool") int SignExtend)
IntTy
- Integer type to obtain value of.N
- The value the returned instance should refer to.SignExtend
- Whether to sign extend the produced value.llvm::ConstantInt::get()
public static LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy, @Cast(value="unsigned") int NumWords, @Cast(value="const uint64_t*") LongPointer Words)
llvm::ConstantInt::get()
public static LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy, @Cast(value="unsigned") int NumWords, @Cast(value="const uint64_t*") LongBuffer Words)
public static LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy, @Cast(value="unsigned") int NumWords, @Cast(value="const uint64_t*") long[] Words)
public static LLVMValueRef LLVMConstIntOfString(LLVMTypeRef IntTy, @Cast(value="const char*") BytePointer Text, @Cast(value="uint8_t") byte Radix)
llvm::ConstantInt::get()
public static LLVMValueRef LLVMConstIntOfString(LLVMTypeRef IntTy, String Text, @Cast(value="uint8_t") byte Radix)
public static LLVMValueRef LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy, @Cast(value="const char*") BytePointer Text, @Cast(value="unsigned") int SLen, @Cast(value="uint8_t") byte Radix)
llvm::ConstantInt::get()
public static LLVMValueRef LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy, String Text, @Cast(value="unsigned") int SLen, @Cast(value="uint8_t") byte Radix)
public static LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N)
public static LLVMValueRef LLVMConstRealOfString(LLVMTypeRef RealTy, @Cast(value="const char*") BytePointer Text)
public static LLVMValueRef LLVMConstRealOfString(LLVMTypeRef RealTy, String Text)
public static LLVMValueRef LLVMConstRealOfStringAndSize(LLVMTypeRef RealTy, @Cast(value="const char*") BytePointer Text, @Cast(value="unsigned") int SLen)
public static LLVMValueRef LLVMConstRealOfStringAndSize(LLVMTypeRef RealTy, String Text, @Cast(value="unsigned") int SLen)
@Cast(value="unsigned long long") public static long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal)
llvm::ConstantInt::getZExtValue()
public static long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal)
llvm::ConstantInt::getSExtValue()
public static double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, @Cast(value="LLVMBool*") IntPointer losesInfo)
llvm::ConstantFP::getDoubleValue
public static double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, @Cast(value="LLVMBool*") IntBuffer losesInfo)
public static double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, @Cast(value="LLVMBool*") int[] losesInfo)
public static LLVMValueRef LLVMConstStringInContext(LLVMContextRef C, @Cast(value="const char*") BytePointer Str, @Cast(value="unsigned") int Length, @Cast(value="LLVMBool") int DontNullTerminate)
llvm::ConstantDataArray::getString()
public static LLVMValueRef LLVMConstStringInContext(LLVMContextRef C, String Str, @Cast(value="unsigned") int Length, @Cast(value="LLVMBool") int DontNullTerminate)
public static LLVMValueRef LLVMConstString(@Cast(value="const char*") BytePointer Str, @Cast(value="unsigned") int Length, @Cast(value="LLVMBool") int DontNullTerminate)
LLVMConstStringInContext()
,
llvm::ConstantDataArray::getString()
public static LLVMValueRef LLVMConstString(String Str, @Cast(value="unsigned") int Length, @Cast(value="LLVMBool") int DontNullTerminate)
@Cast(value="LLVMBool") public static int LLVMIsConstantString(LLVMValueRef c)
ConstantDataSequential::getAsString()
@Cast(value="const char*") public static BytePointer LLVMGetAsString(LLVMValueRef c, @Cast(value="size_t*") SizeTPointer Length)
ConstantDataSequential::getAsString()
public static LLVMValueRef LLVMConstStructInContext(LLVMContextRef C, @ByPtrPtr LLVMValueRef ConstantVals, @Cast(value="unsigned") int Count, @Cast(value="LLVMBool") int Packed)
llvm::ConstantStruct::getAnon()
public static LLVMValueRef LLVMConstStructInContext(LLVMContextRef C, @Cast(value="LLVMValueRef*") PointerPointer ConstantVals, @Cast(value="unsigned") int Count, @Cast(value="LLVMBool") int Packed)
public static LLVMValueRef LLVMConstStruct(@ByPtrPtr LLVMValueRef ConstantVals, @Cast(value="unsigned") int Count, @Cast(value="LLVMBool") int Packed)
LLVMConstStructInContext()
public static LLVMValueRef LLVMConstStruct(@Cast(value="LLVMValueRef*") PointerPointer ConstantVals, @Cast(value="unsigned") int Count, @Cast(value="LLVMBool") int Packed)
public static LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, @ByPtrPtr LLVMValueRef ConstantVals, @Cast(value="unsigned") int Length)
llvm::ConstantArray::get()
public static LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, @Cast(value="LLVMValueRef*") PointerPointer ConstantVals, @Cast(value="unsigned") int Length)
public static LLVMValueRef LLVMConstArray2(LLVMTypeRef ElementTy, @ByPtrPtr LLVMValueRef ConstantVals, @Cast(value="uint64_t") long Length)
llvm::ConstantArray::get()
public static LLVMValueRef LLVMConstArray2(LLVMTypeRef ElementTy, @Cast(value="LLVMValueRef*") PointerPointer ConstantVals, @Cast(value="uint64_t") long Length)
public static LLVMValueRef LLVMConstNamedStruct(LLVMTypeRef StructTy, @ByPtrPtr LLVMValueRef ConstantVals, @Cast(value="unsigned") int Count)
llvm::ConstantStruct::get()
public static LLVMValueRef LLVMConstNamedStruct(LLVMTypeRef StructTy, @Cast(value="LLVMValueRef*") PointerPointer ConstantVals, @Cast(value="unsigned") int Count)
public static LLVMValueRef LLVMGetAggregateElement(LLVMValueRef C, @Cast(value="unsigned") int Idx)
llvm::Constant::getAggregateElement()
public static LLVMValueRef LLVMConstVector(@ByPtrPtr LLVMValueRef ScalarConstantVals, @Cast(value="unsigned") int Size)
llvm::ConstantVector::get()
public static LLVMValueRef LLVMConstVector(@Cast(value="LLVMValueRef*") PointerPointer ScalarConstantVals, @Cast(value="unsigned") int Size)
@Cast(value="LLVMOpcode") public static int LLVMGetConstOpcode(LLVMValueRef ConstantVal)
\{
public static LLVMValueRef LLVMAlignOf(LLVMTypeRef Ty)
public static LLVMValueRef LLVMSizeOf(LLVMTypeRef Ty)
public static LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal)
public static LLVMValueRef LLVMConstNSWNeg(LLVMValueRef ConstantVal)
public static LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal)
public static LLVMValueRef LLVMConstNot(LLVMValueRef ConstantVal)
public static LLVMValueRef LLVMConstAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstNSWAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstNUWAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstNSWSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstNUWSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstNSWMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstNUWMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstAnd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstOr(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstXor(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstICmp(@Cast(value="LLVMIntPredicate") int Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstFCmp(@Cast(value="LLVMRealPredicate") int Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstShl(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstLShr(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstAShr(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
public static LLVMValueRef LLVMConstGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, @ByPtrPtr LLVMValueRef ConstantIndices, @Cast(value="unsigned") int NumIndices)
public static LLVMValueRef LLVMConstGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, @Cast(value="LLVMValueRef*") PointerPointer ConstantIndices, @Cast(value="unsigned") int NumIndices)
public static LLVMValueRef LLVMConstInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, @ByPtrPtr LLVMValueRef ConstantIndices, @Cast(value="unsigned") int NumIndices)
public static LLVMValueRef LLVMConstInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, @Cast(value="LLVMValueRef*") PointerPointer ConstantIndices, @Cast(value="unsigned") int NumIndices)
public static LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstZExtOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstSExtOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstPointerCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstIntCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType, @Cast(value="LLVMBool") int isSigned)
public static LLVMValueRef LLVMConstFPCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
public static LLVMValueRef LLVMConstExtractElement(LLVMValueRef VectorConstant, LLVMValueRef IndexConstant)
public static LLVMValueRef LLVMConstInsertElement(LLVMValueRef VectorConstant, LLVMValueRef ElementValueConstant, LLVMValueRef IndexConstant)
public static LLVMValueRef LLVMConstShuffleVector(LLVMValueRef VectorAConstant, LLVMValueRef VectorBConstant, LLVMValueRef MaskConstant)
public static LLVMValueRef LLVMBlockAddress(LLVMValueRef F, LLVMBasicBlockRef BB)
public static LLVMValueRef LLVMConstInlineAsm(LLVMTypeRef Ty, @Cast(value="const char*") BytePointer AsmString, @Cast(value="const char*") BytePointer Constraints, @Cast(value="LLVMBool") int HasSideEffects, @Cast(value="LLVMBool") int IsAlignStack)
public static LLVMValueRef LLVMConstInlineAsm(LLVMTypeRef Ty, String AsmString, String Constraints, @Cast(value="LLVMBool") int HasSideEffects, @Cast(value="LLVMBool") int IsAlignStack)
public static LLVMModuleRef LLVMGetGlobalParent(LLVMValueRef Global)
\{
@Cast(value="LLVMBool") public static int LLVMIsDeclaration(LLVMValueRef Global)
@Cast(value="LLVMLinkage") public static int LLVMGetLinkage(LLVMValueRef Global)
public static void LLVMSetLinkage(LLVMValueRef Global, @Cast(value="LLVMLinkage") int Linkage)
@Cast(value="const char*") public static BytePointer LLVMGetSection(LLVMValueRef Global)
public static void LLVMSetSection(LLVMValueRef Global, @Cast(value="const char*") BytePointer Section)
public static void LLVMSetSection(LLVMValueRef Global, String Section)
@Cast(value="LLVMVisibility") public static int LLVMGetVisibility(LLVMValueRef Global)
public static void LLVMSetVisibility(LLVMValueRef Global, @Cast(value="LLVMVisibility") int Viz)
@Cast(value="LLVMDLLStorageClass") public static int LLVMGetDLLStorageClass(LLVMValueRef Global)
public static void LLVMSetDLLStorageClass(LLVMValueRef Global, @Cast(value="LLVMDLLStorageClass") int Class)
@Cast(value="LLVMUnnamedAddr") public static int LLVMGetUnnamedAddress(LLVMValueRef Global)
public static void LLVMSetUnnamedAddress(LLVMValueRef Global, @Cast(value="LLVMUnnamedAddr") int UnnamedAddr)
public static LLVMTypeRef LLVMGlobalGetValueType(LLVMValueRef Global)
llvm::GlobalValue::getValueType()
@Cast(value="LLVMBool") public static int LLVMHasUnnamedAddr(LLVMValueRef Global)
public static void LLVMSetUnnamedAddr(LLVMValueRef Global, @Cast(value="LLVMBool") int HasUnnamedAddr)
@Cast(value="unsigned") public static int LLVMGetAlignment(LLVMValueRef V)
llvm::AllocaInst::getAlignment()
,
llvm::LoadInst::getAlignment()
,
llvm::StoreInst::getAlignment()
,
llvm::AtomicRMWInst::setAlignment()
,
llvm::AtomicCmpXchgInst::setAlignment()
,
llvm::GlobalValue::getAlignment()
public static void LLVMSetAlignment(LLVMValueRef V, @Cast(value="unsigned") int Bytes)
llvm::AllocaInst::setAlignment()
,
llvm::LoadInst::setAlignment()
,
llvm::StoreInst::setAlignment()
,
llvm::AtomicRMWInst::setAlignment()
,
llvm::AtomicCmpXchgInst::setAlignment()
,
llvm::GlobalValue::setAlignment()
public static void LLVMGlobalSetMetadata(LLVMValueRef Global, @Cast(value="unsigned") int Kind, LLVMMetadataRef MD)
llvm::GlobalObject::setMetadata()
public static void LLVMGlobalEraseMetadata(LLVMValueRef Global, @Cast(value="unsigned") int Kind)
llvm::GlobalObject::eraseMetadata()
public static void LLVMGlobalClearMetadata(LLVMValueRef Global)
llvm::GlobalObject::clearMetadata()
public static LLVMValueMetadataEntry LLVMGlobalCopyAllMetadata(LLVMValueRef Value, @Cast(value="size_t*") SizeTPointer NumEntries)
llvm::GlobalObject::getAllMetadata()
public static void LLVMDisposeValueMetadataEntries(LLVMValueMetadataEntry Entries)
@Cast(value="unsigned") public static int LLVMValueMetadataEntriesGetKind(LLVMValueMetadataEntry Entries, @Cast(value="unsigned") int Index)
public static LLVMMetadataRef LLVMValueMetadataEntriesGetMetadata(LLVMValueMetadataEntry Entries, @Cast(value="unsigned") int Index)
public static LLVMValueRef LLVMAddGlobal(LLVMModuleRef M, LLVMTypeRef Ty, @Cast(value="const char*") BytePointer Name)
\{
public static LLVMValueRef LLVMAddGlobal(LLVMModuleRef M, LLVMTypeRef Ty, String Name)
public static LLVMValueRef LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty, @Cast(value="const char*") BytePointer Name, @Cast(value="unsigned") int AddressSpace)
public static LLVMValueRef LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty, String Name, @Cast(value="unsigned") int AddressSpace)
public static LLVMValueRef LLVMGetNamedGlobal(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMGetNamedGlobal(LLVMModuleRef M, String Name)
public static LLVMValueRef LLVMGetFirstGlobal(LLVMModuleRef M)
public static LLVMValueRef LLVMGetLastGlobal(LLVMModuleRef M)
public static LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar)
public static LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar)
public static void LLVMDeleteGlobal(LLVMValueRef GlobalVar)
public static LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar)
public static void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal)
@Cast(value="LLVMBool") public static int LLVMIsThreadLocal(LLVMValueRef GlobalVar)
public static void LLVMSetThreadLocal(LLVMValueRef GlobalVar, @Cast(value="LLVMBool") int IsThreadLocal)
@Cast(value="LLVMBool") public static int LLVMIsGlobalConstant(LLVMValueRef GlobalVar)
public static void LLVMSetGlobalConstant(LLVMValueRef GlobalVar, @Cast(value="LLVMBool") int IsConstant)
@Cast(value="LLVMThreadLocalMode") public static int LLVMGetThreadLocalMode(LLVMValueRef GlobalVar)
public static void LLVMSetThreadLocalMode(LLVMValueRef GlobalVar, @Cast(value="LLVMThreadLocalMode") int Mode)
@Cast(value="LLVMBool") public static int LLVMIsExternallyInitialized(LLVMValueRef GlobalVar)
public static void LLVMSetExternallyInitialized(LLVMValueRef GlobalVar, @Cast(value="LLVMBool") int IsExtInit)
public static LLVMValueRef LLVMAddAlias2(LLVMModuleRef M, LLVMTypeRef ValueTy, @Cast(value="unsigned") int AddrSpace, LLVMValueRef Aliasee, @Cast(value="const char*") BytePointer Name)
llvm::GlobalAlias::create()
public static LLVMValueRef LLVMAddAlias2(LLVMModuleRef M, LLVMTypeRef ValueTy, @Cast(value="unsigned") int AddrSpace, LLVMValueRef Aliasee, String Name)
public static LLVMValueRef LLVMGetNamedGlobalAlias(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen)
llvm::Module::getNamedAlias()
public static LLVMValueRef LLVMGetNamedGlobalAlias(LLVMModuleRef M, String Name, @Cast(value="size_t") long NameLen)
public static LLVMValueRef LLVMGetFirstGlobalAlias(LLVMModuleRef M)
llvm::Module::alias_begin()
public static LLVMValueRef LLVMGetLastGlobalAlias(LLVMModuleRef M)
llvm::Module::alias_end()
public static LLVMValueRef LLVMGetNextGlobalAlias(LLVMValueRef GA)
public static LLVMValueRef LLVMGetPreviousGlobalAlias(LLVMValueRef GA)
public static LLVMValueRef LLVMAliasGetAliasee(LLVMValueRef Alias)
public static void LLVMAliasSetAliasee(LLVMValueRef Alias, LLVMValueRef Aliasee)
public static void LLVMDeleteFunction(LLVMValueRef Fn)
llvm::Function::eraseFromParent()
@Cast(value="LLVMBool") public static int LLVMHasPersonalityFn(LLVMValueRef Fn)
llvm::Function::hasPersonalityFn()
public static LLVMValueRef LLVMGetPersonalityFn(LLVMValueRef Fn)
llvm::Function::getPersonalityFn()
public static void LLVMSetPersonalityFn(LLVMValueRef Fn, LLVMValueRef PersonalityFn)
llvm::Function::setPersonalityFn()
@Cast(value="unsigned") public static int LLVMLookupIntrinsicID(@Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen)
llvm::Function::lookupIntrinsicID()
@Cast(value="unsigned") public static int LLVMLookupIntrinsicID(String Name, @Cast(value="size_t") long NameLen)
@Cast(value="unsigned") public static int LLVMGetIntrinsicID(LLVMValueRef Fn)
llvm::Function::getIntrinsicID()
public static LLVMValueRef LLVMGetIntrinsicDeclaration(LLVMModuleRef Mod, @Cast(value="unsigned") int ID, @ByPtrPtr LLVMTypeRef ParamTypes, @Cast(value="size_t") long ParamCount)
llvm::Intrinsic::getDeclaration()
public static LLVMValueRef LLVMGetIntrinsicDeclaration(LLVMModuleRef Mod, @Cast(value="unsigned") int ID, @Cast(value="LLVMTypeRef*") PointerPointer ParamTypes, @Cast(value="size_t") long ParamCount)
public static LLVMTypeRef LLVMIntrinsicGetType(LLVMContextRef Ctx, @Cast(value="unsigned") int ID, @ByPtrPtr LLVMTypeRef ParamTypes, @Cast(value="size_t") long ParamCount)
llvm::Intrinsic::getType()
public static LLVMTypeRef LLVMIntrinsicGetType(LLVMContextRef Ctx, @Cast(value="unsigned") int ID, @Cast(value="LLVMTypeRef*") PointerPointer ParamTypes, @Cast(value="size_t") long ParamCount)
@Cast(value="const char*") public static BytePointer LLVMIntrinsicGetName(@Cast(value="unsigned") int ID, @Cast(value="size_t*") SizeTPointer NameLength)
llvm::Intrinsic::getName()
@Cast(value="const char*") public static BytePointer LLVMIntrinsicCopyOverloadedName(@Cast(value="unsigned") int ID, @ByPtrPtr LLVMTypeRef ParamTypes, @Cast(value="size_t") long ParamCount, @Cast(value="size_t*") SizeTPointer NameLength)
public static String LLVMIntrinsicCopyOverloadedName(@Cast(value="unsigned") int ID, @Cast(value="LLVMTypeRef*") PointerPointer ParamTypes, @Cast(value="size_t") long ParamCount, @Cast(value="size_t*") SizeTPointer NameLength)
@Cast(value="const char*") public static BytePointer LLVMIntrinsicCopyOverloadedName2(LLVMModuleRef Mod, @Cast(value="unsigned") int ID, @ByPtrPtr LLVMTypeRef ParamTypes, @Cast(value="size_t") long ParamCount, @Cast(value="size_t*") SizeTPointer NameLength)
llvm::Intrinsic::getName()
public static String LLVMIntrinsicCopyOverloadedName2(LLVMModuleRef Mod, @Cast(value="unsigned") int ID, @Cast(value="LLVMTypeRef*") PointerPointer ParamTypes, @Cast(value="size_t") long ParamCount, @Cast(value="size_t*") SizeTPointer NameLength)
@Cast(value="LLVMBool") public static int LLVMIntrinsicIsOverloaded(@Cast(value="unsigned") int ID)
llvm::Intrinsic::isOverloaded()
@Cast(value="unsigned") public static int LLVMGetFunctionCallConv(LLVMValueRef Fn)
llvm::Function::getCallingConv()
public static void LLVMSetFunctionCallConv(LLVMValueRef Fn, @Cast(value="unsigned") int CC)
Fn
- Function to operate onCC
- LLVMCallConv to set calling convention tollvm::Function::setCallingConv()
@Cast(value="const char*") public static BytePointer LLVMGetGC(LLVMValueRef Fn)
llvm::Function::getGC()
public static void LLVMSetGC(LLVMValueRef Fn, @Cast(value="const char*") BytePointer Name)
llvm::Function::setGC()
public static void LLVMSetGC(LLVMValueRef Fn, String Name)
public static void LLVMAddAttributeAtIndex(LLVMValueRef F, @Cast(value="LLVMAttributeIndex") int Idx, LLVMAttributeRef A)
llvm::Function::addAttribute()
@Cast(value="unsigned") public static int LLVMGetAttributeCountAtIndex(LLVMValueRef F, @Cast(value="LLVMAttributeIndex") int Idx)
public static void LLVMGetAttributesAtIndex(LLVMValueRef F, @Cast(value="LLVMAttributeIndex") int Idx, @ByPtrPtr LLVMAttributeRef Attrs)
public static void LLVMGetAttributesAtIndex(LLVMValueRef F, @Cast(value="LLVMAttributeIndex") int Idx, @Cast(value="LLVMAttributeRef*") PointerPointer Attrs)
public static LLVMAttributeRef LLVMGetEnumAttributeAtIndex(LLVMValueRef F, @Cast(value="LLVMAttributeIndex") int Idx, @Cast(value="unsigned") int KindID)
public static LLVMAttributeRef LLVMGetStringAttributeAtIndex(LLVMValueRef F, @Cast(value="LLVMAttributeIndex") int Idx, @Cast(value="const char*") BytePointer K, @Cast(value="unsigned") int KLen)
public static LLVMAttributeRef LLVMGetStringAttributeAtIndex(LLVMValueRef F, @Cast(value="LLVMAttributeIndex") int Idx, String K, @Cast(value="unsigned") int KLen)
public static void LLVMRemoveEnumAttributeAtIndex(LLVMValueRef F, @Cast(value="LLVMAttributeIndex") int Idx, @Cast(value="unsigned") int KindID)
public static void LLVMRemoveStringAttributeAtIndex(LLVMValueRef F, @Cast(value="LLVMAttributeIndex") int Idx, @Cast(value="const char*") BytePointer K, @Cast(value="unsigned") int KLen)
public static void LLVMRemoveStringAttributeAtIndex(LLVMValueRef F, @Cast(value="LLVMAttributeIndex") int Idx, String K, @Cast(value="unsigned") int KLen)
public static void LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, @Cast(value="const char*") BytePointer A, @Cast(value="const char*") BytePointer V)
llvm::AttrBuilder::addAttribute()
public static void LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, String A, String V)
@Cast(value="unsigned") public static int LLVMCountParams(LLVMValueRef Fn)
llvm::Function::arg_size()
public static void LLVMGetParams(LLVMValueRef Fn, @ByPtrPtr LLVMValueRef Params)
llvm::Function::arg_begin()
public static void LLVMGetParams(LLVMValueRef Fn, @Cast(value="LLVMValueRef*") PointerPointer Params)
public static LLVMValueRef LLVMGetParam(LLVMValueRef Fn, @Cast(value="unsigned") int Index)
llvm::Function::arg_begin()
public static LLVMValueRef LLVMGetParamParent(LLVMValueRef Inst)
public static LLVMValueRef LLVMGetFirstParam(LLVMValueRef Fn)
llvm::Function::arg_begin()
public static LLVMValueRef LLVMGetLastParam(LLVMValueRef Fn)
llvm::Function::arg_end()
public static LLVMValueRef LLVMGetNextParam(LLVMValueRef Arg)
public static LLVMValueRef LLVMGetPreviousParam(LLVMValueRef Arg)
public static void LLVMSetParamAlignment(LLVMValueRef Arg, @Cast(value="unsigned") int Align)
llvm::Argument::addAttr()
,
llvm::AttrBuilder::addAlignmentAttr()
public static LLVMValueRef LLVMAddGlobalIFunc(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMTypeRef Ty, @Cast(value="unsigned") int AddrSpace, LLVMValueRef Resolver)
llvm::GlobalIFunc::create()
public static LLVMValueRef LLVMAddGlobalIFunc(LLVMModuleRef M, String Name, @Cast(value="size_t") long NameLen, LLVMTypeRef Ty, @Cast(value="unsigned") int AddrSpace, LLVMValueRef Resolver)
public static LLVMValueRef LLVMGetNamedGlobalIFunc(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen)
llvm::Module::getNamedIFunc()
public static LLVMValueRef LLVMGetNamedGlobalIFunc(LLVMModuleRef M, String Name, @Cast(value="size_t") long NameLen)
public static LLVMValueRef LLVMGetFirstGlobalIFunc(LLVMModuleRef M)
llvm::Module::ifunc_begin()
public static LLVMValueRef LLVMGetLastGlobalIFunc(LLVMModuleRef M)
llvm::Module::ifunc_end()
public static LLVMValueRef LLVMGetNextGlobalIFunc(LLVMValueRef IFunc)
public static LLVMValueRef LLVMGetPreviousGlobalIFunc(LLVMValueRef IFunc)
public static LLVMValueRef LLVMGetGlobalIFuncResolver(LLVMValueRef IFunc)
llvm::GlobalIFunc::getResolver()
public static void LLVMSetGlobalIFuncResolver(LLVMValueRef IFunc, LLVMValueRef Resolver)
llvm::GlobalIFunc::setResolver()
public static void LLVMEraseGlobalIFunc(LLVMValueRef IFunc)
llvm::GlobalIFunc::eraseFromParent()
public static void LLVMRemoveGlobalIFunc(LLVMValueRef IFunc)
llvm::GlobalIFunc::removeFromParent()
public static LLVMMetadataRef LLVMMDStringInContext2(LLVMContextRef C, @Cast(value="const char*") BytePointer Str, @Cast(value="size_t") long SLen)
llvm::MDString::get()
public static LLVMMetadataRef LLVMMDStringInContext2(LLVMContextRef C, String Str, @Cast(value="size_t") long SLen)
public static LLVMMetadataRef LLVMMDNodeInContext2(LLVMContextRef C, @ByPtrPtr LLVMMetadataRef MDs, @Cast(value="size_t") long Count)
llvm::MDNode::get()
public static LLVMMetadataRef LLVMMDNodeInContext2(LLVMContextRef C, @Cast(value="LLVMMetadataRef*") PointerPointer MDs, @Cast(value="size_t") long Count)
public static LLVMValueRef LLVMMetadataAsValue(LLVMContextRef C, LLVMMetadataRef MD)
public static LLVMMetadataRef LLVMValueAsMetadata(LLVMValueRef Val)
@Cast(value="const char*") public static BytePointer LLVMGetMDString(LLVMValueRef V, @Cast(value="unsigned*") IntPointer Length)
V
- Instance to obtain string from.Length
- Memory address which will hold length of returned string.public static String LLVMGetMDString(LLVMValueRef V, @Cast(value="unsigned*") IntBuffer Length)
@Cast(value="const char*") public static BytePointer LLVMGetMDString(LLVMValueRef V, @Cast(value="unsigned*") int[] Length)
@Cast(value="unsigned") public static int LLVMGetMDNodeNumOperands(LLVMValueRef V)
V
- MDNode to get number of operands from.public static void LLVMGetMDNodeOperands(LLVMValueRef V, @ByPtrPtr LLVMValueRef Dest)
V
- MDNode to get the operands from.Dest
- Destination array for operands.public static void LLVMGetMDNodeOperands(LLVMValueRef V, @Cast(value="LLVMValueRef*") PointerPointer Dest)
public static void LLVMReplaceMDNodeOperandWith(LLVMValueRef V, @Cast(value="unsigned") int Index, LLVMMetadataRef Replacement)
llvm::MDNode::replaceOperandWith()
public static LLVMValueRef LLVMMDStringInContext(LLVMContextRef C, @Cast(value="const char*") BytePointer Str, @Cast(value="unsigned") int SLen)
public static LLVMValueRef LLVMMDStringInContext(LLVMContextRef C, String Str, @Cast(value="unsigned") int SLen)
public static LLVMValueRef LLVMMDString(@Cast(value="const char*") BytePointer Str, @Cast(value="unsigned") int SLen)
public static LLVMValueRef LLVMMDString(String Str, @Cast(value="unsigned") int SLen)
public static LLVMValueRef LLVMMDNodeInContext(LLVMContextRef C, @ByPtrPtr LLVMValueRef Vals, @Cast(value="unsigned") int Count)
public static LLVMValueRef LLVMMDNodeInContext(LLVMContextRef C, @Cast(value="LLVMValueRef*") PointerPointer Vals, @Cast(value="unsigned") int Count)
public static LLVMValueRef LLVMMDNode(@ByPtrPtr LLVMValueRef Vals, @Cast(value="unsigned") int Count)
public static LLVMValueRef LLVMMDNode(@Cast(value="LLVMValueRef*") PointerPointer Vals, @Cast(value="unsigned") int Count)
public static LLVMValueRef LLVMBasicBlockAsValue(LLVMBasicBlockRef BB)
@Cast(value="LLVMBool") public static int LLVMValueIsBasicBlock(LLVMValueRef Val)
public static LLVMBasicBlockRef LLVMValueAsBasicBlock(LLVMValueRef Val)
@Cast(value="const char*") public static BytePointer LLVMGetBasicBlockName(LLVMBasicBlockRef BB)
public static LLVMValueRef LLVMGetBasicBlockParent(LLVMBasicBlockRef BB)
llvm::BasicBlock::getParent()
public static LLVMValueRef LLVMGetBasicBlockTerminator(LLVMBasicBlockRef BB)
llvm::BasicBlock::getTerminator()
@Cast(value="unsigned") public static int LLVMCountBasicBlocks(LLVMValueRef Fn)
Fn
- Function value to operate on.public static void LLVMGetBasicBlocks(LLVMValueRef Fn, @ByPtrPtr LLVMBasicBlockRef BasicBlocks)
public static void LLVMGetBasicBlocks(LLVMValueRef Fn, @Cast(value="LLVMBasicBlockRef*") PointerPointer BasicBlocks)
public static LLVMBasicBlockRef LLVMGetFirstBasicBlock(LLVMValueRef Fn)
llvm::Function::begin()
public static LLVMBasicBlockRef LLVMGetLastBasicBlock(LLVMValueRef Fn)
llvm::Function::end()
public static LLVMBasicBlockRef LLVMGetNextBasicBlock(LLVMBasicBlockRef BB)
public static LLVMBasicBlockRef LLVMGetPreviousBasicBlock(LLVMBasicBlockRef BB)
public static LLVMBasicBlockRef LLVMGetEntryBasicBlock(LLVMValueRef Fn)
llvm::Function::getEntryBlock()
public static void LLVMInsertExistingBasicBlockAfterInsertBlock(LLVMBuilderRef Builder, LLVMBasicBlockRef BB)
llvm::Function::BasicBlockListType::insertAfter()
public static void LLVMAppendExistingBasicBlock(LLVMValueRef Fn, LLVMBasicBlockRef BB)
llvm::Function::BasicBlockListType::push_back()
public static LLVMBasicBlockRef LLVMCreateBasicBlockInContext(LLVMContextRef C, @Cast(value="const char*") BytePointer Name)
llvm::BasicBlock::Create()
public static LLVMBasicBlockRef LLVMCreateBasicBlockInContext(LLVMContextRef C, String Name)
public static LLVMBasicBlockRef LLVMAppendBasicBlockInContext(LLVMContextRef C, LLVMValueRef Fn, @Cast(value="const char*") BytePointer Name)
llvm::BasicBlock::Create()
public static LLVMBasicBlockRef LLVMAppendBasicBlockInContext(LLVMContextRef C, LLVMValueRef Fn, String Name)
public static LLVMBasicBlockRef LLVMAppendBasicBlock(LLVMValueRef Fn, @Cast(value="const char*") BytePointer Name)
llvm::BasicBlock::Create()
public static LLVMBasicBlockRef LLVMAppendBasicBlock(LLVMValueRef Fn, String Name)
public static LLVMBasicBlockRef LLVMInsertBasicBlockInContext(LLVMContextRef C, LLVMBasicBlockRef BB, @Cast(value="const char*") BytePointer Name)
llvm::BasicBlock::Create()
public static LLVMBasicBlockRef LLVMInsertBasicBlockInContext(LLVMContextRef C, LLVMBasicBlockRef BB, String Name)
public static LLVMBasicBlockRef LLVMInsertBasicBlock(LLVMBasicBlockRef InsertBeforeBB, @Cast(value="const char*") BytePointer Name)
llvm::BasicBlock::Create()
public static LLVMBasicBlockRef LLVMInsertBasicBlock(LLVMBasicBlockRef InsertBeforeBB, String Name)
public static void LLVMDeleteBasicBlock(LLVMBasicBlockRef BB)
llvm::BasicBlock::eraseFromParent()
public static void LLVMRemoveBasicBlockFromParent(LLVMBasicBlockRef BB)
llvm::BasicBlock::removeFromParent()
public static void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos)
llvm::BasicBlock::moveBefore()
public static void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos)
llvm::BasicBlock::moveAfter()
public static LLVMValueRef LLVMGetFirstInstruction(LLVMBasicBlockRef BB)
public static LLVMValueRef LLVMGetLastInstruction(LLVMBasicBlockRef BB)
public static int LLVMHasMetadata(LLVMValueRef Val)
public static LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, @Cast(value="unsigned") int KindID)
public static void LLVMSetMetadata(LLVMValueRef Val, @Cast(value="unsigned") int KindID, LLVMValueRef Node)
public static LLVMValueMetadataEntry LLVMInstructionGetAllMetadataOtherThanDebugLoc(LLVMValueRef Instr, @Cast(value="size_t*") SizeTPointer NumEntries)
llvm::Instruction::getAllMetadataOtherThanDebugLoc()
public static LLVMBasicBlockRef LLVMGetInstructionParent(LLVMValueRef Inst)
llvm::Instruction::getParent()
public static LLVMValueRef LLVMGetNextInstruction(LLVMValueRef Inst)
public static LLVMValueRef LLVMGetPreviousInstruction(LLVMValueRef Inst)
public static void LLVMInstructionRemoveFromParent(LLVMValueRef Inst)
llvm::Instruction::removeFromParent()
public static void LLVMInstructionEraseFromParent(LLVMValueRef Inst)
llvm::Instruction::eraseFromParent()
public static void LLVMDeleteInstruction(LLVMValueRef Inst)
llvm::Value::deleteValue()
@Cast(value="LLVMOpcode") public static int LLVMGetInstructionOpcode(LLVMValueRef Inst)
llvm::Instruction::getOpCode()
@Cast(value="LLVMIntPredicate") public static int LLVMGetICmpPredicate(LLVMValueRef Inst)
llvm::ICmpInst::getPredicate()
@Cast(value="LLVMRealPredicate") public static int LLVMGetFCmpPredicate(LLVMValueRef Inst)
llvm::FCmpInst::getPredicate()
public static LLVMValueRef LLVMInstructionClone(LLVMValueRef Inst)
llvm::Instruction::clone()
public static LLVMValueRef LLVMIsATerminatorInst(LLVMValueRef Inst)
llvm::Instruction::isTerminator()
@Cast(value="unsigned") public static int LLVMGetNumArgOperands(LLVMValueRef Instr)
llvm::CallInst::getNumArgOperands()
,
llvm::InvokeInst::getNumArgOperands()
,
llvm::FuncletPadInst::getNumArgOperands()
public static void LLVMSetInstructionCallConv(LLVMValueRef Instr, @Cast(value="unsigned") int CC)
llvm::CallInst::setCallingConv()
,
llvm::InvokeInst::setCallingConv()
@Cast(value="unsigned") public static int LLVMGetInstructionCallConv(LLVMValueRef Instr)
LLVMSetInstructionCallConv()
public static void LLVMSetInstrParamAlignment(LLVMValueRef Instr, @Cast(value="LLVMAttributeIndex") int Idx, @Cast(value="unsigned") int Align)
public static void LLVMAddCallSiteAttribute(LLVMValueRef C, @Cast(value="LLVMAttributeIndex") int Idx, LLVMAttributeRef A)
@Cast(value="unsigned") public static int LLVMGetCallSiteAttributeCount(LLVMValueRef C, @Cast(value="LLVMAttributeIndex") int Idx)
public static void LLVMGetCallSiteAttributes(LLVMValueRef C, @Cast(value="LLVMAttributeIndex") int Idx, @ByPtrPtr LLVMAttributeRef Attrs)
public static void LLVMGetCallSiteAttributes(LLVMValueRef C, @Cast(value="LLVMAttributeIndex") int Idx, @Cast(value="LLVMAttributeRef*") PointerPointer Attrs)
public static LLVMAttributeRef LLVMGetCallSiteEnumAttribute(LLVMValueRef C, @Cast(value="LLVMAttributeIndex") int Idx, @Cast(value="unsigned") int KindID)
public static LLVMAttributeRef LLVMGetCallSiteStringAttribute(LLVMValueRef C, @Cast(value="LLVMAttributeIndex") int Idx, @Cast(value="const char*") BytePointer K, @Cast(value="unsigned") int KLen)
public static LLVMAttributeRef LLVMGetCallSiteStringAttribute(LLVMValueRef C, @Cast(value="LLVMAttributeIndex") int Idx, String K, @Cast(value="unsigned") int KLen)
public static void LLVMRemoveCallSiteEnumAttribute(LLVMValueRef C, @Cast(value="LLVMAttributeIndex") int Idx, @Cast(value="unsigned") int KindID)
public static void LLVMRemoveCallSiteStringAttribute(LLVMValueRef C, @Cast(value="LLVMAttributeIndex") int Idx, @Cast(value="const char*") BytePointer K, @Cast(value="unsigned") int KLen)
public static void LLVMRemoveCallSiteStringAttribute(LLVMValueRef C, @Cast(value="LLVMAttributeIndex") int Idx, String K, @Cast(value="unsigned") int KLen)
public static LLVMTypeRef LLVMGetCalledFunctionType(LLVMValueRef C)
llvm::CallBase::getFunctionType()
public static LLVMValueRef LLVMGetCalledValue(LLVMValueRef Instr)
llvm::CallInst::getCalledOperand()
,
llvm::InvokeInst::getCalledOperand()
@Cast(value="LLVMBool") public static int LLVMIsTailCall(LLVMValueRef CallInst)
llvm::CallInst::isTailCall()
public static void LLVMSetTailCall(LLVMValueRef CallInst, @Cast(value="LLVMBool") int IsTailCall)
llvm::CallInst::setTailCall()
public static LLVMBasicBlockRef LLVMGetNormalDest(LLVMValueRef InvokeInst)
llvm::InvokeInst::getNormalDest()
public static LLVMBasicBlockRef LLVMGetUnwindDest(LLVMValueRef InvokeInst)
llvm::InvokeInst::getUnwindDest()
,
llvm::CleanupReturnInst::getUnwindDest()
,
llvm::CatchSwitchInst::getUnwindDest()
public static void LLVMSetNormalDest(LLVMValueRef InvokeInst, LLVMBasicBlockRef B)
llvm::InvokeInst::setNormalDest()
public static void LLVMSetUnwindDest(LLVMValueRef InvokeInst, LLVMBasicBlockRef B)
llvm::InvokeInst::setUnwindDest()
,
llvm::CleanupReturnInst::setUnwindDest()
,
llvm::CatchSwitchInst::setUnwindDest()
@Cast(value="unsigned") public static int LLVMGetNumSuccessors(LLVMValueRef Term)
llvm::Instruction::getNumSuccessors
public static LLVMBasicBlockRef LLVMGetSuccessor(LLVMValueRef Term, @Cast(value="unsigned") int i)
llvm::Instruction::getSuccessor
public static void LLVMSetSuccessor(LLVMValueRef Term, @Cast(value="unsigned") int i, LLVMBasicBlockRef block)
llvm::Instruction::setSuccessor
@Cast(value="LLVMBool") public static int LLVMIsConditional(LLVMValueRef Branch)
llvm::BranchInst::isConditional
public static LLVMValueRef LLVMGetCondition(LLVMValueRef Branch)
llvm::BranchInst::getCondition
public static void LLVMSetCondition(LLVMValueRef Branch, LLVMValueRef Cond)
llvm::BranchInst::setCondition
public static LLVMBasicBlockRef LLVMGetSwitchDefaultDest(LLVMValueRef SwitchInstr)
llvm::SwitchInst::getDefaultDest()
public static LLVMTypeRef LLVMGetAllocatedType(LLVMValueRef Alloca)
@Cast(value="LLVMBool") public static int LLVMIsInBounds(LLVMValueRef GEP)
public static void LLVMSetIsInBounds(LLVMValueRef GEP, @Cast(value="LLVMBool") int InBounds)
public static LLVMTypeRef LLVMGetGEPSourceElementType(LLVMValueRef GEP)
public static void LLVMAddIncoming(LLVMValueRef PhiNode, @ByPtrPtr LLVMValueRef IncomingValues, @ByPtrPtr LLVMBasicBlockRef IncomingBlocks, @Cast(value="unsigned") int Count)
public static void LLVMAddIncoming(LLVMValueRef PhiNode, @Cast(value="LLVMValueRef*") PointerPointer IncomingValues, @Cast(value="LLVMBasicBlockRef*") PointerPointer IncomingBlocks, @Cast(value="unsigned") int Count)
@Cast(value="unsigned") public static int LLVMCountIncoming(LLVMValueRef PhiNode)
public static LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, @Cast(value="unsigned") int Index)
public static LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, @Cast(value="unsigned") int Index)
@Cast(value="unsigned") public static int LLVMGetNumIndices(LLVMValueRef Inst)
@Cast(value="const unsigned*") public static IntPointer LLVMGetIndices(LLVMValueRef Inst)
public static LLVMBuilderRef LLVMCreateBuilderInContext(LLVMContextRef C)
public static LLVMBuilderRef LLVMCreateBuilder()
public static void LLVMPositionBuilder(LLVMBuilderRef Builder, LLVMBasicBlockRef Block, LLVMValueRef Instr)
public static void LLVMPositionBuilderBefore(LLVMBuilderRef Builder, LLVMValueRef Instr)
public static void LLVMPositionBuilderAtEnd(LLVMBuilderRef Builder, LLVMBasicBlockRef Block)
public static LLVMBasicBlockRef LLVMGetInsertBlock(LLVMBuilderRef Builder)
public static void LLVMClearInsertionPosition(LLVMBuilderRef Builder)
public static void LLVMInsertIntoBuilder(LLVMBuilderRef Builder, LLVMValueRef Instr)
public static void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr, @Cast(value="const char*") BytePointer Name)
public static void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr, String Name)
public static void LLVMDisposeBuilder(LLVMBuilderRef Builder)
public static LLVMMetadataRef LLVMGetCurrentDebugLocation2(LLVMBuilderRef Builder)
llvm::IRBuilder::getCurrentDebugLocation()
public static void LLVMSetCurrentDebugLocation2(LLVMBuilderRef Builder, LLVMMetadataRef Loc)
llvm::IRBuilder::SetCurrentDebugLocation()
public static void LLVMSetInstDebugLocation(LLVMBuilderRef Builder, LLVMValueRef Inst)
llvm::IRBuilder::SetInstDebugLocation()
public static void LLVMAddMetadataToInst(LLVMBuilderRef Builder, LLVMValueRef Inst)
llvm::IRBuilder::AddMetadataToInst()
public static LLVMMetadataRef LLVMBuilderGetDefaultFPMathTag(LLVMBuilderRef Builder)
llvm::IRBuilder::getDefaultFPMathTag()
public static void LLVMBuilderSetDefaultFPMathTag(LLVMBuilderRef Builder, LLVMMetadataRef FPMathTag)
llvm::IRBuilder::setDefaultFPMathTag()
public static void LLVMSetCurrentDebugLocation(LLVMBuilderRef Builder, LLVMValueRef L)
public static LLVMValueRef LLVMGetCurrentDebugLocation(LLVMBuilderRef Builder)
public static LLVMValueRef LLVMBuildRetVoid(LLVMBuilderRef arg0)
public static LLVMValueRef LLVMBuildRet(LLVMBuilderRef arg0, LLVMValueRef V)
public static LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef arg0, @ByPtrPtr LLVMValueRef RetVals, @Cast(value="unsigned") int N)
public static LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef arg0, @Cast(value="LLVMValueRef*") PointerPointer RetVals, @Cast(value="unsigned") int N)
public static LLVMValueRef LLVMBuildBr(LLVMBuilderRef arg0, LLVMBasicBlockRef Dest)
public static LLVMValueRef LLVMBuildCondBr(LLVMBuilderRef arg0, LLVMValueRef If, LLVMBasicBlockRef Then, LLVMBasicBlockRef Else)
public static LLVMValueRef LLVMBuildSwitch(LLVMBuilderRef arg0, LLVMValueRef V, LLVMBasicBlockRef Else, @Cast(value="unsigned") int NumCases)
public static LLVMValueRef LLVMBuildIndirectBr(LLVMBuilderRef B, LLVMValueRef Addr, @Cast(value="unsigned") int NumDests)
public static LLVMValueRef LLVMBuildInvoke2(LLVMBuilderRef arg0, LLVMTypeRef Ty, LLVMValueRef Fn, @ByPtrPtr LLVMValueRef Args, @Cast(value="unsigned") int NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildInvoke2(LLVMBuilderRef arg0, LLVMTypeRef Ty, LLVMValueRef Fn, @Cast(value="LLVMValueRef*") PointerPointer Args, @Cast(value="unsigned") int NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, String Name)
public static LLVMValueRef LLVMBuildUnreachable(LLVMBuilderRef arg0)
public static LLVMValueRef LLVMBuildResume(LLVMBuilderRef B, LLVMValueRef Exn)
public static LLVMValueRef LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PersFn, @Cast(value="unsigned") int NumClauses, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PersFn, @Cast(value="unsigned") int NumClauses, String Name)
public static LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB)
public static LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB)
public static LLVMValueRef LLVMBuildCatchPad(LLVMBuilderRef B, LLVMValueRef ParentPad, @ByPtrPtr LLVMValueRef Args, @Cast(value="unsigned") int NumArgs, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildCatchPad(LLVMBuilderRef B, LLVMValueRef ParentPad, @Cast(value="LLVMValueRef*") PointerPointer Args, @Cast(value="unsigned") int NumArgs, String Name)
public static LLVMValueRef LLVMBuildCleanupPad(LLVMBuilderRef B, LLVMValueRef ParentPad, @ByPtrPtr LLVMValueRef Args, @Cast(value="unsigned") int NumArgs, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildCleanupPad(LLVMBuilderRef B, LLVMValueRef ParentPad, @Cast(value="LLVMValueRef*") PointerPointer Args, @Cast(value="unsigned") int NumArgs, String Name)
public static LLVMValueRef LLVMBuildCatchSwitch(LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMBasicBlockRef UnwindBB, @Cast(value="unsigned") int NumHandlers, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildCatchSwitch(LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMBasicBlockRef UnwindBB, @Cast(value="unsigned") int NumHandlers, String Name)
public static void LLVMAddCase(LLVMValueRef Switch, LLVMValueRef OnVal, LLVMBasicBlockRef Dest)
public static void LLVMAddDestination(LLVMValueRef IndirectBr, LLVMBasicBlockRef Dest)
@Cast(value="unsigned") public static int LLVMGetNumClauses(LLVMValueRef LandingPad)
public static LLVMValueRef LLVMGetClause(LLVMValueRef LandingPad, @Cast(value="unsigned") int Idx)
public static void LLVMAddClause(LLVMValueRef LandingPad, LLVMValueRef ClauseVal)
@Cast(value="LLVMBool") public static int LLVMIsCleanup(LLVMValueRef LandingPad)
public static void LLVMSetCleanup(LLVMValueRef LandingPad, @Cast(value="LLVMBool") int Val)
public static void LLVMAddHandler(LLVMValueRef CatchSwitch, LLVMBasicBlockRef Dest)
@Cast(value="unsigned") public static int LLVMGetNumHandlers(LLVMValueRef CatchSwitch)
public static void LLVMGetHandlers(LLVMValueRef CatchSwitch, @ByPtrPtr LLVMBasicBlockRef Handlers)
CatchSwitch
- The catchswitch instruction to operate on.Handlers
- Memory address of an array to be filled with basic blocks.public static void LLVMGetHandlers(LLVMValueRef CatchSwitch, @Cast(value="LLVMBasicBlockRef*") PointerPointer Handlers)
public static LLVMValueRef LLVMGetArgOperand(LLVMValueRef Funclet, @Cast(value="unsigned") int i)
public static void LLVMSetArgOperand(LLVMValueRef Funclet, @Cast(value="unsigned") int i, LLVMValueRef value)
public static LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad)
llvm::CatchPadInst::getCatchSwitch()
public static void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch)
llvm::CatchPadInst::setCatchSwitch()
public static LLVMValueRef LLVMBuildAdd(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildAdd(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildNSWAdd(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildNSWAdd(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildNUWAdd(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildNUWAdd(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildFAdd(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFAdd(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildSub(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildSub(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildNSWSub(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildNSWSub(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildNUWSub(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildNUWSub(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildFSub(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFSub(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildMul(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildMul(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildNSWMul(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildNSWMul(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildNUWMul(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildNUWMul(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildFMul(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFMul(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildUDiv(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildUDiv(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildExactUDiv(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildExactUDiv(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildSDiv(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildSDiv(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildExactSDiv(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildExactSDiv(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildFDiv(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFDiv(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildURem(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildURem(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildSRem(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildSRem(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildFRem(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFRem(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildShl(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildShl(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildLShr(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildLShr(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildAShr(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildAShr(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildAnd(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildAnd(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildOr(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildOr(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildXor(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildXor(LLVMBuilderRef arg0, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildBinOp(LLVMBuilderRef B, @Cast(value="LLVMOpcode") int Op, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildBinOp(LLVMBuilderRef B, @Cast(value="LLVMOpcode") int Op, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildNeg(LLVMBuilderRef arg0, LLVMValueRef V, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildNeg(LLVMBuilderRef arg0, LLVMValueRef V, String Name)
public static LLVMValueRef LLVMBuildNSWNeg(LLVMBuilderRef B, LLVMValueRef V, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildNSWNeg(LLVMBuilderRef B, LLVMValueRef V, String Name)
public static LLVMValueRef LLVMBuildNUWNeg(LLVMBuilderRef B, LLVMValueRef V, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildNUWNeg(LLVMBuilderRef B, LLVMValueRef V, String Name)
public static LLVMValueRef LLVMBuildFNeg(LLVMBuilderRef arg0, LLVMValueRef V, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFNeg(LLVMBuilderRef arg0, LLVMValueRef V, String Name)
public static LLVMValueRef LLVMBuildNot(LLVMBuilderRef arg0, LLVMValueRef V, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildNot(LLVMBuilderRef arg0, LLVMValueRef V, String Name)
@Cast(value="LLVMBool") public static int LLVMGetNUW(LLVMValueRef ArithInst)
public static void LLVMSetNUW(LLVMValueRef ArithInst, @Cast(value="LLVMBool") int HasNUW)
@Cast(value="LLVMBool") public static int LLVMGetNSW(LLVMValueRef ArithInst)
public static void LLVMSetNSW(LLVMValueRef ArithInst, @Cast(value="LLVMBool") int HasNSW)
@Cast(value="LLVMBool") public static int LLVMGetExact(LLVMValueRef DivOrShrInst)
public static void LLVMSetExact(LLVMValueRef DivOrShrInst, @Cast(value="LLVMBool") int IsExact)
public static LLVMValueRef LLVMBuildMalloc(LLVMBuilderRef arg0, LLVMTypeRef Ty, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildMalloc(LLVMBuilderRef arg0, LLVMTypeRef Ty, String Name)
public static LLVMValueRef LLVMBuildArrayMalloc(LLVMBuilderRef arg0, LLVMTypeRef Ty, LLVMValueRef Val, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildArrayMalloc(LLVMBuilderRef arg0, LLVMTypeRef Ty, LLVMValueRef Val, String Name)
public static LLVMValueRef LLVMBuildMemSet(LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Val, LLVMValueRef Len, @Cast(value="unsigned") int Align)
llvm::IRRBuilder::CreateMemSet()
public static LLVMValueRef LLVMBuildMemCpy(LLVMBuilderRef B, LLVMValueRef Dst, @Cast(value="unsigned") int DstAlign, LLVMValueRef Src, @Cast(value="unsigned") int SrcAlign, LLVMValueRef Size)
llvm::IRRBuilder::CreateMemCpy()
public static LLVMValueRef LLVMBuildMemMove(LLVMBuilderRef B, LLVMValueRef Dst, @Cast(value="unsigned") int DstAlign, LLVMValueRef Src, @Cast(value="unsigned") int SrcAlign, LLVMValueRef Size)
llvm::IRRBuilder::CreateMemMove()
public static LLVMValueRef LLVMBuildAlloca(LLVMBuilderRef arg0, LLVMTypeRef Ty, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildAlloca(LLVMBuilderRef arg0, LLVMTypeRef Ty, String Name)
public static LLVMValueRef LLVMBuildArrayAlloca(LLVMBuilderRef arg0, LLVMTypeRef Ty, LLVMValueRef Val, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildArrayAlloca(LLVMBuilderRef arg0, LLVMTypeRef Ty, LLVMValueRef Val, String Name)
public static LLVMValueRef LLVMBuildFree(LLVMBuilderRef arg0, LLVMValueRef PointerVal)
public static LLVMValueRef LLVMBuildLoad2(LLVMBuilderRef arg0, LLVMTypeRef Ty, LLVMValueRef PointerVal, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildLoad2(LLVMBuilderRef arg0, LLVMTypeRef Ty, LLVMValueRef PointerVal, String Name)
public static LLVMValueRef LLVMBuildStore(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMValueRef Ptr)
public static LLVMValueRef LLVMBuildGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, @ByPtrPtr LLVMValueRef Indices, @Cast(value="unsigned") int NumIndices, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, @Cast(value="LLVMValueRef*") PointerPointer Indices, @Cast(value="unsigned") int NumIndices, String Name)
public static LLVMValueRef LLVMBuildInBoundsGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, @ByPtrPtr LLVMValueRef Indices, @Cast(value="unsigned") int NumIndices, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildInBoundsGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, @Cast(value="LLVMValueRef*") PointerPointer Indices, @Cast(value="unsigned") int NumIndices, String Name)
public static LLVMValueRef LLVMBuildStructGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, @Cast(value="unsigned") int Idx, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildStructGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, @Cast(value="unsigned") int Idx, String Name)
public static LLVMValueRef LLVMBuildGlobalString(LLVMBuilderRef B, @Cast(value="const char*") BytePointer Str, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildGlobalString(LLVMBuilderRef B, String Str, String Name)
public static LLVMValueRef LLVMBuildGlobalStringPtr(LLVMBuilderRef B, @Cast(value="const char*") BytePointer Str, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildGlobalStringPtr(LLVMBuilderRef B, String Str, String Name)
@Cast(value="LLVMBool") public static int LLVMGetVolatile(LLVMValueRef MemoryAccessInst)
public static void LLVMSetVolatile(LLVMValueRef MemoryAccessInst, @Cast(value="LLVMBool") int IsVolatile)
@Cast(value="LLVMBool") public static int LLVMGetWeak(LLVMValueRef CmpXchgInst)
public static void LLVMSetWeak(LLVMValueRef CmpXchgInst, @Cast(value="LLVMBool") int IsWeak)
@Cast(value="LLVMAtomicOrdering") public static int LLVMGetOrdering(LLVMValueRef MemoryAccessInst)
public static void LLVMSetOrdering(LLVMValueRef MemoryAccessInst, @Cast(value="LLVMAtomicOrdering") int Ordering)
@Cast(value="LLVMAtomicRMWBinOp") public static int LLVMGetAtomicRMWBinOp(LLVMValueRef AtomicRMWInst)
public static void LLVMSetAtomicRMWBinOp(LLVMValueRef AtomicRMWInst, @Cast(value="LLVMAtomicRMWBinOp") int BinOp)
public static LLVMValueRef LLVMBuildTrunc(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildTrunc(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildZExt(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildZExt(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildSExt(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildSExt(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildFPToUI(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFPToUI(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildFPToSI(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFPToSI(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildUIToFP(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildUIToFP(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildSIToFP(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildSIToFP(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildFPTrunc(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFPTrunc(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildFPExt(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFPExt(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildPtrToInt(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildPtrToInt(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildIntToPtr(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildIntToPtr(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildBitCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildBitCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildAddrSpaceCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildAddrSpaceCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildZExtOrBitCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildZExtOrBitCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildSExtOrBitCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildSExtOrBitCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildTruncOrBitCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildTruncOrBitCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildCast(LLVMBuilderRef B, @Cast(value="LLVMOpcode") int Op, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildCast(LLVMBuilderRef B, @Cast(value="LLVMOpcode") int Op, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildPointerCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildPointerCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildIntCast2(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="LLVMBool") int IsSigned, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildIntCast2(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="LLVMBool") int IsSigned, String Name)
public static LLVMValueRef LLVMBuildFPCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFPCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
public static LLVMValueRef LLVMBuildIntCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildIntCast(LLVMBuilderRef arg0, LLVMValueRef Val, LLVMTypeRef DestTy, String Name)
@Cast(value="LLVMOpcode") public static int LLVMGetCastOpcode(LLVMValueRef Src, @Cast(value="LLVMBool") int SrcIsSigned, LLVMTypeRef DestTy, @Cast(value="LLVMBool") int DestIsSigned)
public static LLVMValueRef LLVMBuildICmp(LLVMBuilderRef arg0, @Cast(value="LLVMIntPredicate") int Op, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildICmp(LLVMBuilderRef arg0, @Cast(value="LLVMIntPredicate") int Op, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildFCmp(LLVMBuilderRef arg0, @Cast(value="LLVMRealPredicate") int Op, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFCmp(LLVMBuilderRef arg0, @Cast(value="LLVMRealPredicate") int Op, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildPhi(LLVMBuilderRef arg0, LLVMTypeRef Ty, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildPhi(LLVMBuilderRef arg0, LLVMTypeRef Ty, String Name)
public static LLVMValueRef LLVMBuildCall2(LLVMBuilderRef arg0, LLVMTypeRef arg1, LLVMValueRef Fn, @ByPtrPtr LLVMValueRef Args, @Cast(value="unsigned") int NumArgs, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildCall2(LLVMBuilderRef arg0, LLVMTypeRef arg1, LLVMValueRef Fn, @Cast(value="LLVMValueRef*") PointerPointer Args, @Cast(value="unsigned") int NumArgs, String Name)
public static LLVMValueRef LLVMBuildSelect(LLVMBuilderRef arg0, LLVMValueRef If, LLVMValueRef Then, LLVMValueRef Else, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildSelect(LLVMBuilderRef arg0, LLVMValueRef If, LLVMValueRef Then, LLVMValueRef Else, String Name)
public static LLVMValueRef LLVMBuildVAArg(LLVMBuilderRef arg0, LLVMValueRef List, LLVMTypeRef Ty, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildVAArg(LLVMBuilderRef arg0, LLVMValueRef List, LLVMTypeRef Ty, String Name)
public static LLVMValueRef LLVMBuildExtractElement(LLVMBuilderRef arg0, LLVMValueRef VecVal, LLVMValueRef Index, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildExtractElement(LLVMBuilderRef arg0, LLVMValueRef VecVal, LLVMValueRef Index, String Name)
public static LLVMValueRef LLVMBuildInsertElement(LLVMBuilderRef arg0, LLVMValueRef VecVal, LLVMValueRef EltVal, LLVMValueRef Index, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildInsertElement(LLVMBuilderRef arg0, LLVMValueRef VecVal, LLVMValueRef EltVal, LLVMValueRef Index, String Name)
public static LLVMValueRef LLVMBuildShuffleVector(LLVMBuilderRef arg0, LLVMValueRef V1, LLVMValueRef V2, LLVMValueRef Mask, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildShuffleVector(LLVMBuilderRef arg0, LLVMValueRef V1, LLVMValueRef V2, LLVMValueRef Mask, String Name)
public static LLVMValueRef LLVMBuildExtractValue(LLVMBuilderRef arg0, LLVMValueRef AggVal, @Cast(value="unsigned") int Index, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildExtractValue(LLVMBuilderRef arg0, LLVMValueRef AggVal, @Cast(value="unsigned") int Index, String Name)
public static LLVMValueRef LLVMBuildInsertValue(LLVMBuilderRef arg0, LLVMValueRef AggVal, LLVMValueRef EltVal, @Cast(value="unsigned") int Index, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildInsertValue(LLVMBuilderRef arg0, LLVMValueRef AggVal, LLVMValueRef EltVal, @Cast(value="unsigned") int Index, String Name)
public static LLVMValueRef LLVMBuildFreeze(LLVMBuilderRef arg0, LLVMValueRef Val, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFreeze(LLVMBuilderRef arg0, LLVMValueRef Val, String Name)
public static LLVMValueRef LLVMBuildIsNull(LLVMBuilderRef arg0, LLVMValueRef Val, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildIsNull(LLVMBuilderRef arg0, LLVMValueRef Val, String Name)
public static LLVMValueRef LLVMBuildIsNotNull(LLVMBuilderRef arg0, LLVMValueRef Val, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildIsNotNull(LLVMBuilderRef arg0, LLVMValueRef Val, String Name)
public static LLVMValueRef LLVMBuildPtrDiff2(LLVMBuilderRef arg0, LLVMTypeRef ElemTy, LLVMValueRef LHS, LLVMValueRef RHS, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildPtrDiff2(LLVMBuilderRef arg0, LLVMTypeRef ElemTy, LLVMValueRef LHS, LLVMValueRef RHS, String Name)
public static LLVMValueRef LLVMBuildFence(LLVMBuilderRef B, @Cast(value="LLVMAtomicOrdering") int ordering, @Cast(value="LLVMBool") int singleThread, @Cast(value="const char*") BytePointer Name)
public static LLVMValueRef LLVMBuildFence(LLVMBuilderRef B, @Cast(value="LLVMAtomicOrdering") int ordering, @Cast(value="LLVMBool") int singleThread, String Name)
public static LLVMValueRef LLVMBuildAtomicRMW(LLVMBuilderRef B, @Cast(value="LLVMAtomicRMWBinOp") int op, LLVMValueRef PTR, LLVMValueRef Val, @Cast(value="LLVMAtomicOrdering") int ordering, @Cast(value="LLVMBool") int singleThread)
public static LLVMValueRef LLVMBuildAtomicCmpXchg(LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Cmp, LLVMValueRef New, @Cast(value="LLVMAtomicOrdering") int SuccessOrdering, @Cast(value="LLVMAtomicOrdering") int FailureOrdering, @Cast(value="LLVMBool") int SingleThread)
@Cast(value="unsigned") public static int LLVMGetNumMaskElements(LLVMValueRef ShuffleVectorInst)
public static int LLVMGetUndefMaskElem()
public static int LLVMGetMaskValue(LLVMValueRef ShuffleVectorInst, @Cast(value="unsigned") int Elt)
@Cast(value="LLVMBool") public static int LLVMIsAtomicSingleThread(LLVMValueRef AtomicInst)
public static void LLVMSetAtomicSingleThread(LLVMValueRef AtomicInst, @Cast(value="LLVMBool") int SingleThread)
@Cast(value="LLVMAtomicOrdering") public static int LLVMGetCmpXchgSuccessOrdering(LLVMValueRef CmpXchgInst)
public static void LLVMSetCmpXchgSuccessOrdering(LLVMValueRef CmpXchgInst, @Cast(value="LLVMAtomicOrdering") int Ordering)
@Cast(value="LLVMAtomicOrdering") public static int LLVMGetCmpXchgFailureOrdering(LLVMValueRef CmpXchgInst)
public static void LLVMSetCmpXchgFailureOrdering(LLVMValueRef CmpXchgInst, @Cast(value="LLVMAtomicOrdering") int Ordering)
public static LLVMModuleProviderRef LLVMCreateModuleProviderForExistingModule(LLVMModuleRef M)
public static void LLVMDisposeModuleProvider(LLVMModuleProviderRef M)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithContentsOfFile(@Cast(value="const char*") BytePointer Path, @ByPtrPtr LLVMMemoryBufferRef OutMemBuf, @Cast(value="char**") PointerPointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithContentsOfFile(@Cast(value="const char*") BytePointer Path, @ByPtrPtr LLVMMemoryBufferRef OutMemBuf, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithContentsOfFile(String Path, @Cast(value="LLVMMemoryBufferRef*") PointerPointer OutMemBuf, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithContentsOfFile(@Cast(value="const char*") BytePointer Path, @ByPtrPtr LLVMMemoryBufferRef OutMemBuf, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithContentsOfFile(String Path, @Cast(value="LLVMMemoryBufferRef*") PointerPointer OutMemBuf, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithContentsOfFile(@Cast(value="const char*") BytePointer Path, @ByPtrPtr LLVMMemoryBufferRef OutMemBuf, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithContentsOfFile(String Path, @Cast(value="LLVMMemoryBufferRef*") PointerPointer OutMemBuf, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithSTDIN(@ByPtrPtr LLVMMemoryBufferRef OutMemBuf, @Cast(value="char**") PointerPointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithSTDIN(@ByPtrPtr LLVMMemoryBufferRef OutMemBuf, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithSTDIN(@Cast(value="LLVMMemoryBufferRef*") PointerPointer OutMemBuf, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithSTDIN(@ByPtrPtr LLVMMemoryBufferRef OutMemBuf, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithSTDIN(@Cast(value="LLVMMemoryBufferRef*") PointerPointer OutMemBuf, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithSTDIN(@ByPtrPtr LLVMMemoryBufferRef OutMemBuf, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMCreateMemoryBufferWithSTDIN(@Cast(value="LLVMMemoryBufferRef*") PointerPointer OutMemBuf, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
public static LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRange(@Cast(value="const char*") BytePointer InputData, @Cast(value="size_t") long InputDataLength, @Cast(value="const char*") BytePointer BufferName, @Cast(value="LLVMBool") int RequiresNullTerminator)
public static LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRange(String InputData, @Cast(value="size_t") long InputDataLength, String BufferName, @Cast(value="LLVMBool") int RequiresNullTerminator)
public static LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRangeCopy(@Cast(value="const char*") BytePointer InputData, @Cast(value="size_t") long InputDataLength, @Cast(value="const char*") BytePointer BufferName)
public static LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRangeCopy(String InputData, @Cast(value="size_t") long InputDataLength, String BufferName)
@Cast(value="const char*") public static BytePointer LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf)
@Cast(value="size_t") public static long LLVMGetBufferSize(LLVMMemoryBufferRef MemBuf)
public static void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf)
public static LLVMPassManagerRef LLVMCreatePassManager()
llvm::PassManager::PassManager
public static LLVMPassManagerRef LLVMCreateFunctionPassManagerForModule(LLVMModuleRef M)
llvm::FunctionPassManager::FunctionPassManager
public static LLVMPassManagerRef LLVMCreateFunctionPassManager(LLVMModuleProviderRef MP)
@Cast(value="LLVMBool") public static int LLVMRunPassManager(LLVMPassManagerRef PM, LLVMModuleRef M)
llvm::PassManager::run(Module&)
@Cast(value="LLVMBool") public static int LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM)
llvm::FunctionPassManager::doInitialization
@Cast(value="LLVMBool") public static int LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F)
llvm::FunctionPassManager::run(Function&)
@Cast(value="LLVMBool") public static int LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM)
llvm::FunctionPassManager::doFinalization
public static void LLVMDisposePassManager(LLVMPassManagerRef PM)
llvm::PassManagerBase::~PassManagerBase.
@Cast(value="LLVMBool") public static int LLVMStartMultithreaded()
public static void LLVMStopMultithreaded()
@Cast(value="LLVMBool") public static int LLVMIsMultithreaded()
llvm::llvm_is_multithreaded
@Cast(value="LLVMBool") public static int LLVMVerifyModule(LLVMModuleRef M, @Cast(value="LLVMVerifierFailureAction") int Action, @Cast(value="char**") PointerPointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMVerifyModule(LLVMModuleRef M, @Cast(value="LLVMVerifierFailureAction") int Action, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMVerifyModule(LLVMModuleRef M, @Cast(value="LLVMVerifierFailureAction") int Action, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMVerifyModule(LLVMModuleRef M, @Cast(value="LLVMVerifierFailureAction") int Action, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMVerifyFunction(LLVMValueRef Fn, @Cast(value="LLVMVerifierFailureAction") int Action)
public static void LLVMViewFunctionCFG(LLVMValueRef Fn)
public static void LLVMViewFunctionCFGOnly(LLVMValueRef Fn)
@Cast(value="LLVMBool") public static int LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutModule, @Cast(value="char**") PointerPointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutModule, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutModule, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutModule, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutModule, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutModule, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutModule, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutModule)
@Cast(value="LLVMBool") public static int LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutModule)
@Cast(value="LLVMBool") public static int LLVMParseBitcodeInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutModule, @Cast(value="char**") PointerPointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcodeInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutModule, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcodeInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutModule, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcodeInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutModule, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcodeInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutModule, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcodeInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutModule, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcodeInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutModule, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseBitcodeInContext2(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutModule)
@Cast(value="LLVMBool") public static int LLVMParseBitcodeInContext2(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutModule)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") PointerPointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutM, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutM, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutM, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModuleInContext2(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModuleInContext2(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutM)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") PointerPointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutM, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutM, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutM, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModule2(LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM)
@Cast(value="LLVMBool") public static int LLVMGetBitcodeModule2(LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutM)
public static int LLVMWriteBitcodeToFile(LLVMModuleRef M, @Cast(value="const char*") BytePointer Path)
public static int LLVMWriteBitcodeToFile(LLVMModuleRef M, String Path)
public static int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose, int Unbuffered)
public static int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int Handle)
public static LLVMMemoryBufferRef LLVMWriteBitcodeToMemoryBuffer(LLVMModuleRef M)
public static LLVMDisasmContextRef LLVMCreateDisasm(@Cast(value="const char*") BytePointer TripleName, Pointer DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp)
public static LLVMDisasmContextRef LLVMCreateDisasm(String TripleName, Pointer DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp)
public static LLVMDisasmContextRef LLVMCreateDisasmCPU(@Cast(value="const char*") BytePointer Triple, @Cast(value="const char*") BytePointer CPU, Pointer DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp)
public static LLVMDisasmContextRef LLVMCreateDisasmCPU(String Triple, String CPU, Pointer DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp)
public static LLVMDisasmContextRef LLVMCreateDisasmCPUFeatures(@Cast(value="const char*") BytePointer Triple, @Cast(value="const char*") BytePointer CPU, @Cast(value="const char*") BytePointer Features, Pointer DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp)
public static LLVMDisasmContextRef LLVMCreateDisasmCPUFeatures(String Triple, String CPU, String Features, Pointer DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp)
public static int LLVMSetDisasmOptions(LLVMDisasmContextRef DC, @Cast(value="uint64_t") long Options)
public static void LLVMDisasmDispose(LLVMDisasmContextRef DC)
@Cast(value="size_t") public static long LLVMDisasmInstruction(LLVMDisasmContextRef DC, @Cast(value="uint8_t*") BytePointer Bytes, @Cast(value="uint64_t") long BytesSize, @Cast(value="uint64_t") long PC, @Cast(value="char*") BytePointer OutString, @Cast(value="size_t") long OutStringSize)
@Cast(value="size_t") public static long LLVMDisasmInstruction(LLVMDisasmContextRef DC, @Cast(value="uint8_t*") ByteBuffer Bytes, @Cast(value="uint64_t") long BytesSize, @Cast(value="uint64_t") long PC, @Cast(value="char*") ByteBuffer OutString, @Cast(value="size_t") long OutStringSize)
@Cast(value="size_t") public static long LLVMDisasmInstruction(LLVMDisasmContextRef DC, @Cast(value="uint8_t*") byte[] Bytes, @Cast(value="uint64_t") long BytesSize, @Cast(value="uint64_t") long PC, @Cast(value="char*") byte[] OutString, @Cast(value="size_t") long OutStringSize)
@Cast(value="LLVMBool") public static int LLVMParseIRInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") PointerPointer OutMessage)
llvm::ParseIR()
@Cast(value="LLVMBool") public static int LLVMParseIRInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseIRInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutM, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseIRInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseIRInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutM, @Cast(value="char**") @ByPtrPtr BytePointer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseIRInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @ByPtrPtr LLVMModuleRef OutM, @Cast(value="char**") @ByPtrPtr ByteBuffer OutMessage)
@Cast(value="LLVMBool") public static int LLVMParseIRInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, @Cast(value="LLVMModuleRef*") PointerPointer OutM, @Cast(value="char**") @ByPtrPtr byte[] OutMessage)
@Cast(value="LLVMBool") public static int LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src)
@Cast(value="const char*") public static BytePointer lto_get_version()
@Cast(value="const char*") public static BytePointer lto_get_error_message()
@Cast(value="lto_bool_t") public static boolean lto_module_is_object_file(@Cast(value="const char*") BytePointer path)
@Cast(value="lto_bool_t") public static boolean lto_module_is_object_file(String path)
@Cast(value="lto_bool_t") public static boolean lto_module_is_object_file_for_target(@Cast(value="const char*") BytePointer path, @Cast(value="const char*") BytePointer target_triple_prefix)
@Cast(value="lto_bool_t") public static boolean lto_module_is_object_file_for_target(String path, String target_triple_prefix)
@Cast(value="lto_bool_t") public static boolean lto_module_has_objc_category(@Const Pointer mem, @Cast(value="size_t") long length)
@Cast(value="lto_bool_t") public static boolean lto_module_is_object_file_in_memory(@Const Pointer mem, @Cast(value="size_t") long length)
@Cast(value="lto_bool_t") public static boolean lto_module_is_object_file_in_memory_for_target(@Const Pointer mem, @Cast(value="size_t") long length, @Cast(value="const char*") BytePointer target_triple_prefix)
@Cast(value="lto_bool_t") public static boolean lto_module_is_object_file_in_memory_for_target(@Const Pointer mem, @Cast(value="size_t") long length, String target_triple_prefix)
public static lto_module_t lto_module_create(@Cast(value="const char*") BytePointer path)
public static lto_module_t lto_module_create(String path)
public static lto_module_t lto_module_create_from_memory(@Const Pointer mem, @Cast(value="size_t") long length)
public static lto_module_t lto_module_create_from_memory_with_path(@Const Pointer mem, @Cast(value="size_t") long length, @Cast(value="const char*") BytePointer path)
public static lto_module_t lto_module_create_from_memory_with_path(@Const Pointer mem, @Cast(value="size_t") long length, String path)
public static lto_module_t lto_module_create_in_local_context(@Const Pointer mem, @Cast(value="size_t") long length, @Cast(value="const char*") BytePointer path)
public static lto_module_t lto_module_create_in_local_context(@Const Pointer mem, @Cast(value="size_t") long length, String path)
public static lto_module_t lto_module_create_in_codegen_context(@Const Pointer mem, @Cast(value="size_t") long length, @Cast(value="const char*") BytePointer path, lto_code_gen_t cg)
public static lto_module_t lto_module_create_in_codegen_context(@Const Pointer mem, @Cast(value="size_t") long length, String path, lto_code_gen_t cg)
public static lto_module_t lto_module_create_from_fd(int fd, @Cast(value="const char*") BytePointer path, @Cast(value="size_t") long file_size)
public static lto_module_t lto_module_create_from_fd(int fd, String path, @Cast(value="size_t") long file_size)
public static lto_module_t lto_module_create_from_fd_at_offset(int fd, @Cast(value="const char*") BytePointer path, @Cast(value="size_t") long file_size, @Cast(value="size_t") long map_size, @Cast(value="off_t") long offset)
public static lto_module_t lto_module_create_from_fd_at_offset(int fd, String path, @Cast(value="size_t") long file_size, @Cast(value="size_t") long map_size, @Cast(value="off_t") long offset)
public static void lto_module_dispose(lto_module_t mod)
@Cast(value="const char*") public static BytePointer lto_module_get_target_triple(lto_module_t mod)
public static void lto_module_set_target_triple(lto_module_t mod, @Cast(value="const char*") BytePointer triple)
public static void lto_module_set_target_triple(lto_module_t mod, String triple)
@Cast(value="unsigned int") public static int lto_module_get_num_symbols(lto_module_t mod)
@Cast(value="const char*") public static BytePointer lto_module_get_symbol_name(lto_module_t mod, @Cast(value="unsigned int") int index)
@Cast(value="lto_symbol_attributes") public static int lto_module_get_symbol_attribute(lto_module_t mod, @Cast(value="unsigned int") int index)
@Cast(value="const char*") public static BytePointer lto_module_get_linkeropts(lto_module_t mod)
@Cast(value="lto_bool_t") public static boolean lto_module_get_macho_cputype(lto_module_t mod, @Cast(value="unsigned int*") IntPointer out_cputype, @Cast(value="unsigned int*") IntPointer out_cpusubtype)
@Cast(value="lto_bool_t") public static boolean lto_module_get_macho_cputype(lto_module_t mod, @Cast(value="unsigned int*") IntBuffer out_cputype, @Cast(value="unsigned int*") IntBuffer out_cpusubtype)
@Cast(value="lto_bool_t") public static boolean lto_module_get_macho_cputype(lto_module_t mod, @Cast(value="unsigned int*") int[] out_cputype, @Cast(value="unsigned int*") int[] out_cpusubtype)
@Cast(value="lto_bool_t") public static boolean lto_module_has_ctor_dtor(lto_module_t mod)
public static void lto_codegen_set_diagnostic_handler(lto_code_gen_t arg0, lto_diagnostic_handler_t arg1, Pointer arg2)
public static lto_code_gen_t lto_codegen_create()
public static lto_code_gen_t lto_codegen_create_in_local_context()
public static void lto_codegen_dispose(lto_code_gen_t arg0)
@Cast(value="lto_bool_t") public static boolean lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod)
public static void lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod)
@Cast(value="lto_bool_t") public static boolean lto_codegen_set_debug_model(lto_code_gen_t cg, @Cast(value="lto_debug_model") int arg1)
@Cast(value="lto_bool_t") public static boolean lto_codegen_set_pic_model(lto_code_gen_t cg, @Cast(value="lto_codegen_model") int arg1)
public static void lto_codegen_set_cpu(lto_code_gen_t cg, @Cast(value="const char*") BytePointer cpu)
public static void lto_codegen_set_cpu(lto_code_gen_t cg, String cpu)
public static void lto_codegen_set_assembler_path(lto_code_gen_t cg, @Cast(value="const char*") BytePointer path)
public static void lto_codegen_set_assembler_path(lto_code_gen_t cg, String path)
public static void lto_codegen_set_assembler_args(lto_code_gen_t cg, @Cast(value="const char**") PointerPointer args, int nargs)
public static void lto_codegen_set_assembler_args(lto_code_gen_t cg, @Cast(value="const char**") @ByPtrPtr BytePointer args, int nargs)
public static void lto_codegen_set_assembler_args(lto_code_gen_t cg, @Cast(value="const char**") @ByPtrPtr ByteBuffer args, int nargs)
public static void lto_codegen_set_assembler_args(lto_code_gen_t cg, @Cast(value="const char**") @ByPtrPtr byte[] args, int nargs)
public static void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, @Cast(value="const char*") BytePointer symbol)
public static void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, String symbol)
@Cast(value="lto_bool_t") public static boolean lto_codegen_write_merged_modules(lto_code_gen_t cg, @Cast(value="const char*") BytePointer path)
@Cast(value="lto_bool_t") public static boolean lto_codegen_write_merged_modules(lto_code_gen_t cg, String path)
@Const public static Pointer lto_codegen_compile(lto_code_gen_t cg, @Cast(value="size_t*") SizeTPointer length)
@Cast(value="lto_bool_t") public static boolean lto_codegen_compile_to_file(lto_code_gen_t cg, @Cast(value="const char**") PointerPointer name)
@Cast(value="lto_bool_t") public static boolean lto_codegen_compile_to_file(lto_code_gen_t cg, @Cast(value="const char**") @ByPtrPtr BytePointer name)
@Cast(value="lto_bool_t") public static boolean lto_codegen_compile_to_file(lto_code_gen_t cg, @Cast(value="const char**") @ByPtrPtr ByteBuffer name)
@Cast(value="lto_bool_t") public static boolean lto_codegen_compile_to_file(lto_code_gen_t cg, @Cast(value="const char**") @ByPtrPtr byte[] name)
@Cast(value="lto_bool_t") public static boolean lto_codegen_optimize(lto_code_gen_t cg)
@Const public static Pointer lto_codegen_compile_optimized(lto_code_gen_t cg, @Cast(value="size_t*") SizeTPointer length)
@Cast(value="unsigned int") public static int lto_api_version()
public static void lto_set_debug_options(@Cast(value="const char*const*") PointerPointer options, int number)
public static void lto_set_debug_options(@Cast(value="const char*const*") @ByPtrPtr BytePointer options, int number)
public static void lto_set_debug_options(@Cast(value="const char*const*") @ByPtrPtr ByteBuffer options, int number)
public static void lto_set_debug_options(@Cast(value="const char*const*") @ByPtrPtr byte[] options, int number)
public static void lto_codegen_debug_options(lto_code_gen_t cg, @Cast(value="const char*") BytePointer arg1)
public static void lto_codegen_debug_options(lto_code_gen_t cg, String arg1)
public static void lto_codegen_debug_options_array(lto_code_gen_t cg, @Cast(value="const char*const*") PointerPointer arg1, int number)
public static void lto_codegen_debug_options_array(lto_code_gen_t cg, @Cast(value="const char*const*") @ByPtrPtr BytePointer arg1, int number)
public static void lto_codegen_debug_options_array(lto_code_gen_t cg, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer arg1, int number)
public static void lto_codegen_debug_options_array(lto_code_gen_t cg, @Cast(value="const char*const*") @ByPtrPtr byte[] arg1, int number)
public static void lto_initialize_disassembler()
public static void lto_codegen_set_should_internalize(lto_code_gen_t cg, @Cast(value="lto_bool_t") boolean ShouldInternalize)
public static void lto_codegen_set_should_embed_uselists(lto_code_gen_t cg, @Cast(value="lto_bool_t") boolean ShouldEmbedUselists)
public static lto_input_t lto_input_create(@Const Pointer buffer, @Cast(value="size_t") long buffer_size, @Cast(value="const char*") BytePointer path)
public static lto_input_t lto_input_create(@Const Pointer buffer, @Cast(value="size_t") long buffer_size, String path)
public static void lto_input_dispose(lto_input_t input)
@Cast(value="unsigned") public static int lto_input_get_num_dependent_libraries(lto_input_t input)
@Cast(value="const char*") public static BytePointer lto_input_get_dependent_library(lto_input_t input, @Cast(value="size_t") long index, @Cast(value="size_t*") SizeTPointer size)
@Cast(value="const char*const*") public static PointerPointer lto_runtime_lib_symbols_list(@Cast(value="size_t*") SizeTPointer size)
public static thinlto_code_gen_t thinlto_create_codegen()
public static void thinlto_codegen_dispose(thinlto_code_gen_t cg)
public static void thinlto_codegen_add_module(thinlto_code_gen_t cg, @Cast(value="const char*") BytePointer identifier, @Cast(value="const char*") BytePointer data, int length)
public static void thinlto_codegen_add_module(thinlto_code_gen_t cg, String identifier, String data, int length)
public static void thinlto_codegen_process(thinlto_code_gen_t cg)
@Cast(value="unsigned int") public static int thinlto_module_get_num_objects(thinlto_code_gen_t cg)
@ByVal public static LTOObjectBuffer thinlto_module_get_object(thinlto_code_gen_t cg, @Cast(value="unsigned int") int index)
@Cast(value="unsigned int") public static int thinlto_module_get_num_object_files(thinlto_code_gen_t cg)
@Cast(value="const char*") public static BytePointer thinlto_module_get_object_file(thinlto_code_gen_t cg, @Cast(value="unsigned int") int index)
@Cast(value="lto_bool_t") public static boolean thinlto_codegen_set_pic_model(thinlto_code_gen_t cg, @Cast(value="lto_codegen_model") int arg1)
public static void thinlto_codegen_set_savetemps_dir(thinlto_code_gen_t cg, @Cast(value="const char*") BytePointer save_temps_dir)
public static void thinlto_codegen_set_savetemps_dir(thinlto_code_gen_t cg, String save_temps_dir)
public static void thinlto_set_generated_objects_dir(thinlto_code_gen_t cg, @Cast(value="const char*") BytePointer save_temps_dir)
public static void thinlto_set_generated_objects_dir(thinlto_code_gen_t cg, String save_temps_dir)
public static void thinlto_codegen_set_cpu(thinlto_code_gen_t cg, @Cast(value="const char*") BytePointer cpu)
public static void thinlto_codegen_set_cpu(thinlto_code_gen_t cg, String cpu)
public static void thinlto_codegen_disable_codegen(thinlto_code_gen_t cg, @Cast(value="lto_bool_t") boolean disable)
public static void thinlto_codegen_set_codegen_only(thinlto_code_gen_t cg, @Cast(value="lto_bool_t") boolean codegen_only)
public static void thinlto_debug_options(@Cast(value="const char*const*") PointerPointer options, int number)
public static void thinlto_debug_options(@Cast(value="const char*const*") @ByPtrPtr BytePointer options, int number)
public static void thinlto_debug_options(@Cast(value="const char*const*") @ByPtrPtr ByteBuffer options, int number)
public static void thinlto_debug_options(@Cast(value="const char*const*") @ByPtrPtr byte[] options, int number)
@Cast(value="lto_bool_t") public static boolean lto_module_is_thinlto(lto_module_t mod)
public static void thinlto_codegen_add_must_preserve_symbol(thinlto_code_gen_t cg, @Cast(value="const char*") BytePointer name, int length)
public static void thinlto_codegen_add_must_preserve_symbol(thinlto_code_gen_t cg, String name, int length)
public static void thinlto_codegen_add_cross_referenced_symbol(thinlto_code_gen_t cg, @Cast(value="const char*") BytePointer name, int length)
public static void thinlto_codegen_add_cross_referenced_symbol(thinlto_code_gen_t cg, String name, int length)
public static void thinlto_codegen_set_cache_dir(thinlto_code_gen_t cg, @Cast(value="const char*") BytePointer cache_dir)
public static void thinlto_codegen_set_cache_dir(thinlto_code_gen_t cg, String cache_dir)
public static void thinlto_codegen_set_cache_pruning_interval(thinlto_code_gen_t cg, int interval)
public static void thinlto_codegen_set_final_cache_size_relative_to_available_space(thinlto_code_gen_t cg, @Cast(value="unsigned") int percentage)
public static void thinlto_codegen_set_cache_entry_expiration(thinlto_code_gen_t cg, @Cast(value="unsigned") int expiration)
public static void thinlto_codegen_set_cache_size_bytes(thinlto_code_gen_t cg, @Cast(value="unsigned") int max_size_bytes)
public static void thinlto_codegen_set_cache_size_megabytes(thinlto_code_gen_t cg, @Cast(value="unsigned") int max_size_megabytes)
public static void thinlto_codegen_set_cache_size_files(thinlto_code_gen_t cg, @Cast(value="unsigned") int max_size_files)
public static LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, LLVMContextRef Context, @Cast(value="char**") PointerPointer ErrorMessage)
llvm::object::createBinary
public static LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, LLVMContextRef Context, @Cast(value="char**") @ByPtrPtr BytePointer ErrorMessage)
public static LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, LLVMContextRef Context, @Cast(value="char**") @ByPtrPtr ByteBuffer ErrorMessage)
public static LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, LLVMContextRef Context, @Cast(value="char**") @ByPtrPtr byte[] ErrorMessage)
public static void LLVMDisposeBinary(LLVMBinaryRef BR)
public static LLVMMemoryBufferRef LLVMBinaryCopyMemoryBuffer(LLVMBinaryRef BR)
llvm::object::getMemoryBufferRef
@Cast(value="LLVMBinaryType") public static int LLVMBinaryGetType(LLVMBinaryRef BR)
llvm::object::Binary::getType
public static LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, @Cast(value="const char*") BytePointer Arch, @Cast(value="size_t") long ArchLen, @Cast(value="char**") PointerPointer ErrorMessage)
public static LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, @Cast(value="const char*") BytePointer Arch, @Cast(value="size_t") long ArchLen, @Cast(value="char**") @ByPtrPtr BytePointer ErrorMessage)
public static LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, String Arch, @Cast(value="size_t") long ArchLen, @Cast(value="char**") @ByPtrPtr ByteBuffer ErrorMessage)
public static LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, @Cast(value="const char*") BytePointer Arch, @Cast(value="size_t") long ArchLen, @Cast(value="char**") @ByPtrPtr byte[] ErrorMessage)
public static LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, String Arch, @Cast(value="size_t") long ArchLen, @Cast(value="char**") @ByPtrPtr BytePointer ErrorMessage)
public static LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, @Cast(value="const char*") BytePointer Arch, @Cast(value="size_t") long ArchLen, @Cast(value="char**") @ByPtrPtr ByteBuffer ErrorMessage)
public static LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, String Arch, @Cast(value="size_t") long ArchLen, @Cast(value="char**") @ByPtrPtr byte[] ErrorMessage)
public static LLVMSectionIteratorRef LLVMObjectFileCopySectionIterator(LLVMBinaryRef BR)
llvm::object::sections()
@Cast(value="LLVMBool") public static int LLVMObjectFileIsSectionIteratorAtEnd(LLVMBinaryRef BR, LLVMSectionIteratorRef SI)
llvm::object::section_end
public static LLVMSymbolIteratorRef LLVMObjectFileCopySymbolIterator(LLVMBinaryRef BR)
llvm::object::symbols()
@Cast(value="LLVMBool") public static int LLVMObjectFileIsSymbolIteratorAtEnd(LLVMBinaryRef BR, LLVMSymbolIteratorRef SI)
llvm::object::symbol_end
public static void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI)
public static void LLVMMoveToNextSection(LLVMSectionIteratorRef SI)
public static void LLVMMoveToContainingSection(LLVMSectionIteratorRef Sect, LLVMSymbolIteratorRef Sym)
public static void LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI)
public static void LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI)
@Cast(value="const char*") public static BytePointer LLVMGetSectionName(LLVMSectionIteratorRef SI)
@Cast(value="uint64_t") public static long LLVMGetSectionSize(LLVMSectionIteratorRef SI)
@Cast(value="const char*") public static BytePointer LLVMGetSectionContents(LLVMSectionIteratorRef SI)
@Cast(value="uint64_t") public static long LLVMGetSectionAddress(LLVMSectionIteratorRef SI)
@Cast(value="LLVMBool") public static int LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym)
public static LLVMRelocationIteratorRef LLVMGetRelocations(LLVMSectionIteratorRef Section)
public static void LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef RI)
@Cast(value="LLVMBool") public static int LLVMIsRelocationIteratorAtEnd(LLVMSectionIteratorRef Section, LLVMRelocationIteratorRef RI)
public static void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI)
@Cast(value="const char*") public static BytePointer LLVMGetSymbolName(LLVMSymbolIteratorRef SI)
@Cast(value="uint64_t") public static long LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI)
@Cast(value="uint64_t") public static long LLVMGetSymbolSize(LLVMSymbolIteratorRef SI)
@Cast(value="uint64_t") public static long LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI)
public static LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI)
@Cast(value="uint64_t") public static long LLVMGetRelocationType(LLVMRelocationIteratorRef RI)
@Cast(value="const char*") public static BytePointer LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI)
@Cast(value="const char*") public static BytePointer LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI)
public static LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf)
public static void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile)
public static LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile)
@Cast(value="LLVMBool") public static int LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSectionIteratorRef SI)
public static LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile)
@Cast(value="LLVMBool") public static int LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSymbolIteratorRef SI)
public static void LLVMInitializeAllTargetInfos()
public static void LLVMInitializeAllTargets()
public static void LLVMInitializeAllTargetMCs()
public static void LLVMInitializeAllAsmPrinters()
public static void LLVMInitializeAllAsmParsers()
public static void LLVMInitializeAllDisassemblers()
@Cast(value="LLVMBool") public static int LLVMInitializeNativeTarget()
@Cast(value="LLVMBool") public static int LLVMInitializeNativeAsmParser()
@Cast(value="LLVMBool") public static int LLVMInitializeNativeAsmPrinter()
@Cast(value="LLVMBool") public static int LLVMInitializeNativeDisassembler()
public static LLVMTargetDataRef LLVMGetModuleDataLayout(LLVMModuleRef M)
Module::getDataLayout()
public static void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL)
Module::setDataLayout()
public static LLVMTargetDataRef LLVMCreateTargetData(@Cast(value="const char*") BytePointer StringRep)
public static LLVMTargetDataRef LLVMCreateTargetData(String StringRep)
public static void LLVMDisposeTargetData(LLVMTargetDataRef TD)
public static void LLVMAddTargetLibraryInfo(LLVMTargetLibraryInfoRef TLI, LLVMPassManagerRef PM)
@Cast(value="char*") public static BytePointer LLVMCopyStringRepOfTargetData(LLVMTargetDataRef TD)
@Cast(value="LLVMByteOrdering") public static int LLVMByteOrder(LLVMTargetDataRef TD)
@Cast(value="unsigned") public static int LLVMPointerSize(LLVMTargetDataRef TD)
@Cast(value="unsigned") public static int LLVMPointerSizeForAS(LLVMTargetDataRef TD, @Cast(value="unsigned") int AS)
public static LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef TD)
public static LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef TD, @Cast(value="unsigned") int AS)
public static LLVMTypeRef LLVMIntPtrTypeInContext(LLVMContextRef C, LLVMTargetDataRef TD)
public static LLVMTypeRef LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD, @Cast(value="unsigned") int AS)
@Cast(value="unsigned long long") public static long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty)
@Cast(value="unsigned long long") public static long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty)
@Cast(value="unsigned long long") public static long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty)
@Cast(value="unsigned") public static int LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty)
@Cast(value="unsigned") public static int LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty)
@Cast(value="unsigned") public static int LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty)
@Cast(value="unsigned") public static int LLVMPreferredAlignmentOfGlobal(LLVMTargetDataRef TD, LLVMValueRef GlobalVar)
@Cast(value="unsigned") public static int LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef StructTy, @Cast(value="unsigned long long") long Offset)
@Cast(value="unsigned long long") public static long LLVMOffsetOfElement(LLVMTargetDataRef TD, LLVMTypeRef StructTy, @Cast(value="unsigned") int Element)
public static LLVMTargetRef LLVMGetFirstTarget()
public static LLVMTargetRef LLVMGetNextTarget(LLVMTargetRef T)
public static LLVMTargetRef LLVMGetTargetFromName(@Cast(value="const char*") BytePointer Name)
public static LLVMTargetRef LLVMGetTargetFromName(String Name)
@Cast(value="LLVMBool") public static int LLVMGetTargetFromTriple(@Cast(value="const char*") BytePointer Triple, @ByPtrPtr LLVMTargetRef T, @Cast(value="char**") PointerPointer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMGetTargetFromTriple(@Cast(value="const char*") BytePointer Triple, @ByPtrPtr LLVMTargetRef T, @Cast(value="char**") @ByPtrPtr BytePointer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMGetTargetFromTriple(String Triple, @Cast(value="LLVMTargetRef*") PointerPointer T, @Cast(value="char**") @ByPtrPtr ByteBuffer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMGetTargetFromTriple(@Cast(value="const char*") BytePointer Triple, @ByPtrPtr LLVMTargetRef T, @Cast(value="char**") @ByPtrPtr byte[] ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMGetTargetFromTriple(String Triple, @Cast(value="LLVMTargetRef*") PointerPointer T, @Cast(value="char**") @ByPtrPtr BytePointer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMGetTargetFromTriple(@Cast(value="const char*") BytePointer Triple, @ByPtrPtr LLVMTargetRef T, @Cast(value="char**") @ByPtrPtr ByteBuffer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMGetTargetFromTriple(String Triple, @Cast(value="LLVMTargetRef*") PointerPointer T, @Cast(value="char**") @ByPtrPtr byte[] ErrorMessage)
@Cast(value="const char*") public static BytePointer LLVMGetTargetName(LLVMTargetRef T)
@Cast(value="const char*") public static BytePointer LLVMGetTargetDescription(LLVMTargetRef T)
@Cast(value="LLVMBool") public static int LLVMTargetHasJIT(LLVMTargetRef T)
@Cast(value="LLVMBool") public static int LLVMTargetHasTargetMachine(LLVMTargetRef T)
@Cast(value="LLVMBool") public static int LLVMTargetHasAsmBackend(LLVMTargetRef T)
public static LLVMTargetMachineRef LLVMCreateTargetMachine(LLVMTargetRef T, @Cast(value="const char*") BytePointer Triple, @Cast(value="const char*") BytePointer CPU, @Cast(value="const char*") BytePointer Features, @Cast(value="LLVMCodeGenOptLevel") int Level, @Cast(value="LLVMRelocMode") int Reloc, @Cast(value="LLVMCodeModel") int CodeModel)
public static LLVMTargetMachineRef LLVMCreateTargetMachine(LLVMTargetRef T, String Triple, String CPU, String Features, @Cast(value="LLVMCodeGenOptLevel") int Level, @Cast(value="LLVMRelocMode") int Reloc, @Cast(value="LLVMCodeModel") int CodeModel)
public static void LLVMDisposeTargetMachine(LLVMTargetMachineRef T)
public static LLVMTargetRef LLVMGetTargetMachineTarget(LLVMTargetMachineRef T)
@Cast(value="char*") public static BytePointer LLVMGetTargetMachineTriple(LLVMTargetMachineRef T)
@Cast(value="char*") public static BytePointer LLVMGetTargetMachineCPU(LLVMTargetMachineRef T)
@Cast(value="char*") public static BytePointer LLVMGetTargetMachineFeatureString(LLVMTargetMachineRef T)
public static LLVMTargetDataRef LLVMCreateTargetDataLayout(LLVMTargetMachineRef T)
public static void LLVMSetTargetMachineAsmVerbosity(LLVMTargetMachineRef T, @Cast(value="LLVMBool") int VerboseAsm)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, @Cast(value="const char*") BytePointer Filename, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") PointerPointer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, @Cast(value="const char*") BytePointer Filename, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr BytePointer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, String Filename, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr ByteBuffer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, @Cast(value="const char*") BytePointer Filename, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr byte[] ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, String Filename, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr BytePointer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, @Cast(value="const char*") BytePointer Filename, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr ByteBuffer ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, String Filename, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr byte[] ErrorMessage)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") PointerPointer ErrorMessage, @ByPtrPtr LLVMMemoryBufferRef OutMemBuf)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr BytePointer ErrorMessage, @ByPtrPtr LLVMMemoryBufferRef OutMemBuf)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr ByteBuffer ErrorMessage, @Cast(value="LLVMMemoryBufferRef*") PointerPointer OutMemBuf)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr byte[] ErrorMessage, @ByPtrPtr LLVMMemoryBufferRef OutMemBuf)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr BytePointer ErrorMessage, @Cast(value="LLVMMemoryBufferRef*") PointerPointer OutMemBuf)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr ByteBuffer ErrorMessage, @ByPtrPtr LLVMMemoryBufferRef OutMemBuf)
@Cast(value="LLVMBool") public static int LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M, @Cast(value="LLVMCodeGenFileType") int codegen, @Cast(value="char**") @ByPtrPtr byte[] ErrorMessage, @Cast(value="LLVMMemoryBufferRef*") PointerPointer OutMemBuf)
@Cast(value="char*") public static BytePointer LLVMGetDefaultTargetTriple()
@Cast(value="char*") public static BytePointer LLVMNormalizeTargetTriple(@Cast(value="const char*") BytePointer triple)
@Cast(value="char*") public static ByteBuffer LLVMNormalizeTargetTriple(String triple)
@Cast(value="char*") public static BytePointer LLVMGetHostCPUName()
@Cast(value="char*") public static BytePointer LLVMGetHostCPUFeatures()
public static void LLVMAddAnalysisPasses(LLVMTargetMachineRef T, LLVMPassManagerRef PM)
public static void LLVMLinkInMCJIT()
public static void LLVMLinkInInterpreter()
public static LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, @Cast(value="unsigned long long") long N, @Cast(value="LLVMBool") int IsSigned)
public static LLVMGenericValueRef LLVMCreateGenericValueOfPointer(Pointer P)
public static LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N)
@Cast(value="unsigned") public static int LLVMGenericValueIntWidth(LLVMGenericValueRef GenValRef)
@Cast(value="unsigned long long") public static long LLVMGenericValueToInt(LLVMGenericValueRef GenVal, @Cast(value="LLVMBool") int IsSigned)
public static Pointer LLVMGenericValueToPointer(LLVMGenericValueRef GenVal)
public static double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal)
public static void LLVMDisposeGenericValue(LLVMGenericValueRef GenVal)
@Cast(value="LLVMBool") public static int LLVMCreateExecutionEngineForModule(@ByPtrPtr LLVMExecutionEngineRef OutEE, LLVMModuleRef M, @Cast(value="char**") PointerPointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateExecutionEngineForModule(@ByPtrPtr LLVMExecutionEngineRef OutEE, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr BytePointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateExecutionEngineForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutEE, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr ByteBuffer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateExecutionEngineForModule(@ByPtrPtr LLVMExecutionEngineRef OutEE, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr byte[] OutError)
@Cast(value="LLVMBool") public static int LLVMCreateExecutionEngineForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutEE, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr BytePointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateExecutionEngineForModule(@ByPtrPtr LLVMExecutionEngineRef OutEE, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr ByteBuffer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateExecutionEngineForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutEE, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr byte[] OutError)
@Cast(value="LLVMBool") public static int LLVMCreateInterpreterForModule(@ByPtrPtr LLVMExecutionEngineRef OutInterp, LLVMModuleRef M, @Cast(value="char**") PointerPointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateInterpreterForModule(@ByPtrPtr LLVMExecutionEngineRef OutInterp, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr BytePointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateInterpreterForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutInterp, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr ByteBuffer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateInterpreterForModule(@ByPtrPtr LLVMExecutionEngineRef OutInterp, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr byte[] OutError)
@Cast(value="LLVMBool") public static int LLVMCreateInterpreterForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutInterp, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr BytePointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateInterpreterForModule(@ByPtrPtr LLVMExecutionEngineRef OutInterp, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr ByteBuffer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateInterpreterForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutInterp, LLVMModuleRef M, @Cast(value="char**") @ByPtrPtr byte[] OutError)
@Cast(value="LLVMBool") public static int LLVMCreateJITCompilerForModule(@ByPtrPtr LLVMExecutionEngineRef OutJIT, LLVMModuleRef M, @Cast(value="unsigned") int OptLevel, @Cast(value="char**") PointerPointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateJITCompilerForModule(@ByPtrPtr LLVMExecutionEngineRef OutJIT, LLVMModuleRef M, @Cast(value="unsigned") int OptLevel, @Cast(value="char**") @ByPtrPtr BytePointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateJITCompilerForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutJIT, LLVMModuleRef M, @Cast(value="unsigned") int OptLevel, @Cast(value="char**") @ByPtrPtr ByteBuffer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateJITCompilerForModule(@ByPtrPtr LLVMExecutionEngineRef OutJIT, LLVMModuleRef M, @Cast(value="unsigned") int OptLevel, @Cast(value="char**") @ByPtrPtr byte[] OutError)
@Cast(value="LLVMBool") public static int LLVMCreateJITCompilerForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutJIT, LLVMModuleRef M, @Cast(value="unsigned") int OptLevel, @Cast(value="char**") @ByPtrPtr BytePointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateJITCompilerForModule(@ByPtrPtr LLVMExecutionEngineRef OutJIT, LLVMModuleRef M, @Cast(value="unsigned") int OptLevel, @Cast(value="char**") @ByPtrPtr ByteBuffer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateJITCompilerForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutJIT, LLVMModuleRef M, @Cast(value="unsigned") int OptLevel, @Cast(value="char**") @ByPtrPtr byte[] OutError)
public static void LLVMInitializeMCJITCompilerOptions(LLVMMCJITCompilerOptions Options, @Cast(value="size_t") long SizeOfOptions)
@Cast(value="LLVMBool") public static int LLVMCreateMCJITCompilerForModule(@ByPtrPtr LLVMExecutionEngineRef OutJIT, LLVMModuleRef M, LLVMMCJITCompilerOptions Options, @Cast(value="size_t") long SizeOfOptions, @Cast(value="char**") PointerPointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateMCJITCompilerForModule(@ByPtrPtr LLVMExecutionEngineRef OutJIT, LLVMModuleRef M, LLVMMCJITCompilerOptions Options, @Cast(value="size_t") long SizeOfOptions, @Cast(value="char**") @ByPtrPtr BytePointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateMCJITCompilerForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutJIT, LLVMModuleRef M, LLVMMCJITCompilerOptions Options, @Cast(value="size_t") long SizeOfOptions, @Cast(value="char**") @ByPtrPtr ByteBuffer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateMCJITCompilerForModule(@ByPtrPtr LLVMExecutionEngineRef OutJIT, LLVMModuleRef M, LLVMMCJITCompilerOptions Options, @Cast(value="size_t") long SizeOfOptions, @Cast(value="char**") @ByPtrPtr byte[] OutError)
@Cast(value="LLVMBool") public static int LLVMCreateMCJITCompilerForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutJIT, LLVMModuleRef M, LLVMMCJITCompilerOptions Options, @Cast(value="size_t") long SizeOfOptions, @Cast(value="char**") @ByPtrPtr BytePointer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateMCJITCompilerForModule(@ByPtrPtr LLVMExecutionEngineRef OutJIT, LLVMModuleRef M, LLVMMCJITCompilerOptions Options, @Cast(value="size_t") long SizeOfOptions, @Cast(value="char**") @ByPtrPtr ByteBuffer OutError)
@Cast(value="LLVMBool") public static int LLVMCreateMCJITCompilerForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer OutJIT, LLVMModuleRef M, LLVMMCJITCompilerOptions Options, @Cast(value="size_t") long SizeOfOptions, @Cast(value="char**") @ByPtrPtr byte[] OutError)
public static void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE)
public static void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE)
public static void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE)
public static int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, @Cast(value="unsigned") int ArgC, @Cast(value="const char*const*") PointerPointer ArgV, @Cast(value="const char*const*") PointerPointer EnvP)
public static int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, @Cast(value="unsigned") int ArgC, @Cast(value="const char*const*") @ByPtrPtr BytePointer ArgV, @Cast(value="const char*const*") @ByPtrPtr BytePointer EnvP)
public static int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, @Cast(value="unsigned") int ArgC, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer ArgV, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer EnvP)
public static int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, @Cast(value="unsigned") int ArgC, @Cast(value="const char*const*") @ByPtrPtr byte[] ArgV, @Cast(value="const char*const*") @ByPtrPtr byte[] EnvP)
public static LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, @Cast(value="unsigned") int NumArgs, @ByPtrPtr LLVMGenericValueRef Args)
public static LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, @Cast(value="unsigned") int NumArgs, @Cast(value="LLVMGenericValueRef*") PointerPointer Args)
public static void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F)
public static void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M)
@Cast(value="LLVMBool") public static int LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, @ByPtrPtr LLVMModuleRef OutMod, @Cast(value="char**") PointerPointer OutError)
@Cast(value="LLVMBool") public static int LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, @ByPtrPtr LLVMModuleRef OutMod, @Cast(value="char**") @ByPtrPtr BytePointer OutError)
@Cast(value="LLVMBool") public static int LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, @Cast(value="LLVMModuleRef*") PointerPointer OutMod, @Cast(value="char**") @ByPtrPtr ByteBuffer OutError)
@Cast(value="LLVMBool") public static int LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, @ByPtrPtr LLVMModuleRef OutMod, @Cast(value="char**") @ByPtrPtr byte[] OutError)
@Cast(value="LLVMBool") public static int LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, @Cast(value="LLVMModuleRef*") PointerPointer OutMod, @Cast(value="char**") @ByPtrPtr BytePointer OutError)
@Cast(value="LLVMBool") public static int LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, @ByPtrPtr LLVMModuleRef OutMod, @Cast(value="char**") @ByPtrPtr ByteBuffer OutError)
@Cast(value="LLVMBool") public static int LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, @Cast(value="LLVMModuleRef*") PointerPointer OutMod, @Cast(value="char**") @ByPtrPtr byte[] OutError)
@Cast(value="LLVMBool") public static int LLVMFindFunction(LLVMExecutionEngineRef EE, @Cast(value="const char*") BytePointer Name, @ByPtrPtr LLVMValueRef OutFn)
@Cast(value="LLVMBool") public static int LLVMFindFunction(LLVMExecutionEngineRef EE, String Name, @Cast(value="LLVMValueRef*") PointerPointer OutFn)
public static Pointer LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, LLVMValueRef Fn)
public static LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE)
public static LLVMTargetMachineRef LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE)
public static void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, Pointer Addr)
public static Pointer LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global)
@Cast(value="uint64_t") public static long LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, @Cast(value="const char*") BytePointer Name)
@Cast(value="uint64_t") public static long LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, String Name)
@Cast(value="uint64_t") public static long LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, @Cast(value="const char*") BytePointer Name)
@Cast(value="uint64_t") public static long LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, String Name)
@Cast(value="LLVMBool") public static int LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE, @Cast(value="char**") PointerPointer OutError)
@Cast(value="LLVMBool") public static int LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE, @Cast(value="char**") @ByPtrPtr BytePointer OutError)
@Cast(value="LLVMBool") public static int LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE, @Cast(value="char**") @ByPtrPtr ByteBuffer OutError)
@Cast(value="LLVMBool") public static int LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE, @Cast(value="char**") @ByPtrPtr byte[] OutError)
public static LLVMMCJITMemoryManagerRef LLVMCreateSimpleMCJITMemoryManager(Pointer Opaque, LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection, LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection, LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory, LLVMMemoryManagerDestroyCallback Destroy)
Opaque
- An opaque client object to pass back to the callbacks.AllocateCodeSection
- Allocate a block of memory for executable code.AllocateDataSection
- Allocate a block of memory for data.FinalizeMemory
- Set page permissions and flush cache. Return 0 on
success, 1 on error.public static void LLVMDisposeMCJITMemoryManager(LLVMMCJITMemoryManagerRef MM)
public static LLVMJITEventListenerRef LLVMCreateGDBRegistrationListener()
public static LLVMJITEventListenerRef LLVMCreateIntelJITEventListener()
public static LLVMJITEventListenerRef LLVMCreateOProfileJITEventListener()
public static LLVMJITEventListenerRef LLVMCreatePerfJITEventListener()
public static LLVMComdatRef LLVMGetOrInsertComdat(LLVMModuleRef M, @Cast(value="const char*") BytePointer Name)
llvm::Module::getOrInsertComdat()
public static LLVMComdatRef LLVMGetOrInsertComdat(LLVMModuleRef M, String Name)
public static LLVMComdatRef LLVMGetComdat(LLVMValueRef V)
llvm::GlobalObject::getComdat()
public static void LLVMSetComdat(LLVMValueRef V, LLVMComdatRef C)
llvm::GlobalObject::setComdat()
@Cast(value="LLVMComdatSelectionKind") public static int LLVMGetComdatSelectionKind(LLVMComdatRef C)
public static void LLVMSetComdatSelectionKind(LLVMComdatRef C, @Cast(value="LLVMComdatSelectionKind") int Kind)
@Cast(value="unsigned") public static int LLVMDebugMetadataVersion()
@Cast(value="unsigned") public static int LLVMGetModuleDebugMetadataVersion(LLVMModuleRef Module)
@Cast(value="LLVMBool") public static int LLVMStripModuleDebugInfo(LLVMModuleRef Module)
public static LLVMDIBuilderRef LLVMCreateDIBuilderDisallowUnresolved(LLVMModuleRef M)
public static LLVMDIBuilderRef LLVMCreateDIBuilder(LLVMModuleRef M)
public static void LLVMDisposeDIBuilder(LLVMDIBuilderRef Builder)
public static void LLVMDIBuilderFinalize(LLVMDIBuilderRef Builder)
public static void LLVMDIBuilderFinalizeSubprogram(LLVMDIBuilderRef Builder, LLVMMetadataRef Subprogram)
public static LLVMMetadataRef LLVMDIBuilderCreateCompileUnit(LLVMDIBuilderRef Builder, @Cast(value="LLVMDWARFSourceLanguage") int Lang, LLVMMetadataRef FileRef, @Cast(value="const char*") BytePointer Producer, @Cast(value="size_t") long ProducerLen, @Cast(value="LLVMBool") int isOptimized, @Cast(value="const char*") BytePointer Flags, @Cast(value="size_t") long FlagsLen, @Cast(value="unsigned") int RuntimeVer, @Cast(value="const char*") BytePointer SplitName, @Cast(value="size_t") long SplitNameLen, @Cast(value="LLVMDWARFEmissionKind") int Kind, @Cast(value="unsigned") int DWOId, @Cast(value="LLVMBool") int SplitDebugInlining, @Cast(value="LLVMBool") int DebugInfoForProfiling, @Cast(value="const char*") BytePointer SysRoot, @Cast(value="size_t") long SysRootLen, @Cast(value="const char*") BytePointer SDK, @Cast(value="size_t") long SDKLen)
Lang
- Source programming language, eg.
\c LLVMDWARFSourceLanguageC99FileRef
- File info.Producer
- Identify the producer of debugging information
and code. Usually this is a compiler
version string.ProducerLen
- The length of the C string passed to \c Producer.isOptimized
- A boolean flag which indicates whether optimization
is enabled or not.Flags
- This string lists command line options. This
string is directly embedded in debug info
output which may be used by a tool
analyzing generated debugging information.FlagsLen
- The length of the C string passed to \c Flags.RuntimeVer
- This indicates runtime version for languages like
Objective-C.SplitName
- The name of the file that we'll split debug info
out into.SplitNameLen
- The length of the C string passed to \c SplitName.Kind
- The kind of debug information to generate.DWOId
- The DWOId if this is a split skeleton compile unit.SplitDebugInlining
- Whether to emit inline debug info.DebugInfoForProfiling
- Whether to emit extra debug info for
profile collection.SysRoot
- The Clang system root (value of -isysroot).SysRootLen
- The length of the C string passed to \c SysRoot.SDK
- The SDK. On Darwin, the last component of the sysroot.SDKLen
- The length of the C string passed to \c SDK.public static LLVMMetadataRef LLVMDIBuilderCreateCompileUnit(LLVMDIBuilderRef Builder, @Cast(value="LLVMDWARFSourceLanguage") int Lang, LLVMMetadataRef FileRef, String Producer, @Cast(value="size_t") long ProducerLen, @Cast(value="LLVMBool") int isOptimized, String Flags, @Cast(value="size_t") long FlagsLen, @Cast(value="unsigned") int RuntimeVer, String SplitName, @Cast(value="size_t") long SplitNameLen, @Cast(value="LLVMDWARFEmissionKind") int Kind, @Cast(value="unsigned") int DWOId, @Cast(value="LLVMBool") int SplitDebugInlining, @Cast(value="LLVMBool") int DebugInfoForProfiling, String SysRoot, @Cast(value="size_t") long SysRootLen, String SDK, @Cast(value="size_t") long SDKLen)
public static LLVMMetadataRef LLVMDIBuilderCreateFile(LLVMDIBuilderRef Builder, @Cast(value="const char*") BytePointer Filename, @Cast(value="size_t") long FilenameLen, @Cast(value="const char*") BytePointer Directory, @Cast(value="size_t") long DirectoryLen)
Builder
- The \c DIBuilder.Filename
- File name.FilenameLen
- The length of the C string passed to \c Filename.Directory
- Directory.DirectoryLen
- The length of the C string passed to \c Directory.public static LLVMMetadataRef LLVMDIBuilderCreateFile(LLVMDIBuilderRef Builder, String Filename, @Cast(value="size_t") long FilenameLen, String Directory, @Cast(value="size_t") long DirectoryLen)
public static LLVMMetadataRef LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, @Cast(value="const char*") BytePointer ConfigMacros, @Cast(value="size_t") long ConfigMacrosLen, @Cast(value="const char*") BytePointer IncludePath, @Cast(value="size_t") long IncludePathLen, @Cast(value="const char*") BytePointer APINotesFile, @Cast(value="size_t") long APINotesFileLen)
Builder
- The \c DIBuilder.ParentScope
- The parent scope containing this module declaration.Name
- Module name.NameLen
- The length of the C string passed to \c Name.ConfigMacros
- A space-separated shell-quoted list of -D macro
definitions as they would appear on a command line.ConfigMacrosLen
- The length of the C string passed to \c ConfigMacros.IncludePath
- The path to the module map file.IncludePathLen
- The length of the C string passed to \c IncludePath.APINotesFile
- The path to an API notes file for the module.APINotesFileLen
- The length of the C string passed to \c APINotestFile.public static LLVMMetadataRef LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, String Name, @Cast(value="size_t") long NameLen, String ConfigMacros, @Cast(value="size_t") long ConfigMacrosLen, String IncludePath, @Cast(value="size_t") long IncludePathLen, String APINotesFile, @Cast(value="size_t") long APINotesFileLen)
public static LLVMMetadataRef LLVMDIBuilderCreateNameSpace(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, @Cast(value="LLVMBool") int ExportSymbols)
Builder
- The \c DIBuilder.ParentScope
- The parent scope containing this module declaration.Name
- NameSpace name.NameLen
- The length of the C string passed to \c Name.ExportSymbols
- Whether or not the namespace exports symbols, e.g.
this is true of C++ inline namespaces.public static LLVMMetadataRef LLVMDIBuilderCreateNameSpace(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, String Name, @Cast(value="size_t") long NameLen, @Cast(value="LLVMBool") int ExportSymbols)
public static LLVMMetadataRef LLVMDIBuilderCreateFunction(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, @Cast(value="const char*") BytePointer LinkageName, @Cast(value="size_t") long LinkageNameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Ty, @Cast(value="LLVMBool") int IsLocalToUnit, @Cast(value="LLVMBool") int IsDefinition, @Cast(value="unsigned") int ScopeLine, @Cast(value="LLVMDIFlags") int Flags, @Cast(value="LLVMBool") int IsOptimized)
Builder
- The \c DIBuilder.Scope
- Function scope.Name
- Function name.NameLen
- Length of enumeration name.LinkageName
- Mangled function name.LinkageNameLen
- Length of linkage name.File
- File where this variable is defined.LineNo
- Line number.Ty
- Function type.IsLocalToUnit
- True if this function is not externally visible.IsDefinition
- True if this is a function definition.ScopeLine
- Set to the beginning of the scope this startsFlags
- E.g.: \c LLVMDIFlagLValueReference. These flags are
used to emit dwarf attributes.IsOptimized
- True if optimization is ON.public static LLVMMetadataRef LLVMDIBuilderCreateFunction(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, String LinkageName, @Cast(value="size_t") long LinkageNameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Ty, @Cast(value="LLVMBool") int IsLocalToUnit, @Cast(value="LLVMBool") int IsDefinition, @Cast(value="unsigned") int ScopeLine, @Cast(value="LLVMDIFlags") int Flags, @Cast(value="LLVMBool") int IsOptimized)
public static LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef File, @Cast(value="unsigned") int Line, @Cast(value="unsigned") int Column)
Builder
- The \c DIBuilder.Scope
- Parent lexical block.File
- Source file.Line
- The line in the source file.Column
- The column in the source file.public static LLVMMetadataRef LLVMDIBuilderCreateLexicalBlockFile(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef File, @Cast(value="unsigned") int Discriminator)
Builder
- The \c DIBuilder.Scope
- Lexical block.File
- Source file.Discriminator
- DWARF path discriminator value.public static LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromNamespace(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef NS, LLVMMetadataRef File, @Cast(value="unsigned") int Line)
Builder
- The \c DIBuilder.Scope
- The scope this module is imported intoFile
- File where the declaration is located.Line
- Line number of the declaration.public static LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromAlias(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef ImportedEntity, LLVMMetadataRef File, @Cast(value="unsigned") int Line, @ByPtrPtr LLVMMetadataRef Elements, @Cast(value="unsigned") int NumElements)
Builder
- The \c DIBuilder.Scope
- The scope this module is imported intoImportedEntity
- Previous imported entity to alias.File
- File where the declaration is located.Line
- Line number of the declaration.Elements
- Renamed elements.NumElements
- Number of renamed elements.public static LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromAlias(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef ImportedEntity, LLVMMetadataRef File, @Cast(value="unsigned") int Line, @Cast(value="LLVMMetadataRef*") PointerPointer Elements, @Cast(value="unsigned") int NumElements)
public static LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromModule(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef M, LLVMMetadataRef File, @Cast(value="unsigned") int Line, @ByPtrPtr LLVMMetadataRef Elements, @Cast(value="unsigned") int NumElements)
Builder
- The \c DIBuilder.Scope
- The scope this module is imported intoM
- The module being imported hereFile
- File where the declaration is located.Line
- Line number of the declaration.Elements
- Renamed elements.NumElements
- Number of renamed elements.public static LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromModule(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef M, LLVMMetadataRef File, @Cast(value="unsigned") int Line, @Cast(value="LLVMMetadataRef*") PointerPointer Elements, @Cast(value="unsigned") int NumElements)
public static LLVMMetadataRef LLVMDIBuilderCreateImportedDeclaration(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef Decl, LLVMMetadataRef File, @Cast(value="unsigned") int Line, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, @ByPtrPtr LLVMMetadataRef Elements, @Cast(value="unsigned") int NumElements)
Builder
- The DIBuilder.Scope
- The scope this module is imported into.Decl
- The declaration (or definition) of a function, type,
or variable.File
- File where the declaration is located.Line
- Line number of the declaration.Name
- A name that uniquely identifies this imported
declaration.NameLen
- The length of the C string passed to \c Name.Elements
- Renamed elements.NumElements
- Number of renamed elements.public static LLVMMetadataRef LLVMDIBuilderCreateImportedDeclaration(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef Decl, LLVMMetadataRef File, @Cast(value="unsigned") int Line, String Name, @Cast(value="size_t") long NameLen, @Cast(value="LLVMMetadataRef*") PointerPointer Elements, @Cast(value="unsigned") int NumElements)
public static LLVMMetadataRef LLVMDIBuilderCreateDebugLocation(LLVMContextRef Ctx, @Cast(value="unsigned") int Line, @Cast(value="unsigned") int Column, LLVMMetadataRef Scope, LLVMMetadataRef InlinedAt)
Line
- The line in the source file.Column
- The column in the source file.Scope
- The scope in which the location resides.InlinedAt
- The scope where this location was inlined, if at all.
(optional).
\note If the item to which this location is attached cannot be
attributed to a source line, pass 0 for the line and column.@Cast(value="unsigned") public static int LLVMDILocationGetLine(LLVMMetadataRef Location)
Location
- The debug location.DILocation::getLine()
@Cast(value="unsigned") public static int LLVMDILocationGetColumn(LLVMMetadataRef Location)
Location
- The debug location.DILocation::getColumn()
public static LLVMMetadataRef LLVMDILocationGetScope(LLVMMetadataRef Location)
Location
- The debug location.DILocation::getScope()
public static LLVMMetadataRef LLVMDILocationGetInlinedAt(LLVMMetadataRef Location)
Location
- The debug location.DILocation::getInlinedAt()
public static LLVMMetadataRef LLVMDIScopeGetFile(LLVMMetadataRef Scope)
Scope
- The scope object.DIScope::getFile()
@Cast(value="const char*") public static BytePointer LLVMDIFileGetDirectory(LLVMMetadataRef File, @Cast(value="unsigned*") IntPointer Len)
File
- The file object.Len
- The length of the returned string.DIFile::getDirectory()
public static String LLVMDIFileGetDirectory(LLVMMetadataRef File, @Cast(value="unsigned*") IntBuffer Len)
@Cast(value="const char*") public static BytePointer LLVMDIFileGetDirectory(LLVMMetadataRef File, @Cast(value="unsigned*") int[] Len)
@Cast(value="const char*") public static BytePointer LLVMDIFileGetFilename(LLVMMetadataRef File, @Cast(value="unsigned*") IntPointer Len)
File
- The file object.Len
- The length of the returned string.DIFile::getFilename()
public static String LLVMDIFileGetFilename(LLVMMetadataRef File, @Cast(value="unsigned*") IntBuffer Len)
@Cast(value="const char*") public static BytePointer LLVMDIFileGetFilename(LLVMMetadataRef File, @Cast(value="unsigned*") int[] Len)
@Cast(value="const char*") public static BytePointer LLVMDIFileGetSource(LLVMMetadataRef File, @Cast(value="unsigned*") IntPointer Len)
File
- The file object.Len
- The length of the returned string.DIFile::getSource()
public static String LLVMDIFileGetSource(LLVMMetadataRef File, @Cast(value="unsigned*") IntBuffer Len)
@Cast(value="const char*") public static BytePointer LLVMDIFileGetSource(LLVMMetadataRef File, @Cast(value="unsigned*") int[] Len)
public static LLVMMetadataRef LLVMDIBuilderGetOrCreateTypeArray(LLVMDIBuilderRef Builder, @ByPtrPtr LLVMMetadataRef Data, @Cast(value="size_t") long NumElements)
Builder
- The DIBuilder.Data
- The type elements.NumElements
- Number of type elements.public static LLVMMetadataRef LLVMDIBuilderGetOrCreateTypeArray(LLVMDIBuilderRef Builder, @Cast(value="LLVMMetadataRef*") PointerPointer Data, @Cast(value="size_t") long NumElements)
public static LLVMMetadataRef LLVMDIBuilderCreateSubroutineType(LLVMDIBuilderRef Builder, LLVMMetadataRef File, @ByPtrPtr LLVMMetadataRef ParameterTypes, @Cast(value="unsigned") int NumParameterTypes, @Cast(value="LLVMDIFlags") int Flags)
Builder
- The DIBuilder.File
- The file in which the subroutine resides.ParameterTypes
- An array of subroutine parameter types. This
includes return type at 0th index.NumParameterTypes
- The number of parameter types in \c ParameterTypesFlags
- E.g.: \c LLVMDIFlagLValueReference.
These flags are used to emit dwarf attributes.public static LLVMMetadataRef LLVMDIBuilderCreateSubroutineType(LLVMDIBuilderRef Builder, LLVMMetadataRef File, @Cast(value="LLVMMetadataRef*") PointerPointer ParameterTypes, @Cast(value="unsigned") int NumParameterTypes, @Cast(value="LLVMDIFlags") int Flags)
public static LLVMMetadataRef LLVMDIBuilderCreateMacro(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentMacroFile, @Cast(value="unsigned") int Line, @Cast(value="LLVMDWARFMacinfoRecordType") int RecordType, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, @Cast(value="const char*") BytePointer Value, @Cast(value="size_t") long ValueLen)
Builder
- The DIBuilder.ParentMacroFile
- Macro parent (could be NULL).Line
- Source line number where the macro is defined.RecordType
- DW_MACINFO_define or DW_MACINFO_undef.Name
- Macro name.NameLen
- Macro name length.Value
- Macro value.ValueLen
- Macro value length.public static LLVMMetadataRef LLVMDIBuilderCreateMacro(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentMacroFile, @Cast(value="unsigned") int Line, @Cast(value="LLVMDWARFMacinfoRecordType") int RecordType, String Name, @Cast(value="size_t") long NameLen, String Value, @Cast(value="size_t") long ValueLen)
public static LLVMMetadataRef LLVMDIBuilderCreateTempMacroFile(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentMacroFile, @Cast(value="unsigned") int Line, LLVMMetadataRef File)
Builder
- The DIBuilder.ParentMacroFile
- Macro parent (could be NULL).Line
- Source line number where the macro file is included.File
- File descriptor containing the name of the macro file.public static LLVMMetadataRef LLVMDIBuilderCreateEnumerator(LLVMDIBuilderRef Builder, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, @Cast(value="int64_t") long Value, @Cast(value="LLVMBool") int IsUnsigned)
Builder
- The DIBuilder.Name
- Enumerator name.NameLen
- Length of enumerator name.Value
- Enumerator value.IsUnsigned
- True if the value is unsigned.public static LLVMMetadataRef LLVMDIBuilderCreateEnumerator(LLVMDIBuilderRef Builder, String Name, @Cast(value="size_t") long NameLen, @Cast(value="int64_t") long Value, @Cast(value="LLVMBool") int IsUnsigned)
public static LLVMMetadataRef LLVMDIBuilderCreateEnumerationType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @ByPtrPtr LLVMMetadataRef Elements, @Cast(value="unsigned") int NumElements, LLVMMetadataRef ClassTy)
Builder
- The DIBuilder.Scope
- Scope in which this enumeration is defined.Name
- Enumeration name.NameLen
- Length of enumeration name.File
- File where this member is defined.LineNumber
- Line number.SizeInBits
- Member size.AlignInBits
- Member alignment.Elements
- Enumeration elements.NumElements
- Number of enumeration elements.ClassTy
- Underlying type of a C++11/ObjC fixed enum.public static LLVMMetadataRef LLVMDIBuilderCreateEnumerationType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="LLVMMetadataRef*") PointerPointer Elements, @Cast(value="unsigned") int NumElements, LLVMMetadataRef ClassTy)
public static LLVMMetadataRef LLVMDIBuilderCreateUnionType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="LLVMDIFlags") int Flags, @ByPtrPtr LLVMMetadataRef Elements, @Cast(value="unsigned") int NumElements, @Cast(value="unsigned") int RunTimeLang, @Cast(value="const char*") BytePointer UniqueId, @Cast(value="size_t") long UniqueIdLen)
Builder
- The DIBuilder.Scope
- Scope in which this union is defined.Name
- Union name.NameLen
- Length of union name.File
- File where this member is defined.LineNumber
- Line number.SizeInBits
- Member size.AlignInBits
- Member alignment.Flags
- Flags to encode member attribute, e.g. privateElements
- Union elements.NumElements
- Number of union elements.RunTimeLang
- Optional parameter, Objective-C runtime version.UniqueId
- A unique identifier for the union.UniqueIdLen
- Length of unique identifier.public static LLVMMetadataRef LLVMDIBuilderCreateUnionType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="LLVMDIFlags") int Flags, @Cast(value="LLVMMetadataRef*") PointerPointer Elements, @Cast(value="unsigned") int NumElements, @Cast(value="unsigned") int RunTimeLang, String UniqueId, @Cast(value="size_t") long UniqueIdLen)
public static LLVMMetadataRef LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Builder, @Cast(value="uint64_t") long Size, @Cast(value="uint32_t") int AlignInBits, LLVMMetadataRef Ty, @ByPtrPtr LLVMMetadataRef Subscripts, @Cast(value="unsigned") int NumSubscripts)
Builder
- The DIBuilder.Size
- Array size.AlignInBits
- Alignment.Ty
- Element type.Subscripts
- Subscripts.NumSubscripts
- Number of subscripts.public static LLVMMetadataRef LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Builder, @Cast(value="uint64_t") long Size, @Cast(value="uint32_t") int AlignInBits, LLVMMetadataRef Ty, @Cast(value="LLVMMetadataRef*") PointerPointer Subscripts, @Cast(value="unsigned") int NumSubscripts)
public static LLVMMetadataRef LLVMDIBuilderCreateVectorType(LLVMDIBuilderRef Builder, @Cast(value="uint64_t") long Size, @Cast(value="uint32_t") int AlignInBits, LLVMMetadataRef Ty, @ByPtrPtr LLVMMetadataRef Subscripts, @Cast(value="unsigned") int NumSubscripts)
Builder
- The DIBuilder.Size
- Vector size.AlignInBits
- Alignment.Ty
- Element type.Subscripts
- Subscripts.NumSubscripts
- Number of subscripts.public static LLVMMetadataRef LLVMDIBuilderCreateVectorType(LLVMDIBuilderRef Builder, @Cast(value="uint64_t") long Size, @Cast(value="uint32_t") int AlignInBits, LLVMMetadataRef Ty, @Cast(value="LLVMMetadataRef*") PointerPointer Subscripts, @Cast(value="unsigned") int NumSubscripts)
public static LLVMMetadataRef LLVMDIBuilderCreateUnspecifiedType(LLVMDIBuilderRef Builder, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen)
Builder
- The DIBuilder.Name
- The unspecified type's name.NameLen
- Length of type name.public static LLVMMetadataRef LLVMDIBuilderCreateUnspecifiedType(LLVMDIBuilderRef Builder, String Name, @Cast(value="size_t") long NameLen)
public static LLVMMetadataRef LLVMDIBuilderCreateBasicType(LLVMDIBuilderRef Builder, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, @Cast(value="uint64_t") long SizeInBits, @Cast(value="LLVMDWARFTypeEncoding") int Encoding, @Cast(value="LLVMDIFlags") int Flags)
Builder
- The DIBuilder.Name
- Type name.NameLen
- Length of type name.SizeInBits
- Size of the type.Encoding
- DWARF encoding code, e.g. \c LLVMDWARFTypeEncoding_float.Flags
- Flags to encode optional attribute like endianitypublic static LLVMMetadataRef LLVMDIBuilderCreateBasicType(LLVMDIBuilderRef Builder, String Name, @Cast(value="size_t") long NameLen, @Cast(value="uint64_t") long SizeInBits, @Cast(value="LLVMDWARFTypeEncoding") int Encoding, @Cast(value="LLVMDIFlags") int Flags)
public static LLVMMetadataRef LLVMDIBuilderCreatePointerType(LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="unsigned") int AddressSpace, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen)
Builder
- The DIBuilder.PointeeTy
- Type pointed by this pointer.SizeInBits
- Size.AlignInBits
- Alignment. (optional, pass 0 to ignore)AddressSpace
- DWARF address space. (optional, pass 0 to ignore)Name
- Pointer type name. (optional)NameLen
- Length of pointer type name. (optional)public static LLVMMetadataRef LLVMDIBuilderCreatePointerType(LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="unsigned") int AddressSpace, String Name, @Cast(value="size_t") long NameLen)
public static LLVMMetadataRef LLVMDIBuilderCreateStructType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="LLVMDIFlags") int Flags, LLVMMetadataRef DerivedFrom, @ByPtrPtr LLVMMetadataRef Elements, @Cast(value="unsigned") int NumElements, @Cast(value="unsigned") int RunTimeLang, LLVMMetadataRef VTableHolder, @Cast(value="const char*") BytePointer UniqueId, @Cast(value="size_t") long UniqueIdLen)
Builder
- The DIBuilder.Scope
- Scope in which this struct is defined.Name
- Struct name.NameLen
- Struct name length.File
- File where this member is defined.LineNumber
- Line number.SizeInBits
- Member size.AlignInBits
- Member alignment.Flags
- Flags to encode member attribute, e.g. privateElements
- Struct elements.NumElements
- Number of struct elements.RunTimeLang
- Optional parameter, Objective-C runtime version.VTableHolder
- The object containing the vtable for the struct.UniqueId
- A unique identifier for the struct.UniqueIdLen
- Length of the unique identifier for the struct.public static LLVMMetadataRef LLVMDIBuilderCreateStructType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="LLVMDIFlags") int Flags, LLVMMetadataRef DerivedFrom, @Cast(value="LLVMMetadataRef*") PointerPointer Elements, @Cast(value="unsigned") int NumElements, @Cast(value="unsigned") int RunTimeLang, LLVMMetadataRef VTableHolder, String UniqueId, @Cast(value="size_t") long UniqueIdLen)
public static LLVMMetadataRef LLVMDIBuilderCreateMemberType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="uint64_t") long OffsetInBits, @Cast(value="LLVMDIFlags") int Flags, LLVMMetadataRef Ty)
Builder
- The DIBuilder.Scope
- Member scope.Name
- Member name.NameLen
- Length of member name.File
- File where this member is defined.LineNo
- Line number.SizeInBits
- Member size.AlignInBits
- Member alignment.OffsetInBits
- Member offset.Flags
- Flags to encode member attribute, e.g. privateTy
- Parent type.public static LLVMMetadataRef LLVMDIBuilderCreateMemberType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="uint64_t") long OffsetInBits, @Cast(value="LLVMDIFlags") int Flags, LLVMMetadataRef Ty)
public static LLVMMetadataRef LLVMDIBuilderCreateStaticMemberType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, LLVMMetadataRef Type, @Cast(value="LLVMDIFlags") int Flags, LLVMValueRef ConstantVal, @Cast(value="uint32_t") int AlignInBits)
Builder
- The DIBuilder.Scope
- Member scope.Name
- Member name.NameLen
- Length of member name.File
- File where this member is declared.LineNumber
- Line number.Type
- Type of the static member.Flags
- Flags to encode member attribute, e.g. private.ConstantVal
- Const initializer of the member.AlignInBits
- Member alignment.public static LLVMMetadataRef LLVMDIBuilderCreateStaticMemberType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, LLVMMetadataRef Type, @Cast(value="LLVMDIFlags") int Flags, LLVMValueRef ConstantVal, @Cast(value="uint32_t") int AlignInBits)
public static LLVMMetadataRef LLVMDIBuilderCreateMemberPointerType(LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeType, LLVMMetadataRef ClassType, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="LLVMDIFlags") int Flags)
Builder
- The DIBuilder.PointeeType
- Type pointed to by this pointer.ClassType
- Type for which this pointer points to members of.SizeInBits
- Size.AlignInBits
- Alignment.Flags
- Flags.public static LLVMMetadataRef LLVMDIBuilderCreateObjCIVar(LLVMDIBuilderRef Builder, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="uint64_t") long OffsetInBits, @Cast(value="LLVMDIFlags") int Flags, LLVMMetadataRef Ty, LLVMMetadataRef PropertyNode)
Builder
- The DIBuilder.Name
- Member name.NameLen
- The length of the C string passed to \c Name.File
- File where this member is defined.LineNo
- Line number.SizeInBits
- Member size.AlignInBits
- Member alignment.OffsetInBits
- Member offset.Flags
- Flags to encode member attribute, e.g. privateTy
- Parent type.PropertyNode
- Property associated with this ivar.public static LLVMMetadataRef LLVMDIBuilderCreateObjCIVar(LLVMDIBuilderRef Builder, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="uint64_t") long OffsetInBits, @Cast(value="LLVMDIFlags") int Flags, LLVMMetadataRef Ty, LLVMMetadataRef PropertyNode)
public static LLVMMetadataRef LLVMDIBuilderCreateObjCProperty(LLVMDIBuilderRef Builder, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, @Cast(value="const char*") BytePointer GetterName, @Cast(value="size_t") long GetterNameLen, @Cast(value="const char*") BytePointer SetterName, @Cast(value="size_t") long SetterNameLen, @Cast(value="unsigned") int PropertyAttributes, LLVMMetadataRef Ty)
Builder
- The DIBuilder.Name
- Property name.NameLen
- The length of the C string passed to \c Name.File
- File where this property is defined.LineNo
- Line number.GetterName
- Name of the Objective C property getter selector.GetterNameLen
- The length of the C string passed to \c GetterName.SetterName
- Name of the Objective C property setter selector.SetterNameLen
- The length of the C string passed to \c SetterName.PropertyAttributes
- Objective C property attributes.Ty
- Type.public static LLVMMetadataRef LLVMDIBuilderCreateObjCProperty(LLVMDIBuilderRef Builder, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, String GetterName, @Cast(value="size_t") long GetterNameLen, String SetterName, @Cast(value="size_t") long SetterNameLen, @Cast(value="unsigned") int PropertyAttributes, LLVMMetadataRef Ty)
public static LLVMMetadataRef LLVMDIBuilderCreateObjectPointerType(LLVMDIBuilderRef Builder, LLVMMetadataRef Type)
Builder
- The DIBuilder.Type
- The underlying type to which this pointer points.public static LLVMMetadataRef LLVMDIBuilderCreateQualifiedType(LLVMDIBuilderRef Builder, @Cast(value="unsigned") int Tag, LLVMMetadataRef Type)
Builder
- The DIBuilder.Tag
- Tag identifying type,
e.g. LLVMDWARFTypeQualifier_volatile_typeType
- Base Type.public static LLVMMetadataRef LLVMDIBuilderCreateReferenceType(LLVMDIBuilderRef Builder, @Cast(value="unsigned") int Tag, LLVMMetadataRef Type)
Builder
- The DIBuilder.Tag
- Tag identifying type,Type
- Base Type.public static LLVMMetadataRef LLVMDIBuilderCreateNullPtrType(LLVMDIBuilderRef Builder)
Builder
- The DIBuilder.public static LLVMMetadataRef LLVMDIBuilderCreateTypedef(LLVMDIBuilderRef Builder, LLVMMetadataRef Type, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Scope, @Cast(value="uint32_t") int AlignInBits)
Builder
- The DIBuilder.Type
- Original type.Name
- Typedef name.File
- File where this type is defined.LineNo
- Line number.Scope
- The surrounding context for the typedef.public static LLVMMetadataRef LLVMDIBuilderCreateTypedef(LLVMDIBuilderRef Builder, LLVMMetadataRef Type, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Scope, @Cast(value="uint32_t") int AlignInBits)
public static LLVMMetadataRef LLVMDIBuilderCreateInheritance(LLVMDIBuilderRef Builder, LLVMMetadataRef Ty, LLVMMetadataRef BaseTy, @Cast(value="uint64_t") long BaseOffset, @Cast(value="uint32_t") int VBPtrOffset, @Cast(value="LLVMDIFlags") int Flags)
Builder
- The DIBuilder.Ty
- Original type.BaseTy
- Base type. Ty is inherits from base.BaseOffset
- Base offset.VBPtrOffset
- Virtual base pointer offset.Flags
- Flags to describe inheritance attribute, e.g. privatepublic static LLVMMetadataRef LLVMDIBuilderCreateForwardDecl(LLVMDIBuilderRef Builder, @Cast(value="unsigned") int Tag, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, @Cast(value="unsigned") int Line, @Cast(value="unsigned") int RuntimeLang, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="const char*") BytePointer UniqueIdentifier, @Cast(value="size_t") long UniqueIdentifierLen)
Builder
- The DIBuilder.Tag
- A unique tag for this type.Name
- Type name.NameLen
- Length of type name.Scope
- Type scope.File
- File where this type is defined.Line
- Line number where this type is defined.RuntimeLang
- Indicates runtime version for languages like
Objective-C.SizeInBits
- Member size.AlignInBits
- Member alignment.UniqueIdentifier
- A unique identifier for the type.UniqueIdentifierLen
- Length of the unique identifier.public static LLVMMetadataRef LLVMDIBuilderCreateForwardDecl(LLVMDIBuilderRef Builder, @Cast(value="unsigned") int Tag, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, @Cast(value="unsigned") int Line, @Cast(value="unsigned") int RuntimeLang, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, String UniqueIdentifier, @Cast(value="size_t") long UniqueIdentifierLen)
public static LLVMMetadataRef LLVMDIBuilderCreateReplaceableCompositeType(LLVMDIBuilderRef Builder, @Cast(value="unsigned") int Tag, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, @Cast(value="unsigned") int Line, @Cast(value="unsigned") int RuntimeLang, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="LLVMDIFlags") int Flags, @Cast(value="const char*") BytePointer UniqueIdentifier, @Cast(value="size_t") long UniqueIdentifierLen)
Builder
- The DIBuilder.Tag
- A unique tag for this type.Name
- Type name.NameLen
- Length of type name.Scope
- Type scope.File
- File where this type is defined.Line
- Line number where this type is defined.RuntimeLang
- Indicates runtime version for languages like
Objective-C.SizeInBits
- Member size.AlignInBits
- Member alignment.Flags
- Flags.UniqueIdentifier
- A unique identifier for the type.UniqueIdentifierLen
- Length of the unique identifier.public static LLVMMetadataRef LLVMDIBuilderCreateReplaceableCompositeType(LLVMDIBuilderRef Builder, @Cast(value="unsigned") int Tag, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, @Cast(value="unsigned") int Line, @Cast(value="unsigned") int RuntimeLang, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="LLVMDIFlags") int Flags, String UniqueIdentifier, @Cast(value="size_t") long UniqueIdentifierLen)
public static LLVMMetadataRef LLVMDIBuilderCreateBitFieldMemberType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint64_t") long OffsetInBits, @Cast(value="uint64_t") long StorageOffsetInBits, @Cast(value="LLVMDIFlags") int Flags, LLVMMetadataRef Type)
Builder
- The DIBuilder.Scope
- Member scope.Name
- Member name.NameLen
- Length of member name.File
- File where this member is defined.LineNumber
- Line number.SizeInBits
- Member size.OffsetInBits
- Member offset.StorageOffsetInBits
- Member storage offset.Flags
- Flags to encode member attribute.Type
- Parent type.public static LLVMMetadataRef LLVMDIBuilderCreateBitFieldMemberType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint64_t") long OffsetInBits, @Cast(value="uint64_t") long StorageOffsetInBits, @Cast(value="LLVMDIFlags") int Flags, LLVMMetadataRef Type)
public static LLVMMetadataRef LLVMDIBuilderCreateClassType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="uint64_t") long OffsetInBits, @Cast(value="LLVMDIFlags") int Flags, LLVMMetadataRef DerivedFrom, @ByPtrPtr LLVMMetadataRef Elements, @Cast(value="unsigned") int NumElements, LLVMMetadataRef VTableHolder, LLVMMetadataRef TemplateParamsNode, @Cast(value="const char*") BytePointer UniqueIdentifier, @Cast(value="size_t") long UniqueIdentifierLen)
Scope
- Scope in which this class is defined.Name
- Class name.NameLen
- The length of the C string passed to \c Name.File
- File where this member is defined.LineNumber
- Line number.SizeInBits
- Member size.AlignInBits
- Member alignment.OffsetInBits
- Member offset.Flags
- Flags to encode member attribute, e.g. private.DerivedFrom
- Debug info of the base class of this type.Elements
- Class members.NumElements
- Number of class elements.VTableHolder
- Debug info of the base class that contains vtable
for this type. This is used in
DW_AT_containing_type. See DWARF documentation
for more info.TemplateParamsNode
- Template type parameters.UniqueIdentifier
- A unique identifier for the type.UniqueIdentifierLen
- Length of the unique identifier.public static LLVMMetadataRef LLVMDIBuilderCreateClassType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNumber, @Cast(value="uint64_t") long SizeInBits, @Cast(value="uint32_t") int AlignInBits, @Cast(value="uint64_t") long OffsetInBits, @Cast(value="LLVMDIFlags") int Flags, LLVMMetadataRef DerivedFrom, @Cast(value="LLVMMetadataRef*") PointerPointer Elements, @Cast(value="unsigned") int NumElements, LLVMMetadataRef VTableHolder, LLVMMetadataRef TemplateParamsNode, String UniqueIdentifier, @Cast(value="size_t") long UniqueIdentifierLen)
public static LLVMMetadataRef LLVMDIBuilderCreateArtificialType(LLVMDIBuilderRef Builder, LLVMMetadataRef Type)
Builder
- The DIBuilder.Type
- The underlying type.@Cast(value="const char*") public static BytePointer LLVMDITypeGetName(LLVMMetadataRef DType, @Cast(value="size_t*") SizeTPointer Length)
DType
- The DIType.Length
- The length of the returned string.DIType::getName()
@Cast(value="uint64_t") public static long LLVMDITypeGetSizeInBits(LLVMMetadataRef DType)
DType
- The DIType.DIType::getSizeInBits()
@Cast(value="uint64_t") public static long LLVMDITypeGetOffsetInBits(LLVMMetadataRef DType)
DType
- The DIType.DIType::getOffsetInBits()
@Cast(value="uint32_t") public static int LLVMDITypeGetAlignInBits(LLVMMetadataRef DType)
DType
- The DIType.DIType::getAlignInBits()
@Cast(value="unsigned") public static int LLVMDITypeGetLine(LLVMMetadataRef DType)
DType
- The DIType.DIType::getLine()
@Cast(value="LLVMDIFlags") public static int LLVMDITypeGetFlags(LLVMMetadataRef DType)
DType
- The DIType.DIType::getFlags()
public static LLVMMetadataRef LLVMDIBuilderGetOrCreateSubrange(LLVMDIBuilderRef Builder, @Cast(value="int64_t") long LowerBound, @Cast(value="int64_t") long Count)
Builder
- The DIBuilder.LowerBound
- Lower bound of the subrange, e.g. 0 for C, 1 for Fortran.Count
- Count of elements in the subrange.public static LLVMMetadataRef LLVMDIBuilderGetOrCreateArray(LLVMDIBuilderRef Builder, @ByPtrPtr LLVMMetadataRef Data, @Cast(value="size_t") long NumElements)
Builder
- The DIBuilder.Data
- The DI Node elements.NumElements
- Number of DI Node elements.public static LLVMMetadataRef LLVMDIBuilderGetOrCreateArray(LLVMDIBuilderRef Builder, @Cast(value="LLVMMetadataRef*") PointerPointer Data, @Cast(value="size_t") long NumElements)
public static LLVMMetadataRef LLVMDIBuilderCreateExpression(LLVMDIBuilderRef Builder, @Cast(value="uint64_t*") LongPointer Addr, @Cast(value="size_t") long Length)
Builder
- The DIBuilder.Addr
- An array of complex address operations.Length
- Length of the address operation array.public static LLVMMetadataRef LLVMDIBuilderCreateExpression(LLVMDIBuilderRef Builder, @Cast(value="uint64_t*") LongBuffer Addr, @Cast(value="size_t") long Length)
public static LLVMMetadataRef LLVMDIBuilderCreateExpression(LLVMDIBuilderRef Builder, @Cast(value="uint64_t*") long[] Addr, @Cast(value="size_t") long Length)
public static LLVMMetadataRef LLVMDIBuilderCreateConstantValueExpression(LLVMDIBuilderRef Builder, @Cast(value="uint64_t") long Value)
Builder
- The DIBuilder.Value
- The constant value.public static LLVMMetadataRef LLVMDIBuilderCreateGlobalVariableExpression(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, @Cast(value="const char*") BytePointer Linkage, @Cast(value="size_t") long LinkLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Ty, @Cast(value="LLVMBool") int LocalToUnit, LLVMMetadataRef Expr, LLVMMetadataRef Decl, @Cast(value="uint32_t") int AlignInBits)
Scope
- Variable scope.Name
- Name of the variable.NameLen
- The length of the C string passed to \c Name.Linkage
- Mangled name of the variable.LinkLen
- The length of the C string passed to \c Linkage.File
- File where this variable is defined.LineNo
- Line number.Ty
- Variable Type.LocalToUnit
- Boolean flag indicate whether this variable is
externally visible or not.Expr
- The location of the global relative to the attached
GlobalVariable.Decl
- Reference to the corresponding declaration.
variables.AlignInBits
- Variable alignment(or 0 if no alignment attr was
specified)public static LLVMMetadataRef LLVMDIBuilderCreateGlobalVariableExpression(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, String Linkage, @Cast(value="size_t") long LinkLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Ty, @Cast(value="LLVMBool") int LocalToUnit, LLVMMetadataRef Expr, LLVMMetadataRef Decl, @Cast(value="uint32_t") int AlignInBits)
@Cast(value="uint16_t") public static short LLVMGetDINodeTag(LLVMMetadataRef MD)
public static LLVMMetadataRef LLVMDIGlobalVariableExpressionGetVariable(LLVMMetadataRef GVE)
GVE
- The global variable expression.llvm::DIGlobalVariableExpression::getVariable()
public static LLVMMetadataRef LLVMDIGlobalVariableExpressionGetExpression(LLVMMetadataRef GVE)
GVE
- The global variable expression.llvm::DIGlobalVariableExpression::getExpression()
public static LLVMMetadataRef LLVMDIVariableGetFile(LLVMMetadataRef Var)
Var
- The variable object.DIVariable::getFile()
public static LLVMMetadataRef LLVMDIVariableGetScope(LLVMMetadataRef Var)
Var
- The variable object.DIVariable::getScope()
@Cast(value="unsigned") public static int LLVMDIVariableGetLine(LLVMMetadataRef Var)
Var
- The DIVariable.DIVariable::getLine()
public static LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef Ctx, @ByPtrPtr LLVMMetadataRef Data, @Cast(value="size_t") long NumElements)
Ctx
- The context in which to construct the temporary node.Data
- The metadata elements.NumElements
- Number of metadata elements.public static LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef Ctx, @Cast(value="LLVMMetadataRef*") PointerPointer Data, @Cast(value="size_t") long NumElements)
public static void LLVMDisposeTemporaryMDNode(LLVMMetadataRef TempNode)
TempNode
- The temporary metadata node.public static void LLVMMetadataReplaceAllUsesWith(LLVMMetadataRef TempTargetMetadata, LLVMMetadataRef Replacement)
TempTargetMetadata
- The temporary metadata node.Replacement
- The replacement metadata node.public static LLVMMetadataRef LLVMDIBuilderCreateTempGlobalVariableFwdDecl(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, @Cast(value="const char*") BytePointer Linkage, @Cast(value="size_t") long LnkLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Ty, @Cast(value="LLVMBool") int LocalToUnit, LLVMMetadataRef Decl, @Cast(value="uint32_t") int AlignInBits)
Scope
- Variable scope.Name
- Name of the variable.NameLen
- The length of the C string passed to \c Name.Linkage
- Mangled name of the variable.LnkLen
- The length of the C string passed to \c Linkage.File
- File where this variable is defined.LineNo
- Line number.Ty
- Variable Type.LocalToUnit
- Boolean flag indicate whether this variable is
externally visible or not.Decl
- Reference to the corresponding declaration.AlignInBits
- Variable alignment(or 0 if no alignment attr was
specified)public static LLVMMetadataRef LLVMDIBuilderCreateTempGlobalVariableFwdDecl(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, String Linkage, @Cast(value="size_t") long LnkLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Ty, @Cast(value="LLVMBool") int LocalToUnit, LLVMMetadataRef Decl, @Cast(value="uint32_t") int AlignInBits)
public static LLVMValueRef LLVMDIBuilderInsertDeclareBefore(LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMValueRef Instr)
Builder
- The DIBuilder.Storage
- The storage of the variable to declare.VarInfo
- The variable's debug info descriptor.Expr
- A complex location expression for the variable.DebugLoc
- Debug info location.Instr
- Instruction acting as a location for the new intrinsic.public static LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd(LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMBasicBlockRef Block)
Builder
- The DIBuilder.Storage
- The storage of the variable to declare.VarInfo
- The variable's debug info descriptor.Expr
- A complex location expression for the variable.DebugLoc
- Debug info location.Block
- Basic block acting as a location for the new intrinsic.public static LLVMValueRef LLVMDIBuilderInsertDbgValueBefore(LLVMDIBuilderRef Builder, LLVMValueRef Val, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMValueRef Instr)
Builder
- The DIBuilder.Val
- The value of the variable.VarInfo
- The variable's debug info descriptor.Expr
- A complex location expression for the variable.DebugLoc
- Debug info location.Instr
- Instruction acting as a location for the new intrinsic.public static LLVMValueRef LLVMDIBuilderInsertDbgValueAtEnd(LLVMDIBuilderRef Builder, LLVMValueRef Val, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMBasicBlockRef Block)
Builder
- The DIBuilder.Val
- The value of the variable.VarInfo
- The variable's debug info descriptor.Expr
- A complex location expression for the variable.DebugLoc
- Debug info location.Block
- Basic block acting as a location for the new intrinsic.public static LLVMMetadataRef LLVMDIBuilderCreateAutoVariable(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Ty, @Cast(value="LLVMBool") int AlwaysPreserve, @Cast(value="LLVMDIFlags") int Flags, @Cast(value="uint32_t") int AlignInBits)
Builder
- The DIBuilder.Scope
- The local scope the variable is declared in.Name
- Variable name.NameLen
- Length of variable name.File
- File where this variable is defined.LineNo
- Line number.Ty
- Metadata describing the type of the variable.AlwaysPreserve
- If true, this descriptor will survive optimizations.Flags
- Flags.AlignInBits
- Variable alignment.public static LLVMMetadataRef LLVMDIBuilderCreateAutoVariable(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Ty, @Cast(value="LLVMBool") int AlwaysPreserve, @Cast(value="LLVMDIFlags") int Flags, @Cast(value="uint32_t") int AlignInBits)
public static LLVMMetadataRef LLVMDIBuilderCreateParameterVariable(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, @Cast(value="const char*") BytePointer Name, @Cast(value="size_t") long NameLen, @Cast(value="unsigned") int ArgNo, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Ty, @Cast(value="LLVMBool") int AlwaysPreserve, @Cast(value="LLVMDIFlags") int Flags)
Builder
- The DIBuilder.Scope
- The local scope the variable is declared in.Name
- Variable name.NameLen
- Length of variable name.ArgNo
- Unique argument number for this variable; starts at 1.File
- File where this variable is defined.LineNo
- Line number.Ty
- Metadata describing the type of the variable.AlwaysPreserve
- If true, this descriptor will survive optimizations.Flags
- Flags.public static LLVMMetadataRef LLVMDIBuilderCreateParameterVariable(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, String Name, @Cast(value="size_t") long NameLen, @Cast(value="unsigned") int ArgNo, LLVMMetadataRef File, @Cast(value="unsigned") int LineNo, LLVMMetadataRef Ty, @Cast(value="LLVMBool") int AlwaysPreserve, @Cast(value="LLVMDIFlags") int Flags)
public static LLVMMetadataRef LLVMGetSubprogram(LLVMValueRef Func)
llvm::Function::getSubprogram()
public static void LLVMSetSubprogram(LLVMValueRef Func, LLVMMetadataRef SP)
llvm::Function::setSubprogram()
@Cast(value="unsigned") public static int LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram)
Subprogram
- The subprogram object.DISubprogram::getLine()
public static LLVMMetadataRef LLVMInstructionGetDebugLoc(LLVMValueRef Inst)
llvm::Instruction::getDebugLoc()
public static void LLVMInstructionSetDebugLoc(LLVMValueRef Inst, LLVMMetadataRef Loc)
llvm::Instruction::setDebugLoc()
@Cast(value="LLVMMetadataKind") public static int LLVMGetMetadataKind(LLVMMetadataRef Metadata)
llvm::Metadata::getMetadataID()
@Const public static LLVMErrorTypeId LLVMGetErrorTypeId(LLVMErrorRef Err)
public static void LLVMConsumeError(LLVMErrorRef Err)
@Cast(value="char*") public static BytePointer LLVMGetErrorMessage(LLVMErrorRef Err)
public static void LLVMDisposeErrorMessage(@Cast(value="char*") BytePointer ErrMsg)
public static void LLVMDisposeErrorMessage(@Cast(value="char*") ByteBuffer ErrMsg)
public static void LLVMDisposeErrorMessage(@Cast(value="char*") byte[] ErrMsg)
@Const public static LLVMErrorTypeId LLVMGetStringErrorTypeId()
public static LLVMErrorRef LLVMCreateStringError(@Cast(value="const char*") BytePointer ErrMsg)
public static LLVMErrorRef LLVMCreateStringError(String ErrMsg)
public static void LLVMInstallFatalErrorHandler(LLVMFatalErrorHandler Handler)
public static void LLVMResetFatalErrorHandler()
public static void LLVMEnablePrettyStackTrace()
public static void LLVMOrcExecutionSessionSetErrorReporter(LLVMOrcExecutionSessionRef ES, LLVMOrcErrorReporterFunction ReportError, Pointer Ctx)
public static LLVMOrcSymbolStringPoolRef LLVMOrcExecutionSessionGetSymbolStringPool(LLVMOrcExecutionSessionRef ES)
public static void LLVMOrcSymbolStringPoolClearDeadEntries(LLVMOrcSymbolStringPoolRef SSP)
public static LLVMOrcSymbolStringPoolEntryRef LLVMOrcExecutionSessionIntern(LLVMOrcExecutionSessionRef ES, @Cast(value="const char*") BytePointer Name)
public static LLVMOrcSymbolStringPoolEntryRef LLVMOrcExecutionSessionIntern(LLVMOrcExecutionSessionRef ES, String Name)
public static void LLVMOrcExecutionSessionLookup(LLVMOrcExecutionSessionRef ES, @Cast(value="LLVMOrcLookupKind") int K, @Cast(value="LLVMOrcCJITDylibSearchOrder") LLVMOrcCJITDylibSearchOrderElement SearchOrder, @Cast(value="size_t") long SearchOrderSize, @Cast(value="LLVMOrcCLookupSet") LLVMOrcCLookupSetElement Symbols, @Cast(value="size_t") long SymbolsSize, LLVMOrcExecutionSessionLookupHandleResultFunction HandleResult, Pointer Ctx)
public static void LLVMOrcRetainSymbolStringPoolEntry(LLVMOrcSymbolStringPoolEntryRef S)
public static void LLVMOrcReleaseSymbolStringPoolEntry(LLVMOrcSymbolStringPoolEntryRef S)
@Cast(value="const char*") public static BytePointer LLVMOrcSymbolStringPoolEntryStr(LLVMOrcSymbolStringPoolEntryRef S)
public static void LLVMOrcReleaseResourceTracker(LLVMOrcResourceTrackerRef RT)
public static void LLVMOrcResourceTrackerTransferTo(LLVMOrcResourceTrackerRef SrcRT, LLVMOrcResourceTrackerRef DstRT)
public static LLVMErrorRef LLVMOrcResourceTrackerRemove(LLVMOrcResourceTrackerRef RT)
public static void LLVMOrcDisposeDefinitionGenerator(LLVMOrcDefinitionGeneratorRef DG)
public static void LLVMOrcDisposeMaterializationUnit(LLVMOrcMaterializationUnitRef MU)
public static LLVMOrcMaterializationUnitRef LLVMOrcCreateCustomMaterializationUnit(@Cast(value="const char*") BytePointer Name, Pointer Ctx, @Cast(value="LLVMOrcCSymbolFlagsMapPairs") LLVMOrcCSymbolFlagsMapPair Syms, @Cast(value="size_t") long NumSyms, LLVMOrcSymbolStringPoolEntryRef InitSym, LLVMOrcMaterializationUnitMaterializeFunction Materialize, LLVMOrcMaterializationUnitDiscardFunction Discard, LLVMOrcMaterializationUnitDestroyFunction Destroy)
public static LLVMOrcMaterializationUnitRef LLVMOrcCreateCustomMaterializationUnit(String Name, Pointer Ctx, @Cast(value="LLVMOrcCSymbolFlagsMapPairs") LLVMOrcCSymbolFlagsMapPair Syms, @Cast(value="size_t") long NumSyms, LLVMOrcSymbolStringPoolEntryRef InitSym, LLVMOrcMaterializationUnitMaterializeFunction Materialize, LLVMOrcMaterializationUnitDiscardFunction Discard, LLVMOrcMaterializationUnitDestroyFunction Destroy)
public static LLVMOrcMaterializationUnitRef LLVMOrcAbsoluteSymbols(@Cast(value="LLVMOrcCSymbolMapPairs") LLVMOrcCSymbolMapPair Syms, @Cast(value="size_t") long NumPairs)
public static LLVMOrcMaterializationUnitRef LLVMOrcLazyReexports(LLVMOrcLazyCallThroughManagerRef LCTM, LLVMOrcIndirectStubsManagerRef ISM, LLVMOrcJITDylibRef SourceRef, @Cast(value="LLVMOrcCSymbolAliasMapPairs") LLVMOrcCSymbolAliasMapPair CallableAliases, @Cast(value="size_t") long NumPairs)
public static void LLVMOrcDisposeMaterializationResponsibility(LLVMOrcMaterializationResponsibilityRef MR)
public static LLVMOrcJITDylibRef LLVMOrcMaterializationResponsibilityGetTargetDylib(LLVMOrcMaterializationResponsibilityRef MR)
public static LLVMOrcExecutionSessionRef LLVMOrcMaterializationResponsibilityGetExecutionSession(LLVMOrcMaterializationResponsibilityRef MR)
@Cast(value="LLVMOrcCSymbolFlagsMapPairs") public static LLVMOrcCSymbolFlagsMapPair LLVMOrcMaterializationResponsibilityGetSymbols(LLVMOrcMaterializationResponsibilityRef MR, @Cast(value="size_t*") SizeTPointer NumPairs)
public static void LLVMOrcDisposeCSymbolFlagsMap(@Cast(value="LLVMOrcCSymbolFlagsMapPairs") LLVMOrcCSymbolFlagsMapPair Pairs)
public static LLVMOrcSymbolStringPoolEntryRef LLVMOrcMaterializationResponsibilityGetInitializerSymbol(LLVMOrcMaterializationResponsibilityRef MR)
@ByPtrPtr public static LLVMOrcSymbolStringPoolEntryRef LLVMOrcMaterializationResponsibilityGetRequestedSymbols(LLVMOrcMaterializationResponsibilityRef MR, @Cast(value="size_t*") SizeTPointer NumSymbols)
public static void LLVMOrcDisposeSymbols(@ByPtrPtr LLVMOrcSymbolStringPoolEntryRef Symbols)
public static void LLVMOrcDisposeSymbols(@Cast(value="LLVMOrcSymbolStringPoolEntryRef*") PointerPointer Symbols)
public static LLVMErrorRef LLVMOrcMaterializationResponsibilityNotifyResolved(LLVMOrcMaterializationResponsibilityRef MR, @Cast(value="LLVMOrcCSymbolMapPairs") LLVMOrcCSymbolMapPair Symbols, @Cast(value="size_t") long NumPairs)
public static LLVMErrorRef LLVMOrcMaterializationResponsibilityNotifyEmitted(LLVMOrcMaterializationResponsibilityRef MR)
public static LLVMErrorRef LLVMOrcMaterializationResponsibilityDefineMaterializing(LLVMOrcMaterializationResponsibilityRef MR, @Cast(value="LLVMOrcCSymbolFlagsMapPairs") LLVMOrcCSymbolFlagsMapPair Pairs, @Cast(value="size_t") long NumPairs)
public static void LLVMOrcMaterializationResponsibilityFailMaterialization(LLVMOrcMaterializationResponsibilityRef MR)
public static LLVMErrorRef LLVMOrcMaterializationResponsibilityReplace(LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcMaterializationUnitRef MU)
public static LLVMErrorRef LLVMOrcMaterializationResponsibilityDelegate(LLVMOrcMaterializationResponsibilityRef MR, @ByPtrPtr LLVMOrcSymbolStringPoolEntryRef Symbols, @Cast(value="size_t") long NumSymbols, @ByPtrPtr LLVMOrcMaterializationResponsibilityRef Result)
public static LLVMErrorRef LLVMOrcMaterializationResponsibilityDelegate(LLVMOrcMaterializationResponsibilityRef MR, @Cast(value="LLVMOrcSymbolStringPoolEntryRef*") PointerPointer Symbols, @Cast(value="size_t") long NumSymbols, @Cast(value="LLVMOrcMaterializationResponsibilityRef*") PointerPointer Result)
public static void LLVMOrcMaterializationResponsibilityAddDependencies(LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcSymbolStringPoolEntryRef Name, @Cast(value="LLVMOrcCDependenceMapPairs") LLVMOrcCDependenceMapPair Dependencies, @Cast(value="size_t") long NumPairs)
public static void LLVMOrcMaterializationResponsibilityAddDependenciesForAll(LLVMOrcMaterializationResponsibilityRef MR, @Cast(value="LLVMOrcCDependenceMapPairs") LLVMOrcCDependenceMapPair Dependencies, @Cast(value="size_t") long NumPairs)
public static LLVMOrcJITDylibRef LLVMOrcExecutionSessionCreateBareJITDylib(LLVMOrcExecutionSessionRef ES, @Cast(value="const char*") BytePointer Name)
public static LLVMOrcJITDylibRef LLVMOrcExecutionSessionCreateBareJITDylib(LLVMOrcExecutionSessionRef ES, String Name)
public static LLVMErrorRef LLVMOrcExecutionSessionCreateJITDylib(LLVMOrcExecutionSessionRef ES, @ByPtrPtr LLVMOrcJITDylibRef Result, @Cast(value="const char*") BytePointer Name)
public static LLVMErrorRef LLVMOrcExecutionSessionCreateJITDylib(LLVMOrcExecutionSessionRef ES, @Cast(value="LLVMOrcJITDylibRef*") PointerPointer Result, String Name)
public static LLVMOrcJITDylibRef LLVMOrcExecutionSessionGetJITDylibByName(LLVMOrcExecutionSessionRef ES, @Cast(value="const char*") BytePointer Name)
public static LLVMOrcJITDylibRef LLVMOrcExecutionSessionGetJITDylibByName(LLVMOrcExecutionSessionRef ES, String Name)
public static LLVMOrcResourceTrackerRef LLVMOrcJITDylibCreateResourceTracker(LLVMOrcJITDylibRef JD)
public static LLVMOrcResourceTrackerRef LLVMOrcJITDylibGetDefaultResourceTracker(LLVMOrcJITDylibRef JD)
public static LLVMErrorRef LLVMOrcJITDylibDefine(LLVMOrcJITDylibRef JD, LLVMOrcMaterializationUnitRef MU)
public static LLVMErrorRef LLVMOrcJITDylibClear(LLVMOrcJITDylibRef JD)
public static void LLVMOrcJITDylibAddGenerator(LLVMOrcJITDylibRef JD, LLVMOrcDefinitionGeneratorRef DG)
public static LLVMOrcDefinitionGeneratorRef LLVMOrcCreateCustomCAPIDefinitionGenerator(LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction F, Pointer Ctx, LLVMOrcDisposeCAPIDefinitionGeneratorFunction Dispose)
public static void LLVMOrcLookupStateContinueLookup(LLVMOrcLookupStateRef S, LLVMErrorRef Err)
public static LLVMErrorRef LLVMOrcCreateDynamicLibrarySearchGeneratorForProcess(@ByPtrPtr LLVMOrcDefinitionGeneratorRef Result, @Cast(value="char") byte GlobalPrefx, LLVMOrcSymbolPredicate Filter, Pointer FilterCtx)
public static LLVMErrorRef LLVMOrcCreateDynamicLibrarySearchGeneratorForProcess(@Cast(value="LLVMOrcDefinitionGeneratorRef*") PointerPointer Result, @Cast(value="char") byte GlobalPrefx, LLVMOrcSymbolPredicate Filter, Pointer FilterCtx)
public static LLVMErrorRef LLVMOrcCreateDynamicLibrarySearchGeneratorForPath(@ByPtrPtr LLVMOrcDefinitionGeneratorRef Result, @Cast(value="const char*") BytePointer FileName, @Cast(value="char") byte GlobalPrefix, LLVMOrcSymbolPredicate Filter, Pointer FilterCtx)
public static LLVMErrorRef LLVMOrcCreateDynamicLibrarySearchGeneratorForPath(@Cast(value="LLVMOrcDefinitionGeneratorRef*") PointerPointer Result, String FileName, @Cast(value="char") byte GlobalPrefix, LLVMOrcSymbolPredicate Filter, Pointer FilterCtx)
public static LLVMOrcThreadSafeContextRef LLVMOrcCreateNewThreadSafeContext()
public static LLVMContextRef LLVMOrcThreadSafeContextGetContext(LLVMOrcThreadSafeContextRef TSCtx)
public static void LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx)
public static LLVMOrcThreadSafeModuleRef LLVMOrcCreateNewThreadSafeModule(LLVMModuleRef M, LLVMOrcThreadSafeContextRef TSCtx)
public static void LLVMOrcDisposeThreadSafeModule(LLVMOrcThreadSafeModuleRef TSM)
public static LLVMErrorRef LLVMOrcThreadSafeModuleWithModuleDo(LLVMOrcThreadSafeModuleRef TSM, LLVMOrcGenericIRModuleOperationFunction F, Pointer Ctx)
public static LLVMErrorRef LLVMOrcJITTargetMachineBuilderDetectHost(@ByPtrPtr LLVMOrcJITTargetMachineBuilderRef Result)
public static LLVMErrorRef LLVMOrcJITTargetMachineBuilderDetectHost(@Cast(value="LLVMOrcJITTargetMachineBuilderRef*") PointerPointer Result)
public static LLVMOrcJITTargetMachineBuilderRef LLVMOrcJITTargetMachineBuilderCreateFromTargetMachine(LLVMTargetMachineRef TM)
public static void LLVMOrcDisposeJITTargetMachineBuilder(LLVMOrcJITTargetMachineBuilderRef JTMB)
@Cast(value="char*") public static BytePointer LLVMOrcJITTargetMachineBuilderGetTargetTriple(LLVMOrcJITTargetMachineBuilderRef JTMB)
public static void LLVMOrcJITTargetMachineBuilderSetTargetTriple(LLVMOrcJITTargetMachineBuilderRef JTMB, @Cast(value="const char*") BytePointer TargetTriple)
public static void LLVMOrcJITTargetMachineBuilderSetTargetTriple(LLVMOrcJITTargetMachineBuilderRef JTMB, String TargetTriple)
public static LLVMErrorRef LLVMOrcObjectLayerAddObjectFile(LLVMOrcObjectLayerRef ObjLayer, LLVMOrcJITDylibRef JD, LLVMMemoryBufferRef ObjBuffer)
public static void LLVMOrcObjectLayerEmit(LLVMOrcObjectLayerRef ObjLayer, LLVMOrcMaterializationResponsibilityRef R, LLVMMemoryBufferRef ObjBuffer)
public static void LLVMOrcDisposeObjectLayer(LLVMOrcObjectLayerRef ObjLayer)
public static void LLVMOrcIRTransformLayerEmit(LLVMOrcIRTransformLayerRef IRTransformLayer, LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcThreadSafeModuleRef TSM)
public static void LLVMOrcIRTransformLayerSetTransform(LLVMOrcIRTransformLayerRef IRTransformLayer, LLVMOrcIRTransformLayerTransformFunction TransformFunction, Pointer Ctx)
public static void LLVMOrcObjectTransformLayerSetTransform(LLVMOrcObjectTransformLayerRef ObjTransformLayer, LLVMOrcObjectTransformLayerTransformFunction TransformFunction, Pointer Ctx)
public static LLVMOrcIndirectStubsManagerRef LLVMOrcCreateLocalIndirectStubsManager(@Cast(value="const char*") BytePointer TargetTriple)
public static LLVMOrcIndirectStubsManagerRef LLVMOrcCreateLocalIndirectStubsManager(String TargetTriple)
public static void LLVMOrcDisposeIndirectStubsManager(LLVMOrcIndirectStubsManagerRef ISM)
public static LLVMErrorRef LLVMOrcCreateLocalLazyCallThroughManager(@Cast(value="const char*") BytePointer TargetTriple, LLVMOrcExecutionSessionRef ES, @Cast(value="LLVMOrcJITTargetAddress") long ErrorHandlerAddr, @ByPtrPtr LLVMOrcLazyCallThroughManagerRef LCTM)
public static LLVMErrorRef LLVMOrcCreateLocalLazyCallThroughManager(String TargetTriple, LLVMOrcExecutionSessionRef ES, @Cast(value="LLVMOrcJITTargetAddress") long ErrorHandlerAddr, @Cast(value="LLVMOrcLazyCallThroughManagerRef*") PointerPointer LCTM)
public static void LLVMOrcDisposeLazyCallThroughManager(LLVMOrcLazyCallThroughManagerRef LCTM)
public static LLVMOrcDumpObjectsRef LLVMOrcCreateDumpObjects(@Cast(value="const char*") BytePointer DumpDir, @Cast(value="const char*") BytePointer IdentifierOverride)
public static LLVMOrcDumpObjectsRef LLVMOrcCreateDumpObjects(String DumpDir, String IdentifierOverride)
public static void LLVMOrcDisposeDumpObjects(LLVMOrcDumpObjectsRef DumpObjects)
public static LLVMErrorRef LLVMOrcDumpObjects_CallOperator(LLVMOrcDumpObjectsRef DumpObjects, @ByPtrPtr LLVMMemoryBufferRef ObjBuffer)
public static LLVMErrorRef LLVMOrcDumpObjects_CallOperator(LLVMOrcDumpObjectsRef DumpObjects, @Cast(value="LLVMMemoryBufferRef*") PointerPointer ObjBuffer)
@Cast(value="const char*") public static BytePointer LLVMRemarkStringGetData(LLVMRemarkStringRef String)
@Cast(value="uint32_t") public static int LLVMRemarkStringGetLen(LLVMRemarkStringRef String)
public static LLVMRemarkStringRef LLVMRemarkDebugLocGetSourceFilePath(LLVMRemarkDebugLocRef DL)
@Cast(value="uint32_t") public static int LLVMRemarkDebugLocGetSourceLine(LLVMRemarkDebugLocRef DL)
@Cast(value="uint32_t") public static int LLVMRemarkDebugLocGetSourceColumn(LLVMRemarkDebugLocRef DL)
public static LLVMRemarkStringRef LLVMRemarkArgGetKey(LLVMRemarkArgRef Arg)
public static LLVMRemarkStringRef LLVMRemarkArgGetValue(LLVMRemarkArgRef Arg)
public static LLVMRemarkDebugLocRef LLVMRemarkArgGetDebugLoc(LLVMRemarkArgRef Arg)
NULL
.public static void LLVMRemarkEntryDispose(LLVMRemarkEntryRef Remark)
@Cast(value="LLVMRemarkType") public static int LLVMRemarkEntryGetType(LLVMRemarkEntryRef Remark)
public static LLVMRemarkStringRef LLVMRemarkEntryGetPassName(LLVMRemarkEntryRef Remark)
public static LLVMRemarkStringRef LLVMRemarkEntryGetRemarkName(LLVMRemarkEntryRef Remark)
public static LLVMRemarkStringRef LLVMRemarkEntryGetFunctionName(LLVMRemarkEntryRef Remark)
public static LLVMRemarkDebugLocRef LLVMRemarkEntryGetDebugLoc(LLVMRemarkEntryRef Remark)
NULL
.@Cast(value="uint64_t") public static long LLVMRemarkEntryGetHotness(LLVMRemarkEntryRef Remark)
0
means this value is not set.@Cast(value="uint32_t") public static int LLVMRemarkEntryGetNumArgs(LLVMRemarkEntryRef Remark)
public static LLVMRemarkArgRef LLVMRemarkEntryGetFirstArg(LLVMRemarkEntryRef Remark)
NULL
.
The lifetime of the returned value is bound to the lifetime of \p Remark.public static LLVMRemarkArgRef LLVMRemarkEntryGetNextArg(LLVMRemarkArgRef It, LLVMRemarkEntryRef Remark)
NULL
if there are no more arguments available.
The lifetime of the returned value is bound to the lifetime of \p Remark.public static LLVMRemarkParserRef LLVMRemarkParserCreateYAML(@Const Pointer Buf, @Cast(value="uint64_t") long Size)
NULL
.
This function should be paired with LLVMRemarkParserDispose() to avoid
leaking resources.public static LLVMRemarkParserRef LLVMRemarkParserCreateBitstream(@Const Pointer Buf, @Cast(value="uint64_t") long Size)
NULL
.
This function should be paired with LLVMRemarkParserDispose() to avoid
leaking resources.public static LLVMRemarkEntryRef LLVMRemarkParserGetNext(LLVMRemarkParserRef Parser)
NULL
.
In the case of an error, the return value will be NULL
, and:
1) LLVMRemarkParserHasError() will return 1
.
2) LLVMRemarkParserGetErrorMessage() will return a descriptive error
message.
An error may occur if:
1) An argument is invalid.
2) There is a parsing error. This can occur on things like malformed YAML.
3) There is a Remark semantic error. This can occur on well-formed files with
missing or extra fields.
Here is a quick example of the usage:
LLVMRemarkParserRef Parser = LLVMRemarkParserCreateYAML(Buf, Size);
LLVMRemarkEntryRef Remark = NULL;
while ((Remark = LLVMRemarkParserGetNext(Parser))) {
// use Remark
LLVMRemarkEntryDispose(Remark); // Release memory.
}
bool HasError = LLVMRemarkParserHasError(Parser);
LLVMRemarkParserDispose(Parser);
@Cast(value="LLVMBool") public static int LLVMRemarkParserHasError(LLVMRemarkParserRef Parser)
1
if the parser encountered an error while parsing the buffer.@Cast(value="const char*") public static BytePointer LLVMRemarkParserGetErrorMessage(LLVMRemarkParserRef Parser)
NULL
.
The memory of the string is bound to the lifetime of \p Parser. If
LLVMRemarkParserDispose() is called, the memory of the string will be
released.public static void LLVMRemarkParserDispose(LLVMRemarkParserRef Parser)
@Cast(value="uint32_t") public static int LLVMRemarkVersion()
public static LLVMOrcObjectLayerRef LLVMOrcCreateRTDyldObjectLinkingLayerWithSectionMemoryManager(LLVMOrcExecutionSessionRef ES)
public static LLVMOrcObjectLayerRef LLVMOrcCreateRTDyldObjectLinkingLayerWithMCJITMemoryManagerLikeCallbacks(LLVMOrcExecutionSessionRef ES, Pointer CreateContextCtx, LLVMMemoryManagerCreateContextCallback CreateContext, LLVMMemoryManagerNotifyTerminatingCallback NotifyTerminating, LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection, LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection, LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory, LLVMMemoryManagerDestroyCallback Destroy)
public static void LLVMOrcRTDyldObjectLinkingLayerRegisterJITEventListener(LLVMOrcObjectLayerRef RTDyldObjLinkingLayer, LLVMJITEventListenerRef Listener)
public static LLVMOrcLLJITBuilderRef LLVMOrcCreateLLJITBuilder()
public static void LLVMOrcDisposeLLJITBuilder(LLVMOrcLLJITBuilderRef Builder)
public static void LLVMOrcLLJITBuilderSetJITTargetMachineBuilder(LLVMOrcLLJITBuilderRef Builder, LLVMOrcJITTargetMachineBuilderRef JTMB)
public static void LLVMOrcLLJITBuilderSetObjectLinkingLayerCreator(LLVMOrcLLJITBuilderRef Builder, LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction F, Pointer Ctx)
public static LLVMErrorRef LLVMOrcCreateLLJIT(@ByPtrPtr LLVMOrcLLJITRef Result, LLVMOrcLLJITBuilderRef Builder)
public static LLVMErrorRef LLVMOrcCreateLLJIT(@Cast(value="LLVMOrcLLJITRef*") PointerPointer Result, LLVMOrcLLJITBuilderRef Builder)
public static LLVMErrorRef LLVMOrcDisposeLLJIT(LLVMOrcLLJITRef J)
public static LLVMOrcExecutionSessionRef LLVMOrcLLJITGetExecutionSession(LLVMOrcLLJITRef J)
public static LLVMOrcJITDylibRef LLVMOrcLLJITGetMainJITDylib(LLVMOrcLLJITRef J)
@Cast(value="const char*") public static BytePointer LLVMOrcLLJITGetTripleString(LLVMOrcLLJITRef J)
@Cast(value="char") public static byte LLVMOrcLLJITGetGlobalPrefix(LLVMOrcLLJITRef J)
public static LLVMOrcSymbolStringPoolEntryRef LLVMOrcLLJITMangleAndIntern(LLVMOrcLLJITRef J, @Cast(value="const char*") BytePointer UnmangledName)
public static LLVMOrcSymbolStringPoolEntryRef LLVMOrcLLJITMangleAndIntern(LLVMOrcLLJITRef J, String UnmangledName)
public static LLVMErrorRef LLVMOrcLLJITAddObjectFile(LLVMOrcLLJITRef J, LLVMOrcJITDylibRef JD, LLVMMemoryBufferRef ObjBuffer)
public static LLVMErrorRef LLVMOrcLLJITAddObjectFileWithRT(LLVMOrcLLJITRef J, LLVMOrcResourceTrackerRef RT, LLVMMemoryBufferRef ObjBuffer)
public static LLVMErrorRef LLVMOrcLLJITAddLLVMIRModule(LLVMOrcLLJITRef J, LLVMOrcJITDylibRef JD, LLVMOrcThreadSafeModuleRef TSM)
public static LLVMErrorRef LLVMOrcLLJITAddLLVMIRModuleWithRT(LLVMOrcLLJITRef J, LLVMOrcResourceTrackerRef JD, LLVMOrcThreadSafeModuleRef TSM)
public static LLVMErrorRef LLVMOrcLLJITLookup(LLVMOrcLLJITRef J, @Cast(value="LLVMOrcExecutorAddress*") LongPointer Result, @Cast(value="const char*") BytePointer Name)
public static LLVMErrorRef LLVMOrcLLJITLookup(LLVMOrcLLJITRef J, @Cast(value="LLVMOrcExecutorAddress*") LongBuffer Result, String Name)
public static LLVMErrorRef LLVMOrcLLJITLookup(LLVMOrcLLJITRef J, @Cast(value="LLVMOrcExecutorAddress*") long[] Result, @Cast(value="const char*") BytePointer Name)
public static LLVMErrorRef LLVMOrcLLJITLookup(LLVMOrcLLJITRef J, @Cast(value="LLVMOrcExecutorAddress*") LongPointer Result, String Name)
public static LLVMErrorRef LLVMOrcLLJITLookup(LLVMOrcLLJITRef J, @Cast(value="LLVMOrcExecutorAddress*") LongBuffer Result, @Cast(value="const char*") BytePointer Name)
public static LLVMErrorRef LLVMOrcLLJITLookup(LLVMOrcLLJITRef J, @Cast(value="LLVMOrcExecutorAddress*") long[] Result, String Name)
public static LLVMOrcObjectLayerRef LLVMOrcLLJITGetObjLinkingLayer(LLVMOrcLLJITRef J)
public static LLVMOrcObjectTransformLayerRef LLVMOrcLLJITGetObjTransformLayer(LLVMOrcLLJITRef J)
public static LLVMOrcIRTransformLayerRef LLVMOrcLLJITGetIRTransformLayer(LLVMOrcLLJITRef J)
@Cast(value="const char*") public static BytePointer LLVMOrcLLJITGetDataLayoutStr(LLVMOrcLLJITRef J)
public static LLVMErrorRef LLVMRunPasses(LLVMModuleRef M, @Cast(value="const char*") BytePointer Passes, LLVMTargetMachineRef TM, LLVMPassBuilderOptionsRef Options)
default<O3>
and friends. See opt for
full reference of the Passes format.public static LLVMErrorRef LLVMRunPasses(LLVMModuleRef M, String Passes, LLVMTargetMachineRef TM, LLVMPassBuilderOptionsRef Options)
public static LLVMPassBuilderOptionsRef LLVMCreatePassBuilderOptions()
public static void LLVMPassBuilderOptionsSetVerifyEach(LLVMPassBuilderOptionsRef Options, @Cast(value="LLVMBool") int VerifyEach)
public static void LLVMPassBuilderOptionsSetDebugLogging(LLVMPassBuilderOptionsRef Options, @Cast(value="LLVMBool") int DebugLogging)
public static void LLVMPassBuilderOptionsSetLoopInterleaving(LLVMPassBuilderOptionsRef Options, @Cast(value="LLVMBool") int LoopInterleaving)
public static void LLVMPassBuilderOptionsSetLoopVectorization(LLVMPassBuilderOptionsRef Options, @Cast(value="LLVMBool") int LoopVectorization)
public static void LLVMPassBuilderOptionsSetSLPVectorization(LLVMPassBuilderOptionsRef Options, @Cast(value="LLVMBool") int SLPVectorization)
public static void LLVMPassBuilderOptionsSetLoopUnrolling(LLVMPassBuilderOptionsRef Options, @Cast(value="LLVMBool") int LoopUnrolling)
public static void LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll(LLVMPassBuilderOptionsRef Options, @Cast(value="LLVMBool") int ForgetAllSCEVInLoopUnroll)
public static void LLVMPassBuilderOptionsSetLicmMssaOptCap(LLVMPassBuilderOptionsRef Options, @Cast(value="unsigned") int LicmMssaOptCap)
public static void LLVMPassBuilderOptionsSetLicmMssaNoAccForPromotionCap(LLVMPassBuilderOptionsRef Options, @Cast(value="unsigned") int LicmMssaNoAccForPromotionCap)
public static void LLVMPassBuilderOptionsSetCallGraphProfile(LLVMPassBuilderOptionsRef Options, @Cast(value="LLVMBool") int CallGraphProfile)
public static void LLVMPassBuilderOptionsSetMergeFunctions(LLVMPassBuilderOptionsRef Options, @Cast(value="LLVMBool") int MergeFunctions)
public static void LLVMPassBuilderOptionsSetInlinerThreshold(LLVMPassBuilderOptionsRef Options, int Threshold)
public static void LLVMDisposePassBuilderOptions(LLVMPassBuilderOptionsRef Options)
@Namespace(value="polly") public static Pass createCodePreparationPass()
@Namespace(value="polly") public static Pass createScopInlinerPass()
@Namespace(value="polly") public static Pass createDeadCodeElimWrapperPass()
@Namespace(value="polly") public static Pass createDependenceInfoPass()
@Namespace(value="polly") public static Pass createDependenceInfoPrinterLegacyPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createDependenceInfoWrapperPassPass()
@Namespace(value="polly") public static Pass createDependenceInfoPrinterLegacyFunctionPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createDOTOnlyPrinterWrapperPass()
@Namespace(value="polly") public static Pass createDOTOnlyViewerWrapperPass()
@Namespace(value="polly") public static Pass createDOTPrinterWrapperPass()
@Namespace(value="polly") public static Pass createDOTViewerWrapperPass()
@Namespace(value="polly") public static Pass createJSONExporterPass()
@Namespace(value="polly") public static Pass createJSONImporterPass()
@Namespace(value="polly") public static Pass createJSONImporterPrinterLegacyPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createPollyCanonicalizePass()
@Namespace(value="polly") public static Pass createPolyhedralInfoPass()
@Namespace(value="polly") public static Pass createPolyhedralInfoPrinterLegacyPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createScopDetectionWrapperPassPass()
@Namespace(value="polly") public static Pass createScopDetectionPrinterLegacyPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createScopInfoRegionPassPass()
@Namespace(value="polly") public static Pass createScopInfoPrinterLegacyRegionPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createScopInfoWrapperPassPass()
@Namespace(value="polly") public static Pass createScopInfoPrinterLegacyFunctionPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createIslAstInfoWrapperPassPass()
@Namespace(value="polly") public static Pass createIslAstInfoPrinterLegacyPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createCodeGenerationPass()
@Namespace(value="polly") public static Pass createIslScheduleOptimizerWrapperPass()
@Namespace(value="polly") public static Pass createIslScheduleOptimizerPrinterLegacyPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createFlattenSchedulePass()
@Namespace(value="polly") public static Pass createFlattenSchedulePrinterLegacyPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createForwardOpTreeWrapperPass()
@Namespace(value="polly") public static Pass createForwardOpTreePrinterLegacyPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createDeLICMWrapperPass()
@Namespace(value="polly") public static Pass createDeLICMPrinterLegacyPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createMaximalStaticExpansionPass()
@Namespace(value="polly") public static Pass createSimplifyWrapperPass(int arg0)
@Namespace(value="polly") public static Pass createSimplifyPrinterLegacyPass(@Cast(value="llvm::raw_ostream*") @ByRef Pointer OS)
@Namespace(value="polly") public static Pass createPruneUnprofitableWrapperPass()
@Namespace(value="polly") @Cast(value="char*") @ByRef public static BytePointer CodePreparationID()
public static void CodePreparationID(BytePointer setter)
@Namespace(value="llvm") public static void initializeCodePreparationPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeScopInlinerPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeScopDetectionWrapperPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeScopDetectionPrinterLegacyPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeScopInfoRegionPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeScopInfoPrinterLegacyRegionPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeScopInfoWrapperPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeScopInfoPrinterLegacyFunctionPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeDeadCodeElimWrapperPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeJSONExporterPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeJSONImporterPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeJSONImporterPrinterLegacyPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeDependenceInfoPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeDependenceInfoPrinterLegacyPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeDependenceInfoWrapperPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeDependenceInfoPrinterLegacyFunctionPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeIslAstInfoWrapperPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeIslAstInfoPrinterLegacyPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeCodeGenerationPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeIslScheduleOptimizerWrapperPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeIslScheduleOptimizerPrinterLegacyPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeMaximalStaticExpanderWrapperPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializePollyCanonicalizePass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeFlattenSchedulePass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeFlattenSchedulePrinterLegacyPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeForwardOpTreeWrapperPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeForwardOpTreePrinterLegacyPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeDeLICMWrapperPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeDeLICMPrinterLegacyPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeSimplifyWrapperPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializeSimplifyPrinterLegacyPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializePruneUnprofitableWrapperPassPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializePolyhedralInfoPass(@ByRef PassRegistry arg0)
@Namespace(value="llvm") public static void initializePolyhedralInfoPrinterLegacyPassPass(@ByRef PassRegistry arg0)
public static LLVMErrorRef optimizeModule(LLVMModuleRef moduleRef, @Cast(value="const char*") BytePointer cpu, @Cast(value="unsigned") int optLevel, @Cast(value="unsigned") int sizeLevel)
public static LLVMErrorRef optimizeModule(LLVMModuleRef moduleRef, String cpu, @Cast(value="unsigned") int optLevel, @Cast(value="unsigned") int sizeLevel)
public static LLVMErrorRef createOptimizedJITCompilerForModule(@ByPtrPtr LLVMExecutionEngineRef outJIT, LLVMModuleRef moduleRef, @Cast(value="const char*") BytePointer cpu, @Cast(value="unsigned") int optLevel)
public static LLVMErrorRef createOptimizedJITCompilerForModule(@Cast(value="LLVMExecutionEngineRef*") PointerPointer outJIT, LLVMModuleRef moduleRef, String cpu, @Cast(value="unsigned") int optLevel)
@Namespace(value="llvm") @Cast(value="unsigned") public static int getNamedMDNodeNumOperands(LLVMNamedMDNodeRef NodeRef)
@Namespace(value="llvm") public static void getNamedMDNodeOperands(LLVMNamedMDNodeRef NodeRef, @ByPtrPtr LLVMValueRef Dest, LLVMContextRef InContext)
@Namespace(value="llvm") public static void getNamedMDNodeOperands(LLVMNamedMDNodeRef NodeRef, @Cast(value="LLVMValueRef*") PointerPointer Dest, LLVMContextRef InContext)
@Namespace(value="llvm") public static void addNamedMDNodeOperand(LLVMNamedMDNodeRef NodeRef, LLVMValueRef Val)
@Namespace(value="llvm") @Cast(value="const char*") public static BytePointer getMDString(LLVMMetadataRef M, @Cast(value="unsigned*") IntPointer Length)
@Namespace(value="llvm") public static String getMDString(LLVMMetadataRef M, @Cast(value="unsigned*") IntBuffer Length)
@Namespace(value="llvm") @Cast(value="const char*") public static BytePointer getMDString(LLVMMetadataRef M, @Cast(value="unsigned*") int[] Length)
@Namespace(value="llvm") @Cast(value="unsigned") public static int getMDNodeNumOperands(LLVMMetadataRef M)
@Namespace(value="llvm") public static void getMDNodeOperands(LLVMMetadataRef M, LLVMContextRef C, @ByPtrPtr LLVMValueRef Dest)
@Namespace(value="llvm") public static void getMDNodeOperands(LLVMMetadataRef M, LLVMContextRef C, @Cast(value="LLVMValueRef*") PointerPointer Dest)
public static void LLVMInitializeAArch64TargetInfo()
public static void LLVMInitializeAArch64Target()
public static void LLVMInitializeAArch64TargetMC()
public static void LLVMInitializeAArch64AsmPrinter()
public static void LLVMInitializeAArch64AsmParser()
public static void LLVMInitializeAArch64Disassembler()
public static void LLVMInitializeAMDGPUTargetInfo()
public static void LLVMInitializeAMDGPUTarget()
public static void LLVMInitializeAMDGPUTargetMC()
public static void LLVMInitializeAMDGPUAsmPrinter()
public static void LLVMInitializeAMDGPUAsmParser()
public static void LLVMInitializeAMDGPUDisassembler()
public static void LLVMInitializeARMTargetInfo()
public static void LLVMInitializeARMTarget()
public static void LLVMInitializeARMTargetMC()
public static void LLVMInitializeARMAsmPrinter()
public static void LLVMInitializeARMAsmParser()
public static void LLVMInitializeARMDisassembler()
public static void LLVMInitializeAVRTargetInfo()
public static void LLVMInitializeAVRTarget()
public static void LLVMInitializeAVRTargetMC()
public static void LLVMInitializeAVRAsmPrinter()
public static void LLVMInitializeAVRAsmParser()
public static void LLVMInitializeAVRDisassembler()
public static void LLVMInitializeBPFTargetInfo()
public static void LLVMInitializeBPFTarget()
public static void LLVMInitializeBPFTargetMC()
public static void LLVMInitializeBPFAsmPrinter()
public static void LLVMInitializeBPFAsmParser()
public static void LLVMInitializeBPFDisassembler()
public static void LLVMInitializeHexagonTargetInfo()
public static void LLVMInitializeHexagonTarget()
public static void LLVMInitializeHexagonTargetMC()
public static void LLVMInitializeHexagonAsmPrinter()
public static void LLVMInitializeHexagonAsmParser()
public static void LLVMInitializeHexagonDisassembler()
public static void LLVMInitializeLanaiTargetInfo()
public static void LLVMInitializeLanaiTarget()
public static void LLVMInitializeLanaiTargetMC()
public static void LLVMInitializeLanaiAsmPrinter()
public static void LLVMInitializeLanaiAsmParser()
public static void LLVMInitializeLanaiDisassembler()
public static void LLVMInitializeMSP430TargetInfo()
public static void LLVMInitializeMSP430Target()
public static void LLVMInitializeMSP430TargetMC()
public static void LLVMInitializeMSP430AsmPrinter()
public static void LLVMInitializeMSP430AsmParser()
public static void LLVMInitializeMSP430Disassembler()
public static void LLVMInitializeMipsTargetInfo()
public static void LLVMInitializeMipsTarget()
public static void LLVMInitializeMipsTargetMC()
public static void LLVMInitializeMipsAsmPrinter()
public static void LLVMInitializeMipsAsmParser()
public static void LLVMInitializeMipsDisassembler()
public static void LLVMInitializePowerPCTargetInfo()
public static void LLVMInitializePowerPCTarget()
public static void LLVMInitializePowerPCTargetMC()
public static void LLVMInitializePowerPCAsmPrinter()
public static void LLVMInitializePowerPCAsmParser()
public static void LLVMInitializePowerPCDisassembler()
public static void LLVMInitializeRISCVTargetInfo()
public static void LLVMInitializeRISCVTarget()
public static void LLVMInitializeRISCVTargetMC()
public static void LLVMInitializeRISCVAsmPrinter()
public static void LLVMInitializeRISCVAsmParser()
public static void LLVMInitializeRISCVDisassembler()
public static void LLVMInitializeSparcTargetInfo()
public static void LLVMInitializeSparcTarget()
public static void LLVMInitializeSparcTargetMC()
public static void LLVMInitializeSparcAsmPrinter()
public static void LLVMInitializeSparcAsmParser()
public static void LLVMInitializeSparcDisassembler()
public static void LLVMInitializeSystemZTargetInfo()
public static void LLVMInitializeSystemZTarget()
public static void LLVMInitializeSystemZTargetMC()
public static void LLVMInitializeSystemZAsmPrinter()
public static void LLVMInitializeSystemZAsmParser()
public static void LLVMInitializeSystemZDisassembler()
public static void LLVMInitializeWebAssemblyTargetInfo()
public static void LLVMInitializeWebAssemblyTarget()
public static void LLVMInitializeWebAssemblyTargetMC()
public static void LLVMInitializeWebAssemblyAsmPrinter()
public static void LLVMInitializeWebAssemblyAsmParser()
public static void LLVMInitializeWebAssemblyDisassembler()
public static void LLVMInitializeX86TargetInfo()
public static void LLVMInitializeX86Target()
public static void LLVMInitializeX86TargetMC()
public static void LLVMInitializeX86AsmPrinter()
public static void LLVMInitializeX86AsmParser()
public static void LLVMInitializeX86Disassembler()
public static void LLVMInitializeXCoreTargetInfo()
public static void LLVMInitializeXCoreTarget()
public static void LLVMInitializeXCoreTargetMC()
public static void LLVMInitializeXCoreAsmPrinter()
public static void LLVMInitializeXCoreDisassembler()
public static void LLVMInitializeNVPTXTargetInfo()
public static void LLVMInitializeNVPTXTarget()
public static void LLVMInitializeNVPTXTargetMC()
public static void LLVMInitializeNVPTXAsmPrinter()
Copyright © 2024. All rights reserved.