Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp63 unsigned SlotSize; member in __anon579a29550111::X86WinAllocaExpander
214 assert(SlotSize == 4 || SlotSize == 8); in lower()
215 unsigned RegA = (SlotSize == 8) ? X86::RAX : X86::EAX; in lower()
219 assert(Amount >= SlotSize); in lower()
224 Amount -= SlotSize; in lower()
232 if (Amount == SlotSize) { in lower()
288 SlotSize = TRI->getSlotSize(); in runOnMachineFunction()
DX86FrameLowering.cpp44 SlotSize = TRI->getSlotSize(); in X86FrameLowering()
298 Offset = -(Offset - SlotSize); in emitSPUpdate()
300 Offset = Offset + SlotSize; in emitSPUpdate()
321 if (ThisVal == SlotSize) { in emitSPUpdate()
853 else if (MaxAlign < SlotSize) in calculateMaxStackAlign()
854 MaxAlign = SlotSize; in calculateMaxStackAlign()
1041 if (HasFP) MinSize += SlotSize; in emitPrologue()
1071 int stackGrowth = -SlotSize; in emitPrologue()
1095 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue()
1098 FrameSize += SlotSize; in emitPrologue()
[all …]
DX86MachineFunctionInfo.cpp23 unsigned SlotSize = RegInfo->getSlotSize(); in setRestoreBasePointer() local
27 RestoreBasePointerOffset -= SlotSize; in setRestoreBasePointer()
DX86CallFrameOptimization.cpp130 unsigned SlotSize; member in __anon26f419d20111::X86CallFrameOptimization
242 SlotSize = RegInfo.getSlotSize(); in runOnMachineFunction()
243 assert(isPowerOf2_32(SlotSize) && "Expect power of 2 stack slot size"); in runOnMachineFunction()
244 Log2SlotSize = Log2_32(SlotSize); in runOnMachineFunction()
439 if (StackDisp & (SlotSize - 1)) in collectCallInfo()
474 for (; MMI != MME; ++MMI, Context.ExpectedDist += SlotSize) in collectCallInfo()
581 MCCFIInstruction::createAdjustCfaOffset(nullptr, SlotSize)); in adjustCallSequence()
DX86RegisterInfo.h37 unsigned SlotSize; variable
142 unsigned getSlotSize() const { return SlotSize; } in getSlotSize()
DX86FrameLowering.h37 unsigned SlotSize; variable
DX86RegisterInfo.cpp60 SlotSize = 8; in X86RegisterInfo()
69 SlotSize = 4; in X86RegisterInfo()
/external/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp63 unsigned SlotSize; member in __anonb33718fd0111::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 __anone1509d7a0111::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()
/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-7.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp1225 uint64_t SlotSize = MF.getDataLayout().getPointerSize(); in getReturnAddressFrameIndex() local
1226 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-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1706 unsigned SlotSize = SlotVT.getSizeInBits(); in EmitStackConvert() local
1715 if (SrcSize > SlotSize) in EmitStackConvert()
1719 assert(SrcSize == SlotSize && "Invalid store"); in EmitStackConvert()
1725 if (SlotSize == DestSize) in EmitStackConvert()
1728 assert(SlotSize < DestSize && "Unknown extension!"); in EmitStackConvert()

12