LLVM: include/llvm/IR/Comdat.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15#ifndef LLVM_IR_COMDAT_H
16#define LLVM_IR_COMDAT_H
17
22
23namespace llvm {
24
29
30
31
32
33
35public:
43
46
53
54private:
57
61
62
65
67};
68
69
71
73 C.print(OS);
74 return OS;
75}
76
77}
78
79#endif
#define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref)
This file defines the SmallPtrSet class.
Comdat(const Comdat &)=delete
friend class Module
Definition Comdat.h:55
LLVM_ABI void print(raw_ostream &OS, bool IsForDebug=false) const
LLVM_ABI StringRef getName() const
LLVM_ABI void dump() const
const SmallPtrSetImpl< GlobalObject * > & getUsers() const
Definition Comdat.h:52
SelectionKind
Definition Comdat.h:36
@ Largest
The linker will choose the largest COMDAT.
Definition Comdat.h:39
@ SameSize
The data referenced by the COMDAT must be the same size.
Definition Comdat.h:41
@ Any
The linker may choose any COMDAT.
Definition Comdat.h:37
@ NoDeduplicate
No deduplication is performed.
Definition Comdat.h:40
@ ExactMatch
The data referenced by the COMDAT must be the same.
Definition Comdat.h:38
friend class GlobalObject
Definition Comdat.h:56
void setSelectionKind(SelectionKind Val)
Definition Comdat.h:48
SelectionKind getSelectionKind() const
Definition Comdat.h:47
A templated base class for SmallPtrSet which provides the typesafe interface that is common across al...
SmallPtrSet - This class implements a set which is optimized for holding SmallSize or less elements.
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
struct LLVMComdat * LLVMComdatRef
@ C
The default llvm calling convention, compatible with C.
This is an optimization pass for GlobalISel generic memory operations.