Home
last modified time | relevance | path

Searched refs:DI (Results 1 – 25 of 226) sorted by relevance

12345678910

/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFEmitter.h31 LLVM_ABI Error emitDebugAbbrev(raw_ostream &OS, const Data &DI);
32 LLVM_ABI Error emitDebugStr(raw_ostream &OS, const Data &DI);
34 LLVM_ABI Error emitDebugAranges(raw_ostream &OS, const Data &DI);
35 LLVM_ABI Error emitDebugRanges(raw_ostream &OS, const Data &DI);
36 LLVM_ABI Error emitDebugPubnames(raw_ostream &OS, const Data &DI);
37 LLVM_ABI Error emitDebugPubtypes(raw_ostream &OS, const Data &DI);
38 LLVM_ABI Error emitDebugGNUPubnames(raw_ostream &OS, const Data &DI);
39 LLVM_ABI Error emitDebugGNUPubtypes(raw_ostream &OS, const Data &DI);
40 LLVM_ABI Error emitDebugInfo(raw_ostream &OS, const Data &DI);
41 LLVM_ABI Error emitDebugLine(raw_ostream &OS, const Data &DI);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DiscriminateMemOps.cpp110 const auto &DI = MI.getDebugLoc(); in runOnMachineFunction() local
111 if (!DI) in runOnMachineFunction()
115 Location Loc = diToLocation(DI); in runOnMachineFunction()
117 Disc = std::max(Disc, DI->getBaseDiscriminator()); in runOnMachineFunction()
133 const DILocation *DI = MI.getDebugLoc(); in runOnMachineFunction() local
134 bool HasDebug = DI; in runOnMachineFunction()
136 DI = ReferenceDI; in runOnMachineFunction()
138 Location L = diToLocation(DI); in runOnMachineFunction()
141 Set.insert(DI->getBaseDiscriminator()); in runOnMachineFunction()
144 DILocation::decodeDiscriminator(DI->getDiscriminator(), BF, DF, CI); in runOnMachineFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp87 Error DWARFYAML::emitDebugStr(raw_ostream &OS, const DWARFYAML::Data &DI) { in emitDebugStr() argument
88 for (StringRef Str : *DI.DebugStrings) { in emitDebugStr()
128 Error DWARFYAML::emitDebugAbbrev(raw_ostream &OS, const DWARFYAML::Data &DI) { in emitDebugAbbrev() argument
129 for (uint64_t I = 0; I < DI.DebugAbbrev.size(); ++I) { in emitDebugAbbrev()
130 StringRef AbbrevTableContent = DI.getAbbrevTableContentByIndex(I); in emitDebugAbbrev()
137 Error DWARFYAML::emitDebugAranges(raw_ostream &OS, const DWARFYAML::Data &DI) { in emitDebugAranges() argument
138 assert(DI.DebugAranges && "unexpected emitDebugAranges() call"); in emitDebugAranges()
139 for (const auto &Range : *DI.DebugAranges) { in emitDebugAranges()
144 AddrSize = DI.Is64BitAddrSize ? 8 : 4; in emitDebugAranges()
164 writeInitialLength(Range.Format, Length, OS, DI.IsLittleEndian); in emitDebugAranges()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDiagnosticInfo.h165 static bool classof(const DiagnosticInfo *DI) { in classof() argument
166 return DI->getKind() == DK_Generic; in classof()
206 static bool classof(const DiagnosticInfo *DI) { in classof() argument
207 return DI->getKind() == DK_InlineAsm; in classof()
234 static bool classof(const DiagnosticInfo *DI) { in classof() argument
235 return DI->getKind() == DK_DebugMetadataVersion; in classof()
257 static bool classof(const DiagnosticInfo *DI) { in classof() argument
258 return DI->getKind() == DK_DebugMetadataInvalid; in classof()
282 static bool classof(const DiagnosticInfo *DI) { in classof() argument
283 return DI->getKind() == DK_SampleProfile; in classof()
[all …]
H A DDiagnosticHandler.h32 using DiagnosticHandlerTy = void (*)(const DiagnosticInfo *DI, void *Context);
44 virtual bool handleDiagnostics(const DiagnosticInfo &DI) { in handleDiagnostics()
46 DiagHandlerCallback(&DI, DiagnosticContext); in handleDiagnostics()
H A DDebugProgramInstruction.h311 DIExpression *Expr, const DILocation *DI,
316 const DILocation *DI);
325 MDNode *AddressExpression, MDNode *DI);
339 MDNode *AddressExpression, MDNode *DI);
345 const DILocation *DI);
350 const DILocation *DI);
354 DIExpression *Expr, const DILocation *DI);
357 DIExpression *Expr, const DILocation *DI,
362 const DILocation *DI);
365 const DILocation *DI, DbgVariableRecord &InsertBefore);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DVarLenCodeEmitterGen.cpp107 const auto *DI = dyn_cast<DagInit>(Arg); in getCustomCoders() local
108 if (!DI) in getCustomCoders()
110 const Init *Op = DI->getOperator(); in getCustomCoders()
117 if (!DI->getNumArgs() || !isa<StringInit>(DI->getArg(0))) in getCustomCoders()
120 StringRef FuncName = cast<StringInit>(DI->getArg(0))->getValue(); in getCustomCoders()
129 VarLenInst::VarLenInst(const DagInit *DI, const RecordVal *TheDef) in VarLenInst() argument
131 buildRec(DI); in VarLenInst()
136 void VarLenInst::buildRec(const DagInit *DI) { in buildRec() argument
139 std::string Op = DI->getOperator()->getAsString(); in buildRec()
143 int i = Reverse ? DI->getNumArgs() - 1 : 0; in buildRec()
[all …]
H A DCodeGenInstAlias.cpp68 const DagInit *DI = InstOpRec->getValueAsDag("MIOperandInfo"); in tryAliasOpMatch() local
71 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch()
173 const DefInit *DI = dyn_cast<DefInit>(Result->getOperator()); in CodeGenInstAlias() local
174 if (!DI || !DI->getDef()->isSubClassOf("Instruction")) in CodeGenInstAlias()
178 ResultInst = &T.getInstruction(DI->getDef()); in CodeGenInstAlias()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp554 std::pair<Type, std::string> emitDagSaveTemp(const DagInit *DI);
555 std::pair<Type, std::string> emitDagSplat(const DagInit *DI);
556 std::pair<Type, std::string> emitDagDup(const DagInit *DI);
557 std::pair<Type, std::string> emitDagDupTyped(const DagInit *DI);
558 std::pair<Type, std::string> emitDagShuffle(const DagInit *DI);
559 std::pair<Type, std::string> emitDagCast(const DagInit *DI, bool IsBitCast);
560 std::pair<Type, std::string> emitDagCall(const DagInit *DI,
562 std::pair<Type, std::string> emitDagNameReplace(const DagInit *DI);
563 std::pair<Type, std::string> emitDagLiteral(const DagInit *DI);
564 std::pair<Type, std::string> emitDagOp(const DagInit *DI);
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfiling.c69 const __llvm_profile_data *DI; in __llvm_profile_reset_counters()
70 for (DI = DataBegin; DI < DataEnd; ++DI) { in __llvm_profile_reset_counters()
73 if (!DI->Values) in __llvm_profile_reset_counters()
76 ValueProfNode **ValueCounters = (ValueProfNode **)DI->Values; in __llvm_profile_reset_counters()
79 CurrentVSiteCount += DI->NumValueSites[VKI]; in __llvm_profile_reset_counters()
65 const __llvm_profile_data *DI; __llvm_profile_reset_counters() local
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCFGDiff.h59 SmallVector<NodePtr, 2> DI[2]; member
81 for (auto Child : Pair.second.DI[IsInsert]) { in printMap()
101 Succ[U.getFrom()].DI[IsInsert].push_back(U.getTo());
102 Pred[U.getTo()].DI[IsInsert].push_back(U.getFrom());
119 auto &SuccList = SuccDIList.DI[IsInsert]; in popUpdateForIncrementalUpdates()
122 if (SuccList.empty() && SuccDIList.DI[!IsInsert].empty()) in popUpdateForIncrementalUpdates()
126 auto &PredList = PredDIList.DI[IsInsert]; in popUpdateForIncrementalUpdates()
129 if (PredList.empty() && PredDIList.DI[!IsInsert].empty()) in popUpdateForIncrementalUpdates()
150 for (auto *Child : It->second.DI[0]) in getChildren()
154 auto &AddedChildren = It->second.DI[ in getChildren()
[all...]
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dfunc-id-helper.cpp39 auto &DI = *ResOrErr; in SymbolOrNumber() local
40 if (DI.FunctionName == DILineInfo::BadString) in SymbolOrNumber()
43 F << DI.FunctionName; in SymbolOrNumber()
71 auto &DI = *ResOrErr; in FileLineAndColumn() local
72 F << sys::path::filename(DI.FileName).str() << ":" << DI.Line << ":" in FileLineAndColumn()
73 << DI.Column; in FileLineAndColumn()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOptimizationRemarkEmitter.h48 static bool classof(const DiagnosticInfo *DI) { in classof() argument
49 return DI->getKind() >= DK_FirstMachineRemark && in classof()
50 DI->getKind() <= DK_LastMachineRemark; in classof()
73 static bool classof(const DiagnosticInfo *DI) { in classof() argument
74 return DI->getKind() == DK_MachineOptimizationRemark; in classof()
99 static bool classof(const DiagnosticInfo *DI) { in classof() argument
100 return DI->getKind() == DK_MachineOptimizationRemarkMissed; in classof()
131 static bool classof(const DiagnosticInfo *DI) { in classof() argument
132 return DI->getKind() == DK_MachineOptimizationRemarkAnalysis; in classof()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp108 auto *DI = reinterpret_cast<DescriptorInfo *>(getIntrusiveOperands()) - 1; in getDescriptor() local
109 assert(DI->SizeInBytes != 0 && "Should not have had a descriptor otherwise!"); in getDescriptor()
112 reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes, DI->SizeInBytes); in getDescriptor()
207 auto *DI = reinterpret_cast<DescriptorInfo *>(UseBegin) - 1; in operator delete() local
208 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete()
H A DLLVMContext.cpp215 static bool isDiagnosticEnabled(const DiagnosticInfo &DI) { in isDiagnosticEnabled() argument
223 if (auto *Remark = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in isDiagnosticEnabled()
245 void LLVMContext::diagnose(const DiagnosticInfo &DI) { in diagnose() argument
246 if (auto *OptDiagBase = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in diagnose()
252 if (DI.getSeverity() == DS_Error) in diagnose()
254 if ((!pImpl->RespectDiagnosticFilters || isDiagnosticEnabled(DI)) && in diagnose()
255 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose()
259 if (!isDiagnosticEnabled(DI)) in diagnose()
264 errs() << getDiagnosticMessagePrefix(DI.getSeverity()) << ": "; in diagnose()
265 DI.print(DP); in diagnose()
[all …]
H A DDebugProgramInstruction.cpp66 DIExpression *Expr, const DILocation *DI, in DbgVariableRecord() argument
68 : DbgRecord(ValueKind, DI), DebugValueUser({Location, nullptr, nullptr}), in DbgVariableRecord()
75 const DILocation *DI) in DbgVariableRecord() argument
76 : DbgRecord(ValueKind, DI), DebugValueUser({Value, Address, AssignID}), in DbgVariableRecord()
166 MDNode *AddressExpression, MDNode *DI) in DbgVariableRecord() argument
167 : DbgRecord(ValueKind, DebugLoc(DI)), in DbgVariableRecord()
174 MDNode *AddressExpression, MDNode *DI) { in createUnresolvedDbgVariableRecord() argument
176 Address, AddressExpression, DI); in createUnresolvedDbgVariableRecord()
182 const DILocation *DI) { in createDbgVariableRecord() argument
183 return new DbgVariableRecord(ValueAsMetadata::get(Location), DV, Expr, DI, in createDbgVariableRecord()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp68 bool handleDiagnostics(const DiagnosticInfo &DI) override;
357 bool ClangDiagnosticHandler::handleDiagnostics(const DiagnosticInfo &DI) { in handleDiagnostics() argument
358 BackendCon->DiagnosticHandlerImpl(DI); in handleDiagnostics()
427 void BackendConsumer::SrcMgrDiagHandler(const llvm::DiagnosticInfoSrcMgr &DI) { in SrcMgrDiagHandler() argument
428 const llvm::SMDiagnostic &D = DI.getSMDiag(); in SrcMgrDiagHandler()
431 if (DI.isInlineAsmDiag()) in SrcMgrDiagHandler()
432 ComputeDiagID(DI.getSeverity(), inline_asm, DiagID); in SrcMgrDiagHandler()
434 ComputeDiagID(DI.getSeverity(), source_mgr, DiagID); in SrcMgrDiagHandler()
459 if (DI.isInlineAsmDiag()) { in SrcMgrDiagHandler()
461 SourceLocation::getFromRawEncoding(DI.getLocCookie()); in SrcMgrDiagHandler()
[all …]
H A DObjectFilePCHContainerWriter.cpp60 clang::CodeGen::CGDebugInfo &DI; member
62 DebugTypeVisitor(clang::CodeGen::CGDebugInfo &DI, ASTContext &Ctx) in DebugTypeVisitor()
63 : DI(DI), Ctx(Ctx) {} in DebugTypeVisitor()
72 DI.EmitImportDecl(*D); in VisitImportDecl()
89 DI.getOrCreateStandaloneType(QualTy, D->getLocation()); in VisitTypeDecl()
96 DI.getOrCreateStandaloneType(QualTy, D->getLocation()); in VisitObjCInterfaceDecl()
117 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitFunctionDecl()
136 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitObjCMethodDecl()
185 auto *DI = Builder->getModuleDebugInfo(); in Initialize() local
187 DI->setPCHDescriptor( in Initialize()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llc/
H A DNewPMDriver.cpp60 bool LLCDiagnosticHandler::handleDiagnostics(const DiagnosticInfo &DI) { in handleDiagnostics() argument
61 DiagnosticHandler::handleDiagnostics(DI); in handleDiagnostics()
62 if (DI.getKind() == llvm::DK_SrcMgr) { in handleDiagnostics()
63 const auto &DISM = cast<DiagnosticInfoSrcMgr>(DI); in handleDiagnostics()
75 if (auto *Remark = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in handleDiagnostics()
80 errs() << LLVMContext::getDiagnosticMessagePrefix(DI.getSeverity()) << ": "; in handleDiagnostics()
81 DI.print(DP); in handleDiagnostics()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeMoverUtils.h50 DependenceInfo *DI = nullptr,
58 DependenceInfo *DI = nullptr);
66 DependenceInfo &DI);
73 DependenceInfo &DI);
/freebsd/contrib/libpcap/msdos/
H A Dpkt_rx0.asm92 ; This macro return ES:DI to tail of Rx queue
96 mov ax, _rxInOfs ;; DI = current in-offset
104 mov di, _rxInOfs ;; ES:DI -> buffer at queue input
108 ;; to ES:DI (= DS:SI on 2nd call) by the packet driver
151 ENQUEUE ; ES:DI -> _pktRxBuf[n]
155 add di, 6 ; ES:DI -> _pktRxBuf[n].destinAdr
158 retf ; far return to driver with ES:DI
164 @skip: xor di, di ; return ES:DI = NIL pointer
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp82 DI = path::begin(Dir), DE = path::end(Dir); in getRelativeIncludeName() local
83 /*termination condition in loop*/; ++NI, ++DI) { in getRelativeIncludeName()
91 while (DI != DE && *DI == ".") in getRelativeIncludeName()
92 ++DI; in getRelativeIncludeName()
96 if (DI == DE) in getRelativeIncludeName()
100 if (NI->size() == 1 && DI->size() == 1 && in getRelativeIncludeName()
101 path::is_separator(NI->front()) && path::is_separator(DI->front())) in getRelativeIncludeName()
107 if (NI->ends_with(".sdk") && DI->ends_with(".sdk")) { in getRelativeIncludeName()
109 StringRef DBasename = path::stem(*DI); in getRelativeIncludeName()
114 if (*NI != *DI) in getRelativeIncludeName()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp314 DependenceInfo *DI, bool CheckForEntireBlock) { in isSafeToMoveBefore() argument
316 if (!PDT || !DI) in isSafeToMoveBefore()
400 if (llvm::any_of(InstsToCheck, [&DI, &I](Instruction *CurInst) { in isSafeToMoveBefore()
401 auto DepResult = DI->depends(&I, CurInst); in isSafeToMoveBefore()
414 DependenceInfo *DI) { in isSafeToMoveBefore() argument
419 return isSafeToMoveBefore(I, InsertPoint, DT, PDT, DI, in isSafeToMoveBefore()
427 DependenceInfo &DI) { in moveInstructionsToTheBeginning() argument
432 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheBeginning()
440 DependenceInfo &DI) { in moveInstructionsToTheEnd() argument
444 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheEnd()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp564 void formatTextOfDeclaration(const DeclInfo *DI,
591 const DeclInfo *DI, SmallString<128> &Declaration) { in formatTextOfDeclaration() argument
834 const DeclInfo *DI = C->getDeclInfo(); in visitFullComment() local
836 if (DI) { in visitFullComment()
837 switch (DI->getKind()) { in visitFullComment()
845 switch (DI->TemplateKind) { in visitFullComment()
858 if (DI->IsInstanceMethod) in visitFullComment()
860 if (DI->IsClassMethod) in visitFullComment()
866 switch (DI->TemplateKind) { in visitFullComment()
900 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DPseudoLoweringEmitter.cpp75 if (const DefInit *DI = dyn_cast<DefInit>(DagArg)) { in addOperandMapping() local
78 if (DI->getDef()->isSubClassOf("Register") || in addOperandMapping()
79 DI->getDef()->getName() == "zero_reg") { in addOperandMapping()
82 Entry.RegRec = DI->getDef(); in addOperandMapping()
86 if (DI->getDef() != OpRec) in addOperandMapping()
88 "', operand type '" + DI->getDef()->getName() + in addOperandMapping()

12345678910