Package org.lwjgl.llvm
Class LLVMComdat
- java.lang.Object
-
- org.lwjgl.llvm.LLVMComdat
-
public class LLVMComdat extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLLVMComdat.FunctionsContains the function pointers loaded fromLLVMCore.getLibrary().
-
Field Summary
Fields Modifier and Type Field Description static intLLVMAnyComdatSelectionKind
LLVMExactMatchComdatSelectionKind
LLVMLargestComdatSelectionKind
LLVMNoDeduplicateComdatSelectionKind
LLVMSameSizeComdatSelectionKindLLVMComdatSelectionKind
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longLLVMGetComdat(long V)Get the Comdat assigned to the given global object.static intLLVMGetComdatSelectionKind(long C)Get the conflict resolution selection kind for the Comdat.static longLLVMGetOrInsertComdat(long M, java.lang.CharSequence Name)Return theComdatin the module with the specified name.static longLLVMGetOrInsertComdat(long M, java.nio.ByteBuffer Name)Return theComdatin the module with the specified name.static voidLLVMSetComdat(long V, long C)Assign the Comdat to the given global object.static voidLLVMSetComdatSelectionKind(long C, int Kind)Set the conflict resolution selection kind for the Comdat.static longnLLVMGetOrInsertComdat(long M, long Name)Unsafe version of:GetOrInsertComdat
-
-
-
Field Detail
-
LLVMAnyComdatSelectionKind, LLVMExactMatchComdatSelectionKind, LLVMLargestComdatSelectionKind, LLVMNoDeduplicateComdatSelectionKind, LLVMSameSizeComdatSelectionKind
LLVMComdatSelectionKindEnum values:
AnyComdatSelectionKind- The linker may choose any COMDAT.ExactMatchComdatSelectionKind- The data referenced by the COMDAT must be the same.LargestComdatSelectionKind- The linker will choose the largest COMDAT.NoDeduplicateComdatSelectionKind- No deduplication is performed.SameSizeComdatSelectionKind- The data referenced by the COMDAT must be the same size.
-
-
Method Detail
-
nLLVMGetOrInsertComdat
public static long nLLVMGetOrInsertComdat(long M, long Name)Unsafe version of:GetOrInsertComdat
-
LLVMGetOrInsertComdat
public static long LLVMGetOrInsertComdat(long M, java.nio.ByteBuffer Name) public static long LLVMGetOrInsertComdat(long M, java.lang.CharSequence Name)Return theComdatin the module with the specified name. It is created if it didn't already exist.
-
LLVMGetComdat
public static long LLVMGetComdat(long V)
Get the Comdat assigned to the given global object.
-
LLVMSetComdat
public static void LLVMSetComdat(long V, long C)Assign the Comdat to the given global object.
-
LLVMGetComdatSelectionKind
public static int LLVMGetComdatSelectionKind(long C)
Get the conflict resolution selection kind for the Comdat.
-
LLVMSetComdatSelectionKind
public static void LLVMSetComdatSelectionKind(long C, int Kind)Set the conflict resolution selection kind for the Comdat.
-
-