| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | CodeMoverUtilsTest.cpp | 47 Test(*F, DT, PDT, DI); in run() 98 DependenceInfo &DI) { in TEST() argument 189 DependenceInfo &DI) { in TEST() argument 249 DependenceInfo &DI) { in TEST() argument 319 DependenceInfo &DI) { in TEST() argument 373 DependenceInfo &DI) { in TEST() argument 423 DependenceInfo &DI) { in TEST() argument 487 DependenceInfo &DI) { in TEST() argument 579 DependenceInfo &DI) { in TEST() argument 613 DependenceInfo &DI) { in TEST() argument [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86DiscriminateMemOps.cpp | 111 const auto &DI = MI.getDebugLoc(); in runOnMachineFunction() local 112 if (!DI) in runOnMachineFunction() 116 Location Loc = diToLocation(DI); in runOnMachineFunction() 134 const DILocation *DI = MI.getDebugLoc(); in runOnMachineFunction() local 135 bool HasDebug = DI; in runOnMachineFunction() 137 DI = ReferenceDI; in runOnMachineFunction() 139 Location L = diToLocation(DI); in runOnMachineFunction() 156 << DI->getFilename() << " Line: " << DI->getLine() in runOnMachineFunction() 163 DI = DI->cloneWithDiscriminator(*EncodedDiscriminator); in runOnMachineFunction() 165 updateDebugInfo(&MI, DI); in runOnMachineFunction() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/ |
| H A D | DWARFEmitter.h | 30 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 …]
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | DWARFEmitter.cpp | 88 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 …]
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | VarLenCodeEmitterGen.cpp | 91 buildRec(DI); in VarLenInst() 96 void VarLenInst::buildRec(const DagInit *DI) { in buildRec() argument 104 int e = Reverse ? -1 : DI->getNumArgs(); in buildRec() 107 const Init *Arg = DI->getArg(i); in buildRec() 127 if (DI->getNumArgs() < 2) in buildRec() 131 const Init *OperandName = DI->getArg(0), *NumBits = DI->getArg(1); in buildRec() 140 if (DI->getNumArgs() >= 3) in buildRec() 147 if (DI->getNumArgs() < 3) in buildRec() 151 Init *OperandName = DI->getArg(0), *HiBit = DI->getArg(1), in buildRec() 152 *LoBit = DI->getArg(2); in buildRec() [all …]
|
| H A D | VarLenCodeEmitterGen.h | 36 void buildRec(const DagInit *DI); 39 if (const auto *DI = dyn_cast<DagInit>(EI)) { in getCustomEncoderName() local 40 if (DI->getNumArgs() && isa<StringInit>(DI->getArg(0))) in getCustomEncoderName() 41 return cast<StringInit>(DI->getArg(0))->getValue(); in getCustomEncoderName() 49 explicit VarLenInst(const DagInit *DI, const RecordVal *TheDef);
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DiagnosticInfo.h | 180 return DI->getKind() == DK_InlineAsm; in classof() 219 return DI->getKind() == DK_ResourceLimit || DI->getKind() == DK_StackSize; in classof() 236 return DI->getKind() == DK_StackSize; in classof() 310 return DI->getKind() == DK_SampleProfile; in classof() 340 return DI->getKind() == DK_PGOProfile; in classof() 680 return DI->getKind() >= DK_FirstRemark && DI->getKind() <= DK_LastRemark; in classof() 950 return DI->getKind() == DK_MIRParser; in classof() 1028 return DI->getKind() == DK_Unsupported; in classof() 1045 return DI->getKind() == DK_MisExpect; in classof() 1096 return DI->getKind() == DK_SrcMgr; in classof() [all …]
|
| H A D | DiagnosticHandler.h | 30 using DiagnosticHandlerTy = void (*)(const DiagnosticInfo &DI, void *Context); 42 virtual bool handleDiagnostics(const DiagnosticInfo &DI) { in handleDiagnostics() 44 DiagHandlerCallback(DI, DiagnosticContext); in handleDiagnostics()
|
| /llvm-project-15.0.7/compiler-rt/lib/profile/ |
| H A D | InstrProfiling.c | 54 const __llvm_profile_data *DI; in __llvm_profile_reset_counters() local 55 for (DI = DataBegin; DI < DataEnd; ++DI) { in __llvm_profile_reset_counters() 58 if (!DI->Values) in __llvm_profile_reset_counters() 61 ValueProfNode **ValueCounters = (ValueProfNode **)DI->Values; in __llvm_profile_reset_counters() 64 CurrentVSiteCount += DI->NumValueSites[VKI]; in __llvm_profile_reset_counters()
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | NeonEmitter.cpp | 1436 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagOp() 1441 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagOp() 1443 emitDagArg(DI->getArg(2), std::string(DI->getArgNameStr(2))); in emitDagOp() 1497 emitDagArg(DI->getArg(DI->getNumArgs() - 1), in emitDagCast() 1631 emitDagArg(DI->getArg(0), std::string(DI->getArgNameStr(0))); in emitDagShuffle() 1633 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagShuffle() 1676 emitDagArg(DI->getArg(0), std::string(DI->getArgNameStr(0))); in emitDagDup() 1695 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagDupTyped() 1721 emitDagArg(DI->getArg(0), std::string(DI->getArgNameStr(0))); in emitDagSplat() 1723 emitDagArg(DI->getArg(1), std::string(DI->getArgNameStr(1))); in emitDagSplat() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyDebugValueManager.cpp | 29 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()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | CFGDiff.h | 59 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()
|
| /llvm-project-15.0.7/llvm/tools/llvm-xray/ |
| H A D | func-id-helper.cpp | 39 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()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineOptimizationRemarkEmitter.h | 45 static bool classof(const DiagnosticInfo *DI) { in classof() argument 46 return DI->getKind() >= DK_FirstMachineRemark && in classof() 47 DI->getKind() <= DK_LastMachineRemark; in classof() 70 static bool classof(const DiagnosticInfo *DI) { in classof() argument 71 return DI->getKind() == DK_MachineOptimizationRemark; in classof() 96 static bool classof(const DiagnosticInfo *DI) { in classof() argument 97 return DI->getKind() == DK_MachineOptimizationRemarkMissed; in classof() 128 static bool classof(const DiagnosticInfo *DI) { in classof() argument 129 return DI->getKind() == DK_MachineOptimizationRemarkAnalysis; in classof()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | User.cpp | 108 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 D | LLVMContext.cpp | 213 static bool isDiagnosticEnabled(const DiagnosticInfo &DI) { in isDiagnosticEnabled() argument 221 if (auto *Remark = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in isDiagnosticEnabled() 243 void LLVMContext::diagnose(const DiagnosticInfo &DI) { in diagnose() argument 244 if (auto *OptDiagBase = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in diagnose() 250 (!pImpl->RespectDiagnosticFilters || isDiagnosticEnabled(DI)) && in diagnose() 251 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose() 254 if (!isDiagnosticEnabled(DI)) in diagnose() 259 errs() << getDiagnosticMessagePrefix(DI.getSeverity()) << ": "; in diagnose() 260 DI.print(DP); in diagnose() 262 if (DI.getSeverity() == DS_Error) in diagnose()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 463 BackendCon->DiagnosticHandlerImpl(DI); in handleDiagnostics() 533 const llvm::SMDiagnostic &D = DI.getSMDiag(); in SrcMgrDiagHandler() 536 if (DI.isInlineAsmDiag()) in SrcMgrDiagHandler() 537 ComputeDiagID(DI.getSeverity(), inline_asm, DiagID); in SrcMgrDiagHandler() 539 ComputeDiagID(DI.getSeverity(), source_mgr, DiagID); in SrcMgrDiagHandler() 564 if (DI.isInlineAsmDiag()) { in SrcMgrDiagHandler() 861 llvm::DiagnosticSeverity Severity = DI.getSeverity(); in DiagnosticHandlerImpl() 863 switch (DI.getKind()) { in DiagnosticHandlerImpl() 870 SrcMgrDiagHandler(cast<DiagnosticInfoSrcMgr>(DI)); in DiagnosticHandlerImpl() 943 DI.print(DP); in DiagnosticHandlerImpl() [all …]
|
| H A D | ObjectFilePCHContainerOperations.cpp | 62 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() 181 auto *DI = Builder->getModuleDebugInfo(); in Initialize() local 183 DI->setPCHDescriptor( in Initialize() [all …]
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | codegen-flags.test | 8 …4-linux-gnu -emit-llvm -debug-info-kind=limited -o - %t/foo-di.pcm | FileCheck --check-prefix=DI %s 11 …es -fmodule-file=%t/foo-di.pcm %S/Inputs/codegen-flags/use.cpp | FileCheck --check-prefix=DI-USE %s 21 DI-NOT: define 22 DI: distinct !DICompositeType(tag: DW_TAG_structure_type, name: "foo" 24 DI-USE: define linkonce_odr void @_Z2f1v 25 DI-USE: = !DICompositeType(tag: DW_TAG_structure_type, name: "foo", {{.*}}, flags: DIFlagFwdDecl
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | DDGTest.cpp | 26 DependenceInfo &DI, ScalarEvolution &SE)> in runTest() argument 38 DependenceInfo DI(F, &AA, &SE, &LI); in runTest() local 39 Test(*F, LI, DI, SE); in runTest() 91 [&](Function &F, LoopInfo &LI, DependenceInfo &DI, ScalarEvolution &SE) { in TEST() argument 95 DataDependenceGraph DDG(*L, LI, DI); in TEST() 207 [&](Function &F, LoopInfo &LI, DependenceInfo &DI, ScalarEvolution &SE) { in TEST() argument 211 DataDependenceGraph DDG(*L, LI, DI); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | CodeMoverUtils.h | 43 DependenceInfo *DI = nullptr, 51 DependenceInfo *DI = nullptr); 58 DependenceInfo &DI); 64 DependenceInfo &DI);
|
| /llvm-project-15.0.7/llvm/test/Linker/ |
| H A D | link-flags.ll | 5 ….b.ll %S/Inputs/linkage.c.ll %S/Inputs/linkage.d.ll | FileCheck %s -check-prefix=B -check-prefix=DI 12 DI-LABEL: @llvm.used = appending global [2 x i8*] [i8* @Y, i8* bitcast (i64 ()* @foo to i8*)], sect… 13 DI-LABEL: @Y = global i8 42 24 DI-LABEL: define internal i32 @foo.6() 25 DI-LABEL: define i64 @foo()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | attr-mode-vector-types-tmpl.cpp | 10 typedef T __attribute__((mode(DI))) T4; in CheckIntScalarTypes() 26 typedef int __attribute__((mode(DI))) __attribute__((vector_size(64))) VT_31; in CheckIntVectorTypes() 61 typedef int __attribute__((mode(DI))) Int64Ty1; 62 typedef enum __attribute__((mode(DI))) { A2 } Int64Ty2;
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CodeMoverUtils.cpp | 312 DependenceInfo *DI, bool CheckForEntireBlock) { in isSafeToMoveBefore() argument 314 if (!PDT || !DI) in isSafeToMoveBefore() 385 if (llvm::any_of(InstsToCheck, [&DI, &I](Instruction *CurInst) { in isSafeToMoveBefore() 386 auto DepResult = DI->depends(&I, CurInst, true); in isSafeToMoveBefore() 399 DependenceInfo *DI) { in isSafeToMoveBefore() argument 404 return isSafeToMoveBefore(I, InsertPoint, DT, PDT, DI, in isSafeToMoveBefore() 412 DependenceInfo &DI) { in moveInstructionsToTheBeginning() argument 417 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheBeginning() 425 DependenceInfo &DI) { in moveInstructionsToTheEnd() argument 429 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheEnd()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | PlistReporter.cpp | 82 DI = diags.begin(), DE = diags.end(); DI != DE; ++DI) { in writeARCDiagsToPlist() local 84 const StoredDiagnostic &D = *DI; in writeARCDiagsToPlist()
|