Lines Matching refs:Asm
104 MacroLabelBegin = Asm->createTempSymbol("cu_macro_begin"); in DwarfCompileUnit()
164 unsigned CUID = Asm->OutStreamer->hasRawTextSupport() ? 0 : getUniqueID(); in getOrCreateSourceID()
166 return Asm->OutStreamer->emitDwarfFileDirective(0, "", "", std::nullopt, in getOrCreateSourceID()
171 LastFileID = Asm->OutStreamer->emitDwarfFileDirective( in getOrCreateSourceID()
278 !Asm->getObjFileLowering().supportDebugThreadLocalLocation()) in addLocationAttribute()
284 DwarfExpr = std::make_unique<DIEDwarfExpression>(*Asm, *this, *Loc); in addLocationAttribute()
291 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in addLocationAttribute()
304 const MCSymbol *Sym = Asm->getSymbol(Global); in addLocationAttribute()
308 unsigned PointerSize = Asm->MAI->getCodePointerSize(); in addLocationAttribute()
320 if (Asm->TM.getTargetTriple().isWasm()) { in addLocationAttribute()
329 } else if (Asm->TM.useEmulatedTLS()) { in addLocationAttribute()
341 Asm->getObjFileLowering().getDebugThreadLocalSymbol(Sym)); in addLocationAttribute()
352 } else if (Asm->TM.getTargetTriple().isWasm() && in addLocationAttribute()
353 Asm->TM.getRelocationModel() == Reloc::PIC_) { in addLocationAttribute()
360 } else if ((Asm->TM.getRelocationModel() == Reloc::RWPI || in addLocationAttribute()
361 Asm->TM.getRelocationModel() == Reloc::ROPI_RWPI) && in addLocationAttribute()
362 !Asm->getObjFileLowering() in addLocationAttribute()
363 .getKindForGlobal(Global, Asm->TM) in addLocationAttribute()
370 Asm->getObjFileLowering().getIndirectSymViaRWPI(Sym)); in addLocationAttribute()
372 Register BaseReg = Asm->getObjFileLowering().getStaticBase(); in addLocationAttribute()
374 Asm->TM.getMCRegisterInfo()->getDwarfRegNum(BaseReg, false); in addLocationAttribute()
384 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB() && in addLocationAttribute()
397 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in addLocationAttribute()
465 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in initStmtList()
470 Asm->OutStreamer->getDwarfLineTableSymbol(getUniqueID()); in initStmtList()
483 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in applyStmtList()
510 unsigned PointerSize = Asm->getDataLayout().getPointerSize(); in addWasmRelocBaseGlobal()
511 auto *Sym = cast<MCSymbolWasm>(Asm->GetExternalSymbolSymbol(GlobalName)); in addWasmRelocBaseGlobal()
544 for (const auto &R : Asm->MBBSectionRanges) in updateSubprogramScopeDIE()
557 Asm->getObjFileLowering().getDwarfLineSection()->getBeginSymbol()); in updateSubprogramScopeDIE()
562 const TargetFrameLowering *TFI = Asm->MF->getSubtarget().getFrameLowering(); in updateSubprogramScopeDIE()
564 TFI->getDwarfFrameBase(*Asm->MF); in updateSubprogramScopeDIE()
598 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in updateSubprogramScopeDIE()
671 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in addScopeRangeList()
718 auto MBBSectionRange = Asm->MBBSectionRanges[MBB->getSectionID()]; in attachRangesOrLowHighPC()
814 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB() && in applyConcreteDbgVariableAttributes()
829 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes()
846 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes()
849 DwarfDebug::emitDebugLocValue(*Asm, BT, *DVal, DwarfExpr); in applyConcreteDbgVariableAttributes()
863 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes()
866 const TargetRegisterInfo &TRI = *Asm->MF->getSubtarget().getRegisterInfo(); in applyConcreteDbgVariableAttributes()
895 assert(Asm->TM.getTargetTriple().isWasm()); in applyConcreteDbgVariableAttributes()
932 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes()
936 const TargetFrameLowering *TFI = Asm->MF->getSubtarget().getFrameLowering(); in applyConcreteDbgVariableAttributes()
938 TFI->getFrameIndexReference(*Asm->MF, Fragment.FI, FrameReg); in applyConcreteDbgVariableAttributes()
941 auto *TRI = Asm->MF->getSubtarget().getRegisterInfo(); in applyConcreteDbgVariableAttributes()
948 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in applyConcreteDbgVariableAttributes()
961 if (const MCSymbol *FrameSymbol = Asm->getFunctionFrameSymbol()) in applyConcreteDbgVariableAttributes()
965 *Asm->MF->getSubtarget().getRegisterInfo(), Cursor, FrameReg); in applyConcreteDbgVariableAttributes()
968 if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) { in applyConcreteDbgVariableAttributes()
983 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes()
990 *Asm->MF->getSubtarget().getRegisterInfo(), Cursor, Register); in applyConcreteDbgVariableAttributes()
1368 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructCallSiteParmEntryDIEs()
1371 DwarfDebug::emitDebugLocValue(*Asm, nullptr, Param.getValue(), DwarfExpr); in constructCallSiteParmEntryDIEs()
1535 LabelBegin = Asm->createTempSymbol("cu_begin"); in emitHeader()
1536 Asm->OutStreamer->emitLabel(LabelBegin); in emitHeader()
1544 Asm->emitInt64(getDWOId()); in emitHeader()
1621 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addAddress()
1626 const TargetRegisterInfo &TRI = *Asm->MF->getSubtarget().getRegisterInfo(); in addAddress()
1647 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addComplexAddress()
1656 const TargetRegisterInfo &TRI = *Asm->MF->getSubtarget().getRegisterInfo(); in addComplexAddress()
1743 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in addAddrTableBase()