Remove the `hasFnAttr' method from Function.
authorBill Wendling <isanbard@gmail.com>
Wed, 26 Sep 2012 21:48:26 +0000 (21:48 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 26 Sep 2012 21:48:26 +0000 (21:48 +0000)
commit863bab689aa85a6384fc6f3c26b7ccaa287930f2
treef4394fe795d78d33fcd1e51d931d2f01199689e5
parentc03a0c241e9c13549e6e8e7f4f50d81cc5b0a76e
Remove the `hasFnAttr' method from Function.

The hasFnAttr method has been replaced by querying the Attributes explicitly. No
intended functionality change.

llvm-svn: 164725
31 files changed:
llvm/include/llvm/Function.h
llvm/lib/Analysis/CodeMetrics.cpp
llvm/lib/Analysis/InlineCost.cpp
llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
llvm/lib/CodeGen/BranchFolding.cpp
llvm/lib/CodeGen/CodePlacementOpt.cpp
llvm/lib/CodeGen/MachineBlockPlacement.cpp
llvm/lib/CodeGen/MachineFunction.cpp
llvm/lib/CodeGen/PrologEpilogInserter.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/StackProtector.cpp
llvm/lib/CodeGen/TailDuplication.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
llvm/lib/Target/ARM/ARMFrameLowering.cpp
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
llvm/lib/Target/X86/X86FrameLowering.cpp
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86RegisterInfo.cpp
llvm/lib/Transforms/IPO/InlineAlways.cpp
llvm/lib/Transforms/IPO/Inliner.cpp
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
llvm/lib/Transforms/Scalar/LoopUnswitch.cpp