Lines Matching defs:StackSize
589 uint64_t StackSize = RealStackSize - RVFI->getReservedSpillsSize();
605 StackSize = FirstSPAdjustAmount;
615 uint64_t Spimm = std::min(alignDown(StackSize, 16), (uint64_t)48);
617 StackSize -= Spimm;
620 if (StackSize != 0) {
623 StackOffset::getFixed(-StackSize), MachineInstr::FrameSetup,
694 // Emit ".cfi_def_cfa_offset StackSize"
707 // Emit .cfi_def_cfa_expression "sp + StackSize + RVVStackSize * vlenb".
799 uint64_t StackSize = RealStackSize - RVFI->getReservedSpillsSize();
838 StackSize = FirstSPAdjustAmount;
846 uint64_t Spimm = std::min(alignDown(StackSize, 16), (uint64_t)48);
848 StackSize -= Spimm;
852 if (StackSize != 0) {
853 RI->adjustReg(MBB, MBBI, DL, SPReg, SPReg, StackOffset::getFixed(StackSize),
1107 uint64_t StackSize = Offset;
1108 if (auto AlignmentPadding = offsetToAlignment(StackSize, RVVStackAlign)) {
1109 StackSize += AlignmentPadding;
1114 return std::make_pair(StackSize, RVVStackAlign);
1335 uint64_t StackSize = getStackSizeWithRVVPadding(MF);
1343 // Return the FirstSPAdjustAmount if the StackSize can not fit in a signed
1345 if (!isInt<12>(StackSize) && (CSI.size() > 0)) {
1369 // Compared with amount (2048 - StackAlign), StackSize needs to
1372 // StackSize meets the condition (StackSize <= 2048 + RVCompressLen),
1376 if (StackSize <= 2047 + CompressLen ||
1377 (StackSize > 2048 * 2 - StackAlign &&
1378 StackSize <= 2047 * 2 + CompressLen) ||
1379 StackSize > 2048 * 3 - StackAlign)