LLVM: include/llvm/DebugInfo/CodeView/FunctionId.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9#ifndef LLVM_DEBUGINFO_CODEVIEW_FUNCTIONID_H
10#define LLVM_DEBUGINFO_CODEVIEW_FUNCTIONID_H
11
12#include
13
14namespace llvm {
16
18public:
20
22
24
25private:
27};
28
30 return A.getIndex() == B.getIndex();
31}
32
34 return A.getIndex() != B.getIndex();
35}
36
38 return A.getIndex() < B.getIndex();
39}
40
42 return A.getIndex() <= B.getIndex();
43}
44
46 return A.getIndex() > B.getIndex();
47}
48
50 return A.getIndex() >= B.getIndex();
51}
52}
53}
54
55#endif
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
Definition FunctionId.h:17
FunctionId(uint32_t Index)
Definition FunctionId.h:21
FunctionId()
Definition FunctionId.h:19
uint32_t getIndex() const
Definition FunctionId.h:23
bool operator!=(const FunctionId &A, const FunctionId &B)
Definition FunctionId.h:33
bool operator>(const FunctionId &A, const FunctionId &B)
Definition FunctionId.h:45
bool operator>=(const FunctionId &A, const FunctionId &B)
Definition FunctionId.h:49
bool operator<(const FunctionId &A, const FunctionId &B)
Definition FunctionId.h:37
bool operator<=(const FunctionId &A, const FunctionId &B)
Definition FunctionId.h:41
bool operator==(const FunctionId &A, const FunctionId &B)
Definition FunctionId.h:29
This is an optimization pass for GlobalISel generic memory operations.