Home
last modified time | relevance | path

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

/external/llvm/include/llvm/
DAttributes.h148 Attributes StackAlign = A & Attribute::StackAlignment; in getStackAlignmentFromAttrs() local
149 if (StackAlign == 0) in getStackAlignmentFromAttrs()
152 return 1U << ((StackAlign >> 26) - 1); in getStackAlignmentFromAttrs()
/external/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp38 StackAlign = TM.getFrameLowering()->getStackAlignment(); in MSP430RegisterInfo()
119 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr()
DMSP430RegisterInfo.h34 unsigned StackAlign; member
/external/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp268 unsigned StackAlign = TFI->getStackAlignment(); in calculateCalleeSavedRegisters() local
273 Align = std::min(Align, StackAlign); in calculateCalleeSavedRegisters()
665 unsigned StackAlign; in calculateFrameObjectOffsets() local
668 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
670 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
674 StackAlign = std::max(StackAlign, MaxAlign); in calculateFrameObjectOffsets()
675 unsigned AlignMask = StackAlign - 1; in calculateFrameObjectOffsets()
DMachineFunction.cpp445 unsigned StackAlign = TFI.getStackAlignment(); in CreateFixedObject() local
446 unsigned Align = MinAlign(SPOffset, StackAlign); in CreateFixedObject()
/external/llvm/lib/Target/Mips/
DMipsFrameLowering.cpp155 unsigned StackAlign = getStackAlignment(); in emitPrologue() local
159 unsigned StackSize = AlignOffset(LocalVarAreaOffset, StackAlign) + in emitPrologue()
160 AlignOffset(MFI->getStackSize(), StackAlign); in emitPrologue()
/external/llvm/lib/Target/ARM/
DARMFrameLowering.cpp775 unsigned StackAlign; in estimateStackSize() local
778 StackAlign = TFI->getStackAlignment(); in estimateStackSize()
780 StackAlign = TFI->getTransientStackAlignment(); in estimateStackSize()
784 StackAlign = std::max(StackAlign, MaxAlign); in estimateStackSize()
785 unsigned AlignMask = StackAlign - 1; in estimateStackSize()
DARMBaseRegisterInfo.cpp635 unsigned StackAlign = MF.getTarget().getFrameLowering()->getStackAlignment(); in needsStackRealignment() local
636 bool requiresRealignment = ((MFI->getLocalFrameMaxAlign() > StackAlign) || in needsStackRealignment()
1064 unsigned StackAlign = TFI->getStackAlignment(); in needsFrameBaseReg() local
1066 !((MFI->getLocalFrameMaxAlign() > StackAlign) && canRealignStack(MF))) { in needsFrameBaseReg()
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp439 unsigned StackAlign = TM.getFrameLowering()->getStackAlignment(); in needsStackRealignment() local
440 bool requiresRealignment = ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
515 unsigned StackAlign = TM.getFrameLowering()->getStackAlignment(); in eliminateCallFramePseudoInstr() local
516 Amount = (Amount + StackAlign - 1) / StackAlign * StackAlign; in eliminateCallFramePseudoInstr()
DX86FrameLowering.cpp369 unsigned StackAlign = getStackAlignment(); in emitPrologue() local
382 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign; in emitPrologue()
663 unsigned StackAlign = getStackAlignment(); in emitEpilogue() local
696 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign; in emitEpilogue()
/external/clang/lib/CodeGen/
DTargetInfo.cpp651 unsigned StackAlign = getTypeStackAlignInBytes(Ty, TypeAlign); in getIndirectResult() local
652 if (StackAlign == 0) in getIndirectResult()
657 if (StackAlign < TypeAlign) in getIndirectResult()
658 return ABIArgInfo::getIndirect(StackAlign, /*ByVal=*/true, in getIndirectResult()
661 return ABIArgInfo::getIndirect(StackAlign); in getIndirectResult()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp3059 unsigned StackAlign = TM.getFrameLowering()->getStackAlignment(); in visitAlloca() local
3060 if (Align <= StackAlign) in visitAlloca()
3067 DAG.getIntPtrConstant(StackAlign-1)); in visitAlloca()
3072 DAG.getIntPtrConstant(~(uint64_t)(StackAlign-1))); in visitAlloca()
DLegalizeDAG.cpp1923 unsigned StackAlign = TM.getFrameLowering()->getStackAlignment(); in ExpandDYNAMIC_STACKALLOC() local
1924 if (Align > StackAlign) in ExpandDYNAMIC_STACKALLOC()
DSelectionDAG.cpp1436 unsigned StackAlign = in CreateStackTemporary() local
1439 int FrameIdx = FrameInfo->CreateStackObject(ByteSize, StackAlign, false); in CreateStackTemporary()