Home
last modified time | relevance | path

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

/external/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp211 unsigned StackAlign; in calculateFrameObjectOffsets() local
214 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
216 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
220 StackAlign = std::max(StackAlign, MaxAlign); in calculateFrameObjectOffsets()
221 unsigned AlignMask = StackAlign - 1; in calculateFrameObjectOffsets()
/external/llvm/lib/CodeGen/
DMachineFunction.cpp497 unsigned StackAlign) { in clampStackAlignment() argument
498 if (!ShouldClamp || Align <= StackAlign) in clampStackAlignment()
501 << " exceeds the stack alignment " << StackAlign in clampStackAlignment()
503 return StackAlign; in clampStackAlignment()
649 unsigned StackAlign; in estimateStackSize() local
652 StackAlign = TFI->getStackAlignment(); in estimateStackSize()
654 StackAlign = TFI->getTransientStackAlignment(); in estimateStackSize()
658 StackAlign = std::max(StackAlign, MaxAlign); in estimateStackSize()
659 unsigned AlignMask = StackAlign - 1; in estimateStackSize()
DPrologEpilogInserter.cpp353 unsigned StackAlign = TFI->getStackAlignment(); in calculateCalleeSavedRegisters() local
358 Align = std::min(Align, StackAlign); in calculateCalleeSavedRegisters()
697 unsigned StackAlign; in calculateFrameObjectOffsets() local
700 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
702 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
706 StackAlign = std::max(StackAlign, MaxAlign); in calculateFrameObjectOffsets()
707 Offset = RoundUpToAlignment(Offset, StackAlign); in calculateFrameObjectOffsets()
/external/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp231 unsigned StackAlign = getStackAlignment(); in eliminateCallFramePseudoInstr() local
244 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr()
/external/llvm/lib/Target/AArch64/
DAArch64CallingConvention.h48 unsigned StackAlign = State.getMachineFunction() in finishStackBlock() local
52 unsigned Align = std::min(ArgFlags.getOrigAlign(), StackAlign); in finishStackBlock()
DAArch64RegisterInfo.cpp202 unsigned StackAlign = MF.getTarget() in needsStackRealignment() local
207 ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp361 unsigned StackAlign = in needsStackRealignment() local
363 bool requiresRealignment = ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
546 unsigned StackAlign = TFI->getStackAlignment(); in needsFrameBaseReg() local
548 !((MFI->getLocalFrameMaxAlign() > StackAlign) && canRealignStack(MF))) { in needsFrameBaseReg()
DARMISelLowering.cpp6168 const unsigned StackAlign = TLI.getDataLayout()->getPrefTypeAlignment(RetTy); in LowerFSINCOS() local
6169 int FrameIdx = FrameInfo->CreateStackObject(ByteSize, StackAlign, false); in LowerFSINCOS()
/external/llvm/include/llvm/CodeGen/
DMachineFrameInfo.h250 explicit MachineFrameInfo(unsigned StackAlign, bool isStackRealign, in MachineFrameInfo() argument
252 : StackAlignment(StackAlign), StackRealignable(isStackRealign), in MachineFrameInfo()
/external/llvm/lib/Target/X86/
DX86CallFrameOptimization.cpp174 unsigned StackAlign = TFL->getStackAlignment(); in isProfitable() local
197 if (CC.second.ExpectedDist % StackAlign) in isProfitable()
DX86FrameLowering.cpp474 unsigned StackAlign = STI.getFrameLowering()->getStackAlignment(); in calculateMaxStackAlign() local
477 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign; in calculateMaxStackAlign()
2001 unsigned StackAlign = getStackAlignment(); in eliminateCallFramePseudoInstr() local
2002 Amount = RoundUpToAlignment(Amount, StackAlign); in eliminateCallFramePseudoInstr()
DX86RegisterInfo.cpp465 unsigned StackAlign = in needsStackRealignment() local
467 bool requiresRealignment = ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
DX86InstrInfo.cpp2078 unsigned StackAlign = TFI->getStackAlignment(); in getSPAdjust() local
2079 int SPAdj = (MI->getOperand(0).getImm() + StackAlign - 1) / StackAlign * in getSPAdjust()
2080 StackAlign; in getSPAdjust()
DX86ISelLowering.cpp14305 unsigned StackAlign = TFI.getStackAlignment(); in LowerDYNAMIC_STACKALLOC() local
14307 if (Align > StackAlign) in LowerDYNAMIC_STACKALLOC()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp147 unsigned StackAlign = in set() local
149 if (Align <= StackAlign) in set()
DSelectionDAGBuilder.cpp3472 unsigned StackAlign = in visitAlloca() local
3474 if (Align <= StackAlign) in visitAlloca()
3481 DAG.getIntPtrConstant(StackAlign-1)); in visitAlloca()
3486 DAG.getIntPtrConstant(~(uint64_t)(StackAlign-1))); in visitAlloca()
DLegalizeDAG.cpp1640 unsigned StackAlign = in ExpandDYNAMIC_STACKALLOC() local
1643 if (Align > StackAlign) in ExpandDYNAMIC_STACKALLOC()
DSelectionDAG.cpp1810 unsigned StackAlign = in CreateStackTemporary() local
1813 int FrameIdx = FrameInfo->CreateStackObject(ByteSize, StackAlign, false); in CreateStackTemporary()
/external/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp911 unsigned StackAlign = Subtarget.getFrameLowering()->getStackAlignment(); in needsStackRealignment() local
912 bool requiresRealignment = ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
/external/clang/lib/CodeGen/
DTargetInfo.cpp958 unsigned StackAlign = getTypeStackAlignInBytes(Ty, TypeAlign); in getIndirectResult() local
959 if (StackAlign == 0) in getIndirectResult()
964 bool Realign = TypeAlign > StackAlign; in getIndirectResult()
965 return ABIArgInfo::getIndirect(StackAlign, /*ByVal=*/true, Realign); in getIndirectResult()