Searched refs:MaxAlign (Results 1 - 12 of 12) sorted by relevance

/external/llvm/lib/CodeGen/
H A DLocalStackSlotAllocation.cpp62 bool StackGrowsDown, unsigned &MaxAlign);
121 unsigned &MaxAlign) {
130 MaxAlign = std::max(MaxAlign, Align);
159 unsigned MaxAlign = 0; local
166 StackGrowsDown, MaxAlign);
177 AdjustStackOffset(MFI, i, Offset, StackGrowsDown, MaxAlign);
192 AdjustStackOffset(MFI, i, Offset, StackGrowsDown, MaxAlign);
197 MFI->setLocalFrameMaxAlign(MaxAlign);
118 AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, int64_t &Offset, bool StackGrowsDown, unsigned &MaxAlign) argument
H A DPrologEpilogInserter.cpp469 unsigned &MaxAlign) {
478 MaxAlign = std::max(MaxAlign, Align);
561 unsigned MaxAlign = MFI->getMaxAlignment(); local
570 AdjustStackOffset(MFI, SFI, StackGrowsDown, Offset, MaxAlign);
596 MaxAlign = std::max(Align, MaxAlign);
604 Offset, MaxAlign);
622 AdjustStackOffset(MFI, i, StackGrowsDown, Offset, MaxAlign);
644 AdjustStackOffset(MFI, i, StackGrowsDown, Offset, MaxAlign);
467 AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, bool StackGrowsDown, int64_t &Offset, unsigned &MaxAlign) argument
[all...]
/external/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp606 uint64_t MaxAlign = MFI->getMaxAlignment(); // Desired stack alignment.
623 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign;
624 else if (MaxAlign < SlotSize)
625 MaxAlign = SlotSize;
687 FrameSize = (FrameSize + MaxAlign - 1) / MaxAlign * MaxAlign;
753 .addImm(-MaxAlign)
[all...]
H A DX86ISelLowering.cpp1184 static void getMaxByValAlign(Type *Ty, unsigned &MaxAlign) { argument
1185 if (MaxAlign == 16)
1189 MaxAlign = 16;
1193 if (EltAlign > MaxAlign)
1194 MaxAlign = EltAlign;
1199 if (EltAlign > MaxAlign)
1200 MaxAlign = EltAlign;
1201 if (MaxAlign == 16)
/external/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.cpp181 unsigned MaxAlign = MFI->getMaxAlignment(); local
194 (!ALIGN_STACK || MaxAlign <= TargetAlign)) { // No special alignment.
348 unsigned MaxAlign = MFI->getMaxAlignment(); local
354 if (ALIGN_STACK && MaxAlign > TargetAlign) {
355 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) &&
362 .addImm(32 - Log2_32(MaxAlign))
388 if (ALIGN_STACK && MaxAlign > TargetAlign) {
389 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign)
527 unsigned MaxAlign = MFI->getMaxAlignment(); local
[all...]
H A DPPCRegisterInfo.cpp360 unsigned MaxAlign = MFI->getMaxAlignment(); local
361 if (MaxAlign > TargetAlign)
381 if (MaxAlign < TargetAlign && isInt<16>(FrameSize)) {
/external/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp257 unsigned MaxAlign = MFI->getMaxAlignment(); local
260 // Emit bic sp, sp, MaxAlign
264 .addImm(MaxAlign-1)));
269 // bic r4, r4, MaxAlign
277 .addImm(MaxAlign-1)));
746 unsigned MaxAlign = MFI->getMaxAlignment(); local
765 MaxAlign = std::max(Align, MaxAlign);
784 // SP not FP. Align to MaxAlign so this works.
785 StackAlign = std::max(StackAlign, MaxAlign);
[all...]
H A DThumb1FrameLowering.cpp167 unsigned MaxAlign = MFI->getMaxAlignment(); local
168 unsigned Log2MaxAlign = Log2_32(MaxAlign);
H A DARMExpandPseudoInsts.cpp840 unsigned MaxAlign = MFI->getMaxAlignment(); local
842 // Emit bic r6, r6, MaxAlign
848 .addImm(MaxAlign-1)));
H A DARMISelLowering.cpp5539 unsigned MaxAlign = MFI->getMaxAlignment(); local
5542 // Emit bic r6, r6, MaxAlign
5548 .addImm(MaxAlign - 1)));
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp1064 unsigned MaxAlign = 0; local
1080 MaxAlign = std::max(MaxAlign, LI->getAlignment());
1108 isSafeToLoadUnconditionally(InVal, Pred->getTerminator(), MaxAlign, TD))
/external/clang/lib/AST/
H A DRecordLayoutBuilder.cpp1249 if (unsigned MaxAlign = D->getMaxAlignment())
1250 UpdateAlignment(Context.toCharUnitsFromBits(MaxAlign));

Completed in 479 milliseconds