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