Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DynAllocaExpander.cpp63 unsigned SlotSize = 0; member in __anonf8573de50111::X86DynAllocaExpander
211 assert(SlotSize == 4 || SlotSize == 8); in lower()
221 assert(Amount >= SlotSize); in lower()
227 Amount -= SlotSize; in lower()
236 if (Amount == SlotSize) { in lower()
286 SlotSize = TRI->getSlotSize(); in runOnMachineFunction()
H A DX86ArgumentStackSlotRebase.cpp159 unsigned SlotSize = TRI->getSlotSize(); in runOnMachineFunction() local
160 int FI = MFI.CreateSpillStackObject(SlotSize, Align(SlotSize)); in runOnMachineFunction()
169 .addImm(SlotSize) in runOnMachineFunction()
H A DX86FrameLowering.cpp54 SlotSize = TRI->getSlotSize(); in X86FrameLowering()
1558 .addImm(SlotSize) in emitPrologue()
1655 MinSize += SlotSize; in emitPrologue()
2010 NoInfo, MachineMemOperand::MOLoad, SlotSize, Align(SlotSize))); in emitPrologue()
2020 SlotSize, Align(SlotSize))); in emitPrologue()
2111 SlotSize, Align(SlotSize))); in emitPrologue()
2606 Offset += SlotSize; in getFrameIndexReference()
2766 int FI = MFI.CreateSpillStackObject(SlotSize, Align(SlotSize)); in assignCalleeSavedSpillSlots()
3479 unsigned MaxStack = MFI.getStackSize() + CallerStkArity * SlotSize + SlotSize; in adjustForHiPEPrologue()
3603 if (Offset % SlotSize) in adjustStackWithPops()
[all …]
H A DX86MachineFunctionInfo.cpp29 unsigned SlotSize = RegInfo->getSlotSize(); in setRestoreBasePointer() local
33 RestoreBasePointerOffset -= SlotSize; in setRestoreBasePointer()
H A DX86CallingConv.cpp304 unsigned SlotSize = Is64Bit ? 8 : 4; in CC_X86_Intr() local
309 Offset = State.AllocateStack(5 * SlotSize, Align(4)); in CC_X86_Intr()
314 Offset = SlotSize; in CC_X86_Intr()
320 (void)State.AllocateStack(6 * SlotSize, Align(4)); in CC_X86_Intr()
328 Offset += SlotSize; in CC_X86_Intr()
H A DX86CallFrameOptimization.cpp123 unsigned SlotSize = 0; member in __anon297fb1650111::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()
576 MCCFIInstruction::createAdjustCfaOffset(nullptr, SlotSize)); in adjustCallSequence()
H A DX86RegisterInfo.h36 unsigned SlotSize; variable
173 unsigned getSlotSize() const { return SlotSize; } in getSlotSize()
H A DX86FrameLowering.h38 unsigned SlotSize; variable
H A DX86ISelLoweringCall.cpp1950 EVT PtrVT, unsigned SlotSize, in EmitTailCallStoreRetAddr() argument
1956 MF.getFrameInfo().CreateFixedObject(SlotSize, (int64_t)FPDiff - SlotSize, in EmitTailCallStoreRetAddr()
2600 const uint64_t SlotSize = Subtarget.getRegisterInfo()->getSlotSize(); in GetAlignedArgumentStackSize() local
2601 assert(StackSize % SlotSize == 0 && in GetAlignedArgumentStackSize()
2603 return alignTo(StackSize + SlotSize, StackAlignment) - SlotSize; in GetAlignedArgumentStackSize()
H A DX86RegisterInfo.cpp63 SlotSize = 8; in X86RegisterInfo()
72 SlotSize = 4; in X86RegisterInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DPPC.cpp16 QualType Ty, CharUnits SlotSize, in complexTempStructure() argument
19 emitVoidPtrDirectVAArg(CGF, VAListAddr, CGF.Int8Ty, SlotSize * 2, in complexTempStructure()
20 SlotSize, SlotSize, /*AllowHigher*/ true); in complexTempStructure()
30 ImagAddr = CGF.Builder.CreateConstInBoundsByteGEP(RealAddr, SlotSize); in complexTempStructure()
244 CharUnits SlotSize = CharUnits::fromQuantity(PtrByteSize); in EmitVAArg() local
255 if (EltSize < SlotSize) in EmitVAArg()
260 SlotSize, /*AllowHigher*/ true); in EmitVAArg()
376 CharUnits SlotSize = CharUnits::fromQuantity(4); in EmitVAArg() local
906 CharUnits SlotSize = CharUnits::fromQuantity(8); in EmitVAArg() local
916 if (EltSize < SlotSize) in EmitVAArg()
[all …]
H A DSparc.cpp284 CharUnits SlotSize = CharUnits::fromQuantity(8); in EmitVAArg() local
288 getVAListElementType(CGF), SlotSize); in EmitVAArg()
302 Stride = SlotSize; in EmitVAArg()
303 CharUnits Offset = SlotSize - TypeInfo.Width; in EmitVAArg()
310 Stride = CharUnits::fromQuantity(AllocSize).alignTo(SlotSize); in EmitVAArg()
317 Stride = SlotSize; in EmitVAArg()
H A DCSKY.cpp62 CharUnits SlotSize = CharUnits::fromQuantity(XLen / 8); in EmitVAArg() local
67 CGF.ConvertTypeForMem(Ty), SlotSize); in EmitVAArg()
72 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, false, TInfo, SlotSize, in EmitVAArg()
H A DAArch64.cpp522 CharUnits SlotSize = CharUnits::fromQuantity(PointerSize); in EmitAAPCSVAArg() local
525 return Address(Load, CGF.ConvertTypeForMem(Ty), SlotSize); in EmitAAPCSVAArg()
690 CharUnits SlotSize = BaseAddr.getAlignment(); in EmitAAPCSVAArg() local
693 TySize < SlotSize) { in EmitAAPCSVAArg()
694 CharUnits Offset = SlotSize - TySize; in EmitAAPCSVAArg()
779 CharUnits SlotSize = CharUnits::fromQuantity(PointerSize); in EmitDarwinVAArg() local
784 CGF.ConvertTypeForMem(Ty), SlotSize); in EmitDarwinVAArg()
800 TyInfo, SlotSize, /*AllowHigherAlign*/ true); in EmitDarwinVAArg()
H A DLoongArch.cpp422 CharUnits SlotSize = CharUnits::fromQuantity(GRLen / 8); in EmitVAArg() local
427 CGF.ConvertTypeForMem(Ty), SlotSize); in EmitVAArg()
433 /*IsIndirect=*/TInfo.Width > 2 * SlotSize, TInfo, in EmitVAArg()
434 SlotSize, in EmitVAArg()
H A DRISCV.cpp488 CharUnits SlotSize = CharUnits::fromQuantity(XLen / 8); in EmitVAArg() local
493 CGF.ConvertTypeForMem(Ty), SlotSize); in EmitVAArg()
506 bool IsIndirect = TInfo.Width > 2 * SlotSize; in EmitVAArg()
509 SlotSize, /*AllowHigherAlign=*/true); in EmitVAArg()
H A DXCore.cpp142 CharUnits SlotSize = CharUnits::fromQuantity(4); in EmitVAArg() local
144 getVAListElementType(CGF), SlotSize); in EmitVAArg()
170 ArgSize = ArgSize.alignTo(SlotSize); in EmitVAArg()
176 ArgSize = SlotSize; in EmitVAArg()
H A DARM.cpp764 CharUnits SlotSize = CharUnits::fromQuantity(4); in EmitVAArg() local
770 return Address(Load, CGF.ConvertTypeForMem(Ty), SlotSize); in EmitVAArg()
808 SlotSize, /*AllowHigherAlign*/ true); in EmitVAArg()
/freebsd-14.2/contrib/llvm-project/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()
693 uint64_t FrameSize = StackSize - SlotSize; in emitEpilogue()
[all …]
H A DM68kFrameLowering.h35 unsigned SlotSize; variable
H A DM68kISelLowering.h218 EVT PtrVT, unsigned SlotSize, int FPDiff,
H A DM68kISelLowering.cpp389 unsigned SlotSize = Subtarget.getSlotSize(); in getReturnAddressFrameIndex() local
391 SlotSize, -(int64_t)SlotSize, false); in getReturnAddressFrameIndex()
413 EVT PtrVT, unsigned SlotSize, int FPDiff, const SDLoc &DL) const { in EmitTailCallStoreRetAddr() argument
419 SlotSize, (int64_t)FPDiff - SlotSize, false); in EmitTailCallStoreRetAddr()
1208 unsigned SlotSize = Subtarget.getSlotSize(); in GetAlignedArgumentStackSize() local
1209 if ((Offset & AlignMask) <= (StackAlignment - SlotSize)) { in GetAlignedArgumentStackSize()
1211 Offset += ((StackAlignment - SlotSize) - (Offset & AlignMask)); in GetAlignedArgumentStackSize()
1215 ((~AlignMask) & Offset) + StackAlignment + (StackAlignment - SlotSize); in GetAlignedArgumentStackSize()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfoImpl.cpp168 CharUnits DirectAlign, CharUnits SlotSize, in emitVoidPtrDirectVAArg() argument
179 if (AllowHigherAlign && DirectAlign > SlotSize) { in emitVoidPtrDirectVAArg()
183 Addr = Address(Ptr, CGF.Int8Ty, SlotSize); in emitVoidPtrDirectVAArg()
187 CharUnits FullDirectSize = DirectSize.alignTo(SlotSize); in emitVoidPtrDirectVAArg()
194 if (DirectSize < SlotSize && CGF.CGM.getDataLayout().isBigEndian() && in emitVoidPtrDirectVAArg()
196 Addr = CGF.Builder.CreateConstInBoundsByteGEP(Addr, SlotSize - DirectSize); in emitVoidPtrDirectVAArg()
H A DABIInfoImpl.h95 CharUnits DirectAlign, CharUnits SlotSize,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp73 int64_t SlotSize = STI.getXLen() / 8; in emitSCSPrologue() local
80 .addImm(SlotSize) in emitSCSPrologue()
85 .addImm(-SlotSize) in emitSCSPrologue()
93 char Offset = static_cast<char>(-SlotSize) & 0x7f; in emitSCSPrologue()
128 int64_t SlotSize = STI.getXLen() / 8; in emitSCSEpilogue() local
135 .addImm(-SlotSize) in emitSCSEpilogue()
140 .addImm(-SlotSize) in emitSCSEpilogue()

12