LLVM 22.0.0git
|
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) |
LLVM_C_ABI LLVMComdatRef LLVMGetComdat | ( | LLVMValueRef | V | ) |
Get the Comdat assigned to the given global object.
Definition at line 38 of file Comdat.cpp.
References G, llvm::unwrap(), and llvm::wrap().
LLVM_C_ABI LLVMComdatSelectionKind LLVMGetComdatSelectionKind | ( | LLVMComdatRef | C | ) |
Definition at line 48 of file Comdat.cpp.
References llvm::Comdat::Any, llvm::CallingConv::C, llvm::Comdat::ExactMatch, llvm::Comdat::Largest, llvm_unreachable, LLVMAnyComdatSelectionKind, LLVMExactMatchComdatSelectionKind, LLVMLargestComdatSelectionKind, LLVMNoDeduplicateComdatSelectionKind, LLVMSameSizeComdatSelectionKind, llvm::Comdat::NoDeduplicate, llvm::Comdat::SameSize, and llvm::unwrap().
LLVM_C_ABI 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 34 of file Comdat.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVM_C_ABI void LLVMSetComdat | ( | LLVMValueRef | V, |
LLVMComdatRef | C ) |
Assign the Comdat to the given global object.
Definition at line 43 of file Comdat.cpp.
References llvm::CallingConv::C, G, and llvm::unwrap().
LLVM_C_ABI void LLVMSetComdatSelectionKind | ( | LLVMComdatRef | C, |
LLVMComdatSelectionKind | Kind ) |
Definition at line 64 of file Comdat.cpp.
References llvm::Comdat::Any, llvm::CallingConv::C, llvm::Comdat::ExactMatch, llvm::Comdat::Largest, LLVMAnyComdatSelectionKind, LLVMExactMatchComdatSelectionKind, LLVMLargestComdatSelectionKind, LLVMNoDeduplicateComdatSelectionKind, LLVMSameSizeComdatSelectionKind, llvm::Comdat::NoDeduplicate, llvm::Comdat::SameSize, llvm::Comdat::setSelectionKind(), and llvm::unwrap().