| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86DynAllocaExpander.cpp | 61 unsigned SlotSize = 0; member in __anondc6c05ef0111::X86DynAllocaExpander 214 assert(SlotSize == 4 || SlotSize == 8); in lower() 224 assert(Amount >= SlotSize); in lower() 230 Amount -= SlotSize; in lower() 239 if (Amount == SlotSize) { in lower() 289 SlotSize = TRI->getSlotSize(); in runOnMachineFunction()
|
| H A D | X86ArgumentStackSlotRebase.cpp | 154 unsigned SlotSize = TRI->getSlotSize(); in runOnMachineFunction() local 155 int FI = MFI.CreateSpillStackObject(SlotSize, Align(SlotSize)); in runOnMachineFunction() 164 .addImm(SlotSize) in runOnMachineFunction()
|
| H A D | X86FrameLowering.cpp | 54 SlotSize = TRI->getSlotSize(); in X86FrameLowering() 301 Offset = -(Offset - SlotSize); in emitSPUpdate() 303 Offset = Offset + SlotSize; in emitSPUpdate() 325 if (ThisVal == SlotSize) { in emitSPUpdate() 541 Offset += 2 * SlotSize; in emitCalleeSavedFrameMoves() 569 int64_t Offset = MFI.getObjectOffset(FI) + 2 * SlotSize; in emitCalleeSavedFrameMoves() 772 if (ChunkSize == SlotSize) { in emitStackProbeInlineGenericBlock() 1292 else if (MaxAlign < SlotSize) in calculateMaxStackAlign() 1293 MaxAlign = Align(SlotSize); in calculateMaxStackAlign() 1638 .addImm(SlotSize) in emitPrologue() [all …]
|
| H A D | X86CallFrameOptimization.cpp | 123 unsigned SlotSize = 0; member in __anon1b6d6e6f0111::X86CallFrameOptimization 243 SlotSize = RegInfo.getSlotSize(); in runOnMachineFunction() 244 assert(isPowerOf2_32(SlotSize) && "Expect power of 2 stack slot size"); in runOnMachineFunction() 245 Log2SlotSize = Log2_32(SlotSize); in runOnMachineFunction() 439 if (StackDisp & (SlotSize - 1)) in collectCallInfo() 474 for (; MMI != MME; ++MMI, Context.ExpectedDist += SlotSize) in collectCallInfo() 574 MCCFIInstruction::createAdjustCfaOffset(nullptr, SlotSize)); in adjustCallSequence()
|
| H A D | X86MachineFunctionInfo.cpp | 42 unsigned SlotSize = RegInfo->getSlotSize(); in setRestoreBasePointer() local 46 RestoreBasePointerOffset -= SlotSize; in setRestoreBasePointer()
|
| H A D | X86CallingConv.cpp | 303 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 D | X86RegisterInfo.h | 40 unsigned SlotSize; variable 172 unsigned getSlotSize() const { return SlotSize; } in getSlotSize()
|
| H A D | X86FrameLowering.h | 38 unsigned SlotSize; variable
|
| /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() 249 CharUnits SlotSize = CharUnits::fromQuantity(PtrByteSize); in EmitVAArg() local 260 if (EltSize < SlotSize) in EmitVAArg() 261 return complexTempStructure(CGF, VAListAddr, Ty, SlotSize, EltSize, CTy); in EmitVAArg() 265 SlotSize, /*AllowHigher*/ true, Slot); in EmitVAArg() [all …]
|
| 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 | Sparc.cpp | 313 CharUnits SlotSize = CharUnits::fromQuantity(8); in EmitVAArg() local 321 /*IsIndirect=*/TInfo.Width > 2 * SlotSize, TInfo, in EmitVAArg() 322 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 | 426 CharUnits SlotSize = CharUnits::fromQuantity(GRLen / 8); in EmitVAArg() local 436 /*IsIndirect=*/TInfo.Width > 2 * SlotSize, TInfo, in EmitVAArg() 437 SlotSize, in EmitVAArg()
|
| H A D | RISCV.cpp | 753 CharUnits SlotSize = CharUnits::fromQuantity(XLen / 8); in EmitVAArg() local 769 bool IsIndirect = TInfo.Width > 2 * SlotSize; in EmitVAArg() 771 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, IsIndirect, TInfo, SlotSize, in EmitVAArg()
|
| H A D | AArch64.cpp | 1041 CharUnits SlotSize = BaseAddr.getAlignment(); in EmitAAPCSVAArg() local 1044 TySize < SlotSize) { in EmitAAPCSVAArg() 1045 CharUnits Offset = SlotSize - TySize; in EmitAAPCSVAArg() 1127 CharUnits SlotSize = CharUnits::fromQuantity(PointerSize); in EmitDarwinVAArg() local 1146 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, IsIndirect, TyInfo, SlotSize, in EmitDarwinVAArg()
|
| H A D | ARM.cpp | 800 CharUnits SlotSize = CharUnits::fromQuantity(4); in EmitVAArg() local 842 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, IsIndirect, TyInfo, SlotSize, in EmitVAArg()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kFrameLowering.cpp | 41 SlotSize = STI.getSlotSize(); in M68kFrameLowering() 106 return StackOffset::getFixed(Offset + SlotSize); in getFrameIndexReference() 115 return StackOffset::getFixed(Offset + SlotSize); in getFrameIndexReference() 126 Offset += SlotSize; in getFrameIndexReference() 193 else if (MaxAlign < SlotSize) in calculateMaxStackAlign() 194 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.h | 149 EVT PtrVT, unsigned SlotSize, int FPDiff,
|
| H A D | M68kISelLowering.cpp | 391 unsigned SlotSize = Subtarget.getSlotSize(); in getReturnAddressFrameIndex() local 393 SlotSize, -(int64_t)SlotSize, false); in getReturnAddressFrameIndex() 415 EVT PtrVT, unsigned SlotSize, int FPDiff, const SDLoc &DL) const { in EmitTailCallStoreRetAddr() argument 421 SlotSize, (int64_t)FPDiff - SlotSize, false); in EmitTailCallStoreRetAddr() 1211 unsigned SlotSize = Subtarget.getSlotSize(); in GetAlignedArgumentStackSize() local 1212 if ((Offset & AlignMask) <= (StackAlignment - SlotSize)) { in GetAlignedArgumentStackSize() 1214 Offset += ((StackAlignment - SlotSize) - (Offset & AlignMask)); in GetAlignedArgumentStackSize() 1218 ((~AlignMask) & Offset) + StackAlignment + (StackAlignment - SlotSize); in GetAlignedArgumentStackSize()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFMIPeephole.cpp | 637 unsigned SlotSize) { in computeMinFixedObjOffset() argument 646 (SlotSize + MinFixedObjOffset % SlotSize) & (SlotSize - 1); in computeMinFixedObjOffset() 654 const unsigned SlotSize = 8; in insertMissingCallerSavedSpills() local 655 int64_t MinFixedObjOffset = computeMinFixedObjOffset(MFI, SlotSize); in insertMissingCallerSavedSpills() 666 CurOffset -= SlotSize; in insertMissingCallerSavedSpills() 667 MFI.CreateFixedSpillStackObject(SlotSize, CurOffset); in insertMissingCallerSavedSpills()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ABIInfoImpl.cpp | 165 CharUnits DirectAlign, CharUnits SlotSize, in emitVoidPtrDirectVAArg() argument 176 if (AllowHigherAlign && DirectAlign > SlotSize) { in emitVoidPtrDirectVAArg() 180 Addr = Address(Ptr, CGF.Int8Ty, SlotSize); in emitVoidPtrDirectVAArg() 184 CharUnits FullDirectSize = DirectSize.alignTo(SlotSize); in emitVoidPtrDirectVAArg() 191 if (DirectSize < SlotSize && CGF.CGM.getDataLayout().isBigEndian() && in emitVoidPtrDirectVAArg() 193 Addr = CGF.Builder.CreateConstInBoundsByteGEP(Addr, SlotSize - DirectSize); in emitVoidPtrDirectVAArg()
|
| H A D | ABIInfoImpl.h | 78 CharUnits DirectAlign, CharUnits SlotSize,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | NumericalStabilitySanitizer.cpp | 782 TypeSize SlotSize = DL.getTypeStoreSize(ExtendedVT); in createShadowArguments() local 783 assert(!SlotSize.isScalable() && "unsupported"); in createShadowArguments() 784 ShadowArgsOffsetBytes += SlotSize; in createShadowArguments() 878 TypeSize SlotSize = DL.getTypeStoreSize(ExtendedVT); in populateShadowStack() local 879 assert(!SlotSize.isScalable() && "unsupported"); in populateShadowStack() 880 ShadowArgsOffsetBytes += SlotSize; in populateShadowStack() 1838 TypeSize SlotSize = DL.getTypeStoreSize(VT); in propagateNonFTStore() local 1839 assert(!SlotSize.isScalable() && "unsupported"); in propagateNonFTStore() 1840 const auto LoadSizeBytes = SlotSize.getFixedValue(); in propagateNonFTStore()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVFrameLowering.cpp | 129 int64_t SlotSize = STI.getXLen() / 8; in emitSCSPrologue() local 136 .addImm(SlotSize) in emitSCSPrologue() 141 .addImm(-SlotSize) in emitSCSPrologue() 149 char Offset = static_cast<char>(-SlotSize) & 0x7f; in emitSCSPrologue() 188 int64_t SlotSize = STI.getXLen() / 8; in emitSCSEpilogue() local 195 .addImm(-SlotSize) in emitSCSEpilogue() 200 .addImm(-SlotSize) in emitSCSEpilogue()
|