Home | History | Annotate | Download | only in X86

Lines Matching refs:Amount

52   /// Get the appropriate lowering based on current offset and amount.
78 /// Return the allocation amount for a WinAlloca instruction, or -1 if unknown.
102 // For a non-constant amount or a large amount, we have to probe.
162 int64_t Amount = getWinAllocaAmount(&MI, MRI);
163 Lowering L = getLowering(Offset, Amount);
167 Offset += Amount;
170 Offset = Amount;
195 static unsigned getSubOpcode(bool Is64Bit, int64_t Amount) {
197 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32;
198 return isInt<8>(Amount) ? X86::SUB32ri8 : X86::SUB32ri;
206 int64_t Amount = getWinAllocaAmount(MI, MRI);
207 if (Amount == 0) {
218 assert(Amount >= SlotSize);
223 Amount -= SlotSize;
224 if (!Amount)
229 assert(Amount > 0);
230 if (Amount == SlotSize) {
236 BuildMI(*MBB, I, DL, TII->get(getSubOpcode(Is64Bit, Amount)), StackPtr)
238 .addImm(Amount);
242 // The probe lowering expects the amount in RAX/EAX.