Home | History | Annotate | Download | only in X86

Lines Matching refs:Amount

52   /// Get the appropriate lowering based on current offset and amount.
79 /// Return the allocation amount for a WinAlloca instruction, or -1 if unknown.
103 // For a non-constant amount or a large amount, we have to probe.
163 int64_t Amount = getWinAllocaAmount(&MI, MRI);
164 Lowering L = getLowering(Offset, Amount);
168 Offset += Amount;
171 Offset = Amount;
196 static unsigned getSubOpcode(bool Is64Bit, int64_t Amount) {
198 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32;
199 return isInt<8>(Amount) ? X86::SUB32ri8 : X86::SUB32ri;
207 int64_t Amount = getWinAllocaAmount(MI, MRI);
208 if (Amount == 0) {
219 assert(Amount >= SlotSize);
224 Amount -= SlotSize;
225 if (!Amount)
231 assert(Amount > 0);
232 if (Amount == SlotSize) {
238 BuildMI(*MBB, I, DL, TII->get(getSubOpcode(Is64Bit, Amount)), StackPtr)
240 .addImm(Amount);
245 // The probe lowering expects the amount in RAX/EAX.