/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | LocalStackSlotAllocation.cpp | 82 bool StackGrowsDown, unsigned &MaxAlign); 86 int64_t &Offset, unsigned &MaxAlign); 146 unsigned &MaxAlign) { in AdjustStackOffset() argument 155 MaxAlign = std::max(MaxAlign, Align); in AdjustStackOffset() 180 unsigned &MaxAlign) { in AssignProtectedObjSet() argument 184 AdjustStackOffset(MFI, i, Offset, StackGrowsDown, MaxAlign); in AssignProtectedObjSet() 198 unsigned MaxAlign = 0; in calculateFrameObjectOffsets() local 217 AdjustStackOffset(MFI, StackProtectorFI, Offset, StackGrowsDown, MaxAlign); in calculateFrameObjectOffsets() 243 Offset, MaxAlign); in calculateFrameObjectOffsets() 245 Offset, MaxAlign); in calculateFrameObjectOffsets() [all …]
|
D | PrologEpilogInserter.cpp | 637 unsigned &MaxAlign, unsigned Skew) { in AdjustStackOffset() argument 646 MaxAlign = std::max(MaxAlign, Align); in AdjustStackOffset() 709 bool StackGrowsDown, unsigned MaxAlign, in scavengeStackSlot() argument 722 if (ObjAlign > MaxAlign) in scavengeStackSlot() 772 int64_t &Offset, unsigned &MaxAlign, unsigned Skew) { in AssignProtectedObjSet() argument 777 AdjustStackOffset(MFI, i, StackGrowsDown, Offset, MaxAlign, Skew); in AssignProtectedObjSet() 879 unsigned MaxAlign = MFI.getMaxAlignment(); in calculateFrameObjectOffsets() local 894 AdjustStackOffset(MFI, *I, StackGrowsDown, Offset, MaxAlign, Skew); in calculateFrameObjectOffsets() 920 MaxAlign = std::max(Align, MaxAlign); in calculateFrameObjectOffsets() 942 AdjustStackOffset(MFI, StackProtectorFI, StackGrowsDown, Offset, MaxAlign, in calculateFrameObjectOffsets() [all …]
|
D | MachineFrameInfo.cpp | 139 unsigned MaxAlign = getMaxAlignment(); in estimateStackSize() local 162 MaxAlign = std::max(Align, MaxAlign); in estimateStackSize() 182 StackAlign = std::max(StackAlign, MaxAlign); in estimateStackSize()
|
D | GlobalMerge.cpp | 460 Align MaxAlign; in doMerge() local 482 MaxAlign = std::max(MaxAlign, Alignment); in doMerge() 520 MergedGV->setAlignment(MaxAlign); in doMerge()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 103 unsigned &MaxAlign) { in AdjustStackOffset() argument 112 MaxAlign = std::max(MaxAlign, Align); in AdjustStackOffset() 172 unsigned MaxAlign = MFI.getMaxAlignment(); in calculateFrameObjectOffsets() local 199 MaxAlign = std::max(Align, MaxAlign); in calculateFrameObjectOffsets() 213 AdjustStackOffset(MFI, i, StackGrowsDown, Offset, MaxAlign); in calculateFrameObjectOffsets() 239 StackAlign = std::max(StackAlign, MaxAlign); in calculateFrameObjectOffsets()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCBranchSelector.cpp | 181 Align MaxAlign = Align(4); in computeBranchSize() local 188 MaxAlign = std::max(MaxAlign, Src->getAlignment()); in computeBranchSize() 194 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize() 205 MaxAlign = std::max(MaxAlign, Dest->getAlignment()); in computeBranchSize() 208 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize() 258 BranchSize += MaxAlign.value() - 4; in computeBranchSize()
|
D | PPCRegisterInfo.cpp | 517 unsigned MaxAlign = MFI.getMaxAlignment(); in lowerDynamicAlloc() local 518 assert((maxCallFrameSize & (MaxAlign-1)) == 0 && in lowerDynamicAlloc() 531 if (MaxAlign < TargetAlign && isInt<16>(FrameSize)) { in lowerDynamicAlloc() 556 if (MaxAlign > TargetAlign) { in lowerDynamicAlloc() 563 .addImm(~(MaxAlign-1)); in lowerDynamicAlloc() 581 if (MaxAlign > TargetAlign) { in lowerDynamicAlloc() 588 .addImm(~(MaxAlign-1)); in lowerDynamicAlloc()
|
D | PPCFrameLowering.cpp | 483 unsigned MaxAlign = MFI.getMaxAlignment(); // algmt required by data in frame in determineFrameLayout() local 484 unsigned AlignMask = std::max(MaxAlign, TargetAlign) - 1; in determineFrameLayout() 712 unsigned MaxAlign = MFI.getMaxAlignment(); in twoUniqueScratchRegsRequired() local 715 return (IsLargeFrame || !HasRedZone) && HasBP && MaxAlign > 1; in twoUniqueScratchRegsRequired() 909 unsigned MaxAlign = MFI.getMaxAlignment(); in emitPrologue() local 910 if (HasBP && MaxAlign > 1) in emitPrologue() 911 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) && in emitPrologue() 1059 if (HasBP && MaxAlign > 1) { in emitPrologue() 1064 .addImm(64 - Log2_32(MaxAlign)); in emitPrologue() 1069 .addImm(32 - Log2_32(MaxAlign)) in emitPrologue()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonVExtract.cpp | 110 unsigned MaxAlign = 0; in runOnMachineFunction() local 141 MaxAlign = std::max(MaxAlign, Align); in runOnMachineFunction() 186 if (MaxAlign > Op.getImm()) in runOnMachineFunction() 187 Op.setImm(MaxAlign); in runOnMachineFunction()
|
D | HexagonFrameLowering.cpp | 591 unsigned MaxAlign = std::max(MFI.getMaxAlignment(), getStackAlignment()); in insertPrologueInBlock() local 597 unsigned MaxCFA = alignTo(MFI.getMaxCallFrameSize(), MaxAlign); in insertPrologueInBlock() 600 FrameSize = MaxCFA + alignTo(FrameSize, MaxAlign); in insertPrologueInBlock() 603 bool AlignStack = (MaxAlign > getStackAlignment()); in insertPrologueInBlock() 630 .addImm(-int64_t(MaxAlign)); in insertPrologueInBlock()
|
D | HexagonConstExtenders.cpp | 1338 auto MaxAlign = [](const SmallVectorImpl<RangeTree::Node*> &Nodes, in assignInits() local 1358 auto P0 = MaxAlign(Tree.nodesWith(R.Min, false), R.Align, R.Offset); in assignInits() 1362 auto P1 = MaxAlign(Tree.nodesWith(R.Max, false), R.Align, R.Offset); in assignInits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULowerKernelArguments.cpp | 78 Align MaxAlign; in runOnFunction() local 80 const uint64_t TotalKernArgSize = ST.getKernArgSegmentSize(F, MaxAlign); in runOnFunction() 224 Attribute::getWithAlignment(Ctx, std::max(KernArgBaseAlign, MaxAlign))); in runOnFunction()
|
D | AMDGPUSubtarget.cpp | 494 Align &MaxAlign) const { in getExplicitKernArgSize() 500 MaxAlign = Align::None(); in getExplicitKernArgSize() 508 MaxAlign = std::max(MaxAlign, Alignment); in getExplicitKernArgSize() 515 Align &MaxAlign) const { in getKernArgSegmentSize() 516 uint64_t ExplicitArgBytes = getExplicitKernArgSize(F, MaxAlign); in getKernArgSegmentSize()
|
D | AMDGPUSubtarget.h | 246 uint64_t getExplicitKernArgSize(const Function &F, Align &MaxAlign) const; 247 unsigned getKernArgSegmentSize(const Function &F, Align &MaxAlign) const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86FrameLowering.cpp | 849 uint64_t MaxAlign = MFI.getMaxAlignment(); // Desired stack alignment. in calculateMaxStackAlign() local 853 MaxAlign = (StackAlign > MaxAlign) ? StackAlign : MaxAlign; in calculateMaxStackAlign() 854 else if (MaxAlign < SlotSize) in calculateMaxStackAlign() 855 MaxAlign = SlotSize; in calculateMaxStackAlign() 857 return MaxAlign; in calculateMaxStackAlign() 863 uint64_t MaxAlign) const { in BuildStackAlignAND() 864 uint64_t Val = -MaxAlign; in BuildStackAlignAND() 980 uint64_t MaxAlign = calculateMaxStackAlign(MF); // Desired stack alignment. in emitPrologue() local 1106 NumBytes = alignTo(NumBytes, MaxAlign); in emitPrologue() 1212 BuildStackAlignAND(MBB, MBBI, DL, StackPtr, MaxAlign); in emitPrologue() [all …]
|
D | X86FrameLowering.h | 201 unsigned Reg, uint64_t MaxAlign) const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | SparcFrameLowering.cpp | 192 int MaxAlign = MFI.getMaxAlignment(); in emitPrologue() local 194 .addReg(regUnbiased).addImm(MaxAlign - 1); in emitPrologue()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsConstantIslandPass.cpp | 532 const Align MaxAlign(MCP->getConstantPoolAlignment()); in doInitialPlacement() local 536 BB->setAlignment(AlignConstantIslands ? MaxAlign : Align(4)); in doInitialPlacement() 546 SmallVector<MachineBasicBlock::iterator, 8> InsPoint(Log2(MaxAlign) + 1, in doInitialPlacement() 575 for (unsigned a = LogAlign + 1; a <= Log2(MaxAlign); ++a) in doInitialPlacement()
|
D | MipsSEFrameLowering.cpp | 544 int MaxAlign = -(int)MFI.getMaxAlignment(); in emitPrologue() local 546 BuildMI(MBB, MBBI, dl, TII.get(ADDiu), VR).addReg(ZERO) .addImm(MaxAlign); in emitPrologue()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMFrameLowering.cpp | 720 unsigned MaxAlign = MFI.getMaxAlignment(); in emitPrologue() local 723 emitAligningInstructions(MF, AFI, TII, MBB, MBBI, dl, ARM::SP, MaxAlign, in emitPrologue() 736 emitAligningInstructions(MF, AFI, TII, MBB, MBBI, dl, ARM::R4, MaxAlign, in emitPrologue() 1215 unsigned MaxAlign = MF.getFrameInfo().getMaxAlignment(); in emitAlignedDPRCS2Spills() local 1221 emitAligningInstructions(MF, AFI, TII, MBB, MI, DL, ARM::R4, MaxAlign, true); in emitAlignedDPRCS2Spills()
|
D | ARMConstantIslandPass.cpp | 497 const Align MaxAlign(MCP->getConstantPoolAlignment()); in doInitialConstPlacement() local 498 const unsigned MaxLogAlign = Log2(MaxAlign); in doInitialConstPlacement() 501 BB->setAlignment(MaxAlign); in doInitialConstPlacement()
|
D | ARMExpandPseudoInsts.cpp | 1362 unsigned MaxAlign = MFI.getMaxAlignment(); in ExpandMI() local 1365 assert(MaxAlign <= 256 && "The BIC instruction cannot encode " in ExpandMI() 1372 .addImm(MaxAlign - 1) in ExpandMI()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | LowerTypeTests.cpp | 826 Align MaxAlign; in buildBitSetsFromGlobalVariables() local 834 MaxAlign = std::max(MaxAlign, *Alignment); in buildBitSetsFromGlobalVariables() 862 CombinedGlobal->setAlignment(MaxAlign); in buildBitSetsFromGlobalVariables()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 385 const MaybeAlign MaxAlign( in visitAllocaInst() local 387 EntryAI->setAlignment(MaxAlign); in visitAllocaInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1203 MaybeAlign MaxAlign; in isSafePHIToSpeculate() local 1225 MaxAlign = std::max(MaxAlign, MaybeAlign(LI->getAlignment())); in isSafePHIToSpeculate() 1254 if (isSafeToLoadUnconditionally(InVal, MaxAlign, MaxSize, DL, TI)) in isSafePHIToSpeculate()
|