/external/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 210 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/ |
D | Attributes.h | 147 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/ |
D | MSP430RegisterInfo.cpp | 38 StackAlign = TM.getFrameLowering()->getStackAlignment(); in MSP430RegisterInfo() 119 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr()
|
D | MSP430RegisterInfo.h | 34 unsigned StackAlign; member
|
/external/llvm/lib/CodeGen/ |
D | MachineFunction.cpp | 572 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()
|
D | PrologEpilogInserter.cpp | 376 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()
|
D | TargetRegisterInfo.cpp | 373 unsigned StackAlign = TFI->getStackAlignment(); in needsStackRealignment() local 374 bool requiresRealignment = ((MFI->getMaxAlignment() > StackAlign) || in needsStackRealignment()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiFrameLowering.cpp | 36 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/ |
D | PrologEpilogInserter.cpp | 271 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()
|
D | MachineFunction.cpp | 445 unsigned StackAlign = TFI.getStackAlignment(); in CreateFixedObject() local 446 unsigned Align = MinAlign(SPOffset, StackAlign); in CreateFixedObject()
|
/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/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsFrameLowering.cpp | 155 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/ |
D | AArch64CallingConvention.h | 48 unsigned StackAlign = in finishStackBlock() local 50 unsigned Align = std::min(ArgFlags.getOrigAlign(), StackAlign); in finishStackBlock()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMFrameLowering.cpp | 786 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()
|
D | ARMBaseRegisterInfo.cpp | 655 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/ |
D | X86RegisterInfo.cpp | 462 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()
|
D | X86FrameLowering.cpp | 611 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/ |
D | ARMCallingConv.h | 203 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()
|
D | ARMBaseRegisterInfo.cpp | 564 unsigned StackAlign = TFI->getStackAlignment(); in needsFrameBaseReg() local 566 !((MFI->getLocalFrameMaxAlign() > StackAlign) && canRealignStack(MF))) { in needsFrameBaseReg()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 91 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/ |
D | X86CallFrameOptimization.cpp | 182 unsigned StackAlign = TFL->getStackAlignment(); in isProfitable() local 205 if (CC.ExpectedDist % StackAlign) in isProfitable()
|
D | X86FrameLowering.cpp | 798 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/ |
D | TargetInfo.cpp | 1374 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/ |
D | SelectionDAGBuilder.cpp | 3140 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/ |
D | SystemZISelLowering.cpp | 2867 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()
|