reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Support/Alignment.h
  220   return Align(MinAlign(A.value(), Offset));
  232   return MaybeAlign(MinAlign((*A).value(), Offset));
lib/Analysis/Lint.cpp
  500     Assert(!BaseAlign || Align <= MinAlign(BaseAlign, Offset),
lib/CodeGen/GlobalISel/CombinerHelper.cpp
 1046   unsigned Alignment = MinAlign(DstAlign, SrcAlign);
 1154   unsigned Alignment = MinAlign(DstAlign, SrcAlign);
lib/CodeGen/GlobalISel/IRTranslator.cpp
  894         MinAlign(BaseAlign, Offsets[i] / 8), AAMDNodes(), Ranges,
  935         MinAlign(BaseAlign, Offsets[i] / 8), AAMDNodes(), nullptr,
lib/CodeGen/MachineFunction.cpp
  418                        ? MinAlign(MMO->getBaseAlignment(), Offset)
lib/CodeGen/MachineOperand.cpp
 1066   return MinAlign(getBaseAlignment(), getOffset());
lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
  153   AlignVal = MinAlign(AlignVal, EltTy->getPrimitiveSizeInBits() / 8);
  289   AlignVal = MinAlign(AlignVal, EltTy->getPrimitiveSizeInBits() / 8);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 9123     const unsigned Align = MinAlign(LN0->getAlignment(), Offset);
10309   unsigned NewAlign = MinAlign(LN0->getAlignment(), PtrOff);
14306       Alignment = MinAlign(Alignment, Alignment + Offset);
14822     NewAlign = MinAlign(NewAlign, StOffset);
14927       unsigned NewAlign = MinAlign(LD->getAlignment(), PtrOff);
16111       Alignment = MinAlign(Alignment, 4U);
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  473                           MinAlign(Alignment, 4U), MMOFlags, AAInfo);
  590           MinAlign(Alignment, IncrementSize), MMOFlags, AAInfo);
  610           MinAlign(Alignment, IncrementSize), MMOFlags, AAInfo);
  801                           ExtraVT, MinAlign(Alignment, IncrementSize), MMOFlags,
  832                           ExtraVT, MinAlign(Alignment, IncrementSize), MMOFlags,
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
 2703                         MinAlign(Alignment, IncrementSize), MMOFlags, AAInfo);
 2730                         MinAlign(Alignment, IncrementSize), MMOFlags, AAInfo);
 3931         MinAlign(Alignment, IncrementSize), MMOFlags, AAInfo);
 3968                          MinAlign(Alignment, IncrementSize), MMOFlags, AAInfo);
lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
  179                    MinAlign(Alignment, IncrementSize));
  269                    MinAlign(Alignment, IncrementSize),
  484                     MinAlign(Alignment, IncrementSize),
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  667                         MinAlign(LD->getAlignment(), Offset),
  678                            MinAlign(LD->getAlignment(), Offset),
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
 1215                    MinAlign(Alignment, IncrementSize));
 1516                    MinAlign(Alignment, IncrementSize));
 4831                       MinAlign(Align, Increment), MMOFlags, AAInfo);
 4849                       MinAlign(Align, Increment), MMOFlags, AAInfo);
 4995             MinAlign(Align, Offset), MMOFlags, AAInfo));
 5016             MinAlign(Align, Offset), MMOFlags, AAInfo));
 5068         StEltVT, MinAlign(Align, Offset), MMOFlags, AAInfo));
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 5895                              MinAlign(SrcAlign, SrcOff), SrcMMOFlags);
 9268       return MinAlign(Align, GVOffset);
 9286     unsigned FIInfoAlign = MinAlign(MFI.getObjectAlignment(FrameIdx),
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 5708     unsigned Align = MinAlign(DstAlign, SrcAlign);
 5742     unsigned Align = MinAlign(DstAlign, SrcAlign);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 3280           unsigned NewAlign = MinAlign(Lod->getAlignment(), bestOffset);
 6371                        SrcEltVT, MinAlign(LD->getAlignment(), Idx * Stride),
 6451         MemSclVT, MinAlign(ST->getAlignment(), Idx * Stride),
 6520           MinAlign(LD->getAlignment(), Offset), LD->getMemOperand()->getFlags(),
 6539                        MinAlign(LD->getAlignment(), Offset),
 6588                         NewLoadedVT, MinAlign(Alignment, IncrementSize),
 6598                         NewLoadedVT, MinAlign(Alignment, IncrementSize),
 6680                                     MinAlign(ST->getAlignment(), Offset),
 6702                           MinAlign(ST->getAlignment(), Offset),
 6730   Alignment = MinAlign(Alignment, IncrementSize);
lib/Target/AArch64/AArch64FastISel.cpp
 3529       unsigned Alignment = MinAlign(MTI->getDestAlignment(),
lib/Target/AArch64/AArch64ISelLowering.cpp
10652     unsigned Alignment = MinAlign(OrigAlignment, Offset);
lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  476     unsigned Align = MinAlign(KernArgBaseAlign, ArgOffset);
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 1425   unsigned HiAlign = MinAlign(BaseAlign, Size);
 1511   unsigned HiAlign = MinAlign(BaseAlign, Size);
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
 1200     MinAlign(64, StructOffset));
lib/Target/AMDGPU/R600ISelLowering.cpp
 1636     unsigned Alignment = MinAlign(VT.getStoreSize(), PartOffset);
lib/Target/AMDGPU/SIISelLowering.cpp
 2136       unsigned Align = MinAlign(KernelArgBaseAlign, Offset);
 4695                      MinAlign(64, StructOffset),
lib/Target/AMDGPU/SIRegisterInfo.cpp
  713                                    EltSize, MinAlign(Align, EltSize * i));
  842                                    EltSize, MinAlign(Align, EltSize * i));
  925         MinAlign(Align, EltSize * i));
lib/Target/ARM/ARMFastISel.cpp
 2538         unsigned Alignment = MinAlign(MTI.getDestAlignment(),
lib/Target/ARM/ARMISelLowering.cpp
 5107     unsigned NewAlign = MinAlign(Ld->getAlignment(), 4);
lib/Target/Hexagon/HexagonFrameLowering.cpp
 1772     StoreOpc = NeedAlign <= MinAlign(HasAlign, Size) ? Hexagon::V6_vS32b_ai
 1815   LoadOpc = NeedAlign <= MinAlign(HasAlign, Size) ? Hexagon::V6_vL32b_ai
lib/Target/Mips/MipsCallLowering.cpp
  192   unsigned Align = MinAlign(TFL->getStackAlignment(), Offset);
  307   unsigned Align = MinAlign(TFL->getStackAlignment(), Offset);
lib/Target/PowerPC/PPCISelLowering.cpp
 9738                               ScalarMemVT, MinAlign(Alignment, Idx * Stride),
 9743                            MinAlign(Alignment, Idx * Stride),
 9830                               ScalarMemVT, MinAlign(Alignment, Idx * Stride),
 9835                              MinAlign(Alignment, Idx * Stride),
13601           MinAlign(LD->getAlignment(), 4), MMOFlags, LD->getAAInfo());
lib/Target/X86/X86ISelLowering.cpp
21789                              MinAlign(Alignment, HalfAlign),
21823                               MinAlign(Alignment, Offset),
40237                                 MinAlign(Alignment, HalfAlign),
40319   Alignment = MinAlign(MaskedOp->getAlignment(), EltVT.getStoreSize());
40555                        MinAlign(Alignment, 4U),
40707                                MinAlign(Ld->getAlignment(), 4),
40721                                 MinAlign(St->getAlignment(), 4),
lib/Target/XCore/XCoreISelLowering.cpp
  436         MinAlign(GV->getAlignment(), 4) == 4) {
lib/Transforms/IPO/GlobalOpt.cpp
  500       Align NewAlign(MinAlign(StartAlignment, FieldOffset));
  535       Align NewAlign(MinAlign(StartAlignment, EltSize * i));
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  683       auto EltAlign = MinAlign(Align, SL->getElementOffset(i));
  736           AT->getElementType(), Ptr, MinAlign(Align, Offset), Name + ".unpack");
 1217       auto EltAlign = MinAlign(Align, SL->getElementOffset(i));
 1267       auto EltAlign = MinAlign(Align, Offset);
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  437   return MinAlign(StoreAlign, LoadAlign);
 1040       Align = MinAlign(SrcSizeC->getZExtValue(), DestAlign);
 1187       unsigned Align = MinAlign(M->getDestAlignment(), M->getSourceAlignment());
lib/Transforms/Scalar/SROA.cpp
 1700   return MinAlign(Alignment, Offset);
 2440         MinAlign(NewAIAlign, NewBeginOffset - NewAllocaBeginOffset);
 2961     OtherAlign =  MinAlign(OtherAlign ? OtherAlign : 1,
 3311             Ty, Agg, MinAlign(BaseAlign, Offset), Name);
lib/Transforms/Scalar/Scalarizer.cpp
  158     return MinAlign(VecAlign, I * ElemSize);
tools/clang/include/clang/AST/CharUnits.h
  196         return CharUnits(llvm::MinAlign(Quantity, offset.Quantity));
unittests/Support/AlignmentTest.cpp
  152     EXPECT_EQ(MinAlign(T.A, T.B), T.MinAlign);
unittests/Support/MathExtrasTest.cpp
  261   EXPECT_EQ(1u, MinAlign(2, 3));
  262   EXPECT_EQ(2u, MinAlign(2, 4));
  263   EXPECT_EQ(1u, MinAlign(17, 64));
  264   EXPECT_EQ(256u, MinAlign(256, 512));