| /llvm-project-15.0.7/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 164 if (Dst == Comdat::SelectionKind::Largest || in computeResultingSelectionKind() 165 Src == Comdat::SelectionKind::Largest) in computeResultingSelectionKind() 166 Result = Comdat::SelectionKind::Largest; in computeResultingSelectionKind() 168 Result = Comdat::SelectionKind::Any; in computeResultingSelectionKind() 177 case Comdat::SelectionKind::Any: in computeResultingSelectionKind() 181 case Comdat::SelectionKind::NoDeduplicate: in computeResultingSelectionKind() 184 case Comdat::SelectionKind::ExactMatch: in computeResultingSelectionKind() 185 case Comdat::SelectionKind::Largest: in computeResultingSelectionKind() 186 case Comdat::SelectionKind::SameSize: { in computeResultingSelectionKind() 197 if (Result == Comdat::SelectionKind::ExactMatch) { in computeResultingSelectionKind() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Comdat.h | 35 enum SelectionKind { enum 46 SelectionKind getSelectionKind() const { return SK; } in getSelectionKind() 47 void setSelectionKind(SelectionKind Val) { SK = Val; } in setSelectionKind() 63 SelectionKind SK = Any;
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 94 SourceSelectionKind SelectionKind = in TraverseDecl() local 97 SelectedASTNode(DynTypedNode::create(*D), SelectionKind)); in TraverseDecl() 99 popAndAddToSelectionIfSelected(SelectionKind); in TraverseDecl() 122 SourceSelectionKind SelectionKind = in TraverseStmt() local 125 SelectedASTNode(DynTypedNode::create(*S), SelectionKind)); in TraverseStmt() 127 popAndAddToSelectionIfSelected(SelectionKind); in TraverseStmt() 132 void popAndAddToSelectionIfSelected(SourceSelectionKind SelectionKind) { in popAndAddToSelectionIfSelected() argument 135 if (SelectionKind != SourceSelectionKind::None || !Node.Children.empty()) in popAndAddToSelectionIfSelected() 225 OS << ' ' << selectionKindToString(Node.SelectionKind) << "\n"; in dump() 241 if (Child.SelectionKind == Kind) in hasAnyDirectChildrenWithKind() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/ |
| H A D | ASTSelection.h | 53 SourceSelectionKind SelectionKind; member 56 SelectedASTNode(const DynTypedNode &Node, SourceSelectionKind SelectionKind) in SelectedASTNode() 57 : Node(Node), SelectionKind(SelectionKind) {} in SelectedASTNode()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | IRSymtab.h | 86 Word SelectionKind; member 287 std::vector<std::pair<StringRef, llvm::Comdat::SelectionKind>> 289 std::vector<std::pair<StringRef, llvm::Comdat::SelectionKind>> ComdatTable; in getComdatTable() 292 ComdatTable.push_back({str(C.Name), llvm::Comdat::SelectionKind( in getComdatTable() 293 uint32_t(C.SelectionKind))}); in getComdatTable()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | ASTSelectionTest.cpp | 91 SourceSelectionKind SelectionKind, unsigned NumChildren) { in checkNodeImpl() argument 94 ASSERT_EQ(Node.SelectionKind, SelectionKind); in checkNodeImpl() 105 const SelectedASTNode &StmtNode, SourceSelectionKind SelectionKind, in checkNode() argument 109 checkNodeImpl(isa<T>(StmtNode.Node.get<Stmt>()), StmtNode, SelectionKind, in checkNode() 116 const SelectedASTNode &DeclNode, SourceSelectionKind SelectionKind, in checkNode() argument 120 checkNodeImpl(isa<T>(DeclNode.Node.get<Decl>()), DeclNode, SelectionKind, in checkNode() 131 SourceSelectionKind SelectionKind) { in childKindVerifier() 133 ASSERT_EQ(Node.SelectionKind, SelectionKind); in childKindVerifier() 134 childKindVerifier(Child, SelectionKind); in childKindVerifier()
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/ |
| H A D | LTO.h | 123 std::vector<std::pair<StringRef, Comdat::SelectionKind>> ComdatTable; 176 ArrayRef<std::pair<StringRef, Comdat::SelectionKind>> getComdatTable() const { in getComdatTable()
|
| /llvm-project-15.0.7/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 470 ArrayRef<std::pair<StringRef, Comdat::SelectionKind>> ComdatTable = in dumpSymtab()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | IRSymtab.cpp | 211 Comdat.SelectionKind = C->getSelectionKind(); in getComdatIndex()
|
| /llvm-project-15.0.7/lld/wasm/ |
| H A D | InputFiles.cpp | 794 for (std::pair<StringRef, Comdat::SelectionKind> s : obj->getComdatTable()) in parse()
|
| /llvm-project-15.0.7/llvm/tools/gold/ |
| H A D | gold-plugin.cpp | 637 std::pair<StringRef, Comdat::SelectionKind> C = Obj->getComdatTable()[CI]; in claim_file_hook()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | InputFiles.cpp | 1635 for (std::pair<StringRef, Comdat::SelectionKind> s : obj->getComdatTable()) { in parse()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 1263 static Comdat::SelectionKind getDecodedComdatSelectionKind(unsigned Val) { in getDecodedComdatSelectionKind() 3648 Comdat::SelectionKind SK = getDecodedComdatSelectionKind(Record[0]); in parseComdatRecord()
|
| /llvm-project-15.0.7/llvm/bindings/go/llvm/ |
| H A D | ir.go | 1081 func (c Comdat) SelectionKind() ComdatSelectionKind { func
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 690 Comdat::SelectionKind SK; in parseComdat()
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | LangRef.rst | 952 $<Name> = comdat SelectionKind
|