Home
last modified time | relevance | path

Searched refs:SlotSize (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86DynAllocaExpander.cpp63 unsigned SlotSize = 0; member in __anon2977b71f0111::X86DynAllocaExpander
213 assert(SlotSize == 4 || SlotSize == 8); in lower()
223 assert(Amount >= SlotSize); in lower()
229 Amount -= SlotSize; in lower()
238 if (Amount == SlotSize) { in lower()
289 SlotSize = TRI->getSlotSize(); in runOnMachineFunction()
H A DX86MachineFunctionInfo.cpp29 unsigned SlotSize = RegInfo->getSlotSize(); in setRestoreBasePointer() local
33 RestoreBasePointerOffset -= SlotSize; in setRestoreBasePointer()
H A DX86CallingConv.cpp303 unsigned SlotSize = Is64Bit ? 8 : 4; in CC_X86_Intr() local
308 Offset = State.AllocateStack(5 * SlotSize, Align(4)); in CC_X86_Intr()
313 Offset = SlotSize; in CC_X86_Intr()
319 (void)State.AllocateStack(6 * SlotSize, Align(4)); in CC_X86_Intr()
327 Offset += SlotSize; in CC_X86_Intr()
H A DX86CallFrameOptimization.cpp123 unsigned SlotSize = 0; member in __anon7c4e379f0111::X86CallFrameOptimization
244 SlotSize = RegInfo.getSlotSize(); in runOnMachineFunction()
245 assert(isPowerOf2_32(SlotSize) && "Expect power of 2 stack slot size"); in runOnMachineFunction()
246 Log2SlotSize = Log2_32(SlotSize); in runOnMachineFunction()
441 if (StackDisp & (SlotSize - 1)) in collectCallInfo()
476 for (; MMI != MME; ++MMI, Context.ExpectedDist += SlotSize) in collectCallInfo()
585 MCCFIInstruction::createAdjustCfaOffset(nullptr, SlotSize)); in adjustCallSequence()
H A DX86FrameLowering.cpp53 SlotSize = TRI->getSlotSize(); in X86FrameLowering()
302 if (ThisVal == SlotSize) { in emitSPUpdate()
1898 NoInfo, MachineMemOperand::MOLoad, SlotSize, Align(SlotSize))); in emitPrologue()
1908 SlotSize, Align(SlotSize))); in emitPrologue()
1999 SlotSize, Align(SlotSize))); in emitPrologue()
2350 Offset += SlotSize; in emitEpilogue()
2441 Offset += SlotSize; in getFrameIndexReference()
2601 int FI = MFI.CreateSpillStackObject(SlotSize, Align(SlotSize)); in assignCalleeSavedSpillSlots()
3210 unsigned MaxStack = MFI.getStackSize() + CallerStkArity*SlotSize + SlotSize; in adjustForHiPEPrologue()
3329 if (Offset % SlotSize) in adjustStackWithPops()
[all …]
H A DX86RegisterInfo.h36 unsigned SlotSize; variable
158 unsigned getSlotSize() const { return SlotSize; } in getSlotSize()
H A DX86FrameLowering.h38 unsigned SlotSize; variable
H A DX86RegisterInfo.cpp63 SlotSize = 8; in X86RegisterInfo()
72 SlotSize = 4; in X86RegisterInfo()
H A DX86ISelLowering.cpp4297 EVT PtrVT, unsigned SlotSize, in EmitTailCallStoreRetAddr() argument
4303 MF.getFrameInfo().CreateFixedObject(SlotSize, (int64_t)FPDiff - SlotSize, in EmitTailCallStoreRetAddr()
4939 const uint64_t SlotSize = Subtarget.getRegisterInfo()->getSlotSize(); in GetAlignedArgumentStackSize() local
4940 assert(StackSize % SlotSize == 0 && in GetAlignedArgumentStackSize()
4942 return alignTo(StackSize + SlotSize, StackAlignment) - SlotSize; in GetAlignedArgumentStackSize()
5365 unsigned SlotSize = RegInfo->getSlotSize(); in getReturnAddressFrameIndex() local
5366 ReturnAddrIndex = MF.getFrameInfo().CreateFixedObject(SlotSize, in getReturnAddressFrameIndex()
5367 -(int64_t)SlotSize, in getReturnAddressFrameIndex()
28194 unsigned SlotSize = RegInfo->getSlotSize(); in LowerFRAMEADDR() local
28196 SlotSize, /*SPOffset=*/0, /*IsImmutable=*/false); in LowerFRAMEADDR()
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp39 SlotSize = STI.getSlotSize(); in M68kFrameLowering()
104 return StackOffset::getFixed(Offset + SlotSize); in getFrameIndexReference()
113 return StackOffset::getFixed(Offset + SlotSize); in getFrameIndexReference()
124 Offset += SlotSize; in getFrameIndexReference()
191 else if (MaxAlign < SlotSize) in calculateMaxStackAlign()
192 MaxAlign = SlotSize; in calculateMaxStackAlign()
528 int stackGrowth = -SlotSize; in emitPrologue()
532 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue()
536 FrameSize += SlotSize; in emitPrologue()
697 uint64_t FrameSize = StackSize - SlotSize; in emitEpilogue()
[all …]
H A DM68kFrameLowering.h35 unsigned SlotSize; variable
H A DM68kISelLowering.h193 EVT PtrVT, unsigned SlotSize, int FPDiff,
H A DM68kISelLowering.cpp339 unsigned SlotSize = Subtarget.getSlotSize(); in getReturnAddressFrameIndex() local
341 SlotSize, -(int64_t)SlotSize, false); in getReturnAddressFrameIndex()
363 EVT PtrVT, unsigned SlotSize, int FPDiff, const SDLoc &DL) const { in EmitTailCallStoreRetAddr() argument
369 SlotSize, (int64_t)FPDiff - SlotSize, false); in EmitTailCallStoreRetAddr()
1153 unsigned SlotSize = Subtarget.getSlotSize(); in GetAlignedArgumentStackSize() local
1154 if ((Offset & AlignMask) <= (StackAlignment - SlotSize)) { in GetAlignedArgumentStackSize()
1156 Offset += ((StackAlignment - SlotSize) - (Offset & AlignMask)); in GetAlignedArgumentStackSize()
1160 ((~AlignMask) & Offset) + StackAlignment + (StackAlignment - SlotSize); in GetAlignedArgumentStackSize()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DTargetInfo.cpp336 if (AllowHigherAlign && DirectAlign > SlotSize) { in emitVoidPtrDirectVAArg()
340 Addr = Address(Ptr, CGF.Int8Ty, SlotSize); in emitVoidPtrDirectVAArg()
409 SlotSize, SlotSize, /*AllowHigher*/ true); in complexTempStructure()
4690 if (EltSize < SlotSize) in EmitVAArg()
5466 if (EltSize < SlotSize) in EmitVAArg()
6161 TySize < SlotSize) { in EmitAAPCSVAArg()
6162 CharUnits Offset = SlotSize - TySize; in EmitAAPCSVAArg()
9842 Stride = SlotSize; in EmitVAArg()
9857 Stride = SlotSize; in EmitVAArg()
10232 ArgSize = ArgSize.alignTo(SlotSize); in EmitVAArg()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp65 int64_t SlotSize = STI.getXLen() / 8; in emitSCSPrologue() local
77 .addImm(SlotSize) in emitSCSPrologue()
115 int64_t SlotSize = STI.getXLen() / 8; in emitSCSEpilogue() local
122 .addImm(-SlotSize) in emitSCSEpilogue()
127 .addImm(-SlotSize) in emitSCSEpilogue()
/llvm-project-15.0.7/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp1257 uint64_t SlotSize = PtrVT.getStoreSize(); in getReturnAddressFrameIndex() local
1258 ReturnAddrIndex = MF.getFrameInfo().CreateFixedObject(SlotSize, -SlotSize, in getReturnAddressFrameIndex()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp5007 int SlotSize = isPPC64 ? 8 : 4; in EmitTailCallStoreFPAndRetAddr() local
5009 int NewRetAddr = MF.getFrameInfo().CreateFixedObject(SlotSize, in EmitTailCallStoreFPAndRetAddr()