Class LLVMTransforms

java.lang.Object
org.lwjgl.llvm.LLVMTransforms

public class LLVMTransforms extends Object
  • Method Details

    • LLVMAddAggressiveInstCombinerPass

      public static void LLVMAddAggressiveInstCombinerPass(long PM)
      See llvm::createAggressiveInstCombinerPass function.
    • LLVMAddCoroEarlyPass

      public static void LLVMAddCoroEarlyPass(long PM)
      See llvm::createCoroEarlyPass function.
    • LLVMAddCoroSplitPass

      public static void LLVMAddCoroSplitPass(long PM)
      See llvm::createCoroSplitPass function.
    • LLVMAddCoroElidePass

      public static void LLVMAddCoroElidePass(long PM)
      See llvm::createCoroElidePass function.
    • LLVMAddCoroCleanupPass

      public static void LLVMAddCoroCleanupPass(long PM)
      See llvm::createCoroCleanupPass function.
    • LLVMPassManagerBuilderAddCoroutinePassesToExtensionPoints

      public static void LLVMPassManagerBuilderAddCoroutinePassesToExtensionPoints(long PMB)
      See llvm::addCoroutinePassesToExtensionPoints function.
      Since:
      11
    • LLVMAddInstructionCombiningPass

      public static void LLVMAddInstructionCombiningPass(long PM)
      Removed in LLVM 17.
    • LLVMAddInstructionSimplifyPass

      public static void LLVMAddInstructionSimplifyPass(long PM)
      Removed in LLVM 17.
      Since:
      12
    • LLVMAddArgumentPromotionPass

      public static void LLVMAddArgumentPromotionPass(long PM)
      See llvm::createArgumentPromotionPass function.
    • LLVMAddConstantMergePass

      public static void LLVMAddConstantMergePass(long PM)
      Removed in LLVM 17.
    • LLVMAddMergeFunctionsPass

      public static void LLVMAddMergeFunctionsPass(long PM)
      Removed in LLVM 17.
      Since:
      10
    • LLVMAddCalledValuePropagationPass

      public static void LLVMAddCalledValuePropagationPass(long PM)
      Removed in LLVM 17.
    • LLVMAddDeadArgEliminationPass

      public static void LLVMAddDeadArgEliminationPass(long PM)
      Removed in LLVM 17.
    • LLVMAddFunctionAttrsPass

      public static void LLVMAddFunctionAttrsPass(long PM)
      Removed in LLVM 17.
    • LLVMAddFunctionInliningPass

      public static void LLVMAddFunctionInliningPass(long PM)
      Removed in LLVM 17.
    • LLVMAddAlwaysInlinerPass

      public static void LLVMAddAlwaysInlinerPass(long PM)
      Removed in LLVM 17.
    • LLVMAddGlobalDCEPass

      public static void LLVMAddGlobalDCEPass(long PM)
      Removed in LLVM 17.
    • LLVMAddGlobalOptimizerPass

      public static void LLVMAddGlobalOptimizerPass(long PM)
      Removed in LLVM 17.
    • LLVMAddIPConstantPropagationPass

      public static void LLVMAddIPConstantPropagationPass(long PM)
      See llvm::createIPConstantPropagationPass function.
    • LLVMAddPruneEHPass

      public static void LLVMAddPruneEHPass(long PM)
      See llvm::createPruneEHPass function.
    • LLVMAddIPSCCPPass

      public static void LLVMAddIPSCCPPass(long PM)
      Removed in LLVM 17.
    • LLVMAddInternalizePass

      public static void LLVMAddInternalizePass(long PM, int AllButMain)
      Removed in LLVM 17.
    • nLLVMAddInternalizePassWithMustPreservePredicate

      public static void nLLVMAddInternalizePassWithMustPreservePredicate(long PM, long Context, long MustPreserve)
    • LLVMAddInternalizePassWithMustPreservePredicate

      public static void LLVMAddInternalizePassWithMustPreservePredicate(long PM, long Context, LLVMMustPreserveI MustPreserve)
      Removed in LLVM 17.
      Since:
      10
    • LLVMAddStripDeadPrototypesPass

      public static void LLVMAddStripDeadPrototypesPass(long PM)
      Removed in LLVM 17.
    • LLVMAddStripSymbolsPass

      public static void LLVMAddStripSymbolsPass(long PM)
      Removed in LLVM 17.
    • nLLVMRunPasses

      public static long nLLVMRunPasses(long M, long Passes, long TM, long Options)
      Unsafe version of: RunPasses
    • LLVMRunPasses

      public static long LLVMRunPasses(long M, ByteBuffer Passes, long TM, long Options)
      Construct and run a set of passes over a module.

      This function takes a string with the passes that should be used. The format of this string is the same as opt's -passes argument for the new pass manager. Individual passes may be specified, separated by commas. Full pipelines may also be invoked using default<O3> and friends. See opt for full reference of the Passes format.

      Since:
      13
    • LLVMRunPasses

      public static long LLVMRunPasses(long M, CharSequence Passes, long TM, long Options)
      Construct and run a set of passes over a module.

      This function takes a string with the passes that should be used. The format of this string is the same as opt's -passes argument for the new pass manager. Individual passes may be specified, separated by commas. Full pipelines may also be invoked using default<O3> and friends. See opt for full reference of the Passes format.

      Since:
      13
    • LLVMCreatePassBuilderOptions

      public static long 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. The client should call DisposePassBuilderOptions to free the pass builder options.

      Since:
      13
    • LLVMPassBuilderOptionsSetVerifyEach

      public static void LLVMPassBuilderOptionsSetVerifyEach(long Options, boolean VerifyEach)
      Toggle adding the VerifierPass for the PassBuilder, ensuring all functions inside the module is valid.
      Since:
      13
    • LLVMPassBuilderOptionsSetDebugLogging

      public static void LLVMPassBuilderOptionsSetDebugLogging(long Options, boolean DebugLogging)
      Toggle debug logging when running the PassBuilder
      Since:
      13
    • LLVMPassBuilderOptionsSetLoopInterleaving

      public static void LLVMPassBuilderOptionsSetLoopInterleaving(long Options, boolean LoopInterleaving)
      Since:
      13
    • LLVMPassBuilderOptionsSetLoopVectorization

      public static void LLVMPassBuilderOptionsSetLoopVectorization(long Options, boolean LoopVectorization)
      Since:
      13
    • LLVMPassBuilderOptionsSetSLPVectorization

      public static void LLVMPassBuilderOptionsSetSLPVectorization(long Options, boolean SLPVectorization)
      Since:
      13
    • LLVMPassBuilderOptionsSetLoopUnrolling

      public static void LLVMPassBuilderOptionsSetLoopUnrolling(long Options, boolean LoopUnrolling)
      Since:
      13
    • LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll

      public static void LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll(long Options, boolean ForgetAllSCEVInLoopUnroll)
      Since:
      13
    • LLVMPassBuilderOptionsSetLicmMssaOptCap

      public static void LLVMPassBuilderOptionsSetLicmMssaOptCap(long Options, int LicmMssaOptCap)
      Since:
      13
    • LLVMPassBuilderOptionsSetLicmMssaNoAccForPromotionCap

      public static void LLVMPassBuilderOptionsSetLicmMssaNoAccForPromotionCap(long Options, int LicmMssaNoAccForPromotionCap)
      Since:
      13
    • LLVMPassBuilderOptionsSetCallGraphProfile

      public static void LLVMPassBuilderOptionsSetCallGraphProfile(long Options, boolean CallGraphProfile)
      Since:
      13
    • LLVMPassBuilderOptionsSetMergeFunctions

      public static void LLVMPassBuilderOptionsSetMergeFunctions(long Options, boolean MergeFunctions)
      Since:
      13
    • LLVMPassBuilderOptionsSetInlinerThreshold

      public static void LLVMPassBuilderOptionsSetInlinerThreshold(long Options, int Threshold)
      Since:
      17
    • LLVMDisposePassBuilderOptions

      public static void LLVMDisposePassBuilderOptions(long Options)
      Dispose of a heap-allocated PassBuilderOptions instance.
      Since:
      13
    • LLVMPassManagerBuilderCreate

      public static long LLVMPassManagerBuilderCreate()
      Removed in LLVM 17.
    • LLVMPassManagerBuilderDispose

      public static void LLVMPassManagerBuilderDispose(long PMB)
      Removed in LLVM 17.
    • LLVMPassManagerBuilderSetOptLevel

      public static void LLVMPassManagerBuilderSetOptLevel(long PMB, int OptLevel)
      Removed in LLVM 17.
    • LLVMPassManagerBuilderSetSizeLevel

      public static void LLVMPassManagerBuilderSetSizeLevel(long PMB, int SizeLevel)
      Removed in LLVM 17.
    • LLVMPassManagerBuilderSetDisableUnitAtATime

      public static void LLVMPassManagerBuilderSetDisableUnitAtATime(long PMB, boolean Value)
      Removed in LLVM 17.
    • LLVMPassManagerBuilderSetDisableUnrollLoops

      public static void LLVMPassManagerBuilderSetDisableUnrollLoops(long PMB, boolean Value)
      Removed in LLVM 17.
    • LLVMPassManagerBuilderSetDisableSimplifyLibCalls

      public static void LLVMPassManagerBuilderSetDisableSimplifyLibCalls(long PMB, boolean Value)
      Removed in LLVM 17.
    • LLVMPassManagerBuilderUseInlinerWithThreshold

      public static void LLVMPassManagerBuilderUseInlinerWithThreshold(long PMB, int Threshold)
      Removed in LLVM 17.
    • LLVMPassManagerBuilderPopulateFunctionPassManager

      public static void LLVMPassManagerBuilderPopulateFunctionPassManager(long PMB, long PM)
      Removed in LLVM 17.
    • LLVMPassManagerBuilderPopulateModulePassManager

      public static void LLVMPassManagerBuilderPopulateModulePassManager(long PMB, long PM)
      Removed in LLVM 17.
    • LLVMPassManagerBuilderPopulateLTOPassManager

      public static void LLVMPassManagerBuilderPopulateLTOPassManager(long PMB, long PM, boolean Internalize, boolean RunInliner)
      See llvm::PassManagerBuilder::populateLTOPassManager.
    • LLVMAddAggressiveDCEPass

      public static void LLVMAddAggressiveDCEPass(long PM)
      Removed in LLVM 17.
    • LLVMAddDCEPass

      public static void LLVMAddDCEPass(long PM)
      Removed in LLVM 17.
      Since:
      10
    • LLVMAddBitTrackingDCEPass

      public static void LLVMAddBitTrackingDCEPass(long PM)
      Removed in LLVM 17.
    • LLVMAddAlignmentFromAssumptionsPass

      public static void LLVMAddAlignmentFromAssumptionsPass(long PM)
      Removed in LLVM 17.
    • LLVMAddCFGSimplificationPass

      public static void LLVMAddCFGSimplificationPass(long PM)
      Removed in LLVM 17.
    • LLVMAddDeadStoreEliminationPass

      public static void LLVMAddDeadStoreEliminationPass(long PM)
      Removed in LLVM 17.
    • LLVMAddScalarizerPass

      public static void LLVMAddScalarizerPass(long PM)
      Removed in LLVM 17.
    • LLVMAddMergedLoadStoreMotionPass

      public static void LLVMAddMergedLoadStoreMotionPass(long PM)
      Removed in LLVM 17.
    • LLVMAddGVNPass

      public static void LLVMAddGVNPass(long PM)
      Removed in LLVM 17.
    • LLVMAddNewGVNPass

      public static void LLVMAddNewGVNPass(long PM)
      Removed in LLVM 17.
    • LLVMAddIndVarSimplifyPass

      public static void LLVMAddIndVarSimplifyPass(long PM)
      Removed in LLVM 17.
    • LLVMAddJumpThreadingPass

      public static void LLVMAddJumpThreadingPass(long PM)
      Removed in LLVM 17.
    • LLVMAddLICMPass

      public static void LLVMAddLICMPass(long PM)
      Removed in LLVM 17.
    • LLVMAddLoopDeletionPass

      public static void LLVMAddLoopDeletionPass(long PM)
      Removed in LLVM 17.
    • LLVMAddLoopIdiomPass

      public static void LLVMAddLoopIdiomPass(long PM)
      Removed in LLVM 17.
    • LLVMAddLoopRotatePass

      public static void LLVMAddLoopRotatePass(long PM)
      Removed in LLVM 17.
    • LLVMAddLoopRerollPass

      public static void LLVMAddLoopRerollPass(long PM)
      Removed in LLVM 17.
    • LLVMAddLoopUnrollPass

      public static void LLVMAddLoopUnrollPass(long PM)
      Removed in LLVM 17.
    • LLVMAddLoopUnrollAndJamPass

      public static void LLVMAddLoopUnrollAndJamPass(long PM)
      Removed in LLVM 17.
    • LLVMAddLoopUnswitchPass

      public static void LLVMAddLoopUnswitchPass(long PM)
      See llvm::createLoopUnswitchPass function.
    • LLVMAddLowerAtomicPass

      public static void LLVMAddLowerAtomicPass(long PM)
      Removed in LLVM 17.
    • LLVMAddMemCpyOptPass

      public static void LLVMAddMemCpyOptPass(long PM)
      Removed in LLVM 17.
    • LLVMAddPartiallyInlineLibCallsPass

      public static void LLVMAddPartiallyInlineLibCallsPass(long PM)
      Removed in LLVM 17.
    • LLVMAddReassociatePass

      public static void LLVMAddReassociatePass(long PM)
      Removed in LLVM 17.
    • LLVMAddSCCPPass

      public static void LLVMAddSCCPPass(long PM)
      Removed in LLVM 17.
    • LLVMAddScalarReplAggregatesPass

      public static void LLVMAddScalarReplAggregatesPass(long PM)
      Removed in LLVM 17.
    • LLVMAddScalarReplAggregatesPassSSA

      public static void LLVMAddScalarReplAggregatesPassSSA(long PM)
      Removed in LLVM 17.
    • LLVMAddScalarReplAggregatesPassWithThreshold

      public static void LLVMAddScalarReplAggregatesPassWithThreshold(long PM, int Threshold)
      Removed in LLVM 17.
    • LLVMAddSimplifyLibCallsPass

      public static void LLVMAddSimplifyLibCallsPass(long PM)
      Removed in LLVM 17.
    • LLVMAddTailCallEliminationPass

      public static void LLVMAddTailCallEliminationPass(long PM)
      Removed in LLVM 17.
    • LLVMAddConstantPropagationPass

      public static void LLVMAddConstantPropagationPass(long PM)
      See llvm::createConstantPropagationPass function.
    • LLVMAddDemoteMemoryToRegisterPass

      public static void LLVMAddDemoteMemoryToRegisterPass(long PM)
      Removed in LLVM 17.
    • LLVMAddVerifierPass

      public static void LLVMAddVerifierPass(long PM)
      Removed in LLVM 17.
    • LLVMAddCorrelatedValuePropagationPass

      public static void LLVMAddCorrelatedValuePropagationPass(long PM)
      Removed in LLVM 17.
    • LLVMAddEarlyCSEPass

      public static void LLVMAddEarlyCSEPass(long PM)
      Removed in LLVM 17.
    • LLVMAddEarlyCSEMemSSAPass

      public static void LLVMAddEarlyCSEMemSSAPass(long PM)
      Removed in LLVM 17.
    • LLVMAddLowerExpectIntrinsicPass

      public static void LLVMAddLowerExpectIntrinsicPass(long PM)
      Removed in LLVM 17.
    • LLVMAddLowerConstantIntrinsicsPass

      public static void LLVMAddLowerConstantIntrinsicsPass(long PM)
      Removed in LLVM 17.
      Since:
      10
    • LLVMAddTypeBasedAliasAnalysisPass

      public static void LLVMAddTypeBasedAliasAnalysisPass(long PM)
      Removed in LLVM 17.
    • LLVMAddScopedNoAliasAAPass

      public static void LLVMAddScopedNoAliasAAPass(long PM)
      Removed in LLVM 17.
    • LLVMAddBasicAliasAnalysisPass

      public static void LLVMAddBasicAliasAnalysisPass(long PM)
      Removed in LLVM 17.
    • LLVMAddUnifyFunctionExitNodesPass

      public static void LLVMAddUnifyFunctionExitNodesPass(long PM)
      Removed in LLVM 17.
    • LLVMAddLowerSwitchPass

      public static void LLVMAddLowerSwitchPass(long PM)
      Removed in LLVM 17.
    • LLVMAddPromoteMemoryToRegisterPass

      public static void LLVMAddPromoteMemoryToRegisterPass(long PM)
      Removed in LLVM 17.
    • LLVMAddAddDiscriminatorsPass

      public static void LLVMAddAddDiscriminatorsPass(long PM)
      Removed in LLVM 17.
      Since:
      9
    • LLVMAddLoopVectorizePass

      public static void LLVMAddLoopVectorizePass(long PM)
      Removed in LLVM 17.
    • LLVMAddSLPVectorizePass

      public static void LLVMAddSLPVectorizePass(long PM)
      Removed in LLVM 17.