CodeGen: convert CCState interface to using ArrayRefs
authorTim Northover <tnorthover@apple.com>
Sat, 21 Feb 2015 02:11:17 +0000 (02:11 +0000)
committerTim Northover <tnorthover@apple.com>
Sat, 21 Feb 2015 02:11:17 +0000 (02:11 +0000)
commitca7e0787f09cb754e4cd5b507292834ee92992d4
tree403e352f8d598a55568c3e4bac1cb2120fc72743
parente95985d3a080dcffd3cf0a51361b714a4965722e
CodeGen: convert CCState interface to using ArrayRefs

Everyone except R600 was manually passing the length of a static array
at each callsite, calculated in a variety of interesting ways. Far
easier to let ArrayRef handle that.

There should be no functional change, but out of tree targets may have
to tweak their calls as with these examples.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230118 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/llvm/CodeGen/CallingConvLower.h
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/ARM/ARMCallingConv.h
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/Hexagon/HexagonISelLowering.cpp
lib/Target/MSP430/MSP430ISelLowering.cpp
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/R600/SIISelLowering.cpp
lib/Target/Sparc/SparcISelLowering.cpp
lib/Target/X86/X86FastISel.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/XCore/XCoreISelLowering.cpp
utils/TableGen/CallingConvEmitter.cpp