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

References

lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  450   bool IsEmuTLSVar = TM.useEmulatedTLS() && GV->isThreadLocal();
  451   assert(!(IsEmuTLSVar && GV->hasCommonLinkage()) &&
  459   if (GV->hasInitializer()) {
  461     if (EmitSpecialLLVMGlobal(GV))
  466     if (GlobalGOTEquivs.count(getSymbol(GV)))
  472       GV->printAsOperand(OutStreamer->GetCommentOS(),
  473                      /*PrintType=*/false, GV->getParent());
  478   MCSymbol *GVSym = getSymbol(GV);
  484   EmitVisibility(EmittedSym, GV->getVisibility(), !GV->isDeclaration());
  484   EmitVisibility(EmittedSym, GV->getVisibility(), !GV->isDeclaration());
  486   if (!GV->hasInitializer())   // External globals require no extra code.
  497   SectionKind GVKind = TargetLoweringObjectFile::getKindForGlobal(GV, TM);
  499   const DataLayout &DL = GV->getParent()->getDataLayout();
  500   uint64_t Size = DL.getTypeAllocSize(GV->getValueType());
  505   const Align Alignment = getGVAlignment(GV, DL);
  526   MCSection *TheSection = getObjFileLowering().SectionForGlobal(GV, GVKind, TM);
  534     EmitLinkage(GV, GVSym);
  590       EmitAlignment(Alignment, GV);
  593       EmitGlobalConstant(GV->getParent()->getDataLayout(),
  594                          GV->getInitializer());
  604     EmitLinkage(GV, GVSym);
  611     unsigned PtrSize = DL.getPointerTypeSize(GV->getType());
  625   EmitLinkage(GV, EmittedInitSym);
  626   EmitAlignment(Alignment, GV);
  630   EmitGlobalConstant(GV->getParent()->getDataLayout(), GV->getInitializer());
  630   EmitGlobalConstant(GV->getParent()->getDataLayout(), GV->getInitializer());