Package org.lwjgl.llvm
Class LLVMComdat
java.lang.Object
org.lwjgl.llvm.LLVMComdat
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromLLVMCore.getLibrary(). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLLVMComdatSelectionKindstatic final intLLVMComdatSelectionKindstatic final intLLVMComdatSelectionKindstatic final intLLVMComdatSelectionKindstatic final intLLVMComdatSelectionKind -
Method Summary
Modifier and TypeMethodDescriptionstatic 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, CharSequence Name) Return theComdatin the module with the specified name.static longLLVMGetOrInsertComdat(long M, 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 Details
-
LLVMAnyComdatSelectionKind
public static final int LLVMAnyComdatSelectionKindLLVMComdatSelectionKindEnum 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.
- See Also:
-
LLVMExactMatchComdatSelectionKind
public static final int LLVMExactMatchComdatSelectionKindLLVMComdatSelectionKindEnum 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.
- See Also:
-
LLVMLargestComdatSelectionKind
public static final int LLVMLargestComdatSelectionKindLLVMComdatSelectionKindEnum 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.
- See Also:
-
LLVMNoDeduplicateComdatSelectionKind
public static final int LLVMNoDeduplicateComdatSelectionKindLLVMComdatSelectionKindEnum 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.
- See Also:
-
LLVMSameSizeComdatSelectionKind
public static final int LLVMSameSizeComdatSelectionKindLLVMComdatSelectionKindEnum 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.
- See Also:
-
-
Method Details
-
nLLVMGetOrInsertComdat
public static long nLLVMGetOrInsertComdat(long M, long Name) Unsafe version of:GetOrInsertComdat -
LLVMGetOrInsertComdat
Return theComdatin the module with the specified name. It is created if it didn't already exist. -
LLVMGetOrInsertComdat
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.
-