summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-24 20:36:25 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-24 20:36:25 +0000
commitcbc28dc549ca03e6db3b6b0c7d373cc44487032c (patch)
treed159dea196ff1de17cd0b6f3291de1e8c70a0e6c /llvm/lib/IR/Function.cpp
parentcfbfe6f29cb9f66766fe0851062ca239a8299acb (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud