[ARM] Expose methods to get the CCAssignFn. NFCI
authorDiana Picus <diana.picus@linaro.org>
Fri, 16 Dec 2016 10:35:20 +0000 (10:35 +0000)
committerDiana Picus <diana.picus@linaro.org>
Fri, 16 Dec 2016 10:35:20 +0000 (10:35 +0000)
commit2af9c389bf4eba1ca3d36e3123828cf52b73b532
tree0629008ebcc712992b88f5066ea6cfcb105bbb38
parent5f643ad847de495a0d5ac98bc082d35facf8b56c
[ARM] Expose methods to get the CCAssignFn. NFCI

Add two public methods to ARMTargetLowering: CCAssignFnForCall and
CCAssignFnForReturn, which are just calling the already existing private method
CCAssignFnForNode. These will come in handy for GlobalISel on ARM.

We also replace all calls to CCAssignFnForNode in ARMISelLowering.cpp, because
the new methods are friendlier to the reader.

llvm-svn: 289932
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMISelLowering.h