[PATCH] D31102: Rename AttributeSet to AttributeList

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 17 14:07:33 PDT 2017


rnk created this revision.
Herald added subscribers: sbc100, nhaehnle, jfb, mehdi_amini, dschuff, arsenm, jholewinski.
Herald added a reviewer: javed.absar.

This class is a list of AttributeSetNodes corresponding the function
prototype of a call or function declaration. This class used to be
called ParamAttrListPtr, then AttrListPtr, then AttributeSet. It is
typically accessed by parameter and return value index, so
"AttributeList" seems like a more intuitive name.

Rename AttributeSetImpl to AttributeListImpl to follow suit.

It's useful to rename this class so that we can rename AttributeSetNode
to AttributeSet later. AttributeSet is the set of attributes that apply
to a single function, argument, or return value.


https://reviews.llvm.org/D31102

Files:
  docs/HowToUseAttributes.rst
  include/llvm/CodeGen/CommandFlags.h
  include/llvm/IR/Argument.h
  include/llvm/IR/Attributes.h
  include/llvm/IR/CallSite.h
  include/llvm/IR/Function.h
  include/llvm/IR/Instructions.h
  include/llvm/IR/Intrinsics.h
  include/llvm/IR/Module.h
  include/llvm/IR/Statepoint.h
  include/llvm/Target/TargetLowering.h
  include/llvm/Transforms/Utils/BuildLibCalls.h
  include/llvm/Transforms/Utils/FunctionComparator.h
  lib/Analysis/MemoryBuiltins.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLParser.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/Bitcode/Writer/ValueEnumerator.cpp
  lib/Bitcode/Writer/ValueEnumerator.h
  lib/CodeGen/Analysis.cpp
  lib/CodeGen/AtomicExpandPass.cpp
  lib/CodeGen/CodeGenPrepare.cpp
  lib/CodeGen/GlobalISel/CallLowering.cpp
  lib/CodeGen/MachinePipeliner.cpp
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/FastISel.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/CodeGen/TargetLoweringBase.cpp
  lib/ExecutionEngine/ExecutionEngineBindings.cpp
  lib/IR/AsmWriter.cpp
  lib/IR/AttributeImpl.h
  lib/IR/AttributeSetNode.h
  lib/IR/Attributes.cpp
  lib/IR/Core.cpp
  lib/IR/Function.cpp
  lib/IR/Instructions.cpp
  lib/IR/LLVMContextImpl.cpp
  lib/IR/LLVMContextImpl.h
  lib/IR/Module.cpp
  lib/IR/Statepoint.cpp
  lib/IR/Value.cpp
  lib/IR/Verifier.cpp
  lib/Target/AArch64/AArch64CallLowering.cpp
  lib/Target/AArch64/AArch64FrameLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  lib/Target/AMDGPU/AMDGPUIntrinsicInfo.cpp
  lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  lib/Target/ARM/ARMCallLowering.cpp
  lib/Target/AVR/AVRISelLowering.cpp
  lib/Target/Hexagon/HexagonBitTracker.cpp
  lib/Target/Hexagon/HexagonTargetMachine.cpp
  lib/Target/Mips/Mips16HardFloat.cpp
  lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  lib/Target/NVPTX/NVPTXISelLowering.cpp
  lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  lib/Target/WebAssembly/WebAssemblyISelLowering.h
  lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  lib/Target/X86/X86CallLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  lib/Target/XCore/XCoreFrameLowering.cpp
  lib/Transforms/Coroutines/CoroSplit.cpp
  lib/Transforms/Coroutines/Coroutines.cpp
  lib/Transforms/IPO/ArgumentPromotion.cpp
  lib/Transforms/IPO/DeadArgumentElimination.cpp
  lib/Transforms/IPO/FunctionAttrs.cpp
  lib/Transforms/IPO/GlobalOpt.cpp
  lib/Transforms/IPO/MergeFunctions.cpp
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  lib/Transforms/Instrumentation/MemorySanitizer.cpp
  lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h
  lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
  lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  lib/Transforms/Utils/BuildLibCalls.cpp
  lib/Transforms/Utils/CloneFunction.cpp
  lib/Transforms/Utils/CodeExtractor.cpp
  lib/Transforms/Utils/FunctionComparator.cpp
  lib/Transforms/Utils/Local.cpp
  lib/Transforms/Utils/ModuleUtils.cpp
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
  unittests/IR/AttributesTest.cpp
  unittests/IR/InstructionsTest.cpp
  unittests/IR/LegacyPassManagerTest.cpp
  unittests/IR/VerifierTest.cpp
  unittests/Transforms/Utils/Cloning.cpp
  utils/TableGen/IntrinsicEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31102.92201.patch
Type: text/x-patch
Size: 230446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170317/afc428de/attachment-0001.bin>


More information about the llvm-commits mailing list