| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | RefactoringActionRulesTest.cpp | 60 std::pair<SourceRange, int> Selection; in TEST_F() member in __anon70325ece0111::TEST_F::ReplaceAWithB 63 ReplaceAWithB(std::pair<SourceRange, int> Selection) in TEST_F() argument 64 : Selection(Selection) {} in TEST_F() 68 std::pair<SourceRange, int> Selection) { in TEST_F() argument 69 return ReplaceAWithB(Selection); in TEST_F() 76 Selection.first.getBegin().getLocWithOffset(Selection.second); in TEST_F() 200 SourceRange Selection; in TEST_F() member in __anon70325ece0111::TEST_F::FindOccurrences 203 FindOccurrences(SourceRange Selection) : Selection(Selection) {} in TEST_F() argument 206 SourceRange Selection) { in TEST_F() argument 207 return FindOccurrences(Selection); in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | DumpAST.cpp | 36 bool prepare(const Selection &Inputs) override { in prepare() 43 Expected<Effect> apply(const Selection &Inputs) override; 62 llvm::Expected<Tweak::Effect> DumpAST::apply(const Selection &Inputs) { in REGISTER_TWEAK() 89 bool prepare(const Selection &Inputs) override { return true; } in prepare() 90 Expected<Effect> apply(const Selection &Inputs) override { in apply() 108 bool prepare(const Selection &Inputs) override { return true; } in prepare() 109 Expected<Effect> apply(const Selection &Inputs) override { in apply() 138 bool prepare(const Selection &Inputs) override { in prepare() 145 Expected<Effect> apply(const Selection &Inputs) override { in apply()
|
| H A D | ObjCLocalizeStringLiteral.cpp | 38 bool prepare(const Selection &Inputs) override; 39 Expected<Tweak::Effect> apply(const Selection &Inputs) override; 48 bool ObjCLocalizeStringLiteral::prepare(const Selection &Inputs) { in REGISTER_TWEAK() 63 ObjCLocalizeStringLiteral::apply(const Selection &Inputs) { in apply()
|
| H A D | RawStringLiteral.cpp | 33 bool prepare(const Selection &Inputs) override; 34 Expected<Effect> apply(const Selection &Inputs) override; 74 bool RawStringLiteral::prepare(const Selection &Inputs) { in prepare() 84 Expected<Tweak::Effect> RawStringLiteral::apply(const Selection &Inputs) { in apply()
|
| H A D | SwapIfBranches.cpp | 36 bool prepare(const Selection &Inputs) override; 37 Expected<Effect> apply(const Selection &Inputs) override; 50 bool SwapIfBranches::prepare(const Selection &Inputs) { in REGISTER_TWEAK() 64 Expected<Tweak::Effect> SwapIfBranches::apply(const Selection &Inputs) { in apply()
|
| H A D | ExpandAutoType.cpp | 40 bool prepare(const Selection &Inputs) override; 41 Expected<Effect> apply(const Selection &Inputs) override; 90 bool ExpandAutoType::prepare(const Selection &Inputs) { in prepare() 114 Expected<Tweak::Effect> ExpandAutoType::apply(const Selection& Inputs) { in apply()
|
| H A D | ExpandMacro.cpp | 38 bool prepare(const Selection &Inputs) override; 39 Expected<Tweak::Effect> apply(const Selection &Inputs) override; 90 bool ExpandMacro::prepare(const Selection &Inputs) { in prepare() 108 Expected<Tweak::Effect> ExpandMacro::apply(const Selection &Inputs) { in apply()
|
| H A D | RemoveUsingNamespace.cpp | 36 bool prepare(const Selection &Inputs) override; 37 Expected<Effect> apply(const Selection &Inputs) override; 104 bool RemoveUsingNamespace::prepare(const Selection &Inputs) { in prepare() 129 Expected<Tweak::Effect> RemoveUsingNamespace::apply(const Selection &Inputs) { in apply()
|
| H A D | PopulateSwitch.cpp | 52 bool prepare(const Selection &Sel) override; 53 Expected<Effect> apply(const Selection &Sel) override; 85 bool PopulateSwitch::prepare(const Selection &Sel) { in REGISTER_TWEAK() 190 Expected<Tweak::Effect> PopulateSwitch::apply(const Selection &Sel) { in apply()
|
| H A D | AnnotateHighlightings.cpp | 28 bool prepare(const Selection &Inputs) override { return true; } in prepare() 29 Expected<Effect> apply(const Selection &Inputs) override; 39 Expected<Tweak::Effect> AnnotateHighlightings::apply(const Selection &Inputs) { in REGISTER_TWEAK()
|
| H A D | AddUsing.cpp | 37 bool prepare(const Selection &Inputs) override; 38 Expected<Effect> apply(const Selection &Inputs) override; 127 findInsertionPoint(const Tweak::Selection &Inputs, in findInsertionPoint() 214 bool isNamespaceForbidden(const Tweak::Selection &Inputs, in isNamespaceForbidden() 235 bool AddUsing::prepare(const Selection &Inputs) { in prepare() 339 Expected<Tweak::Effect> AddUsing::apply(const Selection &Inputs) { in apply()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCSectionCOFF.h | 47 mutable int Selection; variable 53 MCSymbol *COMDATSymbol, int Selection, SectionKind K, in MCSectionCOFF() argument 56 COMDATSymbol(COMDATSymbol), Selection(Selection) { in MCSectionCOFF() 68 int getSelection() const { return Selection; } in getSelection() 70 void setSelection(int Selection) const;
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | Tweak.h | 49 struct Selection { struct 50 Selection(const SymbolIndex *Index, ParsedAST &AST, unsigned RangeBegin, 112 virtual bool prepare(const Selection &Sel) = 0; 115 virtual Expected<Effect> apply(const Selection &Sel) = 0; 137 prepareTweaks(const Tweak::Selection &S, 145 prepareTweak(StringRef ID, const Tweak::Selection &S,
|
| H A D | Tweak.cpp | 61 Tweak::Selection::Selection(const SymbolIndex *Index, ParsedAST &AST, in Selection() function in clang::clangd::Tweak::Selection 73 prepareTweaks(const Tweak::Selection &S, in prepareTweaks() 92 prepareTweak(StringRef ID, const Tweak::Selection &S, in prepareTweak()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCSectionCOFF.cpp | 31 void MCSectionCOFF::setSelection(int Selection) const { in setSelection() 32 assert(Selection != 0 && "invalid COMDAT selection type"); in setSelection() 33 this->Selection = Selection; in setSelection() 73 switch (Selection) { in printSwitchToSection()
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | debuginfo-properties.m | 10 @class Selection; 13 @property (nonatomic, retain) Selection* selection; 17 Selection *_selection; 32 Selection *_selection;
|
| /llvm-project-15.0.7/llvm/test/MC/COFF/ |
| H A D | seh-section-2.s | 61 # CHECK: Selection: Any (0x2) 78 # CHECK: Selection: Associative (0x5) 96 # CHECK: Selection: Associative (0x5) 114 # CHECK: Selection: Associative (0x5) 132 # CHECK: Selection: Associative (0x5) 150 # CHECK: Selection: Associative (0x5)
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | icf-associative.test | 47 Selection: IMAGE_COMDAT_SELECT_ANY 61 Selection: IMAGE_COMDAT_SELECT_ASSOCIATIVE 75 Selection: IMAGE_COMDAT_SELECT_ANY 89 Selection: IMAGE_COMDAT_SELECT_ASSOCIATIVE
|
| H A D | line-error.yaml | 90 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES 109 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES 140 Selection: IMAGE_COMDAT_SELECT_ASSOCIATIVE 153 Selection: IMAGE_COMDAT_SELECT_ASSOCIATIVE
|
| H A D | include.test | 51 Selection: IMAGE_COMDAT_SELECT_ANY 64 Selection: IMAGE_COMDAT_SELECT_ANY 77 Selection: IMAGE_COMDAT_SELECT_ANY
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelectionRequirements.cpp | 23 Optional<SelectedASTNode> Selection = in evaluate() local 25 if (!Selection) in evaluate() 28 return std::move(*Selection); in evaluate()
|
| /llvm-project-15.0.7/llvm/docs/GlobalISel/ |
| H A D | Resources.rst | 6 * `Global Instruction Selection - A Proposal by Quentin Colombet @LLVMDevMeeting 2015 <https://www.… 7 * `Global Instruction Selection - Status by Quentin Colombet, Ahmed Bougacha, and Tim Northover @LL… 8 * `GlobalISel - LLVM's Latest Instruction Selection Framework by Diana Picus @FOSDEM17 <https://www…
|
| /llvm-project-15.0.7/lld/test/COFF/Inputs/ |
| H A D | order.yaml | 31 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES 50 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES 69 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES
|
| /llvm-project-15.0.7/llvm/include/llvm/FuzzMutate/ |
| H A D | Random.h | 35 std::remove_const_t<T> Selection = {}; variable 46 return Selection; in getSelection() 67 Selection = Item; in sample()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | FeatureModulesTests.cpp | 30 bool prepare(const Selection &Sel) override { return true; } in TEST() 31 Expected<Effect> apply(const Selection &Sel) override { in TEST() 52 TweakID, Tweak::Selection(nullptr, AST, 0, 0, std::move(Tree), nullptr), in TEST()
|