Home
last modified time | relevance | path

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

/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/llvm/lib/CodeGen/
DMachineFunction.cpp501 unsigned StackAlign) { in clampStackAlignment() argument
502 if (!ShouldClamp || Align <= StackAlign) in clampStackAlignment()
505 << " exceeds the stack alignment " << StackAlign in clampStackAlignment()
507 return StackAlign; in clampStackAlignment()
570 unsigned StackAlign = getFrameLowering()->getStackAlignment(); in CreateFixedObject() local
571 unsigned Align = MinAlign(SPOffset, StackAlign); in CreateFixedObject()
585 unsigned StackAlign = getFrameLowering()->getStackAlignment(); in CreateFixedSpillStackObject() local
586 unsigned Align = MinAlign(SPOffset, StackAlign); in CreateFixedSpillStackObject()
660 unsigned StackAlign; in estimateStackSize() local
663 StackAlign = TFI->getStackAlignment(); in estimateStackSize()
[all …]
DPrologEpilogInserter.cpp304 unsigned StackAlign = TFI->getStackAlignment(); in calculateCalleeSavedRegisters() local
309 Align = std::min(Align, StackAlign); in calculateCalleeSavedRegisters()
648 unsigned StackAlign; in calculateFrameObjectOffsets() local
651 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
653 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
657 StackAlign = std::max(StackAlign, MaxAlign); in calculateFrameObjectOffsets()
658 unsigned AlignMask = StackAlign - 1; in calculateFrameObjectOffsets()
/external/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp230 unsigned StackAlign = getStackAlignment(); in eliminateCallFramePseudoInstr() local
243 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp368 unsigned StackAlign = MF.getTarget().getFrameLowering()->getStackAlignment(); in needsStackRealignment() local
370 ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
559 unsigned StackAlign = TFI->getStackAlignment(); in needsFrameBaseReg() local
561 !((MFI->getLocalFrameMaxAlign() > StackAlign) && canRealignStack(MF))) { in needsFrameBaseReg()
DARMISelLowering.cpp6095 const unsigned StackAlign = TLI.getDataLayout()->getPrefTypeAlignment(RetTy); in LowerFSINCOS() local
6096 int FrameIdx = FrameInfo->CreateStackObject(ByteSize, StackAlign, false); in LowerFSINCOS()
/external/llvm/lib/Target/X86/
DX86FrameLowering.cpp461 unsigned StackAlign = getStackAlignment(); in emitPrologue() local
474 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign; in emitPrologue()
847 unsigned StackAlign = getStackAlignment(); in emitEpilogue() local
882 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign; in emitEpilogue()
1685 unsigned StackAlign = in eliminateCallFramePseudoInstr() local
1687 Amount = (Amount + StackAlign - 1) / StackAlign * StackAlign; in eliminateCallFramePseudoInstr()
DX86RegisterInfo.cpp444 unsigned StackAlign = MF.getTarget().getFrameLowering()->getStackAlignment(); in needsStackRealignment() local
446 ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
DX86ISelLowering.cpp13147 unsigned StackAlign = TFI.getStackAlignment(); in LowerDYNAMIC_STACKALLOC() local
13149 if (Align > StackAlign) in LowerDYNAMIC_STACKALLOC()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp109 unsigned StackAlign = TM.getFrameLowering()->getStackAlignment(); in set() local
110 if (Align <= StackAlign) in set()
DSelectionDAGBuilder.cpp3433 unsigned StackAlign = TM.getFrameLowering()->getStackAlignment(); in visitAlloca() local
3434 if (Align <= StackAlign) in visitAlloca()
3441 DAG.getIntPtrConstant(StackAlign-1)); in visitAlloca()
3446 DAG.getIntPtrConstant(~(uint64_t)(StackAlign-1))); in visitAlloca()
DLegalizeDAG.cpp1626 unsigned StackAlign = TM.getFrameLowering()->getStackAlignment(); in ExpandDYNAMIC_STACKALLOC() local
1628 if (Align > StackAlign) in ExpandDYNAMIC_STACKALLOC()
DSelectionDAG.cpp1766 unsigned StackAlign = in CreateStackTemporary() local
1769 int FrameIdx = FrameInfo->CreateStackObject(ByteSize, StackAlign, false); in CreateStackTemporary()
/external/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp871 unsigned StackAlign = MF.getTarget().getFrameLowering()->getStackAlignment(); in needsStackRealignment() local
873 ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
/external/clang/lib/CodeGen/
DTargetInfo.cpp802 unsigned StackAlign = getTypeStackAlignInBytes(Ty, TypeAlign); in getIndirectResult() local
803 if (StackAlign == 0) in getIndirectResult()
808 bool Realign = TypeAlign > StackAlign; in getIndirectResult()
809 return ABIArgInfo::getIndirect(StackAlign, /*ByVal=*/true, Realign); in getIndirectResult()