|
LLVM
8.0.1
|
#include "llvm-c/Comdat.h"#include "llvm/ADT/StringMap.h"#include "llvm/ADT/StringRef.h"#include "llvm/IR/Comdat.h"#include "llvm/IR/GlobalObject.h"#include "llvm/IR/Module.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().
1.8.13