LLVM 22.0.0git
Enumerations | Functions
Comdat.h File Reference
#include "llvm-c/ExternC.h"
#include "llvm-c/Types.h"
#include "llvm-c/Visibility.h"

Go to the source code of this file.

Enumerations

enum  LLVMComdatSelectionKind {
  LLVMAnyComdatSelectionKind , LLVMExactMatchComdatSelectionKind , LLVMLargestComdatSelectionKind , LLVMNoDeduplicateComdatSelectionKind ,
  LLVMSameSizeComdatSelectionKind
}
 

Functions

LLVM_C_ABI LLVMComdatRef LLVMGetOrInsertComdat (LLVMModuleRef M, const char *Name)
 Return the Comdat in the module with the specified name.
 
LLVM_C_ABI LLVMComdatRef LLVMGetComdat (LLVMValueRef V)
 Get the Comdat assigned to the given global object.
 
LLVM_C_ABI void LLVMSetComdat (LLVMValueRef V, LLVMComdatRef C)
 Assign the Comdat to the given global object.
 
LLVM_C_ABI LLVMComdatSelectionKind LLVMGetComdatSelectionKind (LLVMComdatRef C)
 
LLVM_C_ABI void LLVMSetComdatSelectionKind (LLVMComdatRef C, LLVMComdatSelectionKind Kind)