| commit | 70eb9c5ae59b739b31245ef18f84eeb2a4a68ffa | [log] [tgz] |
|---|---|---|
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Feb 14 01:44:41 2015 +0000 |
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Feb 14 01:44:41 2015 +0000 |
| tree | 00274d081bd5648a5a741143aafb74ed583b601f | |
| parent | bb755d614ab587019545d2dc3aa687788c90a90e [diff] |
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