Searched refs:SelectionKind (Results 1 – 11 of 11) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/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 …]
|
| /freebsd-14.2/contrib/llvm-project/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;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 95 SourceSelectionKind SelectionKind = in TraverseDecl() local 98 SelectedASTNode(DynTypedNode::create(*D), SelectionKind)); in TraverseDecl() 100 popAndAddToSelectionIfSelected(SelectionKind); in TraverseDecl() 123 SourceSelectionKind SelectionKind = in TraverseStmt() local 126 SelectedASTNode(DynTypedNode::create(*S), SelectionKind)); in TraverseStmt() 128 popAndAddToSelectionIfSelected(SelectionKind); in TraverseStmt() 133 void popAndAddToSelectionIfSelected(SourceSelectionKind SelectionKind) { in popAndAddToSelectionIfSelected() argument 136 if (SelectionKind != SourceSelectionKind::None || !Node.Children.empty()) in popAndAddToSelectionIfSelected() 226 OS << ' ' << selectionKindToString(Node.SelectionKind) << "\n"; in dump() 242 if (Child.SelectionKind == Kind) in hasAnyDirectChildrenWithKind() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
| H A D | ASTSelection.h | 54 SourceSelectionKind SelectionKind; member 57 SelectedASTNode(const DynTypedNode &Node, SourceSelectionKind SelectionKind) in SelectedASTNode() 58 : Node(Node), SelectionKind(SelectionKind) {} in SelectedASTNode()
|
| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/LTO/ |
| H A D | LTO.h | 127 std::vector<std::pair<StringRef, Comdat::SelectionKind>> ComdatTable; 180 ArrayRef<std::pair<StringRef, Comdat::SelectionKind>> getComdatTable() const { in getComdatTable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | IRSymtab.cpp | 211 Comdat.SelectionKind = C->getSelectionKind(); in getComdatIndex()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 474 ArrayRef<std::pair<StringRef, Comdat::SelectionKind>> ComdatTable = in dumpSymtab()
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | InputFiles.cpp | 1716 for (std::pair<StringRef, Comdat::SelectionKind> s : obj->getComdatTable()) { in parse()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 1309 static Comdat::SelectionKind getDecodedComdatSelectionKind(unsigned Val) { in getDecodedComdatSelectionKind() 3798 Comdat::SelectionKind SK = getDecodedComdatSelectionKind(Record[0]); in parseComdatRecord()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 807 Comdat::SelectionKind SK; in parseComdat()
|