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

References

lib/Analysis/Lint.cpp
  483         BaseAlign = GV->getAlignment();
lib/Analysis/MemoryBuiltins.cpp
  767   return std::make_pair(align(Size, GV.getAlignment()), Zero);
lib/Bitcode/Writer/BitcodeWriter.cpp
 1183     MaxAlignment = std::max(MaxAlignment, F.getAlignment());
 1275     Vals.push_back(Log2_32(GV.getAlignment())+1);
 1320     Vals.push_back(Log2_32(F.getAlignment())+1);
lib/CodeGen/LowerEmuTLS.cpp
  129   unsigned GVAlignment = GV->getAlignment();
lib/IR/AsmWriter.cpp
 3304   if (GV->getAlignment())
 3305     Out << ", align " << GV->getAlignment();
 3506   if (F->getAlignment())
 3507     Out << " align " << F->getAlignment();
lib/IR/DataLayout.cpp
  838   unsigned GVAlignment = GV->getAlignment();
lib/IR/Globals.cpp
  101       return GO->getAlignment();
  108   return cast<GlobalObject>(this)->getAlignment();
  126   assert(MaybeAlign(getAlignment()) == Align &&
  132   setAlignment(MaybeAlign(Src->getAlignment()));
lib/IR/Value.cpp
  683         return std::max(FunctionPtrAlign, MaybeAlign(GO->getAlignment()));
  687     const MaybeAlign Alignment(GO->getAlignment());
lib/Linker/IRMover.cpp
  632   NewDGV->setAlignment(MaybeAlign(SGVar->getAlignment()));
  883     if (DstGV->getAlignment() != SrcGV->getAlignment())
  883     if (DstGV->getAlignment() != SrcGV->getAlignment())
lib/Linker/LinkModules.cpp
  355             std::max(DGVar->getAlignment(), SGVar->getAlignment()));
  355             std::max(DGVar->getAlignment(), SGVar->getAlignment()));
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  311     unsigned Align = GV->getAlignment();
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  660         unsigned Align = GV.getAlignment();
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1137   if (GVar->getAlignment() == 0)
 1140     O << " .align " << GVar->getAlignment();
 1331   if (GVar->getAlignment() == 0)
 1334     O << " .align " << GVar->getAlignment();
lib/Target/PowerPC/PPCAsmPrinter.cpp
 1770       GV->getAlignment() ? GV->getAlignment() : DL.getPreferredAlignment(GV);
 1770       GV->getAlignment() ? GV->getAlignment() : DL.getPreferredAlignment(GV);
lib/Transforms/IPO/ConstantMerge.cpp
   87   unsigned Align = GV->getAlignment();
  122   if (Old->getAlignment() || New->getAlignment())
  122   if (Old->getAlignment() || New->getAlignment())
lib/Transforms/IPO/GlobalOpt.cpp
  475   unsigned StartAlignment = GV->getAlignment();
lib/Transforms/IPO/LowerTypeTests.cpp
  830     MaybeAlign Alignment(GV->getAlignment());
 1271   IRB.CreateAlignedStore(GV->getInitializer(), GV, GV->getAlignment());
lib/Transforms/IPO/MergeFunctions.cpp
  772   F->setAlignment(MaybeAlign(std::max(F->getAlignment(), G->getAlignment())));
  772   F->setAlignment(MaybeAlign(std::max(F->getAlignment(), G->getAlignment())));
  819     MaybeAlign MaxAlignment(std::max(G->getAlignment(), NewF->getAlignment()));
  819     MaybeAlign MaxAlignment(std::max(G->getAlignment(), NewF->getAlignment()));
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1496   MaybeAlign Alignment(B.GV->getAlignment());
 1517   NewGV->setAlignment(MaybeAlign(B.GV->getAlignment()));
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1817   if (G->getAlignment() > MinRedzoneSizeForGlobal()) return false;
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1268       MaybeAlign(std::max(GV->getAlignment(), Mapping.getObjectAlignment())));
lib/Transforms/Utils/Local.cpp
 1163     Alignment = std::max(GO->getAlignment(), Alignment);
tools/clang/lib/CodeGen/CGCUDANV.cpp
  637         CharUnits::fromQuantity(GpuBinaryHandle->getAlignment()));
  773                                              GpuBinaryHandle->getAlignment()));
tools/clang/lib/CodeGen/CGDecl.cpp
 1120   } else if (CacheEntry->getAlignment() < Align.getQuantity()) {
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1988     return ConstantAddress(C, CharUnits::fromQuantity(C->getAlignment()));
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1608     if (F->getAlignment() < 2 && isa<CXXMethodDecl>(D))
 4625     return ConstantAddress(C, CharUnits::fromQuantity(C->getAlignment()));
 4919       if (Alignment.getQuantity() > GV->getAlignment())
 4982       if (Alignment.getQuantity() > GV->getAlignment())
unittests/IR/ValueTest.cpp
   65   EXPECT_EQ(Dummy0->getAlignment(), 536870912U);