Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp63 unsigned SlotSize; member in __anonf218f6140111::X86WinAllocaExpander
213 assert(SlotSize == 4 || SlotSize == 8); in lower()
214 unsigned RegA = (SlotSize == 8) ? X86::RAX : X86::EAX; in lower()
218 assert(Amount >= SlotSize); in lower()
223 Amount -= SlotSize; in lower()
230 if (Amount == SlotSize) { in lower()
278 SlotSize = TRI->getSlotSize(); in runOnMachineFunction()
DX86MachineFunctionInfo.cpp22 unsigned SlotSize = RegInfo->getSlotSize(); in setRestoreBasePointer() local
29 RestoreBasePointerOffset -= SlotSize; in setRestoreBasePointer()
DX86FrameLowering.cpp44 SlotSize = TRI->getSlotSize(); in X86FrameLowering()
802 else if (MaxAlign < SlotSize) in calculateMaxStackAlign()
803 MaxAlign = SlotSize; in calculateMaxStackAlign()
973 if (HasFP) MinSize += SlotSize; in emitPrologue()
1003 int stackGrowth = -SlotSize; in emitPrologue()
1025 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue()
1028 FrameSize += SlotSize; in emitPrologue()
1229 NoInfo, MachineMemOperand::MOLoad, SlotSize, SlotSize)); in emitPrologue()
1239 SlotSize, SlotSize)); in emitPrologue()
1321 SlotSize, SlotSize)); in emitPrologue()
[all …]
DX86CallFrameOptimization.cpp109 unsigned SlotSize; member in __anon49792e110111::X86CallFrameOptimization
224 SlotSize = RegInfo.getSlotSize(); in runOnMachineFunction()
225 assert(isPowerOf2_32(SlotSize) && "Expect power of 2 stack slot size"); in runOnMachineFunction()
226 Log2SlotSize = Log2_32(SlotSize); in runOnMachineFunction()
399 if (StackDisp & (SlotSize - 1)) in collectCallInfo()
434 for (; MMI != MME; ++MMI, Context.ExpectedDist += SlotSize) in collectCallInfo()
535 MCCFIInstruction::createAdjustCfaOffset(nullptr, SlotSize)); in adjustCallSequence()
DX86RegisterInfo.h37 unsigned SlotSize; variable
137 unsigned getSlotSize() const { return SlotSize; } in getSlotSize()
DX86FrameLowering.h36 unsigned SlotSize; variable
DX86RegisterInfo.cpp65 SlotSize = 8; in X86RegisterInfo()
74 SlotSize = 4; in X86RegisterInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp62 unsigned SlotSize = 0; member in __anon0ac03af60111::X86WinAllocaExpander
212 assert(SlotSize == 4 || SlotSize == 8); in lower()
216 assert(Amount >= SlotSize); in lower()
222 Amount -= SlotSize; in lower()
231 if (Amount == SlotSize) { in lower()
282 SlotSize = TRI->getSlotSize(); in runOnMachineFunction()
DX86MachineFunctionInfo.cpp22 unsigned SlotSize = RegInfo->getSlotSize(); in setRestoreBasePointer() local
26 RestoreBasePointerOffset -= SlotSize; in setRestoreBasePointer()
DX86FrameLowering.cpp43 SlotSize = TRI->getSlotSize(); in X86FrameLowering()
298 Offset = -(Offset - SlotSize); in emitSPUpdate()
300 Offset = Offset + SlotSize; in emitSPUpdate()
321 if (ThisVal == SlotSize) { in emitSPUpdate()
854 else if (MaxAlign < SlotSize) in calculateMaxStackAlign()
855 MaxAlign = SlotSize; in calculateMaxStackAlign()
1043 if (HasFP) MinSize += SlotSize; in emitPrologue()
1073 int stackGrowth = -SlotSize; in emitPrologue()
1097 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue()
1100 FrameSize += SlotSize; in emitPrologue()
[all …]
DX86CallingConv.cpp303 unsigned SlotSize = Is64Bit ? 8 : 4; in CC_X86_Intr() local
308 Offset = State.AllocateStack(5 * SlotSize, 4); in CC_X86_Intr()
313 Offset = SlotSize; in CC_X86_Intr()
319 (void)State.AllocateStack(6 * SlotSize, 4); in CC_X86_Intr()
327 Offset += SlotSize; in CC_X86_Intr()
DX86CallFrameOptimization.cpp122 unsigned SlotSize = 0; member in __anon3c1c13f30111::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()
583 MCCFIInstruction::createAdjustCfaOffset(nullptr, SlotSize)); in adjustCallSequence()
DX86RegisterInfo.h36 unsigned SlotSize; variable
147 unsigned getSlotSize() const { return SlotSize; } in getSlotSize()
DX86FrameLowering.h36 unsigned SlotSize; variable
DX86RegisterInfo.cpp59 SlotSize = 8; in X86RegisterInfo()
68 SlotSize = 4; in X86RegisterInfo()
/external/llvm-project/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp63 unsigned SlotSize = 0; member in __anon0907c4620111::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()
DX86MachineFunctionInfo.cpp22 unsigned SlotSize = RegInfo->getSlotSize(); in setRestoreBasePointer() local
26 RestoreBasePointerOffset -= SlotSize; in setRestoreBasePointer()
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()
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()
1036 else if (MaxAlign < SlotSize) in calculateMaxStackAlign()
1037 MaxAlign = Align(SlotSize); in calculateMaxStackAlign()
1361 if (HasFP) MinSize += SlotSize; in emitPrologue()
1391 int stackGrowth = -SlotSize; in emitPrologue()
1415 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue()
1418 FrameSize += SlotSize; in emitPrologue()
[all …]
DX86CallFrameOptimization.cpp123 unsigned SlotSize = 0; member in __anonbca2735f0111::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()
DX86RegisterInfo.h36 unsigned SlotSize; variable
146 unsigned getSlotSize() const { return SlotSize; } in getSlotSize()
DX86FrameLowering.h37 unsigned SlotSize; variable
/external/llvm-project/llvm/lib/Target/RISCV/
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()
/external/clang/lib/CodeGen/
DTargetInfo.cpp276 CharUnits SlotSize, in emitVoidPtrDirectVAArg() argument
287 if (AllowHigherAlign && DirectAlign > SlotSize) { in emitVoidPtrDirectVAArg()
291 Addr = Address(Ptr, SlotSize); in emitVoidPtrDirectVAArg()
295 CharUnits FullDirectSize = DirectSize.alignTo(SlotSize); in emitVoidPtrDirectVAArg()
303 if (DirectSize < SlotSize && CGF.CGM.getDataLayout().isBigEndian() && in emitVoidPtrDirectVAArg()
305 Addr = CGF.Builder.CreateConstInBoundsByteGEP(Addr, SlotSize - DirectSize); in emitVoidPtrDirectVAArg()
4341 CharUnits SlotSize = CharUnits::fromQuantity(8); in EmitVAArg() local
4351 if (EltSize < SlotSize) { in EmitVAArg()
4353 SlotSize * 2, SlotSize, in EmitVAArg()
4354 SlotSize, /*AllowHigher*/ true); in EmitVAArg()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp312 CharUnits SlotSize, in emitVoidPtrDirectVAArg() argument
323 if (AllowHigherAlign && DirectAlign > SlotSize) { in emitVoidPtrDirectVAArg()
327 Addr = Address(Ptr, SlotSize); in emitVoidPtrDirectVAArg()
331 CharUnits FullDirectSize = DirectSize.alignTo(SlotSize); in emitVoidPtrDirectVAArg()
338 if (DirectSize < SlotSize && CGF.CGM.getDataLayout().isBigEndian() && in emitVoidPtrDirectVAArg()
340 Addr = CGF.Builder.CreateConstInBoundsByteGEP(Addr, SlotSize - DirectSize); in emitVoidPtrDirectVAArg()
4582 CharUnits SlotSize = CharUnits::fromQuantity(PtrByteSize); in EmitVAArg() local
4585 SlotSize, /*AllowHigher*/ true); in EmitVAArg()
4701 CharUnits SlotSize = CharUnits::fromQuantity(4); in EmitVAArg() local
4703 classifyArgumentType(Ty).isIndirect(), TI, SlotSize, in EmitVAArg()
[all …]

12