Lines Matching refs:FreeRegs

1088   unsigned FreeRegs = 0;  member
1467 if (State.FreeRegs) { in getIndirectReturnResult()
1468 --State.FreeRegs; in getIndirectReturnResult()
1617 if (State.FreeRegs) { in getIndirectResult()
1618 --State.FreeRegs; // Non-byval indirects just use one pointer. in getIndirectResult()
1665 if (SizeInRegs > State.FreeRegs) { in updateFreeRegs()
1666 State.FreeRegs = 0; in updateFreeRegs()
1674 if (SizeInRegs > State.FreeRegs || SizeInRegs > 2) in updateFreeRegs()
1678 State.FreeRegs -= SizeInRegs; in updateFreeRegs()
1703 if (getContext().getTypeSize(Ty) <= 32 && State.FreeRegs) in shouldAggregateUseDirect()
1837 if (TI.Width <= 4 * 32 && (!IsMCUABI || State.FreeRegs == 0) && in classifyArgumentType()
1901 State.FreeRegs = 3; in computeInfo()
1903 State.FreeRegs = 2; in computeInfo()
1906 State.FreeRegs = 2; in computeInfo()
1909 State.FreeRegs = FI.getRegParm(); in computeInfo()
1911 State.FreeRegs = 5; in computeInfo()
1916 State.FreeRegs = DefaultNumRegisterParameters; in computeInfo()
1919 State.FreeRegs = DefaultNumRegisterParameters; in computeInfo()
1926 if (State.FreeRegs) { in computeInfo()
1927 --State.FreeRegs; // The sret parameter consumes a register. in computeInfo()
1935 ++State.FreeRegs; in computeInfo()
8547 State.FreeRegs = FI.getRegParm(); in computeInfo()
8549 State.FreeRegs = 4; in computeInfo()
8570 if (SizeInRegs > State.FreeRegs) { in shouldUseInReg()
8571 State.FreeRegs = 0; in shouldUseInReg()
8575 State.FreeRegs -= SizeInRegs; in shouldUseInReg()
8583 if (State.FreeRegs) { in getIndirectResult()
8584 --State.FreeRegs; // Non-byval indirects just use one pointer. in getIndirectResult()
8622 if (SizeInRegs <= State.FreeRegs) { in classifyArgumentType()
8626 State.FreeRegs -= SizeInRegs; in classifyArgumentType()
8629 State.FreeRegs = 0; in classifyArgumentType()
9500 if (!State.FreeRegs) in updateState()
9503 State.FreeRegs--; in updateState()
9506 if (sz < State.FreeRegs) in updateState()
9507 State.FreeRegs -= sz; in updateState()
9509 State.FreeRegs = 0; in updateState()
9516 State.FreeRegs = 8; in computeInfo()
9522 I.info = classifyArgumentType(I.type, State.FreeRegs); in computeInfo()
9529 ABIArgInfo classifyArgumentType(QualType Ty, uint8_t FreeRegs) const;
9561 uint8_t FreeRegs) const { in classifyArgumentType()
9567 return getIndirectByRef(Ty, FreeRegs > 0); in classifyArgumentType()
9594 return FreeRegs >= SizeInRegs ? in classifyArgumentType()
9604 ? (FreeRegs >= SizeInRegs ? ABIArgInfo::getExtendInReg(Ty) in classifyArgumentType()
9606 : (FreeRegs >= SizeInRegs ? ABIArgInfo::getDirectInReg() in classifyArgumentType()