Home
last modified time | relevance | path

Searched refs:DbgLoc (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDroppedVariableStatsMIR.cpp62 auto *DbgLoc = MI.getDebugLoc().get(); in visitEveryInstruction() local
63 if (!DbgLoc) in visitEveryInstruction()
66 auto *Scope = DbgLoc->getScope(); in visitEveryInstruction()
67 if (updateDroppedCount(DbgLoc, Scope, DbgValScope, InlinedAtsMap, Var, in visitEveryInstruction()
89 auto DbgLoc = MI.getDebugLoc(); in visitEveryDebugRecord() local
90 populateVarIDSetAndInlinedMap(DbgVar, DbgLoc, VarIDSet, InlinedAtsMap, in visitEveryDebugRecord()
H A DSwiftErrorValueTracking.cpp115 bool SwiftErrorValueTracking::createEntriesInEntryBlock(DebugLoc DbgLoc) { in createEntriesInEntryBlock() argument
136 BuildMI(*MBB, MBB->getFirstNonPHI(), DbgLoc, in createEntriesInEntryBlock()
H A DMachineInstr.cpp103 DbgLoc(std::move(DL)), DebugInstrNum(0), Opcode(TID.Opcode) { in MachineInstr()
104 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor"); in MachineInstr()
122 Info(MI.Info), DbgLoc(MI.getDebugLoc()), DebugInstrNum(0), in MachineInstr()
124 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor"); in MachineInstr()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDroppedVariableStatsIR.cpp109 auto *DbgLoc = I.getDebugLoc().get(); in visitEveryInstruction() local
110 if (!DbgLoc) in visitEveryInstruction()
112 if (updateDroppedCount(DbgLoc, DbgLoc->getScope(), DbgValScope, in visitEveryInstruction()
126 auto DbgLoc = DR.getDebugLoc(); in visitEveryDebugRecord() local
127 populateVarIDSetAndInlinedMap(DbgVar, DbgLoc, VarIDSet, InlinedAtsMap, in visitEveryDebugRecord()
H A DDroppedVariableStats.cpp71 DILocation *DbgLoc, const DIScope *Scope, const DIScope *DbgValScope, in updateDroppedCount() argument
78 if (isInlinedAtChildOfOrEqualTo(DbgLoc->getInlinedAt(), in updateDroppedCount()
101 const DILocalVariable *DbgVar, DebugLoc DbgLoc, DenseSet<VarID> &VarIDSet, in populateVarIDSetAndInlinedMap() argument
104 VarID Key{DbgVar->getScope(), DbgLoc->getInlinedAtScope(), DbgVar}; in populateVarIDSetAndInlinedMap()
107 InlinedAtsMap[FuncName].try_emplace(Key, DbgLoc.getInlinedAt()); in populateVarIDSetAndInlinedMap()
H A DMetadata.cpp1644 return DbgLoc.getAsMDNode(); in getMetadataImpl()
1649 if (DbgLoc && Pred(LLVMContext::MD_dbg, DbgLoc.getAsMDNode())) in eraseMetadataIf()
1650 DbgLoc = {}; in eraseMetadataIf()
1706 DbgLoc = DebugLoc(Node); in setMetadata()
1802 if (DbgLoc) { in getAllMetadataImpl()
1804 std::make_pair((unsigned)LLVMContext::MD_dbg, DbgLoc.getAsMDNode())); in getAllMetadataImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/
H A DPPCInstructionSelector.cpp190 const DebugLoc &DbgLoc = I.getDebugLoc(); in selectIntToFP() local
197 BuildMI(MBB, I, DbgLoc, TII.get(PPC::MTVSRD), MoveReg).addReg(SrcReg); in selectIntToFP()
205 BuildMI(MBB, I, DbgLoc, TII.get(ConvOp), DstReg).addReg(MoveReg); in selectIntToFP()
217 const DebugLoc &DbgLoc = I.getDebugLoc(); in selectFPToInt() local
222 BuildMI(MBB, I, DbgLoc, TII.get(TargetOpcode::COPY), CopyReg).addReg(SrcReg); in selectFPToInt()
232 BuildMI(MBB, I, DbgLoc, TII.get(ConvOp), ConvReg).addReg(CopyReg); in selectFPToInt()
235 BuildMI(MBB, I, DbgLoc, TII.get(PPC::MFVSRD), DstReg).addReg(ConvReg); in selectFPToInt()
650 const DebugLoc &DbgLoc = I.getDebugLoc(); in selectConstantPool() local
681 MI = BuildMI(MBB, I, DbgLoc, TII.get(PPC::LDtocCPT), DstReg) in selectConstantPool()
687 BuildMI(MBB, I, DbgLoc, TII.get(PPC::ADDIStocHA8), HaAddrReg) in selectConstantPool()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDroppedVariableStats.h85 LLVM_ABI bool updateDroppedCount(DILocation *DbgLoc, const DIScope *Scope,
99 const DILocalVariable *DbgVar, DebugLoc DbgLoc, DenseSet<VarID> &VarIDSet,
H A DDebugProgramInstruction.h147 DebugLoc DbgLoc;
152 : DbgLoc(DL), RecordKind(RecordKind) {} in DbgRecord()
214 DebugLoc getDebugLoc() const { return DbgLoc; } in getDebugLoc()
215 void setDebugLoc(DebugLoc Loc) { DbgLoc = std::move(Loc); } in setDebugLoc()
499 return DbgLoc == Other.DbgLoc && isIdenticalToWhenDefined(Other); in isEquivalentTo()
H A DInstruction.h75 DebugLoc DbgLoc; // 'dbg' Metadata cache.
406 bool hasMetadata() const { return DbgLoc || Value::hasMetadata(); }
431 return DbgLoc.getAsMDNode();
510 void setDebugLoc(DebugLoc Loc) { DbgLoc = std::move(Loc).getCopied(); }
513 const DebugLoc &getDebugLoc() const { return DbgLoc; }
H A DIRBuilder.h413 DebugLoc DbgLoc; variable
418 DbgLoc(B.getCurrentDebugLocation()) {} in InsertPointGuard()
425 Builder.SetCurrentDebugLocation(DbgLoc); in ~InsertPointGuard()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp487 DbgLoc(MIB->getDebugLoc()) {} in InsertInfo()
491 const DebugLoc &DbgLoc; member
496 (void)BuildMI(I.MBB, I.InsertBefore, I.DbgLoc, TII.get(Opcodes.MOVi)) in putConstant()
582 BuildMI(I.MBB, I.InsertBefore, I.DbgLoc, TII.get(Helper.ComparisonOpcode)) in insertComparison()
591 auto ReadI = BuildMI(I.MBB, I.InsertBefore, I.DbgLoc, in insertComparison()
599 auto Mov1I = BuildMI(I.MBB, I.InsertBefore, I.DbgLoc, in insertComparison()
773 auto &DbgLoc = MIB->getDebugLoc(); in selectSelect() local
779 auto CmpI = BuildMI(MBB, InsertBefore, DbgLoc, TII.get(Opcodes.TSTri)) in selectSelect()
794 auto Mov1I = BuildMI(MBB, InsertBefore, DbgLoc, TII.get(Opcodes.MOVCCr)) in selectSelect()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSwiftErrorValueTracking.h96 bool createEntriesInEntryBlock(DebugLoc DbgLoc);
H A DSwitchLoweringUtils.h138 DebugLoc DbgLoc; member
166 DbgLoc(dl), TrueProb(trueprob), FalseProb(falseprob),
H A DMachineInstr.h305 DebugLoc DbgLoc; // Source line information. variable
509 const DebugLoc &getDebugLoc() const { return DbgLoc; }
1893 DbgLoc = std::move(DL);
1894 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor");
H A DFastISel.h447 void fastEmitBranch(MachineBasicBlock *MSucc, const DebugLoc &DbgLoc);
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h147 DebugLoc DbgLoc; variable
156 DbgLoc(B.getCurrentDebugLocation()), SE(SE) { in SCEVInsertPointGuard()
167 Builder.SetCurrentDebugLocation(DbgLoc); in ~SCEVInsertPointGuard()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h357 DIExpression *Expr, DebugLoc DbgLoc, unsigned Order,
362 DebugLoc DbgLoc, unsigned Order);
625 DebugLoc DbgLoc);
H A DSelectionDAGISel.cpp1513 DebugLoc DbgLoc) { in processIfEntryValueDbgDeclare() argument
1527 FuncInfo.MF->setVariableDbgInfo(Var, Expr, PhysReg, DbgLoc); in processIfEntryValueDbgDeclare()
1530 << ", DbgLoc=" << DbgLoc << "\n"); in processIfEntryValueDbgDeclare()
1538 DILocalVariable *Var, DebugLoc DbgLoc) { in processDbgDeclare() argument
1545 if (processIfEntryValueDbgDeclare(FuncInfo, Address, Expr, Var, DbgLoc)) in processDbgDeclare()
1555 assert(DbgLoc && "Missing location"); in processDbgDeclare()
1582 << ", DbgLoc=" << DbgLoc << "\n"); in processDbgDeclare()
1583 MF->setVariableDbgInfo(Var, Expr, FI, DbgLoc); in processDbgDeclare()
H A DFastISel.cpp1626 const DebugLoc &DbgLoc) { in fastEmitBranch() argument
1636 SmallVector<MachineOperand, 0>(), DbgLoc); in fastEmitBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstructionSelector.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp1567 const DebugLoc &DbgLoc = I.getDebugLoc(); in materializeFP() local
1581 BuildMI(*I.getParent(), I, DbgLoc, TII.get(X86::MOV64ri), AddrReg) in materializeFP()
1589 addDirectMem(BuildMI(*I.getParent(), I, DbgLoc, TII.get(Opc), DstReg), in materializeFP()
1607 BuildMI(*I.getParent(), I, DbgLoc, TII.get(Opc), DstReg), CPI, PICBase, in materializeFP()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp1442 DILocation *DbgLoc = DILocation::getMergedLocations(MergeDbgLocs); in fold_sincos() local
1443 B.SetCurrentDebugLocation(DbgLoc); in fold_sincos()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp552 const DebugLoc &DbgLoc = MI.getDebugLoc(); in BuildDbgValue() local
611 return BuildMI(MF, DbgLoc, IID, Indirect, MOs, Var, DIExpr); in BuildDbgValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp763 auto DbgLoc = in deriveNewFramePointer() local
769 CallerContext->setDebugLoc(DbgLoc); in deriveNewFramePointer()

12