LLVM 20.0.0git
|
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) |
LLVMComdatRef LLVMGetComdat | ( | LLVMValueRef | V | ) |
Get the Comdat assigned to the given global object.
Definition at line 38 of file Comdat.cpp.
References G, and llvm::wrap().
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().
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 Name, llvm::unwrap(), and llvm::wrap().
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().
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().