1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib
Duncan P. N. Exon Smith 33685ffe5d CodeGen: Canonicalize access to function attributes, NFC
Canonicalize access to function attributes to use the simpler API.

getAttributes().getAttribute(AttributeSet::FunctionIndex, Kind)
  => getFnAttribute(Kind)

getAttributes().hasAttribute(AttributeSet::FunctionIndex, Kind)
  => hasFnAttribute(Kind)

Also, add `Function::getFnStackAlignment()`, and canonicalize:

getAttributes().getStackAlignment(AttributeSet::FunctionIndex)
  => getFnStackAlignment()

llvm-svn: 229208
2015-02-14 01:44:41 +00:00
..
Analysis Unify the two EH personality classification routines I wrote 2015-02-14 00:21:02 +00:00
AsmParser AsmWriter/Bitcode: MDImportedEntity 2015-02-13 01:46:02 +00:00
Bitcode Clean up some inappropriate choices of type in the bitcode reader. None of 2015-02-13 21:05:11 +00:00
CodeGen CodeGen: Canonicalize access to function attributes, NFC 2015-02-14 01:44:41 +00:00
DebugInfo Fix -Wunused-variable warning. 2015-02-13 18:11:49 +00:00
ExecutionEngine [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
Fuzzer [fuzzer] move default sanitizer options to a separate file 2015-02-06 19:52:07 +00:00
IR [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
IRReader Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LineEditor Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Linker [LinkModules] Change the way ModuleLinker merges triples. 2015-02-13 00:40:41 +00:00
LTO [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
MC Revert a series of commits starting at r228886 which is triggering some 2015-02-13 07:52:39 +00:00
Object Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Option Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
ProfileData Fix accidental bit flip. 2015-02-12 16:30:00 +00:00
Support Fixing broken bots. 2015-02-13 23:10:31 +00:00
TableGen Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Target [X86] Factor out the CMOV pseudo definitions. NFCI. 2015-02-14 01:36:53 +00:00
Transforms Transforms: Canonicalize access to function attributes, NFC 2015-02-14 01:11:29 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00