[PATCH] D31940: [IR] Add AttributeSet to hide AttributeSetNode* again, NFC

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 08:37:19 PDT 2017


rnk created this revision.
Herald added a subscriber: jfb.

For now, it just wraps AttributeSetNode*. Eventually, it will hold
AvailableAttrs as an inline bitset, and adding and removing enum
attributes will be super cheap.

This sinks AttributeSetNode back down to lib/IR/AttributeImpl.h.


https://reviews.llvm.org/D31940

Files:
  clang/lib/CodeGen/CodeGenModule.cpp
  llvm/include/llvm/IR/AttributeSetNode.h
  llvm/include/llvm/IR/Attributes.h
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/AsmParser/LLParser.h
  llvm/lib/IR/AsmWriter.cpp
  llvm/lib/IR/AttributeImpl.h
  llvm/lib/IR/Attributes.cpp
  llvm/lib/IR/Core.cpp
  llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
  llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
  llvm/lib/Transforms/IPO/MergeFunctions.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/lib/Transforms/Utils/CloneFunction.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31940.94830.patch
Type: text/x-patch
Size: 54289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170411/65be4732/attachment-0001.bin>


More information about the llvm-commits mailing list