LLVM
8.0.1
|
#include "llvm-c/Types.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. More... | |
LLVMComdatRef | LLVMGetComdat (LLVMValueRef V) |
Get the Comdat assigned to the given global object. More... | |
void | LLVMSetComdat (LLVMValueRef V, LLVMComdatRef C) |
Assign the Comdat to the given global object. More... | |
LLVMComdatSelectionKind | LLVMGetComdatSelectionKind (LLVMComdatRef C) |
void | LLVMSetComdatSelectionKind (LLVMComdatRef C, LLVMComdatSelectionKind Kind) |
LLVMComdatRef LLVMGetComdat | ( | LLVMValueRef | V | ) |
Get the Comdat assigned to the given global object.
Definition at line 33 of file Comdat.cpp.
References G, llvm::GlobalObject::getComdat(), and llvm::wrap().
LLVMComdatSelectionKind LLVMGetComdatSelectionKind | ( | LLVMComdatRef | C | ) |
Definition at line 43 of file Comdat.cpp.
References llvm::Comdat::Any, llvm::Comdat::ExactMatch, llvm::Comdat::getSelectionKind(), llvm::Comdat::Largest, llvm_unreachable, LLVMAnyComdatSelectionKind, LLVMExactMatchComdatSelectionKind, LLVMLargestComdatSelectionKind, LLVMNoDuplicatesComdatSelectionKind, LLVMSameSizeComdatSelectionKind, llvm::Comdat::NoDuplicates, llvm::Comdat::SameSize, and llvm::unwrap().
LLVMComdatRef LLVMGetOrInsertComdat | ( | LLVMModuleRef | M, |
const char * | Name | ||
) |
Return the Comdat in the module with the specified name.
It is created if it didn't already exist.
Definition at line 29 of file Comdat.cpp.
References llvm::unwrap(), and llvm::wrap().
void LLVMSetComdat | ( | LLVMValueRef | V, |
LLVMComdatRef | C | ||
) |
Assign the Comdat to the given global object.
Definition at line 38 of file Comdat.cpp.
References G, llvm::GlobalObject::setComdat(), and llvm::unwrap().
void LLVMSetComdatSelectionKind | ( | LLVMComdatRef | C, |
LLVMComdatSelectionKind | Kind | ||
) |
Definition at line 59 of file Comdat.cpp.
References llvm::Comdat::Any, llvm::Comdat::ExactMatch, llvm::Comdat::Largest, LLVMAnyComdatSelectionKind, LLVMExactMatchComdatSelectionKind, LLVMLargestComdatSelectionKind, LLVMNoDuplicatesComdatSelectionKind, LLVMSameSizeComdatSelectionKind, llvm::Comdat::NoDuplicates, llvm::Comdat::SameSize, llvm::Comdat::setSelectionKind(), and llvm::unwrap().