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

Go to the source code of this file.

Enumerations

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

Functions

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