Lines Matching refs:Asm

63   MacroLabelBegin = Asm->createTempSymbol("cu_macro_begin");  in DwarfCompileUnit()
123 unsigned CUID = Asm->OutStreamer->hasRawTextSupport() ? 0 : getUniqueID(); in getOrCreateSourceID()
125 return Asm->OutStreamer->emitDwarfFileDirective(0, "", "", std::nullopt, in getOrCreateSourceID()
130 LastFileID = Asm->OutStreamer->emitDwarfFileDirective( in getOrCreateSourceID()
237 !Asm->getObjFileLowering().supportDebugThreadLocalLocation()) in addLocationAttribute()
243 DwarfExpr = std::make_unique<DIEDwarfExpression>(*Asm, *this, *Loc); in addLocationAttribute()
254 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in addLocationAttribute()
266 const MCSymbol *Sym = Asm->getSymbol(Global); in addLocationAttribute()
270 unsigned PointerSize = Asm->MAI->getCodePointerSize(); in addLocationAttribute()
282 if (Asm->TM.getTargetTriple().isWasm()) { in addLocationAttribute()
291 } else if (Asm->TM.useEmulatedTLS()) { in addLocationAttribute()
303 Asm->getObjFileLowering().getDebugThreadLocalSymbol(Sym)); in addLocationAttribute()
314 } else if (Asm->TM.getTargetTriple().isWasm() && in addLocationAttribute()
315 Asm->TM.getRelocationModel() == Reloc::PIC_) { in addLocationAttribute()
322 } else if ((Asm->TM.getRelocationModel() == Reloc::RWPI || in addLocationAttribute()
323 Asm->TM.getRelocationModel() == Reloc::ROPI_RWPI) && in addLocationAttribute()
324 !Asm->getObjFileLowering() in addLocationAttribute()
325 .getKindForGlobal(Global, Asm->TM) in addLocationAttribute()
332 Asm->getObjFileLowering().getIndirectSymViaRWPI(Sym)); in addLocationAttribute()
334 Register BaseReg = Asm->getObjFileLowering().getStaticBase(); in addLocationAttribute()
335 BaseReg = Asm->TM.getMCRegisterInfo()->getDwarfRegNum(BaseReg, false); in addLocationAttribute()
354 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in addLocationAttribute()
426 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in initStmtList()
431 Asm->OutStreamer->getDwarfLineTableSymbol(getUniqueID()); in initStmtList()
444 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in applyStmtList()
471 unsigned PointerSize = Asm->getDataLayout().getPointerSize(); in addWasmRelocBaseGlobal()
472 auto *Sym = cast<MCSymbolWasm>(Asm->GetExternalSymbolSymbol(GlobalName)); in addWasmRelocBaseGlobal()
504 for (const auto &R : Asm->MBBSectionRanges) in updateSubprogramScopeDIE()
516 const TargetFrameLowering *TFI = Asm->MF->getSubtarget().getFrameLowering(); in updateSubprogramScopeDIE()
518 TFI->getDwarfFrameBase(*Asm->MF); in updateSubprogramScopeDIE()
552 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in updateSubprogramScopeDIE()
625 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in addScopeRangeList()
672 auto MBBSectionRange = Asm->MBBSectionRanges[MBB->getSectionIDNum()]; in attachRangesOrLowHighPC()
774 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes()
791 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes()
794 DwarfDebug::emitDebugLocValue(*Asm, BT, *DVal, DwarfExpr); in applyConcreteDbgVariableAttributes()
808 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes()
811 const TargetRegisterInfo &TRI = *Asm->MF->getSubtarget().getRegisterInfo(); in applyConcreteDbgVariableAttributes()
840 assert(Asm->TM.getTargetTriple().isWasm()); in applyConcreteDbgVariableAttributes()
877 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes()
881 const TargetFrameLowering *TFI = Asm->MF->getSubtarget().getFrameLowering(); in applyConcreteDbgVariableAttributes()
883 TFI->getFrameIndexReference(*Asm->MF, Fragment.FI, FrameReg); in applyConcreteDbgVariableAttributes()
886 auto *TRI = Asm->MF->getSubtarget().getRegisterInfo(); in applyConcreteDbgVariableAttributes()
897 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in applyConcreteDbgVariableAttributes()
909 if (const MCSymbol *FrameSymbol = Asm->getFunctionFrameSymbol()) in applyConcreteDbgVariableAttributes()
913 *Asm->MF->getSubtarget().getRegisterInfo(), Cursor, FrameReg); in applyConcreteDbgVariableAttributes()
916 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in applyConcreteDbgVariableAttributes()
936 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes()
943 *Asm->MF->getSubtarget().getRegisterInfo(), Cursor, Register); in applyConcreteDbgVariableAttributes()
1314 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructCallSiteParmEntryDIEs()
1317 DwarfDebug::emitDebugLocValue(*Asm, nullptr, Param.getValue(), DwarfExpr); in constructCallSiteParmEntryDIEs()
1468 LabelBegin = Asm->createTempSymbol("cu_begin"); in emitHeader()
1469 Asm->OutStreamer->emitLabel(LabelBegin); in emitHeader()
1477 Asm->emitInt64(getDWOId()); in emitHeader()
1554 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addAddress()
1559 const TargetRegisterInfo &TRI = *Asm->MF->getSubtarget().getRegisterInfo(); in addAddress()
1580 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addComplexAddress()
1589 const TargetRegisterInfo &TRI = *Asm->MF->getSubtarget().getRegisterInfo(); in addComplexAddress()
1667 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in addAddrTableBase()