LLVM: include/llvm/MC/ConstantPools.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13#ifndef LLVM_MC_CONSTANTPOOLS_H
14#define LLVM_MC_CONSTANTPOOLS_H
15
19#include
20#include
21
22namespace llvm {
23
30
40
41
42
45 EntryVecTy Entries;
46
47
48
49 std::map<std::pair<int64_t, unsigned>, const MCSymbolRefExpr *>
50 CachedConstantEntries;
52 CachedSymbolEntries;
53
54public:
55
57
58
59
60
61
62
65
66
68
69
71
73};
74
76
77
78
79
80
81
82
83
84
85
86
87
88
89
91 ConstantPoolMapTy ConstantPools;
92
93public:
99
100private:
103};
104
105}
106
107#endif
This file implements a map that provides insertion order iteration.
This file defines the SmallVector class.
Definition ConstantPools.h:75
void emitAll(MCStreamer &Streamer)
void clearCacheForCurrentSection(MCStreamer &Streamer)
void emitForCurrentSection(MCStreamer &Streamer)
const MCExpr * addEntry(MCStreamer &Streamer, const MCExpr *Expr, unsigned Size, SMLoc Loc)
Definition ConstantPools.h:43
const MCExpr * addEntry(const MCExpr *Value, MCContext &Context, unsigned Size, SMLoc Loc)
void emitEntries(MCStreamer &Streamer)
Context object for machine code objects.
Base class for the full range of assembler expressions which are needed for parsing.
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Streaming machine code generation interface.
Represent a reference to a symbol from inside an expression.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
This class implements a map that also provides access to all stored values in a deterministic order.
Represents a location in source code.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
LLVM Value Representation.
This is an optimization pass for GlobalISel generic memory operations.
MCSymbol * Label
Definition ConstantPools.h:35
unsigned Size
Definition ConstantPools.h:37
SMLoc Loc
Definition ConstantPools.h:38
ConstantPoolEntry(MCSymbol *L, const MCExpr *Val, unsigned Sz, SMLoc Loc_)
Definition ConstantPools.h:32
const MCExpr * Value
Definition ConstantPools.h:36