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.
Paths
| Differential D31940
[IR] Add AttributeSet to hide AttributeSetNode* again, NFC ClosedPublic Authored by rnk on Apr 11 2017, 8:37 AM.
Details Summary For now, it just wraps AttributeSetNode*. Eventually, it will hold This sinks AttributeSetNode back down to lib/IR/AttributeImpl.h.
Diff Detail
Event TimelineClosed by commit rL300014: [IR] Add AttributeSet to hide AttributeSetNode* again, NFC (authored by rnk). · Explain WhyApr 11 2017, 5:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 94916 cfe/trunk/lib/CodeGen/CodeGenModule.cpp
llvm/trunk/include/llvm/IR/AttributeSetNode.h
llvm/trunk/include/llvm/IR/Attributes.h
llvm/trunk/lib/AsmParser/LLParser.h
llvm/trunk/lib/AsmParser/LLParser.cpp
llvm/trunk/lib/IR/AsmWriter.cpp
llvm/trunk/lib/IR/AttributeImpl.h
llvm/trunk/lib/IR/Attributes.cpp
llvm/trunk/lib/IR/Core.cpp
llvm/trunk/lib/Transforms/IPO/ArgumentPromotion.cpp
llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp
llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp
llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/trunk/lib/Transforms/Utils/CloneFunction.cpp
|