/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86DynAllocaExpander.cpp | 63 unsigned SlotSize = 0; member in __anondc6c05ef0111::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 D | X86ArgumentStackSlotRebase.cpp | 159 unsigned SlotSize = TRI->getSlotSize(); in runOnMachineFunction() local 160 int FI = MFI.CreateSpillStackObject(SlotSize, Align(SlotSize)); in runOnMachineFunction() 169 .addImm(SlotSize) in runOnMachineFunction()
|
H A D | X86FrameLowering.cpp | 55 SlotSize = TRI->getSlotSize(); in X86FrameLowering() 290 Offset = -(Offset - SlotSize); in emitSPUpdate() 292 Offset = Offset + SlotSize; in emitSPUpdate() 313 if (ThisVal == SlotSize) { in emitSPUpdate() 506 Offset += 2 * SlotSize; in emitCalleeSavedFrameMoves() 534 int64_t Offset = MFI.getObjectOffset(FI) + 2 * SlotSize; in emitCalleeSavedFrameMoves() 737 if (ChunkSize == SlotSize) { in emitStackProbeInlineGenericBlock() 1231 else if (MaxAlign < SlotSize) in calculateMaxStackAlign() 1232 MaxAlign = Align(SlotSize); in calculateMaxStackAlign() 1577 .addImm(SlotSize) in emitPrologue() [all …]
|
H A D | X86CallFrameOptimization.cpp | 123 unsigned SlotSize = 0; member in __anon1b6d6e6f0111::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 D | X86CallingConv.cpp | 304 unsigned SlotSize = Is64Bit ? 8 : 4; in CC_X86_Intr() 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() 303 unsigned SlotSize = Is64Bit ? 8 : 4; CC_X86_Intr() local
|
H A D | X86MachineFunctionInfo.cpp | 42 unsigned SlotSize = RegInfo->getSlotSize(); in setRestoreBasePointer() local 46 RestoreBasePointerOffset -= SlotSize; in setRestoreBasePointer()
|
H A D | X86RegisterInfo.h | 34 /// SlotSize - Stack slot size in bytes. 36 unsigned SlotSize; variable 173 unsigned getSlotSize() const { return SlotSize; }
|
H A D | X86FrameLowering.h | 38 unsigned SlotSize; variable
|
H A D | X86ISelLoweringCall.cpp | 1964 EVT PtrVT, unsigned SlotSize, in EmitTailCallStoreRetAddr() argument 1970 MF.getFrameInfo().CreateFixedObject(SlotSize, (int64_t)FPDiff - SlotSize, in EmitTailCallStoreRetAddr() 2623 const uint64_t SlotSize = Subtarget.getRegisterInfo()->getSlotSize(); in GetAlignedArgumentStackSize() local 2624 assert(StackSize % SlotSize == 0 && in GetAlignedArgumentStackSize() 2626 return alignTo(StackSize + SlotSize, StackAlignment) - SlotSize; in GetAlignedArgumentStackSize()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | PPC.cpp | 17 QualType Ty, CharUnits SlotSize, in complexTempStructure() argument 20 emitVoidPtrDirectVAArg(CGF, VAListAddr, CGF.Int8Ty, SlotSize * 2, in complexTempStructure() 21 SlotSize, SlotSize, /*AllowHigher*/ true); in complexTempStructure() 27 CGF.Builder.CreateConstInBoundsByteGEP(RealAddr, SlotSize - EltSize); in complexTempStructure() 29 2 * SlotSize - EltSize); in complexTempStructure() 31 ImagAddr = CGF.Builder.CreateConstInBoundsByteGEP(RealAddr, SlotSize); in complexTempStructure() 245 CharUnits SlotSize = CharUnits::fromQuantity(PtrByteSize); in EmitVAArg() local 256 if (EltSize < SlotSize) in EmitVAArg() 257 return complexTempStructure(CGF, VAListAddr, Ty, SlotSize, EltSize, CTy); in EmitVAArg() 261 SlotSize, /*AllowHigher*/ true, Slot); in EmitVAArg() [all …]
|
H A D | Sparc.cpp | 288 CharUnits SlotSize = CharUnits::fromQuantity(8); in EmitVAArg() local 292 getVAListElementType(CGF), SlotSize); in EmitVAArg() 306 Stride = SlotSize; in EmitVAArg() 307 CharUnits Offset = SlotSize - TypeInfo.Width; in EmitVAArg() 314 Stride = CharUnits::fromQuantity(AllocSize).alignTo(SlotSize); in EmitVAArg() 321 Stride = SlotSize; in EmitVAArg()
|
H A D | CSKY.cpp | 62 CharUnits SlotSize = CharUnits::fromQuantity(XLen / 8); in EmitVAArg() local 70 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, false, TInfo, SlotSize, in EmitVAArg()
|
H A D | XCore.cpp | 142 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 D | LoongArch.cpp | 422 CharUnits SlotSize = CharUnits::fromQuantity(GRLen / 8); in EmitVAArg() local 432 /*IsIndirect=*/TInfo.Width > 2 * SlotSize, TInfo, in EmitVAArg() 433 SlotSize, in EmitVAArg()
|
H A D | RISCV.cpp | 495 CharUnits SlotSize = CharUnits::fromQuantity(XLen / 8); in EmitVAArg() local 511 bool IsIndirect = TInfo.Width > 2 * SlotSize; in EmitVAArg() 513 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, IsIndirect, TInfo, SlotSize, in EmitVAArg()
|
H A D | AArch64.cpp | 708 CharUnits SlotSize = BaseAddr.getAlignment(); in EmitAAPCSVAArg() local 711 TySize < SlotSize) { in EmitAAPCSVAArg() 712 CharUnits Offset = SlotSize - TySize; in EmitAAPCSVAArg() 794 CharUnits SlotSize = CharUnits::fromQuantity(PointerSize); in EmitDarwinVAArg() local 813 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, IsIndirect, TyInfo, SlotSize, in EmitDarwinVAArg()
|
H A D | ARM.cpp | 762 CharUnits SlotSize = CharUnits::fromQuantity(4); in EmitVAArg() local 802 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, IsIndirect, TyInfo, SlotSize, in EmitVAArg()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kFrameLowering.cpp | 39 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() 525 int stackGrowth = -SlotSize; in emitPrologue() 529 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue() 533 FrameSize += SlotSize; in emitPrologue() 690 uint64_t FrameSize = StackSize - SlotSize; in emitEpilogue() [all …]
|
H A D | M68kFrameLowering.h | 35 unsigned SlotSize; variable
|
H A D | M68kISelLowering.cpp | 389 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() 1209 unsigned SlotSize = Subtarget.getSlotSize(); in GetAlignedArgumentStackSize() local 1210 if ((Offset & AlignMask) <= (StackAlignment - SlotSize)) { in GetAlignedArgumentStackSize() 1212 Offset += ((StackAlignment - SlotSize) - (Offset & AlignMask)); in GetAlignedArgumentStackSize() 1216 ((~AlignMask) & Offset) + StackAlignment + (StackAlignment - SlotSize); in GetAlignedArgumentStackSize()
|
H A D | M68kISelLowering.h | 218 EVT PtrVT, unsigned SlotSize, int FPDiff,
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ABIInfoImpl.cpp | 171 CharUnits DirectAlign, CharUnits SlotSize, in emitVoidPtrDirectVAArg() argument 182 if (AllowHigherAlign && DirectAlign > SlotSize) { in emitVoidPtrDirectVAArg() 186 Addr = Address(Ptr, CGF.Int8Ty, SlotSize); in emitVoidPtrDirectVAArg() 190 CharUnits FullDirectSize = DirectSize.alignTo(SlotSize); in emitVoidPtrDirectVAArg() 197 if (DirectSize < SlotSize && CGF.CGM.getDataLayout().isBigEndian() && in emitVoidPtrDirectVAArg() 199 Addr = CGF.Builder.CreateConstInBoundsByteGEP(Addr, SlotSize - DirectSize); in emitVoidPtrDirectVAArg()
|
H A D | ABIInfoImpl.h | 95 CharUnits DirectAlign, CharUnits SlotSize,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVFrameLowering.cpp | 84 int64_t SlotSize = STI.getXLen() / 8; in emitSCSPrologue() local 91 .addImm(SlotSize) in emitSCSPrologue() 96 .addImm(-SlotSize) in emitSCSPrologue() 104 char Offset = static_cast<char>(-SlotSize) & 0x7f; in emitSCSPrologue() 144 int64_t SlotSize = STI.getXLen() / 8; in emitSCSEpilogue() local 151 .addImm(-SlotSize) in emitSCSEpilogue() 156 .addImm(-SlotSize) in emitSCSEpilogue()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | NumericalStabilitySanitizer.cpp | 728 TypeSize SlotSize = DL.getTypeStoreSize(ExtendedVT); in createShadowArguments() local 729 assert(!SlotSize.isScalable() && "unsupported"); in createShadowArguments() 730 ShadowArgsOffsetBytes += SlotSize; in createShadowArguments() 824 TypeSize SlotSize = DL.getTypeStoreSize(ExtendedVT); in populateShadowStack() local 825 assert(!SlotSize.isScalable() && "unsupported"); in populateShadowStack() 826 ShadowArgsOffsetBytes += SlotSize; in populateShadowStack() 1781 TypeSize SlotSize = DL.getTypeStoreSize(VT); in propagateNonFTStore() local 1782 assert(!SlotSize.isScalable() && "unsupported"); in propagateNonFTStore() 1783 const auto LoadSizeBytes = SlotSize.getFixedValue(); in propagateNonFTStore()
|