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 94830 clang/lib/CodeGen/CodeGenModule.cpp
llvm/include/llvm/IR/AttributeSetNode.h
llvm/include/llvm/IR/Attributes.h
llvm/lib/AsmParser/LLParser.h
llvm/lib/AsmParser/LLParser.cpp
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
|