Home
last modified time | relevance | path

Searched refs:MaxAlign (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/CodeGen/
DLocalStackSlotAllocation.cpp62 bool StackGrowsDown, unsigned &MaxAlign);
117 unsigned &MaxAlign) { in AdjustStackOffset() argument
126 MaxAlign = std::max(MaxAlign, Align); in AdjustStackOffset()
155 unsigned MaxAlign = 0; in calculateFrameObjectOffsets() local
162 StackGrowsDown, MaxAlign); in calculateFrameObjectOffsets()
173 AdjustStackOffset(MFI, i, Offset, StackGrowsDown, MaxAlign); in calculateFrameObjectOffsets()
188 AdjustStackOffset(MFI, i, Offset, StackGrowsDown, MaxAlign); in calculateFrameObjectOffsets()
193 MFI->setLocalFrameMaxAlign(MaxAlign); in calculateFrameObjectOffsets()
DPrologEpilogInserter.cpp464 unsigned &MaxAlign) { in AdjustStackOffset() argument
473 MaxAlign = std::max(MaxAlign, Align); in AdjustStackOffset()
556 unsigned MaxAlign = MFI->getMaxAlignment(); in calculateFrameObjectOffsets() local
565 AdjustStackOffset(MFI, SFI, StackGrowsDown, Offset, MaxAlign); in calculateFrameObjectOffsets()
591 MaxAlign = std::max(Align, MaxAlign); in calculateFrameObjectOffsets()
599 Offset, MaxAlign); in calculateFrameObjectOffsets()
617 AdjustStackOffset(MFI, i, StackGrowsDown, Offset, MaxAlign); in calculateFrameObjectOffsets()
639 AdjustStackOffset(MFI, i, StackGrowsDown, Offset, MaxAlign); in calculateFrameObjectOffsets()
648 AdjustStackOffset(MFI, SFI, StackGrowsDown, Offset, MaxAlign); in calculateFrameObjectOffsets()
672 StackAlign = std::max(StackAlign, MaxAlign); in calculateFrameObjectOffsets()
/external/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp181 unsigned MaxAlign = MFI->getMaxAlignment(); in determineFrameLayout() local
194 (!ALIGN_STACK || MaxAlign <= TargetAlign)) { // No special alignment. in determineFrameLayout()
352 unsigned MaxAlign = MFI->getMaxAlignment(); in emitPrologue() local
358 if (ALIGN_STACK && MaxAlign > TargetAlign) { in emitPrologue()
359 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) && in emitPrologue()
366 .addImm(32 - Log2_32(MaxAlign)) in emitPrologue()
392 if (ALIGN_STACK && MaxAlign > TargetAlign) { in emitPrologue()
393 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) && in emitPrologue()
400 .addImm(64 - Log2_32(MaxAlign)); in emitPrologue()
529 unsigned MaxAlign = MFI->getMaxAlignment(); in emitEpilogue() local
[all …]
DPPCRegisterInfo.cpp301 unsigned MaxAlign = MFI->getMaxAlignment(); in lowerDynamicAlloc() local
302 if (MaxAlign > TargetAlign) in lowerDynamicAlloc()
322 if (MaxAlign < TargetAlign && isInt<16>(FrameSize)) { in lowerDynamicAlloc()
/external/llvm/lib/Target/X86/
DX86FrameLowering.cpp643 uint64_t MaxAlign = MFI->getMaxAlignment(); // Desired stack alignment. in emitPrologue() local
662 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign; in emitPrologue()
663 else if (MaxAlign < SlotSize) in emitPrologue()
664 MaxAlign = SlotSize; in emitPrologue()
729 NumBytes = (FrameSize + MaxAlign - 1) / MaxAlign * MaxAlign; in emitPrologue()
832 .addImm(-MaxAlign) in emitPrologue()
1007 uint64_t MaxAlign = MFI->getMaxAlignment(); in emitEpilogue() local
1017 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign; in emitEpilogue()
1019 MaxAlign = MaxAlign ? MaxAlign : 4; in emitEpilogue()
1029 NumBytes = (FrameSize + MaxAlign - 1) / MaxAlign * MaxAlign; in emitEpilogue()
DX86ISelLowering.cpp1274 static void getMaxByValAlign(Type *Ty, unsigned &MaxAlign) { in getMaxByValAlign() argument
1275 if (MaxAlign == 16) in getMaxByValAlign()
1279 MaxAlign = 16; in getMaxByValAlign()
1283 if (EltAlign > MaxAlign) in getMaxByValAlign()
1284 MaxAlign = EltAlign; in getMaxByValAlign()
1289 if (EltAlign > MaxAlign) in getMaxByValAlign()
1290 MaxAlign = EltAlign; in getMaxByValAlign()
1291 if (MaxAlign == 16) in getMaxByValAlign()
/external/llvm/tools/lli/
Dlli.cpp392 unsigned MaxAlign = T->getPageAlignment(); in layoutRemoteTargetMemory() local
410 CurOffset = (CurOffset + MaxAlign - 1) / MaxAlign * MaxAlign; in layoutRemoteTargetMemory()
429 if (T->allocateSpace(CurOffset, MaxAlign, RemoteAddr)) in layoutRemoteTargetMemory()
/external/llvm/lib/Target/ARM/
DARMFrameLowering.cpp292 unsigned MaxAlign = MFI->getMaxAlignment(); in emitPrologue() local
299 .addImm(MaxAlign-1))); in emitPrologue()
312 .addImm(MaxAlign-1))); in emitPrologue()
779 unsigned MaxAlign = MF.getFrameInfo()->getMaxAlignment(); in emitAlignedDPRCS2Spills() local
782 .addImm(MaxAlign - 1))); in emitAlignedDPRCS2Spills()
1045 unsigned MaxAlign = MFI->getMaxAlignment(); in estimateStackSize() local
1064 MaxAlign = std::max(Align, MaxAlign); in estimateStackSize()
1084 StackAlign = std::max(StackAlign, MaxAlign); in estimateStackSize()
DARMConstantIslandPass.cpp511 unsigned MaxAlign = Log2_32(MCP->getConstantPoolAlignment()); in doInitialPlacement() local
515 BB->setAlignment(AlignConstantIslands ? MaxAlign : 2); in doInitialPlacement()
525 SmallVector<MachineBasicBlock::iterator, 8> InsPoint(MaxAlign + 1, BB->end()); in doInitialPlacement()
551 for (unsigned a = LogAlign + 1; a <= MaxAlign; ++a) in doInitialPlacement()
DARMExpandPseudoInsts.cpp810 unsigned MaxAlign = MFI->getMaxAlignment(); in ExpandMI() local
818 .addImm(MaxAlign-1))); in ExpandMI()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp252 unsigned MaxAlign = in visitAllocaInst() local
255 EntryAI->setAlignment(MaxAlign); in visitAllocaInst()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1181 unsigned MaxAlign = 0; in isSafePHIToSpeculate() local
1197 MaxAlign = std::max(MaxAlign, LI->getAlignment()); in isSafePHIToSpeculate()
1225 isSafeToLoadUnconditionally(InVal, Pred->getTerminator(), MaxAlign, TD)) in isSafePHIToSpeculate()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp1601 if (unsigned MaxAlign = D->getMaxAlignment()) in InitializeLayout() local
1602 UpdateAlignment(Context.toCharUnitsFromBits(MaxAlign)); in InitializeLayout()