Home | History | Annotate | Download | only in AsmPrinter

Lines Matching refs:GV

1333     else if (GlobalValue *GV = dyn_cast<GlobalValue>(Val)) {
1337 addOpAddress(*Loc, Asm->getSymbol(GV));
1556 void DwarfCompileUnit::createGlobalVariableDIE(DIGlobalVariable GV) {
1558 if (getDIE(GV))
1561 assert(GV.isGlobalVariable());
1563 DIScope GVContext = GV.getContext();
1564 DIType GTy = DD->resolve(GV.getType());
1570 DIDerivedType SDMDecl = GV.getStaticDataMemberDeclaration();
1586 VariableDIE = &createAndAddDIE(GV.getTag(), *ContextDIE, GV);
1589 addString(*VariableDIE, dwarf::DW_AT_name, GV.getDisplayName());
1593 if (!GV.isLocalToUnit())
1597 addSourceLine(*VariableDIE, GV);
1603 bool isGlobalVariable = GV.getGlobal() != nullptr;
1607 const MCSymbol *Sym = Asm->getSymbol(GV.getGlobal());
1608 if (GV.getGlobal()->isThreadLocal()) {
1635 if (GVContext && GV.isDefinition() && !GVContext.isCompileUnit() &&
1648 StringRef LinkageName = GV.getLinkageName();
1659 dyn_cast_or_null<ConstantInt>(GV.getConstant())) {
1665 } else if (const ConstantExpr *CE = getMergedGlobalExpr(GV->getOperand(11))) {
1667 // GV is a merged global.
1683 DD->addAccelName(GV.getName(), AddrDIE);
1687 if (GV.getLinkageName() != "" && GV.getName() != GV.getLinkageName())
1688 DD->addAccelName(GV.getLinkageName(), AddrDIE);
1691 addGlobalName(GV.getName(), VariableSpecDIE ? *VariableSpecDIE : *VariableDIE,
1692 GV.getContext());