| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | ImmutableMap.h | 115 return Root ? Root->contains(K) : false; in contains() 119 return Root && RHS.Root ? Root->isEqual(*RHS.Root.get()) : Root == RHS.Root; 123 return Root && RHS.Root ? Root->isNotEqual(*RHS.Root.get()) 128 if (Root) { Root->retain(); } in getRoot() 135 if (Root) Root->retain(); in manualRetain() 139 if (Root) Root->release(); in manualRelease() 235 if (Root) Root->retain(); in manualRetain() 239 if (Root) Root->release(); in manualRelease() 254 return Root ? Root->contains(K) : false; in contains() 262 return Root && RHS.Root ? Root->isEqual(*RHS.Root.get()) : Root == RHS.Root; [all …]
|
| H A D | ImmutableSet.h | 770 if (Root) 1027 return Root ? Root->contains(V) : false; 1031 return Root && RHS.Root ? Root->isEqual(*RHS.Root.get()) : Root == RHS.Root; 1035 return Root && RHS.Root ? Root->isNotEqual(*RHS.Root.get()) 1036 : Root != RHS.Root; 1040 if (Root) { Root->retain(); } 1078 void validateTree() const { if (Root) Root->validateTree(); } 1115 return Root ? Root->contains(V) : false; 1126 return Root && RHS.Root ? Root->isEqual(*RHS.Root.get()) : Root == RHS.Root; 1130 return Root && RHS.Root ? Root->isNotEqual(*RHS.Root.get()) [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructionSelector.h | 156 selectVCSRC(MachineOperand &Root) const; 159 selectVSRC0(MachineOperand &Root) const; 162 selectVOP3Mods0(MachineOperand &Root) const; 166 selectVOP3OMods(MachineOperand &Root) const; 168 selectVOP3Mods(MachineOperand &Root) const; 170 selectVOP3BMods(MachineOperand &Root) const; 182 selectVOP3PMods(MachineOperand &Root) const; 204 selectSmrdImm(MachineOperand &Root) const; 206 selectSmrdImm32(MachineOperand &Root) const; 208 selectSmrdSgpr(MachineOperand &Root) const; [all …]
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | Reproducer.cpp | 16 SmallString<128> Root; in createReproducerDir() local 18 Root.assign(Path); in createReproducerDir() 19 EC = sys::fs::create_directory(Root); in createReproducerDir() 21 EC = sys::fs::createUniqueDirectory("dsymutil", Root); in createReproducerDir() 23 return EC ? "" : std::string(Root); in createReproducerDir() 34 if (!Root.empty()) in ReproducerGenerate() 35 FC = std::make_shared<FileCollector>(Root, Root); in ReproducerGenerate() 49 SmallString<128> Mapping(Root); in generate() 53 errs() << "Reproducer written to " << Root << '\n'; in generate() 58 errs() << "--use-reproducer " << Root << '\n'; in generate() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/ |
| H A D | canonical.pass.cpp | 43 const path Root = static_env.Root; in TEST_CASE() local 44 const path RootName = Root.filename(); in TEST_CASE() 55 { ".", Root, Root }, in TEST_CASE() 56 { DirName / ".." / "." / DirName, static_env.Dir, Root }, in TEST_CASE() 57 { static_env.Dir2 / "..", static_env.Dir, Root }, in TEST_CASE() 58 { static_env.Dir3 / "../..", static_env.Dir, Root }, in TEST_CASE() 59 { static_env.Dir / ".", static_env.Dir, Root }, in TEST_CASE() 60 { Root / "." / DirName / ".." / DirName, static_env.Dir, Root }, in TEST_CASE() 63 Root }, in TEST_CASE() 64 { static_env.SymlinkToFile, static_env.File, Root }, in TEST_CASE() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXPeephole.cpp | 75 static bool isCVTAToLocalCombinationCandidate(MachineInstr &Root) { in isCVTAToLocalCombinationCandidate() argument 76 auto &MBB = *Root.getParent(); in isCVTAToLocalCombinationCandidate() 79 if (Root.getOpcode() != NVPTX::cvta_to_local_yes_64 && in isCVTAToLocalCombinationCandidate() 80 Root.getOpcode() != NVPTX::cvta_to_local_yes) in isCVTAToLocalCombinationCandidate() 83 auto &Op = Root.getOperand(1); in isCVTAToLocalCombinationCandidate() 109 static void CombineCVTAToLocal(MachineInstr &Root) { in CombineCVTAToLocal() argument 110 auto &MBB = *Root.getParent(); in CombineCVTAToLocal() 120 BuildMI(MF, Root.getDebugLoc(), TII->get(Prev.getOpcode()), in CombineCVTAToLocal() 121 Root.getOperand(0).getReg()) in CombineCVTAToLocal() 125 MBB.insert((MachineBasicBlock::iterator)&Root, MIB); in CombineCVTAToLocal() [all …]
|
| /llvm-project-15.0.7/clang/unittests/Tooling/Syntax/ |
| H A D | TreeTestBase.cpp | 72 BuildSyntaxTree(syntax::TranslationUnit *&Root, in buildTree() argument 77 : Root(Root), TB(TB), TM(TM), Arena(Arena), Tokens(std::move(Tokens)) { in buildTree() 87 Root = syntax::buildSyntaxTree(*Arena, *TM, Ctx); in buildTree() 91 syntax::TranslationUnit *&Root; in buildTree() member in SyntaxTreeTest::buildTree::BuildSyntaxTree 104 : Root(Root), TM(TM), TB(TB), Arena(Arena) {} in buildTree() 116 syntax::TranslationUnit *&Root; in buildTree() member in SyntaxTreeTest::buildTree::BuildSyntaxTreeAction 157 syntax::TranslationUnit *Root = nullptr; in buildTree() local 167 return Root; in buildTree() 172 ArrayRef<syntax::Token> Toks = tokens(Root, *TM); in nodeByRange() 177 return Root; in nodeByRange() [all …]
|
| H A D | MutationsTest.cpp | 29 auto *Root = buildTree(Source.code(), GetParam()); in CheckTransformation() local 31 Transform(Source, Root); in CheckTransformation() 33 auto Replacements = syntax::computeReplacements(*TM, *Root); in CheckTransformation() 47 TranslationUnit *Root) { in __anona969432b0202() argument 48 auto *S = cast<syntax::Statement>(nodeByRange(Input.range(), Root)); in __anona969432b0202()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | InterpBlock.cpp | 63 DeadBlock::DeadBlock(DeadBlock *&Root, Block *Blk) in DeadBlock() argument 64 : Root(Root), B(Blk->Desc, Blk->IsStatic, Blk->IsExtern, /*isDead=*/true) { in DeadBlock() 66 if (Root) in DeadBlock() 67 Root->Prev = this; in DeadBlock() 69 Next = Root; in DeadBlock() 71 Root = this; in DeadBlock() 84 if (Root == this) in free() 85 Root = Next; in free()
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | direct-method-ret-mismatch.m | 4 @interface Root interface 5 - (Root *)method __attribute__((objc_direct)); 8 @implementation Root implementation 9 // CHECK-LABEL: define internal i8* @"\01-[Root something]"( 11 // CHECK: %{{[^ ]*}} = call {{.*}} @"\01-[Root method]" 15 // CHECK-LABEL: define hidden i8* @"\01-[Root method]"(
|
| H A D | direct-method.m | 13 @interface Root interface 19 @implementation Root implementation 20 // CHECK-LABEL: define hidden i32 @"\01-[Root intProperty2]" 25 // CHECK-LABEL: define hidden i32 @"\01-[Root getInt]"( 58 // CHECK-LABEL: define hidden i32 @"\01+[Root classGetInt]"( 78 // CHECK-LABEL: define hidden i64 @"\01-[Root getComplex]"( 114 // CHECK-LABEL: define hidden i64 @"\01+[Root classGetComplex]"( 121 // CHECK-LABEL: define hidden void @"\01-[Root getAggregate]"( 163 // CHECK-LABEL: define hidden i32 @"\01-[Root intProperty]" 165 @interface Foo : Root { [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/ |
| H A D | p3.cpp | 6 namespace Root { namespace 12 using namespace Root; 16 using namespace Root; 30 using Root::i; 31 using Root::f;
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | pseudo-destructor.mm | 5 @interface Root interface 18 template void destroyPointer<Root*>(Root **); function 19 template void destroyReference<Root*>(Root *&); function
|
| /llvm-project-15.0.7/clang/lib/IndexSerialization/ |
| H A D | SerializablePathCollection.cpp | 22 size_t PathPool::addFilePath(RootDirKind Root, in addFilePath() argument 25 FilePaths.emplace_back(DirPath(Root, Dir), Paths.add(Filename)); in addFilePath() 55 Paths.addFilePath(Dir.Root, Dir.Path, sys::path::filename(FE.getName())); in tryStoreFilePath() 72 PathPool::RootDirKind Root = PathPool::RootDirKind::Regular; in tryStoreDirPath() local 75 Root = PathPool::RootDirKind::SysRoot; in tryStoreDirPath() 79 Root = PathPool::RootDirKind::CurrentWorkDir; in tryStoreDirPath() 83 if (Root != PathPool::RootDirKind::Regular) { in tryStoreDirPath() 88 PathPool::DirPath Result(Root, Paths.addDirPath(Dir)); in tryStoreDirPath()
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | mrc-no-weak.m | 4 @interface Root @end interface 7 @interface A : Root { 14 @interface B : Root { 24 @interface C : Root 31 @interface D : Root 37 @interface E : Root { 48 @interface F : Root
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangASTNodesEmitter.cpp | 37 ASTNode Root; member in __anon20fdde350111::ClangASTNodesEmitter 52 assert(Root && "root node not yet derived!"); in macroHierarchyName() 54 MacroHierarchyName = macroName(std::string(Root.getName())); in macroHierarchyName() 62 if (node == Root && !BaseSuffix.empty()) in baseName() 133 if (Base == Root) in EmitNode() 145 assert(!Root && "already computed tree"); in deriveChildTree() 156 else if (Root) in deriveChildTree() 161 Root = R; in deriveChildTree() 164 if (!Root) in deriveChildTree() 190 EmitNode(OS, Root); in run()
|
| /llvm-project-15.0.7/clang/test/Rewriter/ |
| H A D | objc-modern-class-init.mm | 5 @interface Root @end interface 7 @interface Super : Root 15 @implementation Root @end implementation 17 @interface Root(Cat) @end interface in Cat 21 @implementation Root(Cat) @end implementation in Cat
|
| H A D | objc-modern-class-init-hooks.mm | 5 @interface Root @end interface 7 @interface Super : Root 15 @implementation Root @end implementation 17 @interface Root(Cat) @end interface in Cat 21 @implementation Root(Cat) @end implementation in Cat
|
| /llvm-project-15.0.7/clang/lib/Rewrite/ |
| H A D | RewriteRope.cpp | 722 Root = new RopePieceBTreeLeaf(); in RopePieceBTree() 727 Root = new RopePieceBTreeLeaf(); in RopePieceBTree() 731 getRoot(Root)->Destroy(); in ~RopePieceBTree() 735 return getRoot(Root)->size(); in size() 742 getRoot(Root)->Destroy(); in clear() 743 Root = new RopePieceBTreeLeaf(); in clear() 749 if (RopePieceBTreeNode *RHS = getRoot(Root)->split(Offset)) in insert() 750 Root = new RopePieceBTreeInterior(getRoot(Root), RHS); in insert() 754 Root = new RopePieceBTreeInterior(getRoot(Root), RHS); in insert() 760 Root = new RopePieceBTreeInterior(getRoot(Root), RHS); in erase() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | JSONTest.cpp | 464 static std::string errorContext(const Value &V, const Path::Root &R) { in errorContext() 488 Path::Root Root("CustomStruct"); in TEST() local 489 ASSERT_TRUE(fromJSON(J, R, Root)); in TEST() 493 ASSERT_FALSE(fromJSON(J, R, Root)); in TEST() 495 toString(Root.getError())); in TEST() 503 EXPECT_EQ(ExpectedDump, errorContext(J, Root)); in TEST() 506 EXPECT_FALSE(fromJSON(nullptr, V, Root)); in TEST() 508 toString(Root.getError())); in TEST() 510 EXPECT_FALSE(fromJSON(Object{}, V, Root)); in TEST() 513 EXPECT_FALSE(fromJSON(Object{{"str", 1}}, V, Root)); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstrInfo.cpp | 4921 unsigned Opc = Root.getOpcode(); in getMaddPatterns() 4961 assert(Root.getOperand(1).isReg() && Root.getOperand(2).isReg() && in getMaddPatterns() 5080 switch (Root.getOpcode()) { in getFMAPatterns() 5085 assert(Root.getOperand(1).isReg() && Root.getOperand(2).isReg() && in getFMAPatterns() 5092 assert(Root.getOperand(1).isReg() && Root.getOperand(2).isReg() && in getFMAPatterns() 5228 switch (Root.getOpcode()) { in getFMULPatterns() 5379 unsigned Opc = Root.getOpcode(); in getMiscPatterns() 5551 return &Root; in genIndexedMultiply() 5576 .add(Root.getOperand(2)); in genNeg() 6615 DelInstrs.push_back(&Root); in genAlternativeCodeSequence() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | DexTests.cpp | 216 auto Root = C.intersect( in TEST() local 223 EXPECT_EQ(Root->peek(), 1U); in TEST() 224 Root->advanceTo(0); in TEST() 226 Root->advanceTo(1); in TEST() 227 Root->advanceTo(0); in TEST() 231 Root->advance(); in TEST() 233 Root->advanceTo(5); in TEST() 237 Root->advanceTo(9000); in TEST() 301 Root->advance(); in TEST() 306 Root->advance(); in TEST() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/benchmarks/ |
| H A D | IndexBenchmark.cpp | 65 llvm::json::Path::Root Root("FuzzyFindRequest"); in extractQueriesFromLogs() local 66 if (!fromJSON(Item, Request, Root)) { in extractQueriesFromLogs() 67 llvm::errs() << llvm::toString(Root.getError()) << "\n"; in extractQueriesFromLogs() 68 Root.printErrorContext(Item, llvm::errs()); in extractQueriesFromLogs()
|
| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_flags.inc | 29 "Root set: include global variables (.data and .bss)") 30 LSAN_FLAG(bool, use_stacks, true, "Root set: include thread stacks") 31 LSAN_FLAG(bool, use_registers, true, "Root set: include thread registers") 33 "Root set: include TLS and thread-specific storage") 35 "Root set: include regions added via __lsan_register_root_region().") 37 "Root set: mark as reachable all allocations made from dynamic "
|
| /llvm-project-15.0.7/clang/include/clang/IndexSerialization/ |
| H A D | SerializablePathCollection.h | 54 RootDirKind Root; member 57 DirPath(RootDirKind Root, const StringPool::StringOffsetSize &Path) in DirPath() 58 : Root(Root), Path(Path) {} in DirPath() 70 size_t addFilePath(RootDirKind Root, const StringPool::StringOffsetSize &Dir,
|