| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 1342 DB << V; 1385 return DB; 1391 return DB; 1398 return DB; 1404 return DB; 1410 return DB; 1416 return DB; 1426 return DB; 1432 return DB; 1438 return DB; [all …]
|
| H A D | PartialDiagnostic.h | 59 const StreamingDiagnostic &DB = *this; variable 60 DB << V; 70 const StreamingDiagnostic &DB = *this; variable 71 DB << std::move(V); 144 void Emit(const DiagnosticBuilder &DB) const { in Emit() argument 160 DB.AddSourceRange(Range); in Emit() 164 DB.AddFixItHint(Fix); in Emit() 172 Emit(DB); in EmitToString() 174 DB.Clear(); in EmitToString() 199 PD.Emit(DB); [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | BDCE.cpp | 56 !DB.getDemandedBits(J).isAllOnes()) { in clearAssumptionsOfUsers() 87 !DB.getDemandedBits(K).isAllOnes()) in clearAssumptionsOfUsers() 93 static bool bitTrackingDCE(Function &F, DemandedBits &DB) { in bitTrackingDCE() argument 105 if (DB.isInstructionDead(&I) || in bitTrackingDCE() 115 APInt Demanded = DB.getDemandedBits(SE); in bitTrackingDCE() 120 clearAssumptionsOfUsers(SE, DB); in bitTrackingDCE() 139 if (!DB.isUseDead(&U)) in bitTrackingDCE() 144 clearAssumptionsOfUsers(&I, DB); in bitTrackingDCE() 169 auto &DB = AM.getResult<DemandedBitsAnalysis>(F); in run() local 170 if (!bitTrackingDCE(F, DB)) in run() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | GlobalCompilationDatabaseTests.cpp | 43 DirectoryBasedGlobalCompilationDatabase DB(TFS); in TEST() local 50 Cmd = DB.getFallbackCommand(testPath("foo/bar.h")); in TEST() 53 Cmd = DB.getFallbackCommand(testPath("foo/bar")); in TEST() 210 DirectoryBasedGlobalCompilationDatabase DB(FS); in TEST() local 223 DB.getCompileCommand(testPath("build/gen.cc")); in TEST() 262 DB.getCompileCommand(testPath("b.cc")); in TEST() 284 DB.getCompileCommand(testPath("a.cc")); in TEST() 393 OverlayCDB DB(nullptr); in TEST() local 409 EXPECT_TRUE(DB.getCompileCommand(File)); in TEST() 410 EXPECT_FALSE(DB.getProjectInfo(File)); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | strict-vtable-pointers.cpp | 59 DynamicBase1 DB; in LocalObjects() local 60 DB.foo(); in LocalObjects() 101 DynamicBase1 *DB = new DynamicBase1; in Pointers1() local 102 DB->foo(); in Pointers1() 104 DynamicDerived *DD = new (DB) DynamicDerived; in Pointers1() 117 DynamicBase1 DB; in HackingObjects() local 118 DB.foo(); in HackingObjects() 120 DynamicDerived *DB2 = new (&DB) DynamicDerived; in HackingObjects() 126 new (&DB) DynamicBase1; in HackingObjects() 127 DB.foo(); in HackingObjects()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | CompilationDatabase.cpp | 71 if (std::unique_ptr<CompilationDatabase> DB = in loadFromDirectory() local 73 return DB; in loadFromDirectory() 87 if (std::unique_ptr<CompilationDatabase> DB = in findCompilationDatabaseFromDirectory() local 89 return DB; in findCompilationDatabaseFromDirectory() 109 std::unique_ptr<CompilationDatabase> DB = in autoDetectFromSource() local 112 if (!DB) in autoDetectFromSource() 115 return DB; in autoDetectFromSource() 123 std::unique_ptr<CompilationDatabase> DB = in autoDetectFromDirectory() local 126 if (!DB) in autoDetectFromDirectory() 129 return DB; in autoDetectFromDirectory()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/tool/ |
| H A D | ClangIncludeFixer.cpp | 194 llvm::ErrorOr<std::unique_ptr<include_fixer::YamlSymbolIndex>> DB( in createSymbolIndexManager() local 197 DB = include_fixer::YamlSymbolIndex::createFromFile(Input); in createSymbolIndexManager() 204 DB = include_fixer::YamlSymbolIndex::createFromDirectory( in createSymbolIndexManager() 208 if (!DB) { in createSymbolIndexManager() 209 llvm::errs() << "Couldn't find YAML db: " << DB.getError().message() in createSymbolIndexManager() 213 return std::move(*DB); in createSymbolIndexManager() 224 auto DB = include_fixer::FuzzySymbolIndex::createFromYAML(Input); in createSymbolIndexManager() local 225 if (!DB) { in createSymbolIndexManager() 227 << llvm::toString(DB.takeError()) << '\n'; in createSymbolIndexManager() 230 return std::move(*DB); in createSymbolIndexManager()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 543 static const T &DiagTemplateArg(const T &DB, const TemplateArgument &Arg) { in DiagTemplateArg() argument 548 return DB << "(null template argument)"; in DiagTemplateArg() 551 return DB << Arg.getAsType(); in DiagTemplateArg() 554 return DB << Arg.getAsDecl(); in DiagTemplateArg() 557 return DB << "nullptr"; in DiagTemplateArg() 560 return DB << toString(Arg.getAsIntegral(), 10); in DiagTemplateArg() 563 return DB << Arg.getAsTemplate(); in DiagTemplateArg() 566 return DB << Arg.getAsTemplateOrTemplatePattern() << "..."; in DiagTemplateArg() 578 return DB << OS.str(); in DiagTemplateArg() 589 return DB << OS.str(); in DiagTemplateArg() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 96 DemandedBits *DB, in computeRecurrenceType() argument 103 if (DB) { in computeRecurrenceType() 109 auto Mask = DB->getDemandedBits(Exit); in computeRecurrenceType() 218 RecurrenceDescriptor &RedDes, DemandedBits *DB, AssumptionCache *AC, in AddReductionVar() argument 574 computeRecurrenceType(ExitInstruction, DB, AC, DT); in AddReductionVar() 838 if (AddReductionVar(Phi, RecurKind::Add, TheLoop, FMF, RedDes, DB, AC, DT, in isReductionPHI() 843 if (AddReductionVar(Phi, RecurKind::Mul, TheLoop, FMF, RedDes, DB, AC, DT, in isReductionPHI() 848 if (AddReductionVar(Phi, RecurKind::Or, TheLoop, FMF, RedDes, DB, AC, DT, in isReductionPHI() 853 if (AddReductionVar(Phi, RecurKind::And, TheLoop, FMF, RedDes, DB, AC, DT, in isReductionPHI() 858 if (AddReductionVar(Phi, RecurKind::Xor, TheLoop, FMF, RedDes, DB, AC, DT, in isReductionPHI() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/plugin/ |
| H A D | IncludeFixerPlugin.cpp | 51 StringRef DB = "yaml"; in ParseArgs() local 58 DB = Arg.substr(strlen("-db=")); in ParseArgs() 68 if (DB == "yaml") { in ParseArgs()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/ |
| H A D | move_convert.single.pass.cpp | 76 using DB = NCConvertingDeleter<B>; in test_sfinae() typedef 80 using UBD = std::unique_ptr<B, DB>; in test_sfinae() 93 using UB1 = std::unique_ptr<B, DB&>; in test_sfinae() 98 using UB1 = std::unique_ptr<B, const DB&>; in test_sfinae()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | JMCInstrumenter.cpp | 108 DIBuilder DB(M, false, CU); in attachDebugInfo() local 111 DB.createBasicType("unsigned char", 8, dwarf::DW_ATE_unsigned_char, in attachDebugInfo() 114 auto *DGVE = DB.createGlobalVariableExpression( in attachDebugInfo() 118 DB.finalize(); in attachDebugInfo()
|
| H A D | MachineOutliner.cpp | 718 DIBuilder DB(M, true, CU); in createOutlinedFunction() local 726 DISubprogram *OutlinedSP = DB.createFunction( in createOutlinedFunction() 730 DB.createSubroutineType(DB.getOrCreateTypeArray(None)), /* void type */ in createOutlinedFunction() 737 DB.finalizeSubprogram(OutlinedSP); in createOutlinedFunction() 742 DB.finalize(); in createOutlinedFunction()
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | redecl-add-after-load.cpp | 32 typedef D::A DB; typedef 50 DB merged_struct_struct_test;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/ |
| H A D | YamlSymbolIndex.cpp | 42 if (auto DB = createFromFile(PathStorage)) in createFromDirectory() local 43 return DB; in createFromDirectory()
|
| H A D | SymbolIndexManager.cpp | 95 for (const auto &DB : SymbolIndices) { in search() local 96 auto Res = DB.get()->search(Names.back()); in search()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.h | 248 LoopVectorizationRequirements *R, LoopVectorizeHints *H, DemandedBits *DB, in LoopVectorizationLegality() argument 251 GetLAA(GetLAA), ORE(ORE), Requirements(R), Hints(H), DB(DB), AC(AC), in LoopVectorizationLegality() 549 DemandedBits *DB; variable
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | inline-constraints.ll | 1202 ; 'DB' constraint, 16-bit operand 1205 ; NOSI: error: invalid operand for inline asm constraint 'DB' 1213 ; NOSI: error: invalid operand for inline asm constraint 'DB' 1221 ; NOSI: error: invalid operand for inline asm constraint 'DB' 1230 ; 'DB' constraint, 32-bit operand 1255 ; 'DB' constraint, 64-bit operand 1273 ; 'DB' constraint, v2x16 operand 1276 ; NOSI: error: invalid operand for inline asm constraint 'DB' 1284 ; NOSI: error: invalid operand for inline asm constraint 'DB' 1292 ; NOSI: error: invalid operand for inline asm constraint 'DB' [all …]
|
| H A D | pal-userdata-regs.ll | 16 …DB \CD\A2\E4\00\CD\A2\E5\00\CD\A2\E6\00\CD\A2\F9-\CD\A3\16\0E\A8.shaders\85\A7.domain\82\B0.api_sh…
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | ParsedAttr.h | 1157 inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB, 1159 DB.AddTaggedVal(reinterpret_cast<uint64_t>(At.getAttrName()), 1161 return DB; 1164 inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB, 1166 DB.AddTaggedVal(reinterpret_cast<uint64_t>(At->getAttrName()), 1168 return DB; 1179 inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB, 1181 DB.AddTaggedVal(reinterpret_cast<uint64_t>(CI.getAttrName()), 1183 return DB; 1191 DB.AddTaggedVal(reinterpret_cast<uint64_t>(CI->getAttrName()), [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
| H A D | move_convert.single.pass.cpp | 96 using DB = NCConvertingDeleter<B>; in test_sfinae() typedef 100 using UBD = std::unique_ptr<B, DB>; in test_sfinae() 113 using UB1 = std::unique_ptr<B, DB&>; in test_sfinae() 118 using UB1 = std::unique_ptr<B, const DB&>; in test_sfinae()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | DemandedBits.h | 104 mutable Optional<DemandedBits> DB; 117 DemandedBits &getDemandedBits() { return *DB; } in getDemandedBits()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | NestedNameSpecifier.h | 522 inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB, 524 DB.AddTaggedVal(reinterpret_cast<uint64_t>(NNS), 526 return DB;
|
| H A D | Attr.h | 370 inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB, 372 DB.AddTaggedVal(reinterpret_cast<uint64_t>(At), DiagnosticsEngine::ak_attr); 373 return DB;
|
| /llvm-project-15.0.7/clang/test/CodeGenOpenCL/ |
| H A D | inline-asm-amdgcn.cl | 47 // CHECK: call i32 asm sideeffect "v_mov_b32 $0, $1 & 0xFFFFFFFF", "=v,^DB"(i64 8589934593) 48 __asm volatile("v_mov_b32 %0, %1 & 0xFFFFFFFF" : "=v"(res) : "DB"(x));
|