Home
last modified time | relevance | path

Searched refs:Groups (Results 1 – 25 of 70) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DThreading.inc171 SmallVector<ProcessorGroup, 4> Groups;
177 G.ID = Groups.size();
182 Groups.push_back(G);
222 Groups.clear();
223 Groups.push_back(NewG);
227 return std::vector<ProcessorGroup>(Groups.begin(), Groups.end());
229 static auto Groups = computeGroups();
230 return ArrayRef<ProcessorGroup>(Groups);
264 if (Groups.size() <= 1)
270 UseHyperThreads ? Groups[0].UsableThreads : Groups[0].useableCores();
[all …]
/llvm-project-15.0.7/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp180 SmallVector<StringRef, 8> Groups; in validEndComment() local
182 NamespaceMacroCommentPattern.match(Comment->TokenText, &Groups)) { in validEndComment()
183 StringRef NamespaceTokenText = Groups.size() > 4 ? Groups[4] : ""; in validEndComment()
188 !NamespaceCommentPattern.match(Comment->TokenText, &Groups)) { in validEndComment()
192 StringRef NamespaceNameInComment = Groups.size() > 5 ? Groups[5] : ""; in validEndComment()
196 StringRef AnonymousInComment = Groups.size() > 3 ? Groups[3] : ""; in validEndComment()
213 if (!CommentPattern.match(Comment->Next->TokenText, &Groups)) in validEndComment()
215 NamespaceNameInComment = Groups.size() > 2 ? Groups[2] : ""; in validEndComment()
/llvm-project-15.0.7/llvm/include/llvm/MCA/HardwareUnits/
H A DLSUnit.h221 DenseMap<unsigned, std::unique_ptr<MemoryGroup>> Groups; variable
272 return Index && (Groups.find(Index) != Groups.end()); in isValidGroupID()
306 return *Groups.find(Index)->second; in getGroup()
311 return *Groups.find(Index)->second; in getGroup()
315 Groups.insert( in createMemoryGroup()
330 Groups[GroupID]->onInstructionIssued(IR); in onInstructionIssued()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DNamespaceCommentCheck.cpp146 SmallVector<StringRef, 7> Groups; in check() local
147 if (NamespaceCommentPattern.match(Comment, &Groups)) { in check()
148 StringRef NamespaceNameInComment = Groups.size() > 5 ? Groups[5] : ""; in check()
149 StringRef Anonymous = Groups.size() > 3 ? Groups[3] : ""; in check()
H A DIdentifierNamingCheck.cpp666 SmallVector<StringRef, 8> Groups; in getEnumPrefix() local
669 Groups.clear(); in getEnumPrefix()
673 if (Groups[2].size() > 0) { in getEnumPrefix()
674 Words.push_back(Groups[1]); in getEnumPrefix()
677 Words.push_back(Groups[3]); in getEnumPrefix()
678 Substr = Substr.substr(Groups[0].size() - Groups[4].size()); in getEnumPrefix()
681 Substr = Substr.substr(Groups[0].size() - Groups[6].size()); in getEnumPrefix()
886 Groups.clear(); in fixupWithCase()
890 if (Groups[2].size() > 0) { in fixupWithCase()
895 Substr = Substr.substr(Groups[0].size() - Groups[4].size()); in fixupWithCase()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dcatch-id-type.mm12 id Groups(); function
25 groups = Groups(); // throws on errors.
29 Groups();
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangOptionDocEmitter.cpp32 std::vector<DocumentedGroup> Groups; member
120 auto &Groups = GroupsInGroup[R]; in extractDocumentation() local
121 llvm::sort(Groups, CompareByLocation); in extractDocumentation()
122 for (Record *G : Groups) { in extractDocumentation()
123 D.Groups.emplace_back(); in extractDocumentation()
124 D.Groups.back().Group = G; in extractDocumentation()
125 Documentation &Base = D.Groups.back(); in extractDocumentation()
185 for (auto &G : Group.Groups) { in isGroupIncluded()
427 for (auto &G : Doc.Groups) in emitDocumentation()
/llvm-project-15.0.7/llvm/lib/MCA/HardwareUnits/
H A DLSUnit.cpp45 for (const std::pair<unsigned, std::unique_ptr<MemoryGroup>> &G : Groups) in cycleEvent()
56 for (const auto &GroupIt : Groups) { in dump()
207 auto It = Groups.find(GroupID); in onInstructionExecuted()
208 assert(It != Groups.end() && "Instruction not dispatched to the LS unit"); in onInstructionExecuted()
211 Groups.erase(It); in onInstructionExecuted()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DOptRSTEmitter.cpp28 const std::vector<Record *> &Groups = in EmitOptRST() local
30 for (unsigned i = 0, e = Groups.size(); i != e; ++i) { in EmitOptRST()
31 const Record &R = *Groups[i]; in EmitOptRST()
H A DCodeGenSchedule.h376 std::vector<OpcodeGroup> Groups; variable
391 if (Groups.empty() || in addOpcode()
392 Groups.back().getOpcodeInfo().getPredicates() != Info.getPredicates()) in addOpcode()
393 Groups.emplace_back(std::move(Info)); in addOpcode()
394 Groups.back().addOpcode(OpcodeRec); in addOpcode()
406 ArrayRef<OpcodeGroup> getGroups() const { return Groups; } in getGroups()
/llvm-project-15.0.7/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp160 CsectGroups Groups; member
163 CsectGroups Groups) in CsectSectionEntry()
164 : SectionEntry(N, Flags), IsVirtual(IsVirtual), Groups(Groups) { in CsectSectionEntry()
172 for (auto *Group : Groups) in reset()
858 for (const auto *Group : Section->Groups) { in writeRelocations()
894 for (const auto *Group : Section->Groups) { in writeSymbolTable()
922 for (const auto *Group : Section->Groups) { in finalizeSectionInfo()
1002 llvm::all_of(Section->Groups, in assignAddressesAndIndices()
1023 for (auto *Group : Section->Groups) { in assignAddressesAndIndices()
1177 for (const auto &Group : CsectEntry.Groups) { in writeSectionForControlSectionEntry()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrFMA3Info.cpp73 static const X86InstrFMA3Group Groups[] = { variable
131 assert(llvm::is_sorted(Groups) && llvm::is_sorted(RoundGroups) && in verifyTables()
165 Table = makeArrayRef(Groups); in getFMA3Group()
/llvm-project-15.0.7/lldb/source/Commands/
H A DOptionsBase.td10 // - `Groups`: Sets a given list of group numbers.
11 // Example: def foo : Option<"foo", "f">, Groups<[1,4,6]>;
114 class Groups<list<int> groups> {
115 list<int> Groups = groups;
H A DOptions.td116 Completion<"SourceFile">, Groups<[1,3,4,5,6,7,8,9,11]>,
191 Arg<"Boolean">, Groups<[1,3,4,5,6,7,8,12]>,
198 Arg<"Address">, Groups<[1,3,4,5,6,7,8,12]>,
203 Groups<[1,9,12]>, Arg<"Boolean">,
323 Groups<[1,2]>, Arg<"AddressOrExpression">, Required,
351 Groups<[1,2]>, Arg<"Boolean">,
357 Groups<[1,2]>, Arg<"Boolean">,
361 def expression_options_debug : Option<"debug", "g">, Groups<[1,2]>,
504 def memory_read_force : Option<"force", "r">, Groups<[1,2,3]>,
812 def script_add_overwrite : Option<"overwrite", "o">, Groups<[1,2]>,
[all …]
/llvm-project-15.0.7/polly/test/ScopInfo/
H A Daliasing_multiple_alias_groups.ll42 ; NOAA: Alias Groups (2):
55 ; TBAA: Alias Groups (2):
H A Drun-time-check-read-only-arrays.ll8 ; CHECK: Alias Groups (2):
H A Daliasing_conditional_alias_groups_2.ll6 ; CHECK: Alias Groups (2):
H A Daliasing_conditional_alias_groups_1.ll5 ; CHECK: Alias Groups (0):
/llvm-project-15.0.7/lldb/utils/TableGen/
H A DLLDBOptionDefEmitter.cpp41 auto Groups = Option->getValueAsListOfInts("Groups"); in CommandOption() local
42 for (int Group : Groups) in CommandOption()
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Dcomdat-broken.yaml21 # CHECK: Groups {
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/include/llvm/Frontend/OpenMP/
H A DBUILD.gn15 # Groups all tablegen() calls that create .inc files that are included in
/llvm-project-15.0.7/lld/test/ELF/
H A Drelocatable-comdat2.s12 # CHECK: Groups {
H A Drelocatable-comdat-multiple.s7 # CHECK: Groups {
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Dgroups.test9 # CHECK: Groups {
151 # SYMTAB-LLVM: Groups {
204 # SIGNATURE: Groups {
255 # CONTENT-LLVM: Groups {
297 # NAME-LLVM: Groups {
347 # MEMBER-LLVM: Groups {
/llvm-project-15.0.7/polly/test/ScopInfo/NonAffine/
H A Dnon_affine_conditional_surrounding_affine_loop.ll47 ; INNERMOST-NEXT: Alias Groups (0):
85 ; ALL-NEXT: Alias Groups (0):

123