Commit Graph

2 Commits

Author SHA1 Message Date
Michael Gottesman
d57a88af0d [gardening] Rename references to SILPHIArgument => SILPhiArgument. 2018-09-25 22:23:34 -07:00
Michael Gottesman
2d6106aaa7 [sil] Add convenience method TermInst::getSuccessorBlockArguments().
This convenience API enables one to iterate over the array of arguments of each
successor of the terminator.

To implement this I needed to implement SILBasicBlock::getPHIArguments(), so I
also implemented SILBasicBlock::getFunctionArguments().

rdar://44667493
2018-09-21 10:01:35 -07:00