Home
last modified time | relevance | path

Searched refs:SelectionKind (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp163 if (Dst == Comdat::SelectionKind::Largest || in computeResultingSelectionKind()
164 Src == Comdat::SelectionKind::Largest) in computeResultingSelectionKind()
165 Result = Comdat::SelectionKind::Largest; in computeResultingSelectionKind()
167 Result = Comdat::SelectionKind::Any; in computeResultingSelectionKind()
176 case Comdat::SelectionKind::Any: in computeResultingSelectionKind()
180 case Comdat::SelectionKind::NoDeduplicate: { in computeResultingSelectionKind()
199 case Comdat::SelectionKind::ExactMatch: in computeResultingSelectionKind()
200 case Comdat::SelectionKind::Largest: in computeResultingSelectionKind()
201 case Comdat::SelectionKind::SameSize: { in computeResultingSelectionKind()
398 Comdat::SelectionKind SK; in linkIfNeeded()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DComdat.h33 enum SelectionKind { enum
44 SelectionKind getSelectionKind() const { return SK; } in getSelectionKind()
45 void setSelectionKind(SelectionKind Val) { SK = Val; } in setSelectionKind()
57 SelectionKind SK = Any;
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp94 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 …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DASTSelection.h53 SourceSelectionKind SelectionKind; member
56 SelectedASTNode(const DynTypedNode &Node, SourceSelectionKind SelectionKind) in SelectedASTNode()
57 : Node(Node), SelectionKind(SelectionKind) {} in SelectedASTNode()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DIRSymtab.h86 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-13.1/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h122 std::vector<std::pair<StringRef, Comdat::SelectionKind>> ComdatTable;
175 ArrayRef<std::pair<StringRef, Comdat::SelectionKind>> getComdatTable() const { in getComdatTable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DIRSymtab.cpp202 Comdat.SelectionKind = C->getSelectionKind(); in getComdatIndex()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp421 ArrayRef<std::pair<StringRef, Comdat::SelectionKind>> ComdatTable = in dumpSymtab()
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DInputFiles.cpp1747 for (std::pair<StringRef, Comdat::SelectionKind> s : obj->getComdatTable()) { in parse()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1121 static Comdat::SelectionKind getDecodedComdatSelectionKind(unsigned Val) { in getDecodedComdatSelectionKind()
3163 Comdat::SelectionKind SK = getDecodedComdatSelectionKind(Record[0]); in parseComdatRecord()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp658 Comdat::SelectionKind SK; in parseComdat()