Lines Matching refs:Asm
62 MacroLabelBegin = Asm->createTempSymbol("cu_macro_begin"); in DwarfCompileUnit()
122 unsigned CUID = Asm->OutStreamer->hasRawTextSupport() ? 0 : getUniqueID(); in getOrCreateSourceID()
124 return Asm->OutStreamer->emitDwarfFileDirective(0, "", "", None, None, in getOrCreateSourceID()
129 LastFileID = Asm->OutStreamer->emitDwarfFileDirective( in getOrCreateSourceID()
236 !Asm->getObjFileLowering().supportDebugThreadLocalLocation()) in addLocationAttribute()
242 DwarfExpr = std::make_unique<DIEDwarfExpression>(*Asm, *this, *Loc); in addLocationAttribute()
253 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in addLocationAttribute()
265 const MCSymbol *Sym = Asm->getSymbol(Global); in addLocationAttribute()
269 unsigned PointerSize = Asm->getDataLayout().getPointerSize(); in addLocationAttribute()
281 if (Asm->TM.useEmulatedTLS()) { in addLocationAttribute()
293 Asm->getObjFileLowering().getDebugThreadLocalSymbol(Sym)); in addLocationAttribute()
304 } else if ((Asm->TM.getRelocationModel() == Reloc::RWPI || in addLocationAttribute()
305 Asm->TM.getRelocationModel() == Reloc::ROPI_RWPI) && in addLocationAttribute()
306 !Asm->getObjFileLowering() in addLocationAttribute()
307 .getKindForGlobal(Global, Asm->TM) in addLocationAttribute()
314 Asm->getObjFileLowering().getIndirectSymViaRWPI(Sym)); in addLocationAttribute()
316 Register BaseReg = Asm->getObjFileLowering().getStaticBase(); in addLocationAttribute()
317 BaseReg = Asm->TM.getMCRegisterInfo()->getDwarfRegNum(BaseReg, false); in addLocationAttribute()
336 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in addLocationAttribute()
406 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in initStmtList()
411 Asm->OutStreamer->getDwarfLineTableSymbol(getUniqueID()); in initStmtList()
424 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in applyStmtList()
452 for (const auto &R : Asm->MBBSectionRanges) in updateSubprogramScopeDIE()
464 const TargetFrameLowering *TFI = Asm->MF->getSubtarget().getFrameLowering(); in updateSubprogramScopeDIE()
466 TFI->getDwarfFrameBase(*Asm->MF); in updateSubprogramScopeDIE()
489 Asm->GetExternalSymbolSymbol("__stack_pointer")); in updateSubprogramScopeDIE()
495 uint8_t(Asm->getSubtargetInfo().getTargetTriple().getArch() == in updateSubprogramScopeDIE()
516 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in updateSubprogramScopeDIE()
592 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in addScopeRangeList()
639 auto MBBSectionRange = Asm->MBBSectionRanges[MBB->getSectionIDNum()]; in attachRangesOrLowHighPC()
754 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl()
771 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl()
774 DwarfDebug::emitDebugLocValue(*Asm, BT, *DVal, DwarfExpr); in constructVariableDIEImpl()
788 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl()
791 const TargetRegisterInfo &TRI = *Asm->MF->getSubtarget().getRegisterInfo(); in constructVariableDIEImpl()
820 assert(Asm->TM.getTargetTriple().isWasm()); in constructVariableDIEImpl()
850 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl()
854 const TargetFrameLowering *TFI = Asm->MF->getSubtarget().getFrameLowering(); in constructVariableDIEImpl()
856 TFI->getFrameIndexReference(*Asm->MF, Fragment.FI, FrameReg); in constructVariableDIEImpl()
859 auto *TRI = Asm->MF->getSubtarget().getRegisterInfo(); in constructVariableDIEImpl()
870 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in constructVariableDIEImpl()
882 if (const MCSymbol *FrameSymbol = Asm->getFunctionFrameSymbol()) in constructVariableDIEImpl()
886 *Asm->MF->getSubtarget().getRegisterInfo(), Cursor, FrameReg); in constructVariableDIEImpl()
889 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in constructVariableDIEImpl()
1253 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructCallSiteParmEntryDIEs()
1256 DwarfDebug::emitDebugLocValue(*Asm, nullptr, Param.getValue(), DwarfExpr); in constructCallSiteParmEntryDIEs()
1367 LabelBegin = Asm->createTempSymbol("cu_begin"); in emitHeader()
1368 Asm->OutStreamer->emitLabel(LabelBegin); in emitHeader()
1376 Asm->emitInt64(getDWOId()); in emitHeader()
1450 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addAddress()
1455 const TargetRegisterInfo &TRI = *Asm->MF->getSubtarget().getRegisterInfo(); in addAddress()
1476 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addComplexAddress()
1486 const TargetRegisterInfo &TRI = *Asm->MF->getSubtarget().getRegisterInfo(); in addComplexAddress()
1564 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in addAddrTableBase()