Target: add support to build CallLoweringInfo
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 17 May 2014 21:50:06 +0000 (21:50 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 17 May 2014 21:50:06 +0000 (21:50 +0000)
commita2b20f975f73bcf1dd35d404a7f6c4f9d71b8273
treec8df2ded4c8fa03a1c1663ea9b3e64ac182e25d3
parentd825568843af30f761696f86276d93fc29c9e74c
Target: add support to build CallLoweringInfo

Rather than introducing an auxiliary CallLoweringInfoBuilder, add the methods to
do chained function construction directly to CallLoweringInfo.  This reduces the
monstrous 15-parameter constructor into a series of simpler (for some definition
of simpler) functions that control particular aspects of the call.  The old
interfaces can be completely removed once callers are moved to the new chained
constructor pattern.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209081 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h