/external/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 211 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/ |
D | MachineFunction.cpp | 497 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()
|
D | PrologEpilogInserter.cpp | 353 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/ |
D | MSP430FrameLowering.cpp | 231 unsigned StackAlign = getStackAlignment(); in eliminateCallFramePseudoInstr() local 244 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64CallingConvention.h | 48 unsigned StackAlign = State.getMachineFunction() in finishStackBlock() local 52 unsigned Align = std::min(ArgFlags.getOrigAlign(), StackAlign); in finishStackBlock()
|
D | AArch64RegisterInfo.cpp | 202 unsigned StackAlign = MF.getTarget() in needsStackRealignment() local 207 ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 361 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()
|
D | ARMISelLowering.cpp | 6168 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/ |
D | MachineFrameInfo.h | 250 explicit MachineFrameInfo(unsigned StackAlign, bool isStackRealign, in MachineFrameInfo() argument 252 : StackAlignment(StackAlign), StackRealignable(isStackRealign), in MachineFrameInfo()
|
/external/llvm/lib/Target/X86/ |
D | X86CallFrameOptimization.cpp | 174 unsigned StackAlign = TFL->getStackAlignment(); in isProfitable() local 197 if (CC.second.ExpectedDist % StackAlign) in isProfitable()
|
D | X86FrameLowering.cpp | 474 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()
|
D | X86RegisterInfo.cpp | 465 unsigned StackAlign = in needsStackRealignment() local 467 bool requiresRealignment = ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
|
D | X86InstrInfo.cpp | 2078 unsigned StackAlign = TFI->getStackAlignment(); in getSPAdjust() local 2079 int SPAdj = (MI->getOperand(0).getImm() + StackAlign - 1) / StackAlign * in getSPAdjust() 2080 StackAlign; in getSPAdjust()
|
D | X86ISelLowering.cpp | 14305 unsigned StackAlign = TFI.getStackAlignment(); in LowerDYNAMIC_STACKALLOC() local 14307 if (Align > StackAlign) in LowerDYNAMIC_STACKALLOC()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 147 unsigned StackAlign = in set() local 149 if (Align <= StackAlign) in set()
|
D | SelectionDAGBuilder.cpp | 3472 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()
|
D | LegalizeDAG.cpp | 1640 unsigned StackAlign = in ExpandDYNAMIC_STACKALLOC() local 1643 if (Align > StackAlign) in ExpandDYNAMIC_STACKALLOC()
|
D | SelectionDAG.cpp | 1810 unsigned StackAlign = in CreateStackTemporary() local 1813 int FrameIdx = FrameInfo->CreateStackObject(ByteSize, StackAlign, false); in CreateStackTemporary()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.cpp | 911 unsigned StackAlign = Subtarget.getFrameLowering()->getStackAlignment(); in needsStackRealignment() local 912 bool requiresRealignment = ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 958 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()
|