LLVM 20.0.0git
Functions
Comdat.cpp File Reference
#include "llvm-c/Comdat.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringMapEntry.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/Comdat.h"
#include "llvm/IR/GlobalObject.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Value.h"

Go to the source code of this file.

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)