Home
last modified time | relevance | path

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

123456789

/freebsd-13.1/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()
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()
155 << DI->getFilename() << " Line: " << DI->getLine() in runOnMachineFunction()
162 DI = DI->cloneWithDiscriminator(EncodedDiscriminator.getValue()); in runOnMachineFunction()
164 updateDebugInfo(&MI, DI); in runOnMachineFunction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFEmitter.h31 Error emitDebugAbbrev(raw_ostream &OS, const Data &DI);
32 Error emitDebugStr(raw_ostream &OS, const Data &DI);
34 Error emitDebugAranges(raw_ostream &OS, const Data &DI);
35 Error emitDebugRanges(raw_ostream &OS, const Data &DI);
36 Error emitDebugPubnames(raw_ostream &OS, const Data &DI);
37 Error emitDebugPubtypes(raw_ostream &OS, const Data &DI);
40 Error emitDebugInfo(raw_ostream &OS, const Data &DI);
41 Error emitDebugLine(raw_ostream &OS, const Data &DI);
42 Error emitDebugAddr(raw_ostream &OS, const Data &DI);
44 Error emitDebugRnglists(raw_ostream &OS, const Data &DI);
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp88 for (StringRef Str : *DI.DebugStrings) { in emitDebugStr()
244 return emitPubSection(OS, *DI.PubNames, DI.IsLittleEndian); in emitDebugPubnames()
249 return emitPubSection(OS, *DI.PubTypes, DI.IsLittleEndian); in emitDebugPubtypes()
254 return emitPubSection(OS, *DI.GNUPubNames, DI.IsLittleEndian, in emitDebugGNUPubnames()
260 return emitPubSection(OS, *DI.GNUPubTypes, DI.IsLittleEndian, in emitDebugGNUPubtypes()
998 OS, *DI.DebugRnglists, DI.IsLittleEndian, DI.Is64BitAddrSize); in emitDebugRnglists()
1004 OS, *DI.DebugLoclists, DI.IsLittleEndian, DI.Is64BitAddrSize); in emitDebugLoclists()
1062 DWARFYAML::Data DI; in emitDebugSections() local
1063 DI.IsLittleEndian = IsLittleEndian; in emitDebugSections()
1064 DI.Is64BitAddrSize = Is64BitAddrSize; in emitDebugSections()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDiagnosticInfo.h173 return DI->getKind() == DK_InlineAsm; in classof()
213 return DI->getKind() == DK_ResourceLimit || DI->getKind() == DK_StackSize; in classof()
230 return DI->getKind() == DK_StackSize; in classof()
304 return DI->getKind() == DK_SampleProfile; in classof()
334 return DI->getKind() == DK_PGOProfile; in classof()
485 return (DI->getKind() >= DK_FirstRemark && in classof()
674 return DI->getKind() >= DK_FirstRemark && DI->getKind() <= DK_LastRemark; in classof()
944 return DI->getKind() == DK_MIRParser; in classof()
963 return DI->getKind() == DK_ISelFallback; in classof()
1022 return DI->getKind() == DK_Unsupported; in classof()
[all …]
H A DDiagnosticHandler.h30 using DiagnosticHandlerTy = void (*)(const DiagnosticInfo &DI, void *Context);
42 virtual bool handleDiagnostics(const DiagnosticInfo &DI) { in handleDiagnostics()
44 DiagHandlerCallback(DI, DiagnosticContext); in handleDiagnostics()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfiling.c52 const __llvm_profile_data *DI; in __llvm_profile_reset_counters() local
53 for (DI = DataBegin; DI < DataEnd; ++DI) { in __llvm_profile_reset_counters()
56 if (!DI->Values) in __llvm_profile_reset_counters()
59 ValueProfNode **ValueCounters = (ValueProfNode **)DI->Values; in __llvm_profile_reset_counters()
62 CurrentVSiteCount += DI->NumValueSites[VKI]; in __llvm_profile_reset_counters()
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp1435 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagOp()
1440 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagOp()
1442 emitDagArg(DI->getArg(2), std::string(DI->getArgNameStr(2))); in emitDagOp()
1496 emitDagArg(DI->getArg(DI->getNumArgs() - 1), in emitDagCast()
1630 emitDagArg(DI->getArg(0), std::string(DI->getArgNameStr(0))); in emitDagShuffle()
1632 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagShuffle()
1675 emitDagArg(DI->getArg(0), std::string(DI->getArgNameStr(0))); in emitDagDup()
1694 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagDupTyped()
1720 emitDagArg(DI->getArg(0), std::string(DI->getArgNameStr(0))); in emitDagSplat()
1722 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagSplat()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugValueManager.cpp29 MachineBasicBlock::iterator DI = *Instr; in WebAssemblyDebugValueManager() local
30 ++DI; in WebAssemblyDebugValueManager()
31 for (MachineBasicBlock::iterator DE = Instr->getParent()->end(); DI != DE; in WebAssemblyDebugValueManager()
32 ++DI) { in WebAssemblyDebugValueManager()
33 if (DI->isDebugValue() && in WebAssemblyDebugValueManager()
34 DI->hasDebugOperandForReg(Instr->getOperand(0).getReg())) in WebAssemblyDebugValueManager()
35 DbgValues.push_back(&*DI); in WebAssemblyDebugValueManager()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dfunc-id-helper.cpp38 auto &DI = *ResOrErr; in SymbolOrNumber() local
39 if (DI.FunctionName == DILineInfo::BadString) in SymbolOrNumber()
42 F << DI.FunctionName; in SymbolOrNumber()
70 auto &DI = *ResOrErr; in FileLineAndColumn() local
71 F << sys::path::filename(DI.FileName).str() << ":" << DI.Line << ":" in FileLineAndColumn()
72 << DI.Column; in FileLineAndColumn()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOptimizationRemarkEmitter.h44 static bool classof(const DiagnosticInfo *DI) { in classof() argument
45 return DI->getKind() >= DK_FirstMachineRemark && in classof()
46 DI->getKind() <= DK_LastMachineRemark; in classof()
69 static bool classof(const DiagnosticInfo *DI) { in classof() argument
70 return DI->getKind() == DK_MachineOptimizationRemark; in classof()
95 static bool classof(const DiagnosticInfo *DI) { in classof() argument
96 return DI->getKind() == DK_MachineOptimizationRemarkMissed; in classof()
121 static bool classof(const DiagnosticInfo *DI) { in classof() argument
122 return DI->getKind() == DK_MachineOptimizationRemarkAnalysis; in classof()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp102 auto *DI = reinterpret_cast<DescriptorInfo *>(getIntrusiveOperands()) - 1; in getDescriptor() local
103 assert(DI->SizeInBytes != 0 && "Should not have had a descriptor otherwise!"); in getDescriptor()
106 reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes, DI->SizeInBytes); in getDescriptor()
189 auto *DI = reinterpret_cast<DescriptorInfo *>(UseBegin) - 1; in operator delete() local
190 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete()
H A DLLVMContext.cpp198 static bool isDiagnosticEnabled(const DiagnosticInfo &DI) { in isDiagnosticEnabled() argument
206 if (auto *Remark = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in isDiagnosticEnabled()
228 void LLVMContext::diagnose(const DiagnosticInfo &DI) { in diagnose() argument
229 if (auto *OptDiagBase = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in diagnose()
235 (!pImpl->RespectDiagnosticFilters || isDiagnosticEnabled(DI)) && in diagnose()
236 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose()
239 if (!isDiagnosticEnabled(DI)) in diagnose()
244 errs() << getDiagnosticMessagePrefix(DI.getSeverity()) << ": "; in diagnose()
245 DI.print(DP); in diagnose()
247 if (DI.getSeverity() == DS_Error) in diagnose()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp61 clang::CodeGen::CGDebugInfo &DI; member
63 DebugTypeVisitor(clang::CodeGen::CGDebugInfo &DI, ASTContext &Ctx) in DebugTypeVisitor()
64 : DI(DI), Ctx(Ctx) {} in DebugTypeVisitor()
73 DI.EmitImportDecl(*D); in VisitImportDecl()
87 DI.getOrCreateStandaloneType(QualTy, D->getLocation()); in VisitTypeDecl()
94 DI.getOrCreateStandaloneType(QualTy, D->getLocation()); in VisitObjCInterfaceDecl()
111 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitFunctionDecl()
130 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitObjCMethodDecl()
174 auto *DI = Builder->getModuleDebugInfo(); in Initialize() local
176 DI->setPCHDescriptor( in Initialize()
[all …]
H A DCodeGenAction.cpp60 bool handleDiagnostics(const DiagnosticInfo &DI) override;
410 BackendCon->DiagnosticHandlerImpl(DI); in handleDiagnostics()
480 const llvm::SMDiagnostic &D = DI.getSMDiag(); in SrcMgrDiagHandler()
483 if (DI.isInlineAsmDiag()) in SrcMgrDiagHandler()
484 ComputeDiagID(DI.getSeverity(), inline_asm, DiagID); in SrcMgrDiagHandler()
486 ComputeDiagID(DI.getSeverity(), source_mgr, DiagID); in SrcMgrDiagHandler()
511 if (DI.isInlineAsmDiag()) { in SrcMgrDiagHandler()
765 llvm::DiagnosticSeverity Severity = DI.getSeverity(); in DiagnosticHandlerImpl()
767 switch (DI.getKind()) { in DiagnosticHandlerImpl()
774 SrcMgrDiagHandler(cast<DiagnosticInfoSrcMgr>(DI)); in DiagnosticHandlerImpl()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeMoverUtils.h43 DependenceInfo *DI = nullptr);
50 DependenceInfo *DI = nullptr);
57 DependenceInfo &DI);
63 DependenceInfo &DI);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp312 DependenceInfo *DI) { in isSafeToMoveBefore() argument
314 if (!PDT || !DI) in isSafeToMoveBefore()
377 if (llvm::any_of(InstsToCheck, [&DI, &I](Instruction *CurInst) { in isSafeToMoveBefore()
378 auto DepResult = DI->depends(&I, CurInst, true); in isSafeToMoveBefore()
391 DependenceInfo *DI) { in isSafeToMoveBefore() argument
396 return isSafeToMoveBefore(I, InsertPoint, DT, PDT, DI); in isSafeToMoveBefore()
403 DependenceInfo &DI) { in moveInstructionsToTheBeginning() argument
410 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheBeginning()
418 DependenceInfo &DI) { in moveInstructionsToTheEnd() argument
422 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheEnd()
/freebsd-13.1/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-13.1/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-13.1/contrib/llvm-project/llvm/utils/TableGen/
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-13.1/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 …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopCacheAnalysis.cpp206 DependenceInfo &DI, in hasTemporalReuse() argument
217 DI.depends(&StoreOrLoadInst, &Other.StoreOrLoadInst, true); in hasTemporalReuse()
481 AAResults &AA, DependenceInfo &DI, in CacheCost() argument
485 LI(LI), SE(SE), TTI(TTI), AA(AA), DI(DI) { in CacheCost()
499 DependenceInfo &DI, Optional<unsigned> TRT) { in getCacheCost() argument
514 return std::make_unique<CacheCost>(Loops, AR.LI, AR.SE, AR.TTI, AR.AA, DI, TRT); in getCacheCost()
576 R->hasTemporalReuse(Representative, *TRT, *InnerMostLoop, DI, AA); in populateReferenceGroups()
658 DependenceInfo DI(F, &AR.AA, &AR.SE, &AR.LI); in run() local
660 if (auto CC = CacheCost::getCacheCost(L, AR, DI)) in run()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopCacheAnalysis.h82 DependenceInfo &DI, AAResults &AA) const;
187 TargetTransformInfo &TTI, AAResults &AA, DependenceInfo &DI,
195 getCacheCost(Loop &Root, LoopStandardAnalysisResults &AR, DependenceInfo &DI,
263 DependenceInfo &DI; variable
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollAndJamPass.cpp286 AssumptionCache &AC, DependenceInfo &DI, in tryToUnrollAndJamLoop() argument
322 if (!isSafeToUnrollAndJam(L, SE, DT, DI, *LI)) { in tryToUnrollAndJamLoop()
432 AssumptionCache &AC, DependenceInfo &DI, in tryToUnrollAndJamLoop() argument
447 tryToUnrollAndJamLoop(L, DT, &LI, SE, TTI, AC, DI, ORE, OptLevel); in tryToUnrollAndJamLoop()
475 auto &DI = getAnalysis<DependenceAnalysisWrapperPass>().getDI(); in runOnLoop() local
482 tryToUnrollAndJamLoop(L, DT, LI, SE, TTI, AC, DI, ORE, OptLevel); in runOnLoop()
533 DependenceInfo DI(&F, &AR.AA, &AR.SE, &AR.LI); in run() local
536 if (!tryToUnrollAndJamLoop(LN, AR.DT, AR.LI, AR.SE, AR.TTI, AR.AC, DI, ORE, in run()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DTypeLocBuilder.h107 TypeSourceInfo *DI = Context.CreateTypeSourceInfo(T, FullDataSize); in getTypeSourceInfo() local
108 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
109 return DI; in getTypeSourceInfo()

123456789