Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp68 Comdat::SelectionKind Src,
69 Comdat::SelectionKind Dst,
70 Comdat::SelectionKind &Result,
72 DenseMap<const Comdat *, std::pair<Comdat::SelectionKind, LinkFrom>>
74 bool getComdatResult(const Comdat *SrcC, Comdat::SelectionKind &SK,
152 Comdat::SelectionKind Src, in computeResultingSelectionKind()
153 Comdat::SelectionKind Dst, in computeResultingSelectionKind()
154 Comdat::SelectionKind &Result, in computeResultingSelectionKind()
159 bool DstAnyOrLargest = Dst == Comdat::SelectionKind::Any || in computeResultingSelectionKind()
160 Dst == Comdat::SelectionKind::Largest; in computeResultingSelectionKind()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DComdat.h35 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/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp95 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/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DASTSelection.h54 SourceSelectionKind SelectionKind; member
57 SelectedASTNode(const DynTypedNode &Node, SourceSelectionKind SelectionKind) in SelectedASTNode()
58 : Node(Node), SelectionKind(SelectionKind) {} in SelectedASTNode()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h129 std::vector<std::pair<StringRef, Comdat::SelectionKind>> ComdatTable;
182 ArrayRef<std::pair<StringRef, Comdat::SelectionKind>> getComdatTable() const { in getComdatTable()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DIRSymtab.cpp209 Comdat.SelectionKind = C->getSelectionKind(); in getComdatIndex()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp496 ArrayRef<std::pair<StringRef, Comdat::SelectionKind>> ComdatTable = in dumpSymtab()
/freebsd/contrib/llvm-project/lld/ELF/
H A DInputFiles.cpp1774 for (std::pair<StringRef, Comdat::SelectionKind> s : obj->getComdatTable()) { in parse()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1368 static Comdat::SelectionKind getDecodedComdatSelectionKind(unsigned Val) { in getDecodedComdatSelectionKind()
3956 Comdat::SelectionKind SK = getDecodedComdatSelectionKind(Record[0]); in parseComdatRecord()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp886 Comdat::SelectionKind SK; in parseComdat()