Home
last modified time | relevance | path

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

123456789

/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);
37 Error emitDebugGNUPubnames(raw_ostream &OS, const Data &DI);
38 Error emitDebugGNUPubtypes(raw_ostream &OS, const Data &DI);
39 Error emitDebugInfo(raw_ostream &OS, const Data &DI);
40 Error emitDebugLine(raw_ostream &OS, const Data &DI);
[all …]
/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()
120 std::max(MemOpDiscriminators[Loc], DI->getBaseDiscriminator()); 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()
144 Set.insert(DI->getBaseDiscriminator()); in runOnMachineFunction()
147 DILocation::decodeDiscriminator(DI->getDiscriminator(), BF, DF, CI); in runOnMachineFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp88 Error DWARFYAML::emitDebugStr(raw_ostream &OS, const DWARFYAML::Data &DI) { in emitDebugStr() argument
89 for (StringRef Str : *DI.DebugStrings) { in emitDebugStr()
132 Error DWARFYAML::emitDebugAbbrev(raw_ostream &OS, const DWARFYAML::Data &DI) { in emitDebugAbbrev() argument
133 for (uint64_t I = 0; I < DI.DebugAbbrev.size(); ++I) { in emitDebugAbbrev()
134 StringRef AbbrevTableContent = DI.getAbbrevTableContentByIndex(I); in emitDebugAbbrev()
141 Error DWARFYAML::emitDebugAranges(raw_ostream &OS, const DWARFYAML::Data &DI) { in emitDebugAranges() argument
142 assert(DI.DebugAranges && "unexpected emitDebugAranges() call"); in emitDebugAranges()
143 for (const auto &Range : *DI.DebugAranges) { in emitDebugAranges()
148 AddrSize = DI.Is64BitAddrSize ? 8 : 4; in emitDebugAranges()
168 writeInitialLength(Range.Format, Length, OS, DI.IsLittleEndian); in emitDebugAranges()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDiagnosticInfo.h179 static bool classof(const DiagnosticInfo *DI) { in classof() argument
180 return DI->getKind() == DK_InlineAsm; in classof()
207 static bool classof(const DiagnosticInfo *DI) { in classof() argument
208 return DI->getKind() == DK_DebugMetadataVersion; in classof()
229 static bool classof(const DiagnosticInfo *DI) { in classof() argument
230 return DI->getKind() == DK_DebugMetadataInvalid; in classof()
253 static bool classof(const DiagnosticInfo *DI) { in classof() argument
254 return DI->getKind() == DK_SampleProfile; in classof()
283 static bool classof(const DiagnosticInfo *DI) { in classof() argument
284 return DI->getKind() == DK_PGOProfile; 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.h296 const DILocation *DI,
301 const DILocation *DI);
310 MDNode *AddressExpression, MDNode *DI);
324 MDNode *AddressExpression, MDNode *DI);
330 const DILocation *DI);
335 const DILocation *DI);
340 const DILocation *DI);
343 DIExpression *Expr, const DILocation *DI,
348 const DILocation *DI);
351 const DILocation *DI, DbgVariableRecord &InsertBefore);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
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()
118 StringRef FuncName = cast<StringInit>(DI->getArg(0))->getValue(); in getCustomCoders()
127 VarLenInst::VarLenInst(const DagInit *DI, const RecordVal *TheDef) in VarLenInst() argument
129 buildRec(DI); in VarLenInst()
134 void VarLenInst::buildRec(const DagInit *DI) { in buildRec() argument
137 std::string Op = DI->getOperator()->getAsString(); in buildRec()
141 int i = Reverse ? DI->getNumArgs() - 1 : 0; in buildRec()
[all …]
H A DCodeGenInstAlias.cpp68 DagInit *DI = InstOpRec->getValueAsDag("MIOperandInfo"); in tryAliasOpMatch() local
71 InstOpRec = cast<DefInit>(DI->getArg(0))->getDef(); in tryAliasOpMatch()
173 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.cpp526 std::pair<Type, std::string> emitDagSaveTemp(DagInit *DI);
527 std::pair<Type, std::string> emitDagSplat(DagInit *DI);
528 std::pair<Type, std::string> emitDagDup(DagInit *DI);
529 std::pair<Type, std::string> emitDagDupTyped(DagInit *DI);
530 std::pair<Type, std::string> emitDagShuffle(DagInit *DI);
531 std::pair<Type, std::string> emitDagCast(DagInit *DI, bool IsBitCast);
532 std::pair<Type, std::string> emitDagCall(DagInit *DI,
534 std::pair<Type, std::string> emitDagNameReplace(DagInit *DI);
535 std::pair<Type, std::string> emitDagLiteral(DagInit *DI);
536 std::pair<Type, std::string> emitDagOp(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.h47 static bool classof(const DiagnosticInfo *DI) { in classof() argument
48 return DI->getKind() >= DK_FirstMachineRemark && in classof()
49 DI->getKind() <= DK_LastMachineRemark; in classof()
72 static bool classof(const DiagnosticInfo *DI) { in classof() argument
73 return DI->getKind() == DK_MachineOptimizationRemark; in classof()
98 static bool classof(const DiagnosticInfo *DI) { in classof() argument
99 return DI->getKind() == DK_MachineOptimizationRemarkMissed; in classof()
130 static bool classof(const DiagnosticInfo *DI) { in classof() argument
131 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.cpp230 static bool isDiagnosticEnabled(const DiagnosticInfo &DI) { in isDiagnosticEnabled() argument
238 if (auto *Remark = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in isDiagnosticEnabled()
260 void LLVMContext::diagnose(const DiagnosticInfo &DI) { in diagnose() argument
261 if (auto *OptDiagBase = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in diagnose()
267 if (DI.getSeverity() == DS_Error) in diagnose()
269 if ((!pImpl->RespectDiagnosticFilters || isDiagnosticEnabled(DI)) && in diagnose()
270 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose()
274 if (!isDiagnosticEnabled(DI)) in diagnose()
279 errs() << getDiagnosticMessagePrefix(DI.getSeverity()) << ": "; in diagnose()
280 DI.print(DP); in diagnose()
[all …]
H A DDebugProgramInstruction.cpp65 DIExpression *Expr, const DILocation *DI, in DbgVariableRecord() argument
67 : DbgRecord(ValueKind, DI), DebugValueUser({Location, nullptr, nullptr}), in DbgVariableRecord()
74 const DILocation *DI) in DbgVariableRecord() argument
75 : DbgRecord(ValueKind, DI), DebugValueUser({Value, Address, AssignID}), in DbgVariableRecord()
165 MDNode *AddressExpression, MDNode *DI) in DbgVariableRecord() argument
166 : DbgRecord(ValueKind, DebugLoc(DI)), in DbgVariableRecord()
173 MDNode *AddressExpression, MDNode *DI) { in createUnresolvedDbgVariableRecord() argument
175 Address, AddressExpression, DI); in createUnresolvedDbgVariableRecord()
181 const DILocation *DI) { in createDbgVariableRecord() argument
182 return new DbgVariableRecord(ValueAsMetadata::get(Location), DV, Expr, DI, in createDbgVariableRecord()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp70 bool handleDiagnostics(const DiagnosticInfo &DI) override;
395 bool ClangDiagnosticHandler::handleDiagnostics(const DiagnosticInfo &DI) { in handleDiagnostics() argument
396 BackendCon->DiagnosticHandlerImpl(DI); in handleDiagnostics()
465 void BackendConsumer::SrcMgrDiagHandler(const llvm::DiagnosticInfoSrcMgr &DI) { in SrcMgrDiagHandler() argument
466 const llvm::SMDiagnostic &D = DI.getSMDiag(); in SrcMgrDiagHandler()
469 if (DI.isInlineAsmDiag()) in SrcMgrDiagHandler()
470 ComputeDiagID(DI.getSeverity(), inline_asm, DiagID); in SrcMgrDiagHandler()
472 ComputeDiagID(DI.getSeverity(), source_mgr, DiagID); in SrcMgrDiagHandler()
497 if (DI.isInlineAsmDiag()) { in SrcMgrDiagHandler()
499 SourceLocation::getFromRawEncoding(DI.getLocCookie()); in SrcMgrDiagHandler()
[all …]
/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/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/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.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/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, true); 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/llvm/utils/TableGen/
H A DPseudoLoweringEmitter.cpp78 if (DefInit *DI = dyn_cast<DefInit>(Dag->getArg(i))) { in addDagOperandMapping() local
81 if (DI->getDef()->isSubClassOf("Register") || in addDagOperandMapping()
82 DI->getDef()->getName() == "zero_reg") { in addDagOperandMapping()
84 OperandMap[BaseIdx + i].Data.Reg = DI->getDef(); in addDagOperandMapping()
94 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) { in addDagOperandMapping()
96 "', operand type '" + DI->getDef()->getName() + in addDagOperandMapping()
99 PrintFatalNote(DI->getDef(), in addDagOperandMapping()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp565 void formatTextOfDeclaration(const DeclInfo *DI,
592 const DeclInfo *DI, SmallString<128> &Declaration) { in formatTextOfDeclaration() argument
835 const DeclInfo *DI = C->getDeclInfo(); in visitFullComment() local
837 if (DI) { in visitFullComment()
838 switch (DI->getKind()) { in visitFullComment()
846 switch (DI->TemplateKind) { in visitFullComment()
859 if (DI->IsInstanceMethod) in visitFullComment()
861 if (DI->IsClassMethod) in visitFullComment()
867 switch (DI->TemplateKind) { in visitFullComment()
901 SourceLocation Loc = DI->CurrentDecl->getLocation(); in visitFullComment()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp442 MachineInstr *DI = MRI->getVRegDef(PhiOpReg); in findInductionRegister() local
444 if (DI->getDesc().isAdd()) { in findInductionRegister()
447 Register IndReg = DI->getOperand(1).getReg(); in findInductionRegister()
448 MachineOperand &Opnd2 = DI->getOperand(2); in findInductionRegister()
451 Register UpdReg = DI->getOperand(0).getReg(); in findInductionRegister()
1509 MachineInstr *DI = MRI->getVRegDef(R); in checkForImmediate() local
1510 unsigned DOpc = DI->getOpcode(); in checkForImmediate()
1520 if (!checkForImmediate(DI->getOperand(1), TV)) in checkForImmediate()
1528 const MachineOperand &S1 = DI->getOperand(1); in checkForImmediate()
1529 const MachineOperand &S2 = DI->getOperand(2); in checkForImmediate()
[all …]

123456789