summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorBernard Ogden <bogden@arm.com>2013-12-12 13:27:11 +0000
committerBernard Ogden <bogden@arm.com>2013-12-12 13:27:11 +0000
commit3156176c8cc4df23bdad8136b1f382eed6a63a91 (patch)
treefdda145b2db0d3c48bbfb1c6d9dad1efe769e710 /llvm/lib/CodeGen/StackMaps.cpp
parent8af41b5a21ff124d4673d9cab871478feb3434fd (diff)
downloadbcm5719-llvm-3156176c8cc4df23bdad8136b1f382eed6a63a91.tar.gz
bcm5719-llvm-3156176c8cc4df23bdad8136b1f382eed6a63a91.zip
Refactor duplicate functions
getARMCPU and getLLVMArchSuffixForARM existed as very similar functions in both ToolChain.cpp and Tools.cpp. Create a single implementation of each in Tools.cpp, eliminate the duplicate and share via Tools.h. Creates an 'arm' namespace in Tools.h to be used by any ARM-targetting tools. llvm-svn: 197153
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud