Home
last modified time | relevance | path

Searched refs:DILabel (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugProgramInstruction.h224 DbgRecordParamRef<DILabel> Label;
232 DbgLabelRecord(DILabel *Label, DebugLoc DL);
247 void setLabel(DILabel *NewLabel) { Label = NewLabel; } in setLabel()
248 DILabel *getLabel() const { return Label.get(); } in getLabel()
H A DDIBuilder.h101 DbgInstPtr insertLabel(DILabel *LabelInfo, const DILocation *DL,
750 DILabel *
995 DbgInstPtr insertLabel(DILabel *LabelInfo, const DILocation *DL,
1002 DbgInstPtr insertLabel(DILabel *LabelInfo, const DILocation *DL,
H A DMetadata.def111 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILabel)
H A DIntrinsicInst.h535 DILabel *getLabel() const { return cast<DILabel>(getRawLabel()); } in getLabel()
536 void setLabel(DILabel *NewLabel) { in setLabel()
H A DDebugInfoMetadata.h3514 class DILabel : public DINode {
3518 DILabel(LLVMContext &C, StorageType Storage, unsigned Line,
3520 ~DILabel() = default;
3522 static DILabel *getImpl(LLVMContext &Context, DIScope *Scope, StringRef Name,
3528 static DILabel *getImpl(LLVMContext &Context, Metadata *Scope, MDString *Name,
3538 DEFINE_MDNODE_GET(DILabel,
3542 DEFINE_MDNODE_GET(DILabel,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h294 DbgLabel(const DILabel *L, const DILocation *IA, const MCSymbol *Sym = nullptr)
299 const DILabel *getLabel() const { return cast<DILabel>(getEntity()); }
H A DDwarfCompileUnit.cpp1479 } else if (isa<const DILabel>(Node)) { in createAbstractEntity()
1481 cast<const DILabel>(Node), nullptr /* IA */); in createAbstractEntity()
1656 const auto *DILabel = Label.getLabel(); in applyLabelAttributes() local
1657 addSourceLine(LabelDie, DILabel); in applyLabelAttributes()
H A DDwarfDebug.cpp1516 else if (const auto *L = dyn_cast<DILabel>(N)) in getRetainedNodeScope()
1862 } else if (isa<const DILabel>(Node)) { in createConcreteEntity()
1864 std::make_unique<DbgLabel>(cast<const DILabel>(Node), in createConcreteEntity()
1963 const DILabel *Label = cast<DILabel>(IL.first); in collectEntityInfo()
1987 if (isa<DILocalVariable>(DN) || isa<DILabel>(DN)) { in collectEntityInfo()
2319 if (isa<DILocalVariable>(DN) || isa<DILabel>(DN)) { in endFunctionImpl()
H A DDwarfUnit.h218 void addSourceLine(DIE &Die, const DILabel *L);
H A DDbgEntityHistoryCalculator.cpp480 const DILabel *RawLabel = MI.getDebugLabel(); in calculateDbgEntityHistory()
H A DDwarfUnit.cpp436 void DwarfUnit::addSourceLine(DIE &Die, const DILabel *L) { in addSourceLine()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp28 template class DbgRecordParamRef<DILabel>;
148 assert((isa<DILabel>(Label) || Label->isTemporary()) && in DbgLabelRecord()
151 DbgLabelRecord::DbgLabelRecord(DILabel *Label, DebugLoc DL) in DbgLabelRecord()
H A DDIBuilder.cpp830 DILabel *DIBuilder::createLabel(DIScope *Context, StringRef Name, DIFile *File, in createLabel()
833 auto *Node = DILabel::get(VMContext, Scope, Name, File, LineNo); in createLabel()
1013 DbgInstPtr DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL, in insertLabel()
1020 DbgInstPtr DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL, in insertLabel()
1158 DbgInstPtr DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL, in insertLabel()
H A DDebugInfoMetadata.cpp1350 DILabel::DILabel(LLVMContext &C, StorageType Storage, unsigned Line, in DILabel() function in DILabel
1355 DILabel *DILabel::getImpl(LLVMContext &Context, Metadata *Scope, MDString *Name, in getImpl()
1360 DEFINE_GETIMPL_LOOKUP(DILabel, (Scope, Name, File, Line)); in getImpl()
1362 DEFINE_GETIMPL_STORE(DILabel, (Line), Ops); in getImpl()
H A DLLVMContextImpl.h1163 template <> struct MDNodeKeyImpl<DILabel> {
1171 MDNodeKeyImpl(const DILabel *N)
1175 bool isKeyOf(const DILabel *RHS) const {
H A DVerifier.cpp1463 CheckDI(Op && (isa<DILocalVariable>(Op) || isa<DILabel>(Op) || in visitDISubprogram()
1630 void Verifier::visitDILabel(const DILabel &N) { in visitDILabel()
6389 CheckDI(isa<DILabel>(DLR.getRawLabel()), in visit()
6401 DILabel *Label = DLR.getLabel(); in visit()
6796 CheckDI(isa<DILabel>(DLI.getRawLabel()), in visitDbgLabelIntrinsic()
6809 DILabel *Label = DLI.getLabel(); in visitDbgLabelIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp500 const DILabel *Label; ///< The debug info label we are part of.
512 UserLabel(const DILabel *label, DebugLoc L, SlotIndex Idx) in UserLabel()
516 bool matches(const DILabel *L, const DILocation *IA, in matches()
706 } else if (const auto *L = dyn_cast<const DILabel>(Node)) { in printExtendedName()
905 const DILabel *Label = MI.getDebugLabel(); in handleDebugLabel()
H A DMachineInstr.cpp903 const DILabel *MachineInstr::getDebugLabel() const { in getDebugLabel()
905 return cast<DILabel>(getOperand(0).getMetadata()); in getDebugLabel()
1819 auto *DIL = dyn_cast<DILabel>(MO.getMetadata()); in print()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstr.h41 class DILabel; variable
532 const DILabel *getDebugLabel() const;
H A DSelectionDAG.h56 class DILabel; variable
1751 SDDbgLabel *getDbgLabel(DILabel *Label, const DebugLoc &DL, unsigned O);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp1612 DILabel *OldLabel = LabelRecord->getLabel(); in fixupDebugInfoPostExtraction()
1617 NewLabel = DILabel::get(Ctx, NewScope, OldLabel->getName(), in fixupDebugInfoPostExtraction()
1620 LabelRecord->setLabel(cast<DILabel>(NewLabel)); in fixupDebugInfoPostExtraction()
H A DValueMapper.cpp547 DLR->setLabel(cast<DILabel>(mapMetadata(DLR->getLabel()))); in remapDbgRecord()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp128 assert(isa<DILabel>(Label) && "not a label"); in buildDbgLabel()
129 assert(cast<DILabel>(Label)->isValidLocationForIntrinsic(State.DL) && in buildDbgLabel()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp984 assert(cast<DILabel>(Label)->isValidLocationForIntrinsic(DL) && in EmitDbgLabel()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp2154 GET_OR_DISTINCT(DILabel, (Context, getMDOrNull(Record[1]), in parseOneMetadata()

12