Return true if arguments passed in callee-saved registers match those of the calling function.
Declared in <llvm/CodeGen/TargetLowering.h>
bool
parametersInCSRMatch(
MachineRegisterInfo const& MRI,
uint32_t const* CallerPreservedMask,
SmallVectorImpl<CCValAssign> const& ArgLocs,
SmallVectorImpl<SDValue> const& OutVals) const;
Check whether parameters to a call that are passed in callee saved registers are the same as from the calling function. This needs to be checked for tail call eligibility.
True if arguments passed in callee-saved registers match those of the calling function.
| Name | Description |
|---|---|
| MRI | Machine register info. |
| CallerPreservedMask | Callee-saved register mask of the caller. |
| ArgLocs | Argument locations of the call. |
| OutVals | Outgoing return or argument values. |