Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp63 unsigned SlotSize; member in __anon5a5e85f10111::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()
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 __anon778d646e0111::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()
DX86MachineFunctionInfo.cpp22 unsigned SlotSize = RegInfo->getSlotSize(); in setRestoreBasePointer() local
29 RestoreBasePointerOffset -= SlotSize; in setRestoreBasePointer()
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()
DX86ISelLowering.cpp2931 EVT PtrVT, unsigned SlotSize, in EmitTailCallStoreRetAddr() argument
2937 MF.getFrameInfo()->CreateFixedObject(SlotSize, (int64_t)FPDiff - SlotSize, in EmitTailCallStoreRetAddr()
3480 unsigned SlotSize = RegInfo->getSlotSize(); in GetAlignedArgumentStackSize() local
3481 if ( (Offset & AlignMask) <= (StackAlignment - SlotSize) ) { in GetAlignedArgumentStackSize()
3483 Offset += ((StackAlignment - SlotSize) - (Offset & AlignMask)); in GetAlignedArgumentStackSize()
3487 (StackAlignment-SlotSize); in GetAlignedArgumentStackSize()
3877 unsigned SlotSize = RegInfo->getSlotSize(); in getReturnAddressFrameIndex() local
3878 ReturnAddrIndex = MF.getFrameInfo()->CreateFixedObject(SlotSize, in getReturnAddressFrameIndex()
3879 -(int64_t)SlotSize, in getReturnAddressFrameIndex()
18602 unsigned SlotSize = RegInfo->getSlotSize(); in LowerFRAMEADDR() local
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86RegisterInfo.h43 unsigned SlotSize; variable
124 unsigned getSlotSize() const { return SlotSize; } in getSlotSize()
DX86FrameLowering.cpp612 unsigned SlotSize = RegInfo->getSlotSize(); in emitPrologue() local
624 else if (MaxAlign < SlotSize) in emitPrologue()
625 MaxAlign = SlotSize; in emitPrologue()
645 if (HasFP) MinSize += SlotSize; in emitPrologue()
685 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue()
933 unsigned SlotSize = RegInfo->getSlotSize(); in emitEpilogue() local
972 uint64_t FrameSize = StackSize - SlotSize; in emitEpilogue()
1160 unsigned SlotSize = STI.is64Bit() ? 8 : 4; in spillCalleeSavedRegisters() local
1179 CalleeFrameSize += SlotSize; in spillCalleeSavedRegisters()
1248 unsigned SlotSize = RegInfo->getSlotSize(); in processFunctionBeforeCalleeSavedScan() local
[all …]
DX86RegisterInfo.cpp68 SlotSize = 8; in X86RegisterInfo()
72 SlotSize = 4; in X86RegisterInfo()
DX86ISelLowering.cpp2023 int SlotSize = Is64Bit ? 8 : 4; in EmitTailCallStoreRetAddr() local
2025 MF.getFrameInfo()->CreateFixedObject(SlotSize, FPDiff-SlotSize, false); in EmitTailCallStoreRetAddr()
2513 uint64_t SlotSize = TD->getPointerSize(); in GetAlignedArgumentStackSize() local
2514 if ( (Offset & AlignMask) <= (StackAlignment - SlotSize) ) { in GetAlignedArgumentStackSize()
2516 Offset += ((StackAlignment - SlotSize) - (Offset & AlignMask)); in GetAlignedArgumentStackSize()
2520 (StackAlignment-SlotSize); in GetAlignedArgumentStackSize()
2911 uint64_t SlotSize = TD->getPointerSize(); in getReturnAddressFrameIndex() local
2912 ReturnAddrIndex = MF.getFrameInfo()->CreateFixedObject(SlotSize, -SlotSize, in getReturnAddressFrameIndex()
/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/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430ISelLowering.cpp887 uint64_t SlotSize = TD->getPointerSize(); in getReturnAddressFrameIndex() local
888 ReturnAddrIndex = MF.getFrameInfo()->CreateFixedObject(SlotSize, -SlotSize, in getReturnAddressFrameIndex()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp1001 uint64_t SlotSize = MF.getDataLayout().getPointerSize(); in getReturnAddressFrameIndex() local
1002 ReturnAddrIndex = MF.getFrameInfo()->CreateFixedObject(SlotSize, -SlotSize, in getReturnAddressFrameIndex()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp2040 unsigned SlotSize = SlotVT.getSizeInBits(); in EmitStackConvert() local
2049 if (SrcSize > SlotSize) in EmitStackConvert()
2053 assert(SrcSize == SlotSize && "Invalid store"); in EmitStackConvert()
2059 if (SlotSize == DestSize) in EmitStackConvert()
2063 assert(SlotSize < DestSize && "Unknown extension!"); in EmitStackConvert()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1680 unsigned SlotSize = SlotVT.getSizeInBits(); in EmitStackConvert() local
1689 if (SrcSize > SlotSize) in EmitStackConvert()
1693 assert(SrcSize == SlotSize && "Invalid store"); in EmitStackConvert()
1699 if (SlotSize == DestSize) in EmitStackConvert()
1703 assert(SlotSize < DestSize && "Unknown extension!"); in EmitStackConvert()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp2386 int SlotSize = isPPC64 ? 8 : 4; in EmitTailCallStoreFPAndRetAddr() local
2389 int NewRetAddr = MF.getFrameInfo()->CreateFixedObject(SlotSize, in EmitTailCallStoreFPAndRetAddr()
2402 int NewFPIdx = MF.getFrameInfo()->CreateFixedObject(SlotSize, NewFPLoc, in EmitTailCallStoreFPAndRetAddr()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp4189 int SlotSize = isPPC64 ? 8 : 4; in EmitTailCallStoreFPAndRetAddr() local
4191 int NewRetAddr = MF.getFrameInfo()->CreateFixedObject(SlotSize, in EmitTailCallStoreFPAndRetAddr()
4203 int NewFPIdx = MF.getFrameInfo()->CreateFixedObject(SlotSize, NewFPLoc, in EmitTailCallStoreFPAndRetAddr()