Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DiscriminateMemOps.cpp113 const auto &DI = MI.getDebugLoc(); in runOnMachineFunction() local
114 if (!DI) in runOnMachineFunction()
118 Location Loc = diToLocation(DI); in runOnMachineFunction()
136 const DILocation *DI = MI.getDebugLoc(); in runOnMachineFunction() local
137 bool HasDebug = DI; in runOnMachineFunction()
139 DI = ReferenceDI; in runOnMachineFunction()
141 Location L = diToLocation(DI); in runOnMachineFunction()
158 << DI->getFilename() << " Line: " << DI->getLine() in runOnMachineFunction()
165 DI = DI->cloneWithDiscriminator(*EncodedDiscriminator); in runOnMachineFunction()
167 updateDebugInfo(&MI, DI); in runOnMachineFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFEmitter.h30 Error emitDebugAbbrev(raw_ostream &OS, const Data &DI);
31 Error emitDebugStr(raw_ostream &OS, const Data &DI);
33 Error emitDebugAranges(raw_ostream &OS, const Data &DI);
34 Error emitDebugRanges(raw_ostream &OS, const Data &DI);
35 Error emitDebugPubnames(raw_ostream &OS, const Data &DI);
36 Error emitDebugPubtypes(raw_ostream &OS, const Data &DI);
39 Error emitDebugInfo(raw_ostream &OS, const Data &DI);
40 Error emitDebugLine(raw_ostream &OS, const Data &DI);
41 Error emitDebugAddr(raw_ostream &OS, const Data &DI);
43 Error emitDebugRnglists(raw_ostream &OS, const Data &DI);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp89 for (StringRef Str : *DI.DebugStrings) { in emitDebugStr()
245 return emitPubSection(OS, *DI.PubNames, DI.IsLittleEndian); in emitDebugPubnames()
250 return emitPubSection(OS, *DI.PubTypes, DI.IsLittleEndian); in emitDebugPubtypes()
255 return emitPubSection(OS, *DI.GNUPubNames, DI.IsLittleEndian, in emitDebugGNUPubnames()
261 return emitPubSection(OS, *DI.GNUPubTypes, DI.IsLittleEndian, in emitDebugGNUPubtypes()
999 OS, *DI.DebugRnglists, DI.IsLittleEndian, DI.Is64BitAddrSize); in emitDebugRnglists()
1005 OS, *DI.DebugLoclists, DI.IsLittleEndian, DI.Is64BitAddrSize); in emitDebugLoclists()
1063 DWARFYAML::Data DI; in emitDebugSections() local
1064 DI.IsLittleEndian = IsLittleEndian; in emitDebugSections()
1065 DI.Is64BitAddrSize = Is64BitAddrSize; in emitDebugSections()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDiagnosticInfo.h180 return DI->getKind() == DK_InlineAsm; in classof()
254 return DI->getKind() == DK_SampleProfile; in classof()
284 return DI->getKind() == DK_PGOProfile; in classof()
389 return DI->getKind() == DK_ResourceLimit || DI->getKind() == DK_StackSize; in classof()
407 return DI->getKind() == DK_StackSize; in classof()
679 return DI->getKind() >= DK_FirstRemark && DI->getKind() <= DK_LastRemark; in classof()
949 return DI->getKind() == DK_MIRParser; in classof()
1027 return DI->getKind() == DK_Unsupported; in classof()
1044 return DI->getKind() == DK_MisExpect; in classof()
1095 return DI->getKind() == DK_SrcMgr; in classof()
[all …]
H A DDiagnosticHandler.h31 using DiagnosticHandlerTy = void (*)(const DiagnosticInfo &DI, void *Context);
43 virtual bool handleDiagnostics(const DiagnosticInfo &DI) { in handleDiagnostics()
45 DiagHandlerCallback(DI, DiagnosticContext); in handleDiagnostics()
H A DDebugProgramInstruction.h127 const DILocation *DI, LocationType Type = LocationType::Value);
130 DIExpression *AddressExpression, const DILocation *DI);
136 const DILocation *DI);
142 const DILocation *DI);
145 DIExpression *Expr, const DILocation *DI);
147 DIExpression *Expr, const DILocation *DI,
150 DIExpression *Expr, const DILocation *DI);
152 DIExpression *Expr, const DILocation *DI,
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DVarLenCodeEmitterGen.cpp105 const auto *DI = dyn_cast<DagInit>(Arg); in getCustomCoders() local
106 if (!DI) in getCustomCoders()
108 const Init *Op = DI->getOperator(); in getCustomCoders()
115 if (!DI->getNumArgs() || !isa<StringInit>(DI->getArg(0))) in getCustomCoders()
129 buildRec(DI); in VarLenInst()
145 const Init *Arg = DI->getArg(i); in buildRec()
166 if (DI->getNumArgs() < 2) in buildRec()
170 const Init *OperandName = DI->getArg(0), *NumBits = DI->getArg(1); in buildRec()
185 if (DI->getNumArgs() < 3) in buildRec()
189 Init *OperandName = DI->getArg(0), *HiBit = DI->getArg(1), in buildRec()
[all …]
H A DPseudoLoweringEmitter.cpp77 if (DefInit *DI = dyn_cast<DefInit>(Dag->getArg(i))) { in addDagOperandMapping() local
80 if (DI->getDef()->isSubClassOf("Register") || in addDagOperandMapping()
81 DI->getDef()->getName() == "zero_reg") { in addDagOperandMapping()
83 OperandMap[BaseIdx + i].Data.Reg = DI->getDef(); in addDagOperandMapping()
93 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) { in addDagOperandMapping()
95 "', operand type '" + DI->getDef()->getName() + in addDagOperandMapping()
98 PrintFatalNote(DI->getDef(), in addDagOperandMapping()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp1448 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagOp()
1453 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagOp()
1455 emitDagArg(DI->getArg(2), std::string(DI->getArgNameStr(2))); in emitDagOp()
1509 emitDagArg(DI->getArg(DI->getNumArgs() - 1), in emitDagCast()
1643 emitDagArg(DI->getArg(0), std::string(DI->getArgNameStr(0))); in emitDagShuffle()
1645 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagShuffle()
1688 emitDagArg(DI->getArg(0), std::string(DI->getArgNameStr(0))); in emitDagDup()
1707 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagDupTyped()
1733 emitDagArg(DI->getArg(0), std::string(DI->getArgNameStr(0))); in emitDagSplat()
1735 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagSplat()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfiling.c69 const __llvm_profile_data *DI; in __llvm_profile_reset_counters() local
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()
/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[1]; in getChildren()
/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.h46 static bool classof(const DiagnosticInfo *DI) { in classof() argument
47 return DI->getKind() >= DK_FirstMachineRemark && in classof()
48 DI->getKind() <= DK_LastMachineRemark; in classof()
71 static bool classof(const DiagnosticInfo *DI) { in classof() argument
72 return DI->getKind() == DK_MachineOptimizationRemark; in classof()
97 static bool classof(const DiagnosticInfo *DI) { in classof() argument
98 return DI->getKind() == DK_MachineOptimizationRemarkMissed; in classof()
129 static bool classof(const DiagnosticInfo *DI) { in classof() argument
130 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()
195 auto *DI = reinterpret_cast<DescriptorInfo *>(UseBegin) - 1; in operator delete() local
196 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete()
H A DLLVMContext.cpp223 static bool isDiagnosticEnabled(const DiagnosticInfo &DI) { in isDiagnosticEnabled() argument
231 if (auto *Remark = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in isDiagnosticEnabled()
253 void LLVMContext::diagnose(const DiagnosticInfo &DI) { in diagnose() argument
254 if (auto *OptDiagBase = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in diagnose()
260 if (DI.getSeverity() == DS_Error) in diagnose()
262 if ((!pImpl->RespectDiagnosticFilters || isDiagnosticEnabled(DI)) && in diagnose()
263 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose()
267 if (!isDiagnosticEnabled(DI)) in diagnose()
272 errs() << getDiagnosticMessagePrefix(DI.getSeverity()) << ": "; in diagnose()
273 DI.print(DP); in diagnose()
[all …]
H A DDebugProgramInstruction.cpp48 const DILocation *DI, LocationType Type) in DPValue() argument
50 Expression(Expr), DbgLoc(DI), Type(Type) {}
55 const DILocation *DI) in DPValue() argument
64 return new DPValue(ValueAsMetadata::get(Location), DV, Expr, DI, in createDPValue()
69 DIExpression *Expr, const DILocation *DI, in createDPValue() argument
71 auto *NewDPValue = createDPValue(Location, DV, Expr, DI); in createDPValue()
78 return new DPValue(ValueAsMetadata::get(Address), DV, Expr, DI, in createDPVDeclare()
85 auto *NewDPVDeclare = createDPVDeclare(Address, DV, Expr, DI); in createDPVDeclare()
94 const DILocation *DI) { in createDPVAssign() argument
104 const DILocation *DI) { in createLinkedDPVAssign() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp71 bool handleDiagnostics(const DiagnosticInfo &DI) override;
421 BackendCon->DiagnosticHandlerImpl(DI); in handleDiagnostics()
491 const llvm::SMDiagnostic &D = DI.getSMDiag(); in SrcMgrDiagHandler()
494 if (DI.isInlineAsmDiag()) in SrcMgrDiagHandler()
495 ComputeDiagID(DI.getSeverity(), inline_asm, DiagID); in SrcMgrDiagHandler()
522 if (DI.isInlineAsmDiag()) { in SrcMgrDiagHandler()
831 llvm::DiagnosticSeverity Severity = DI.getSeverity(); in DiagnosticHandlerImpl()
833 switch (DI.getKind()) { in DiagnosticHandlerImpl()
840 SrcMgrDiagHandler(cast<DiagnosticInfoSrcMgr>(DI)); in DiagnosticHandlerImpl()
918 DI.print(DP); in DiagnosticHandlerImpl()
[all …]
H A DObjectFilePCHContainerOperations.cpp62 clang::CodeGen::CGDebugInfo &DI; member
64 DebugTypeVisitor(clang::CodeGen::CGDebugInfo &DI, ASTContext &Ctx) in DebugTypeVisitor()
65 : DI(DI), Ctx(Ctx) {} in DebugTypeVisitor()
74 DI.EmitImportDecl(*D); in VisitImportDecl()
88 DI.getOrCreateStandaloneType(QualTy, D->getLocation()); in VisitTypeDecl()
95 DI.getOrCreateStandaloneType(QualTy, D->getLocation()); in VisitObjCInterfaceDecl()
116 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitFunctionDecl()
135 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitObjCMethodDecl()
184 auto *DI = Builder->getModuleDebugInfo(); in Initialize() local
186 DI->setPCHDescriptor( in Initialize()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeMoverUtils.h46 DependenceInfo *DI = nullptr,
54 DependenceInfo *DI = nullptr);
61 DependenceInfo &DI);
67 DependenceInfo &DI);
/freebsd/contrib/llvm-project/llvm/tools/llc/
H A DNewPMDriver.cpp63 bool LLCDiagnosticHandler::handleDiagnostics(const DiagnosticInfo &DI) { in handleDiagnostics() argument
64 DiagnosticHandler::handleDiagnostics(DI); in handleDiagnostics()
65 if (DI.getKind() == llvm::DK_SrcMgr) { in handleDiagnostics()
66 const auto &DISM = cast<DiagnosticInfoSrcMgr>(DI); in handleDiagnostics()
78 if (auto *Remark = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in handleDiagnostics()
83 errs() << LLVMContext::getDiagnosticMessagePrefix(DI.getSeverity()) << ": "; in handleDiagnostics()
84 DI.print(DP); in handleDiagnostics()
/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/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp314 DependenceInfo *DI, bool CheckForEntireBlock) { in isSafeToMoveBefore() argument
316 if (!PDT || !DI) in isSafeToMoveBefore()
387 if (llvm::any_of(InstsToCheck, [&DI, &I](Instruction *CurInst) { in isSafeToMoveBefore()
388 auto DepResult = DI->depends(&I, CurInst, true); in isSafeToMoveBefore()
401 DependenceInfo *DI) { in isSafeToMoveBefore() argument
406 return isSafeToMoveBefore(I, InsertPoint, DT, PDT, DI, in isSafeToMoveBefore()
414 DependenceInfo &DI) { in moveInstructionsToTheBeginning() argument
419 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheBeginning()
427 DependenceInfo &DI) { in moveInstructionsToTheEnd() argument
431 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheEnd()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DPlistReporter.cpp82 DI = diags.begin(), DE = diags.end(); DI != DE; ++DI) { in writeARCDiagsToPlist() local
84 const StoredDiagnostic &D = *DI; in writeARCDiagsToPlist()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp83 DI = path::begin(Dir), DE = path::end(Dir); in getRelativeIncludeName() local
84 /*termination condition in loop*/; ++NI, ++DI) { in getRelativeIncludeName()
92 while (DI != DE && *DI == ".") in getRelativeIncludeName()
93 ++DI; in getRelativeIncludeName()
97 if (DI == DE) in getRelativeIncludeName()
101 if (NI->size() == 1 && DI->size() == 1 && in getRelativeIncludeName()
102 path::is_separator(NI->front()) && path::is_separator(DI->front())) in getRelativeIncludeName()
108 if (NI->ends_with(".sdk") && DI->ends_with(".sdk")) { in getRelativeIncludeName()
110 StringRef DBasename = path::stem(*DI); in getRelativeIncludeName()
115 if (*NI != *DI) in getRelativeIncludeName()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp822 const DeclInfo *DI = C->getDeclInfo(); in visitFullComment() local
824 if (DI) { in visitFullComment()
825 switch (DI->getKind()) { in visitFullComment()
833 switch (DI->TemplateKind) { in visitFullComment()
846 if (DI->IsInstanceMethod) in visitFullComment()
848 if (DI->IsClassMethod) in visitFullComment()
854 switch (DI->TemplateKind) { in visitFullComment()
924 generateUSRForDecl(DI->CommentDecl, USR); in visitFullComment()
947 getSourceTextOfDeclaration(DI, Declaration); in visitFullComment()
948 formatTextOfDeclaration(DI, Declaration); in visitFullComment()
[all …]

12345678910