Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86WinAllocaExpander.cpp63 unsigned SlotSize = 0; member in __anon7a9e085d0111::X86WinAllocaExpander
213 assert(SlotSize == 4 || SlotSize == 8); in lower()
217 assert(Amount >= SlotSize); in lower()
223 Amount -= SlotSize; in lower()
232 if (Amount == SlotSize) { in lower()
283 SlotSize = TRI->getSlotSize(); in runOnMachineFunction()
H A DX86FrameLowering.cpp51 SlotSize = TRI->getSlotSize(); in X86FrameLowering()
267 Offset = -(Offset - SlotSize); in emitSPUpdate()
269 Offset = Offset + SlotSize; in emitSPUpdate()
290 if (ThisVal == SlotSize) { in emitSPUpdate()
1055 else if (MaxAlign < SlotSize) in calculateMaxStackAlign()
1056 MaxAlign = Align(SlotSize); in calculateMaxStackAlign()
1395 if (HasFP) MinSize += SlotSize; in emitPrologue()
1425 int stackGrowth = -SlotSize; in emitPrologue()
1449 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue()
1452 FrameSize += SlotSize; in emitPrologue()
[all …]
H A DX86CallFrameOptimization.cpp123 unsigned SlotSize = 0; member in __anond7603cda0111::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 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 DX86MachineFunctionInfo.cpp22 unsigned SlotSize = RegInfo->getSlotSize(); in setRestoreBasePointer() local
26 RestoreBasePointerOffset -= SlotSize; in setRestoreBasePointer()
H A DX86RegisterInfo.h36 unsigned SlotSize; variable
146 unsigned getSlotSize() const { return SlotSize; } in getSlotSize()
H A DX86FrameLowering.h37 unsigned SlotSize; variable
H A DX86RegisterInfo.cpp61 SlotSize = 8; in X86RegisterInfo()
70 SlotSize = 4; in X86RegisterInfo()
H A DX86ISelLowering.cpp3884 EVT PtrVT, unsigned SlotSize, in EmitTailCallStoreRetAddr() argument
3890 MF.getFrameInfo().CreateFixedObject(SlotSize, (int64_t)FPDiff - SlotSize, in EmitTailCallStoreRetAddr()
4533 const uint64_t SlotSize = Subtarget.getRegisterInfo()->getSlotSize(); in GetAlignedArgumentStackSize() local
4534 assert(StackSize % SlotSize == 0 && in GetAlignedArgumentStackSize()
4536 return alignTo(StackSize + SlotSize, StackAlignment) - SlotSize; in GetAlignedArgumentStackSize()
4929 unsigned SlotSize = RegInfo->getSlotSize(); in getReturnAddressFrameIndex() local
4930 ReturnAddrIndex = MF.getFrameInfo().CreateFixedObject(SlotSize, in getReturnAddressFrameIndex()
4931 -(int64_t)SlotSize, in getReturnAddressFrameIndex()
26658 unsigned SlotSize = RegInfo->getSlotSize(); in LowerFRAMEADDR() local
26660 SlotSize, /*SPOffset=*/0, /*IsImmutable=*/false); in LowerFRAMEADDR()
/netbsd-src/external/apache2/llvm/dist/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.cpp336 unsigned SlotSize = Subtarget.getSlotSize(); in getReturnAddressFrameIndex() local
338 SlotSize, -(int64_t)SlotSize, false); in getReturnAddressFrameIndex()
360 EVT PtrVT, unsigned SlotSize, int FPDiff, const SDLoc &DL) const { in EmitTailCallStoreRetAddr() argument
366 SlotSize, (int64_t)FPDiff - SlotSize, false); in EmitTailCallStoreRetAddr()
1147 unsigned SlotSize = Subtarget.getSlotSize(); in GetAlignedArgumentStackSize() local
1148 if ((Offset & AlignMask) <= (StackAlignment - SlotSize)) { in GetAlignedArgumentStackSize()
1150 Offset += ((StackAlignment - SlotSize) - (Offset & AlignMask)); in GetAlignedArgumentStackSize()
1154 ((~AlignMask) & Offset) + StackAlignment + (StackAlignment - SlotSize); in GetAlignedArgumentStackSize()
H A DM68kISelLowering.h190 EVT PtrVT, unsigned SlotSize, int FPDiff,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp63 int64_t SlotSize = STI.getXLen() / 8; in emitSCSPrologue() local
74 .addImm(SlotSize); in emitSCSPrologue()
111 int64_t SlotSize = STI.getXLen() / 8; in emitSCSEpilogue() local
118 .addImm(-SlotSize); in emitSCSEpilogue()
122 .addImm(-SlotSize); in emitSCSEpilogue()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DTargetInfo.cpp314 CharUnits SlotSize, in emitVoidPtrDirectVAArg() argument
325 if (AllowHigherAlign && DirectAlign > SlotSize) { in emitVoidPtrDirectVAArg()
329 Addr = Address(Ptr, SlotSize); in emitVoidPtrDirectVAArg()
333 CharUnits FullDirectSize = DirectSize.alignTo(SlotSize); in emitVoidPtrDirectVAArg()
340 if (DirectSize < SlotSize && CGF.CGM.getDataLayout().isBigEndian() && in emitVoidPtrDirectVAArg()
342 Addr = CGF.Builder.CreateConstInBoundsByteGEP(Addr, SlotSize - DirectSize); in emitVoidPtrDirectVAArg()
4578 CharUnits SlotSize = CharUnits::fromQuantity(PtrByteSize); in EmitVAArg() local
4581 SlotSize, /*AllowHigher*/ true); in EmitVAArg()
4697 CharUnits SlotSize = CharUnits::fromQuantity(4); in EmitVAArg() local
4699 classifyArgumentType(Ty).isIndirect(), TI, SlotSize, in EmitVAArg()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp1255 uint64_t SlotSize = MF.getDataLayout().getPointerSize(); in getReturnAddressFrameIndex() local
1256 ReturnAddrIndex = MF.getFrameInfo().CreateFixedObject(SlotSize, -SlotSize, in getReturnAddressFrameIndex()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp1697 unsigned SlotSize = SlotVT.getSizeInBits(); in EmitStackConvert() local
1703 if ((SrcSize > SlotSize && in EmitStackConvert()
1705 (SlotSize < DestSize && in EmitStackConvert()
1723 if (SrcSize > SlotSize) in EmitStackConvert()
1727 assert(SrcSize == SlotSize && "Invalid store"); in EmitStackConvert()
1733 if (SlotSize == DestSize) in EmitStackConvert()
1736 assert(SlotSize < DestSize && "Unknown extension!"); in EmitStackConvert()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp4952 int SlotSize = isPPC64 ? 8 : 4; in EmitTailCallStoreFPAndRetAddr() local
4954 int NewRetAddr = MF.getFrameInfo().CreateFixedObject(SlotSize, in EmitTailCallStoreFPAndRetAddr()