Home
last modified time | relevance | path

Searched refs:StackAlign (Results 1 – 25 of 71) sorted by relevance

123

/external/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp210 unsigned StackAlign; in calculateFrameObjectOffsets() local
213 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
215 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
219 StackAlign = std::max(StackAlign, MaxAlign); in calculateFrameObjectOffsets()
220 unsigned AlignMask = StackAlign - 1; in calculateFrameObjectOffsets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp230 unsigned StackAlign; in calculateFrameObjectOffsets() local
233 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
235 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
239 StackAlign = std::max(StackAlign, MaxAlign); in calculateFrameObjectOffsets()
240 unsigned AlignMask = StackAlign - 1; in calculateFrameObjectOffsets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86WinCOFFTargetStreamer.cpp50 StackAlign, enumerator
248 Inst.Op = FPOInstruction::StackAlign; in emitFPOStackAlign()
279 unsigned StackAlign = 0; member
321 assert((StackAlign == 0 || FrameReg != 0) && in emitFrameDataRecord()
323 StringRef CFAVar = StackAlign == 0 ? "$T0" : "$T1"; in emitFrameDataRecord()
334 if (StackAlign) { in emitFrameDataRecord()
336 << StackAlign << " @ = "; in emitFrameDataRecord()
425 case FPOInstruction::StackAlign: in emitFPOData()
427 FSM.StackAlign = Inst.RegOrOffset; in emitFPOData()
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86WinCOFFTargetStreamer.cpp50 StackAlign, enumerator
248 Inst.Op = FPOInstruction::StackAlign; in emitFPOStackAlign()
279 unsigned StackAlign = 0; member
321 assert((StackAlign == 0 || FrameReg != 0) && in emitFrameDataRecord()
323 StringRef CFAVar = StackAlign == 0 ? "$T0" : "$T1"; in emitFrameDataRecord()
334 if (StackAlign) { in emitFrameDataRecord()
336 << StackAlign << " @ = "; in emitFrameDataRecord()
425 case FPOInstruction::StackAlign: in emitFPOData()
427 FSM.StackAlign = Inst.RegOrOffset; in emitFPOData()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineFrameInfo.cpp173 unsigned StackAlign; in estimateStackSize() local
176 StackAlign = TFI->getStackAlignment(); in estimateStackSize()
178 StackAlign = TFI->getTransientStackAlignment(); in estimateStackSize()
182 StackAlign = std::max(StackAlign, MaxAlign); in estimateStackSize()
183 unsigned AlignMask = StackAlign - 1; in estimateStackSize()
DPrologEpilogInserter.cpp438 unsigned StackAlign = TFI->getStackAlignment(); in assignCalleeSavedSpillSlots() local
443 Align = std::min(Align, StackAlign); in assignCalleeSavedSpillSlots()
1071 unsigned StackAlign; in calculateFrameObjectOffsets() local
1074 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
1076 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
1080 StackAlign = std::max(StackAlign, MaxAlign); in calculateFrameObjectOffsets()
1081 Offset = alignTo(Offset, StackAlign, Skew); in calculateFrameObjectOffsets()
/external/llvm-project/llvm/lib/CodeGen/
DMachineFrameInfo.cpp174 Align StackAlign; in estimateStackSize() local
177 StackAlign = TFI->getStackAlign(); in estimateStackSize()
179 StackAlign = TFI->getTransientStackAlign(); in estimateStackSize()
183 StackAlign = std::max(StackAlign, MaxAlign); in estimateStackSize()
184 return alignTo(Offset, StackAlign); in estimateStackSize()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp230 Align StackAlign; in calculateFrameObjectOffsets() local
233 StackAlign = TFI.getStackAlign(); in calculateFrameObjectOffsets()
235 StackAlign = TFI.getTransientStackAlign(); in calculateFrameObjectOffsets()
239 Offset = alignTo(Offset, std::max(StackAlign, MaxAlign)); in calculateFrameObjectOffsets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVFrameLowering.cpp51 unsigned StackAlign = getStackAlignment(); in determineFrameLayout() local
53 unsigned MaxStackAlign = std::max(StackAlign, MFI.getMaxAlignment()); in determineFrameLayout()
54 FrameSize += (MaxStackAlign - StackAlign); in determineFrameLayout()
55 StackAlign = MaxStackAlign; in determineFrameLayout()
59 uint64_t MaxCallSize = alignTo(MFI.getMaxCallFrameSize(), StackAlign); in determineFrameLayout()
63 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
467 uint64_t StackAlign = getStackAlignment(); in getFirstSPAdjustAmount() local
483 return 2048 - StackAlign; in getFirstSPAdjustAmount()
/external/llvm/lib/CodeGen/
DMachineFunction.cpp572 unsigned StackAlign) { in clampStackAlignment() argument
573 if (!ShouldClamp || Align <= StackAlign) in clampStackAlignment()
576 << " exceeds the stack alignment " << StackAlign in clampStackAlignment()
578 return StackAlign; in clampStackAlignment()
706 unsigned StackAlign; in estimateStackSize() local
709 StackAlign = TFI->getStackAlignment(); in estimateStackSize()
711 StackAlign = TFI->getTransientStackAlignment(); in estimateStackSize()
715 StackAlign = std::max(StackAlign, MaxAlign); in estimateStackSize()
716 unsigned AlignMask = StackAlign - 1; in estimateStackSize()
DPrologEpilogInserter.cpp376 unsigned StackAlign = TFI->getStackAlignment(); in assignCalleeSavedSpillSlots() local
381 Align = std::min(Align, StackAlign); in assignCalleeSavedSpillSlots()
946 unsigned StackAlign; in calculateFrameObjectOffsets() local
949 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
951 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
955 StackAlign = std::max(StackAlign, MaxAlign); in calculateFrameObjectOffsets()
956 Offset = alignTo(Offset, StackAlign, Skew); in calculateFrameObjectOffsets()
/external/llvm-project/llvm/lib/Target/Lanai/
DLanaiFrameLowering.cpp35 Align StackAlign = in determineFrameLayout() local
44 MaxCallFrameSize = alignTo(MaxCallFrameSize, StackAlign); in determineFrameLayout()
54 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
/external/llvm/lib/Target/Lanai/
DLanaiFrameLowering.cpp36 unsigned StackAlign = LRI->needsStackRealignment(MF) ? MFI->getMaxAlignment() in determineFrameLayout() local
45 MaxCallFrameSize = alignTo(MaxCallFrameSize, StackAlign); in determineFrameLayout()
55 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiFrameLowering.cpp35 unsigned StackAlign = LRI->needsStackRealignment(MF) ? MFI.getMaxAlignment() in determineFrameLayout() local
44 MaxCallFrameSize = alignTo(MaxCallFrameSize, StackAlign); in determineFrameLayout()
54 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
/external/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp231 unsigned StackAlign = getStackAlignment(); in eliminateCallFramePseudoInstr() local
244 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp230 unsigned StackAlign = getStackAlignment(); in eliminateCallFramePseudoInstr() local
243 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr()
/external/llvm-project/llvm/include/llvm/Support/
DRISCVAttributes.h37 enum StackAlign { ALIGN_4 = 4, ALIGN_16 = 16 }; enum
/external/llvm/lib/Target/AArch64/
DAArch64CallingConvention.h48 unsigned StackAlign = in finishStackBlock() local
50 unsigned Align = std::min(ArgFlags.getOrigAlign(), StackAlign); in finishStackBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CallingConvention.cpp43 const Align StackAlign = in finishStackBlock() local
46 const Align Align = std::min(OrigAlign, StackAlign); in finishStackBlock()
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVFrameLowering.cpp244 Align StackAlign = getStackAlign(); in determineFrameLayout() local
246 Align MaxStackAlign = std::max(StackAlign, MFI.getMaxAlign()); in determineFrameLayout()
247 FrameSize += (MaxStackAlign.value() - StackAlign.value()); in determineFrameLayout()
248 StackAlign = MaxStackAlign; in determineFrameLayout()
252 uint64_t MaxCallSize = alignTo(MFI.getMaxCallFrameSize(), StackAlign); in determineFrameLayout()
256 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64CallingConvention.cpp91 const Align StackAlign = in finishStackBlock() local
94 const Align Alignment = std::min(OrigAlign, StackAlign); in finishStackBlock()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp133 const Align StackAlign = TFI->getStackAlign(); in set() local
151 std::max(std::min(TyPrefAlign, StackAlign), SpecifiedAlign); in set()
157 (TFI->isStackRealignable() || (Alignment <= StackAlign))) { in set()
193 Alignment <= StackAlign ? Align(1) : Alignment, AI); in set()
/external/llvm-project/llvm/unittests/Support/
DRISCVAttributeParserTest.cpp56 TEST(StackAlign, testAttribute) { in TEST() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMCallingConv.cpp196 unsigned StackAlign = DL.getStackAlignment().value(); in CC_ARM_AAPCS_Custom_Aggregate() local
197 unsigned Align = std::min(PendingMembers[0].getExtraInfo(), StackAlign); in CC_ARM_AAPCS_Custom_Aggregate()
/external/llvm/lib/Target/ARM/
DARMCallingConv.h203 unsigned StackAlign = DL.getStackAlignment(); in CC_ARM_AAPCS_Custom_Aggregate() local
204 unsigned Align = std::min(PendingMembers[0].getExtraInfo(), StackAlign); in CC_ARM_AAPCS_Custom_Aggregate()

123