diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-24 20:36:25 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-24 20:36:25 +0000 |
commit | cbc28dc549ca03e6db3b6b0c7d373cc44487032c (patch) | |
tree | d159dea196ff1de17cd0b6f3291de1e8c70a0e6c /llvm/lib/IR/Function.cpp | |
parent | cfbfe6f29cb9f66766fe0851062ca239a8299acb (diff) | |
download | bcm5719-llvm-cbc28dc549ca03e6db3b6b0c7d373cc44487032c.tar.gz bcm5719-llvm-cbc28dc549ca03e6db3b6b0c7d373cc44487032c.zip |
IR: Extract set logic from Instruction attachments, NFC
Extract the set logic for metadata attachments from `Instruction` so it
can be reused for `Function` (PR23340).
This data structure makes a `SmallVector<>` look (a little) like a map,
just doing the bare minimum to support the `Instruction` (and soon,
`Function`) metadata API.
llvm-svn: 235769
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions