Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Functionality in LLVMSwift #51

Open
CodaFi opened this issue Jan 26, 2017 · 1 comment
Open

Missing Functionality in LLVMSwift #51

CodaFi opened this issue Jan 26, 2017 · 1 comment

Comments

@CodaFi
Copy link
Member

CodaFi commented Jan 26, 2017

This is a formatted list of APIs we do not yet wrap.

Optimization Passes

  • LLVMAddAnalysisPasses
  • LLVMAddInternalizePass
  • LLVMAddLoopVectorizePass
  • LLVMAddScalarReplAggregatesPassWithThreshold

Constants

  • LLVMConstAddrSpaceCast
  • LLVMConstBitCast
  • LLVMConstExactSDiv
  • LLVMConstExtractElement
  • LLVMConstExtractValue
  • LLVMConstFPExt
  • LLVMConstFPTrunc
  • LLVMConstInBoundsGEP
  • LLVMConstInsertElement
  • LLVMConstInsertValue
  • LLVMConstIntGetSExtValue
  • LLVMConstIntGetZExtValue
  • LLVMConstIntOfArbitraryPrecision
  • LLVMConstIntOfString
  • LLVMConstIntOfStringAndSize
  • LLVMConstIntToPtr
  • LLVMConstPointerCast
  • LLVMConstPtrToInt
  • LLVMConstRealGetDouble
  • LLVMConstRealOfString
  • LLVMConstRealOfStringAndSize
  • LLVMConstSExt
  • LLVMConstSExtOrBitCast
  • LLVMConstTrunc
  • LLVMConstTruncOrBitCast
  • LLVMConstZExt
  • LLVMConstZExtOrBitCast
  • LLVMGetAsString

Context

  • LLVMContextGetDiagnosticContext
  • LLVMContextGetDiagnosticHandler
  • LLVMContextSetDiagnosticHandler
  • LLVMContextSetYieldCallback

Disassembly

  • LLVMCreateDisasm
  • LLVMCreateDisasmCPU
  • LLVMCreateDisasmCPUFeatures
  • LLVMDisasmContextRef
  • LLVMDisasmDispose
  • LLVMDisasmInstruction
  • LLVMDisassembler_Option_AsmPrinterVariant
  • LLVMDisassembler_Option_PrintImmHex
  • LLVMDisassembler_Option_PrintLatency
  • LLVMDisassembler_Option_SetInstrComments
  • LLVMDisassembler_Option_UseMarkup
  • LLVMDisassembler_ReferenceType_DeMangled_Name
  • LLVMDisassembler_ReferenceType_InOut_None
  • LLVMDisassembler_ReferenceType_In_ARM64_ADDXri
  • LLVMDisassembler_ReferenceType_In_ARM64_ADR
  • LLVMDisassembler_ReferenceType_In_ARM64_ADRP
  • LLVMDisassembler_ReferenceType_In_ARM64_LDRXl
  • LLVMDisassembler_ReferenceType_In_ARM64_LDRXui
  • LLVMDisassembler_ReferenceType_In_Branch
  • LLVMDisassembler_ReferenceType_In_PCrel_Load
  • LLVMDisassembler_ReferenceType_Out_LitPool_CstrAddr
  • LLVMDisassembler_ReferenceType_Out_LitPool_SymAddr
  • LLVMDisassembler_ReferenceType_Out_Objc_CFString_Ref
  • LLVMDisassembler_ReferenceType_Out_Objc_Class_Ref
  • LLVMDisassembler_ReferenceType_Out_Objc_Message
  • LLVMDisassembler_ReferenceType_Out_Objc_Message_Ref
  • LLVMDisassembler_ReferenceType_Out_Objc_Selector_Ref
  • LLVMDisassembler_ReferenceType_Out_SymbolStub
  • LLVMDisassembler_VariantKind_ARM64_GOTPAGE
  • LLVMDisassembler_VariantKind_ARM64_GOTPAGEOFF
  • LLVMDisassembler_VariantKind_ARM64_PAGE
  • LLVMDisassembler_VariantKind_ARM64_PAGEOFF
  • LLVMDisassembler_VariantKind_ARM64_TLVOFF
  • LLVMDisassembler_VariantKind_ARM64_TLVP
  • LLVMDisassembler_VariantKind_ARM_HI16
  • LLVMDisassembler_VariantKind_ARM_LO16
  • LLVMDisassembler_VariantKind_None

General

  • LLVMAbortProcessAction
  • LLVMAddGlobalMapping
  • LLVMAddNamedMetadataOperand
  • LLVMAddSymbol
  • LLVMAddTargetLibraryInfo
  • LLVMBasicBlockAsValue
  • LLVMBitReader
  • LLVMBitWriter
  • LLVMCountBasicBlocks
  • LLVMCountParams
  • LLVMCreateGenericValueOfFloat
  • LLVMCreateGenericValueOfInt
  • LLVMCreateGenericValueOfPointer
  • LLVMCreateInterpreterForModule
  • LLVMCreateJITCompilerForModule
  • LLVMCreateMessage
  • LLVMCreateModuleProviderForExistingModule
  • LLVMCreatePassManager
  • LLVMCreateTargetData
  • LLVMDSError
  • LLVMDSNote
  • LLVMDSRemark
  • LLVMDSWarning
  • LLVMDiagnosticHandler
  • LLVMDiagnosticInfoRef
  • LLVMDiagnosticSeverity
  • LLVMDisposeExecutionEngine
  • LLVMDisposeGenericValue
  • LLVMDisposeModuleProvider
  • LLVMDisposePassManager
  • LLVMEnablePrettyStackTrace
  • LLVMFatalErrorHandler
  • LLVMFinalizeFunctionPassManager
  • LLVMFindFunction
  • LLVMFreeMachineCodeForFunction
  • LLVMGenericValueIntWidth
  • LLVMGenericValueToFloat
  • LLVMGenericValueToInt
  • LLVMGenericValueToPointer
  • LLVMGetAllocatedType
  • LLVMGetBasicBlockName
  • LLVMGetBasicBlocks
  • LLVMGetBitcodeModule2
  • LLVMGetBitcodeModuleInContext2
  • LLVMGetCalledValue
  • LLVMGetClause
  • LLVMGetCondition
  • LLVMGetConstOpcode
  • LLVMGetCurrentDebugLocation
  • LLVMGetDataLayout
  • LLVMGetDataLayoutStr
  • LLVMGetDiagInfoDescription
  • LLVMGetDiagInfoSeverity
  • LLVMGetElementAsConstant
  • LLVMGetExecutionEngineTargetData
  • LLVMGetExecutionEngineTargetMachine
  • LLVMGetFCmpPredicate
  • LLVMGetFirstTarget
  • LLVMGetFunctionAddress
  • LLVMGetFunctionAttr
  • LLVMGetGC
  • LLVMGetGlobalParent
  • LLVMGetGlobalPassRegistry
  • LLVMGetGlobalValueAddress
  • LLVMGetICmpPredicate
  • LLVMGetIndices
  • LLVMGetIntrinsicID
  • LLVMGetMDKindID
  • LLVMGetMDKindIDInContext
  • LLVMGetMDNodeNumOperands
  • LLVMGetMDNodeOperands
  • LLVMGetMDString
  • LLVMGetMetadata
  • LLVMGetModuleIdentifier
  • LLVMGetNamedMetadataNumOperands
  • LLVMGetNamedMetadataOperands
  • LLVMGetNextTarget
  • LLVMGetNumClauses
  • LLVMGetNumIndices
  • LLVMGetNumOperands
  • LLVMGetOperand
  • LLVMGetOperandUse
  • LLVMGetParamParent
  • LLVMGetParams
  • LLVMGetPersonalityFn
  • LLVMGetPointerToGlobal
  • LLVMGetRelocationValueString
  • LLVMGetTargetDescription
  • LLVMGetTargetFromName
  • LLVMGetTargetMachineTarget
  • LLVMGetTargetMachineTriple
  • LLVMGetTargetName
  • LLVMGetTypeContext
  • LLVMGetVolatile
  • LLVMHasMetadata
  • LLVMHasPersonalityFn
  • LLVMHasUnnamedAddr
  • LLVMInsertBasicBlock
  • LLVMInsertBasicBlockInContext
  • LLVMInstallFatalErrorHandler
  • LLVMInstructionClone
  • LLVMInstructionEraseFromParent
  • LLVMInstructionRemoveFromParent
  • LLVMIsAMDNode
  • LLVMIsAMDString
  • LLVMIsAtomicSingleThread
  • LLVMIsCleanup
  • LLVMIsConditional
  • LLVMIsConstantString
  • LLVMIsDeclaration
  • LLVMIsInBounds
  • LLVMIsMultithreaded
  • LLVMIsNull
  • LLVMIsOpaqueStruct
  • LLVMIsPackedStruct
  • LLVMIsTailCall
  • LLVMLinkerDestroySource
  • LLVMLoadLibraryPermanently
  • LLVMMDNode
  • LLVMMDNodeInContext
  • LLVMMDString
  • LLVMMDStringInContext
  • LLVMMemoryManagerAllocateCodeSectionCallback
  • LLVMMemoryManagerAllocateDataSectionCallback
  • LLVMMemoryManagerDestroyCallback
  • LLVMMemoryManagerFinalizeMemoryCallback
  • LLVMModuleProviderRef
  • LLVMMoveToContainingSection
  • LLVMObject
  • LLVMOpInfo1
  • LLVMOpInfoCallback
  • LLVMOpInfoSymbol1
  • LLVMParseBitcode
  • LLVMParseBitcode2
  • LLVMParseBitcodeInContext
  • LLVMParseBitcodeInContext2
  • LLVMParseCommandLineOptions
  • LLVMParseIRInContext
  • LLVMPassManagerBuilderCreate
  • LLVMPassManagerBuilderDispose
  • LLVMPassManagerBuilderPopulateFunctionPassManager
  • LLVMPassManagerBuilderPopulateLTOPassManager
  • LLVMPassManagerBuilderPopulateModulePassManager
  • LLVMPassManagerBuilderRef
  • LLVMPassManagerBuilderSetDisableSimplifyLibCalls
  • LLVMPassManagerBuilderSetDisableUnitAtATime
  • LLVMPassManagerBuilderSetDisableUnrollLoops
  • LLVMPassManagerBuilderSetOptLevel
  • LLVMPassManagerBuilderSetSizeLevel
  • LLVMPassManagerBuilderUseInlinerWithThreshold
  • LLVMPrintMessageAction
  • LLVMPrintModuleToString
  • LLVMPrintTypeToString
  • LLVMPrintValueToString
  • LLVMRecompileAndRelinkFunction
  • LLVMRemoveAttribute
  • LLVMRemoveFunctionAttr
  • LLVMRemoveInstrAttribute
  • LLVMRemoveModule
  • LLVMRemoveStringAttributeAtIndex
  • LLVMResetFatalErrorHandler
  • LLVMRunPassManager
  • LLVMSExtAttribute
  • LLVMSafeStackAttribute
  • LLVMSanitizeAddressAttribute
  • LLVMScalarOpts
  • LLVMSearchForAddressOfSymbol
  • LLVMSetAtomicSingleThread
  • LLVMSetCondition
  • LLVMSetCurrentDebugLocation
  • LLVMSetDataLayout
  • LLVMSetDisasmOptions
  • LLVMSetGC
  • LLVMSetInstDebugLocation
  • LLVMSetIsInBounds
  • LLVMSetMetadata
  • LLVMSetModuleDataLayout
  • LLVMSetModuleInlineAsm
  • LLVMSetOperand
  • LLVMSetParamAlignment
  • LLVMSetPersonalityFn
  • LLVMSetTarget
  • LLVMSetTargetMachineAsmVerbosity
  • LLVMSetUnnamedAddr
  • LLVMShutdown
  • LLVMStackAlignment
  • LLVMStartMultithreaded
  • LLVMStopMultithreaded
  • LLVMSymbolLookupCallback
  • LLVMValueAsBasicBlock
  • LLVMValueIsBasicBlock
  • LLVMVerifierFailureAction
  • LLVMVerifyFunction
  • LLVMViewFunctionCFG
  • LLVMViewFunctionCFGOnly
  • LLVMWriteBitcodeToFD
  • LLVMWriteBitcodeToFileHandle
  • LLVMWriteBitcodeToMemoryBuffer
  • LLVMYieldCallback
  • LLVMGetCalledValue
@blacktop
Copy link

+1 for Disassembly API coverage 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants