LLVM 22.0.0git
|
#include "llvm/IR/Comdat.h"
Public Types | |
enum | SelectionKind { Any , ExactMatch , Largest , NoDeduplicate , SameSize } |
Public Member Functions | |
Comdat (const Comdat &)=delete | |
LLVM_ABI | Comdat (Comdat &&C) |
SelectionKind | getSelectionKind () const |
void | setSelectionKind (SelectionKind Val) |
LLVM_ABI StringRef | getName () const |
LLVM_ABI void | print (raw_ostream &OS, bool IsForDebug=false) const |
LLVM_ABI void | dump () const |
const SmallPtrSetImpl< GlobalObject * > & | getUsers () const |
Friends | |
class | Module |
class | GlobalObject |
References llvm::CallingConv::C, Comdat(), and LLVM_ABI.
Comdat::Comdat | ( | Comdat && | C | ) |
Definition at line 24 of file Comdat.cpp.
References llvm::CallingConv::C, and Comdat().
LLVM_DUMP_METHOD void Comdat::dump | ( | ) | const |
Definition at line 5508 of file AsmWriter.cpp.
References llvm::dbgs(), and print().
StringRef Comdat::getName | ( | ) | const |
Definition at line 28 of file Comdat.cpp.
Referenced by copyComdat().
|
inline |
Definition at line 47 of file Comdat.h.
Referenced by copyComdat(), copyLinkageVisibility(), and print().
|
inline |
void Comdat::print | ( | raw_ostream & | OS, |
bool | IsForDebug = false ) const |
Definition at line 5122 of file AsmWriter.cpp.
References Any, ComdatPrefix, ExactMatch, getName(), getSelectionKind(), Largest, NoDeduplicate, PrintLLVMName(), and SameSize.
|
inline |
Definition at line 48 of file Comdat.h.
Referenced by copyComdat(), copyLinkageVisibility(), and LLVMSetComdatSelectionKind().
|
friend |
Definition at line 56 of file Comdat.h.
References Any, and GlobalObject.
Referenced by GlobalObject.
|
friend |