Home
last modified time | relevance | path

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

12

/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/include/llvm/
DAttributes.h147 Attributes StackAlign = A & Attribute::StackAlignment; in getStackAlignmentFromAttrs() local
148 if (StackAlign == 0) in getStackAlignmentFromAttrs()
151 return 1U << ((StackAlign >> 26) - 1); in getStackAlignmentFromAttrs()
/external/swiftshader/third_party/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/
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()
DTargetRegisterInfo.cpp373 unsigned StackAlign = TFI->getStackAlignment(); in needsStackRealignment() local
374 bool requiresRealignment = ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
/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/lib/CodeGen/
DPrologEpilogInserter.cpp271 unsigned StackAlign = TFI->getStackAlignment(); in calculateCalleeSavedRegisters() local
276 Align = std::min(Align, StackAlign); in calculateCalleeSavedRegisters()
668 unsigned StackAlign; in calculateFrameObjectOffsets() local
671 StackAlign = TFI.getStackAlignment(); in calculateFrameObjectOffsets()
673 StackAlign = TFI.getTransientStackAlignment(); in calculateFrameObjectOffsets()
677 StackAlign = std::max(StackAlign, MaxAlign); in calculateFrameObjectOffsets()
678 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/MSP430/
DMSP430FrameLowering.cpp231 unsigned StackAlign = getStackAlignment(); in eliminateCallFramePseudoInstr() local
244 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr()
/external/swiftshader/third_party/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/AArch64/
DAArch64CallingConvention.h48 unsigned StackAlign = in finishStackBlock() local
50 unsigned Align = std::min(ArgFlags.getOrigAlign(), StackAlign); in finishStackBlock()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMFrameLowering.cpp786 unsigned StackAlign; in estimateStackSize() local
789 StackAlign = TFI->getStackAlignment(); in estimateStackSize()
791 StackAlign = TFI->getTransientStackAlignment(); in estimateStackSize()
795 StackAlign = std::max(StackAlign, MaxAlign); in estimateStackSize()
796 unsigned AlignMask = StackAlign - 1; in estimateStackSize()
DARMBaseRegisterInfo.cpp655 unsigned StackAlign = MF.getTarget().getFrameLowering()->getStackAlignment(); in needsStackRealignment() local
656 bool requiresRealignment = ((MFI->getLocalFrameMaxAlign() > StackAlign) || in needsStackRealignment()
1010 unsigned StackAlign = TFI->getStackAlignment(); in needsFrameBaseReg() local
1012 !((MFI->getLocalFrameMaxAlign() > StackAlign) && canRealignStack(MF))) { in needsFrameBaseReg()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86RegisterInfo.cpp462 unsigned StackAlign = TM.getFrameLowering()->getStackAlignment(); in needsStackRealignment() local
463 bool requiresRealignment = ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
538 unsigned StackAlign = TM.getFrameLowering()->getStackAlignment(); in eliminateCallFramePseudoInstr() local
539 Amount = (Amount + StackAlign - 1) / StackAlign * StackAlign; in eliminateCallFramePseudoInstr()
DX86FrameLowering.cpp611 unsigned StackAlign = getStackAlignment(); in emitPrologue() local
623 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign; in emitPrologue()
932 unsigned StackAlign = getStackAlignment(); in emitEpilogue() local
965 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign; in emitEpilogue()
/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()
DARMBaseRegisterInfo.cpp564 unsigned StackAlign = TFI->getStackAlignment(); in needsFrameBaseReg() local
566 !((MFI->getLocalFrameMaxAlign() > StackAlign) && canRealignStack(MF))) { in needsFrameBaseReg()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp91 unsigned StackAlign = TFI->getStackAlignment(); in set() local
142 (TFI->isStackRealignable() || (Align <= StackAlign))) { in set()
167 if (Align <= StackAlign) in set()
/external/llvm/lib/Target/X86/
DX86CallFrameOptimization.cpp182 unsigned StackAlign = TFL->getStackAlignment(); in isProfitable() local
205 if (CC.ExpectedDist % StackAlign) in isProfitable()
DX86FrameLowering.cpp798 unsigned StackAlign = getStackAlignment(); in calculateMaxStackAlign() local
801 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign; in calculateMaxStackAlign()
2586 unsigned StackAlign = getStackAlignment(); in eliminateCallFramePseudoInstr() local
2587 Amount = alignTo(Amount, StackAlign); in eliminateCallFramePseudoInstr()
/external/clang/lib/CodeGen/
DTargetInfo.cpp1374 unsigned StackAlign = getTypeStackAlignInBytes(Ty, TypeAlign); in getIndirectResult() local
1375 if (StackAlign == 0) in getIndirectResult()
1380 bool Realign = TypeAlign > StackAlign; in getIndirectResult()
1381 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(StackAlign), in getIndirectResult()
1681 CharUnits StackAlign = CharUnits::fromQuantity(4); in rewriteWithInAlloca() local
1716 StackAlign); in rewriteWithInAlloca()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp3140 unsigned StackAlign = TM.getFrameLowering()->getStackAlignment(); in visitAlloca() local
3141 if (Align <= StackAlign) in visitAlloca()
3148 DAG.getIntPtrConstant(StackAlign-1)); in visitAlloca()
3153 DAG.getIntPtrConstant(~(uint64_t)(StackAlign-1))); in visitAlloca()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp2867 uint64_t StackAlign = TFI->getStackAlignment(); in lowerDYNAMIC_STACKALLOC() local
2868 uint64_t RequiredAlign = std::max(AlignVal, StackAlign); in lowerDYNAMIC_STACKALLOC()
2869 uint64_t ExtraAlignSpace = RequiredAlign - StackAlign; in lowerDYNAMIC_STACKALLOC()
2901 if (RequiredAlign > StackAlign) { in lowerDYNAMIC_STACKALLOC()

12