Searched refs:SC (Results 1 - 25 of 150) sorted by relevance

123456

/freebsd-current/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dllvm-xray.cpp30 for (auto *SC : cl::getRegisteredSubcommands()) {
31 if (*SC) {
34 if (SC == &cl::SubCommand::getTopLevel()) {
38 if (auto C = dispatch(SC)) {
H A Dxray-registry.cpp26 CommandRegistration::CommandRegistration(cl::SubCommand *SC, argument
28 assert(getCommands().count(SC) == 0 &&
31 getCommands()[SC] = Command;
34 HandlerType dispatch(cl::SubCommand *SC) { argument
35 auto It = getCommands().find(SC);
H A Dxray-registry.h22 // and associates it with |SC|. This requires that a command has not been
23 // registered to a given |SC|.
31 CommandRegistration(cl::SubCommand *SC, std::function<Error()> Command);
34 // Requires that |SC| is not null and has an associated function to it.
35 std::function<Error()> dispatch(cl::SubCommand *SC);
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtil.cpp19 for (auto *SC : cl::getRegisteredSubcommands()) {
20 if (*SC) {
23 if (SC == &cl::SubCommand::getTopLevel())
25 if (auto C = dispatch(SC)) {
H A DRemarkUtilRegistry.cpp25 CommandRegistration::CommandRegistration(cl::SubCommand *SC, argument
27 assert(getCommands().count(SC) == 0 &&
30 getCommands()[SC] = Command;
33 HandlerType dispatch(cl::SubCommand *SC) { argument
34 auto It = getCommands().find(SC);
H A DRemarkUtilRegistry.h22 // and associates it with |SC|. This requires that a command has not been
23 // registered to a given |SC|.
31 CommandRegistration(cl::SubCommand *SC, std::function<Error()> Command);
34 // Requires that |SC| is not null and has an associated function to it.
35 std::function<Error()> dispatch(cl::SubCommand *SC);
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DFormatUtil.cpp148 using SC = COFF::SectionCharacteristics;
154 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_TYPE_NOLOAD, C, Style, "noload");
155 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_TYPE_NO_PAD, C, Style, "no padding");
156 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_CODE, C, Style, "code");
157 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_INITIALIZED_DATA, C, Style,
159 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_UNINITIALIZED_DATA, C, Style,
161 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_OTHER, C, Style, "other");
162 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_INFO, C, Style, "info");
163 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_REMOVE, C, Style, "remove");
164 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_COMDA
[all...]
H A DInputFile.cpp171 if (!SC.hasChecksums() || !SC.hasStrings())
172 SC.initialize(SS);
177 if (SC.hasChecksums() && SC.hasStrings())
197 if (!SC.hasStrings()) {
200 SC.setStrings(StringTable->getStringTable());
205 SC.resetChecksums();
214 SC.initialize(Subsections);
219 if (!SC
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.cpp47 const MCSchedClassDesc *SC = getSchedClass(SU); local
48 if (!SC->isValid())
51 assert((SC->NumMicroOps != 2 || (SC->BeginGroup && !SC->EndGroup)) &&
53 assert((SC->NumMicroOps < 3 || (SC->BeginGroup && SC->EndGroup)) &&
55 assert((SC->NumMicroOps < 3 || (SC
93 const MCSchedClassDesc *SC = getSchedClass(SU); local
171 const MCSchedClassDesc *SC = getSchedClass(SU); local
272 const MCSchedClassDesc *SC = getSchedClass(SU); local
341 const MCSchedClassDesc *SC = getSchedClass(SU); local
390 const MCSchedClassDesc *SC = getSchedClass(SU); local
418 const MCSchedClassDesc *SC = SchedModel->resolveSchedClass(MI); local
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h102 const MCSchedClassDesc *SC = nullptr) const;
105 const MCSchedClassDesc *SC = nullptr) const;
109 const MCSchedClassDesc *SC = nullptr) const;
133 ProcResIter getWriteProcResBegin(const MCSchedClassDesc *SC) const {
135 return STI->getWriteProcResBegin(SC);
137 ProcResIter getWriteProcResEnd(const MCSchedClassDesc *SC) const {
138 return STI->getWriteProcResEnd(SC);
/freebsd-current/sys/sys/
H A Dposix4.h50 #define SYSCALL_NOT_PRESENT_GEN(SC) \
51 int sys_ ## SC (struct thread *td, struct SC##_args *uap) \
53 return syscall_not_present(td, #SC , (struct nosys_args *)uap); \
/freebsd-current/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSubtargetInfo.h168 const MCSchedClassDesc *SC) const {
169 return &WriteProcResTable[SC->WriteProcResIdx];
172 const MCSchedClassDesc *SC) const {
173 return getWriteProcResBegin(SC) + SC->NumWriteProcResEntries;
176 const MCWriteLatencyEntry *getWriteLatencyEntry(const MCSchedClassDesc *SC, argument
178 assert(DefIdx < SC->NumWriteLatencyEntries &&
181 return &WriteLatencyTable[SC->WriteLatencyIdx + DefIdx];
184 int getReadAdvanceCycles(const MCSchedClassDesc *SC, unsigned UseIdx, argument
189 for (const MCReadAdvanceEntry *I = &ReadAdvanceTable[SC
[all...]
H A DMCSymbolXCOFF.h39 void setStorageClass(XCOFF::StorageClass SC) { argument
40 StorageClass = SC;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLDebugSections.h112 fromCodeViewSubection(const codeview::StringsAndChecksumsRef &SC,
121 const codeview::StringsAndChecksums &SC);
124 fromDebugS(ArrayRef<uint8_t> Data, const codeview::StringsAndChecksumsRef &SC);
127 codeview::StringsAndChecksums &SC);
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetSchedule.cpp74 const MCSchedClassDesc *SC) const {
76 if (!SC)
77 SC = resolveSchedClass(MI);
78 if (SC->isValid())
79 return SC->BeginGroup;
85 const MCSchedClassDesc *SC) const {
87 if (!SC)
88 SC = resolveSchedClass(MI);
89 if (SC->isValid())
90 return SC
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp117 if (const SwitchCase *SC = dyn_cast<SwitchCase>(SubStmt))
118 Next = SC->getSubStmt();
144 for (const SwitchCase *SC = SS->getSwitchCaseList(); SC;
145 SC = SC->getNextSwitchCase()) {
146 Detect(from, ToScopes[SC]);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h607 template <typename SC, typename RetVal = void> struct SCEVVisitor {
611 return ((SC *)this)->visitConstant((const SCEVConstant *)S);
613 return ((SC *)this)->visitVScale((const SCEVVScale *)S);
615 return ((SC *)this)->visitPtrToIntExpr((const SCEVPtrToIntExpr *)S);
617 return ((SC *)this)->visitTruncateExpr((const SCEVTruncateExpr *)S);
619 return ((SC *)this)->visitZeroExtendExpr((const SCEVZeroExtendExpr *)S);
621 return ((SC *)this)->visitSignExtendExpr((const SCEVSignExtendExpr *)S);
623 return ((SC *)this)->visitAddExpr((const SCEVAddExpr *)S);
625 return ((SC *)this)->visitMulExpr((const SCEVMulExpr *)S);
627 return ((SC *)thi
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp94 const codeview::StringsAndChecksums &SC) const = 0;
112 const codeview::StringsAndChecksums &SC) const override;
126 const codeview::StringsAndChecksums &SC) const override;
142 const codeview::StringsAndChecksums &SC) const override;
158 const codeview::StringsAndChecksums &SC) const override;
172 const codeview::StringsAndChecksums &SC) const override;
186 const codeview::StringsAndChecksums &SC) const override;
200 const codeview::StringsAndChecksums &SC) const override;
214 const codeview::StringsAndChecksums &SC) const override;
229 const codeview::StringsAndChecksums &SC) cons
747 toCodeViewSubsectionList( BumpPtrAllocator &Allocator, ArrayRef<YAMLDebugSubsection> Subsections, const codeview::StringsAndChecksums &SC) argument
891 fromCodeViewSubection(const StringsAndChecksumsRef &SC, const DebugSubsectionRecord &SS) argument
901 fromDebugS(ArrayRef<uint8_t> Data, const StringsAndChecksumsRef &SC) argument
922 initializeStringsAndChecksums( ArrayRef<YAMLDebugSubsection> Sections, codeview::StringsAndChecksums &SC) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.h61 unsigned storageClassToAddressSpace(SPIRV::StorageClass::StorageClass SC);
68 getMemSemanticsForStorageClass(SPIRV::StorageClass::StorageClass SC);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMachOBuilder.h177 RelocTarget(SymbolContainer &SC, size_t Idx) : SC(&SC), Idx(Idx) {} argument
183 return SC->SymbolIndexBase + Idx;
193 return SC->Symbols[Idx];
199 SymbolContainer *SC; member in union:llvm::orc::MachOBuilder::RelocTarget::__anon1652
233 SymbolContainer SC;
254 SC.Symbols.push_back(Sym);
255 return {SC, SC
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp386 if (const Comdat *SC = GV.getComdat()) {
387 std::tie(std::ignore, ComdatFrom) = ComdatsChosen[SC];
412 const Comdat *SC = GV.getComdat(); local
413 if (!SC)
415 for (GlobalValue *GV2 : LazyComdatMembers[SC]) {
523 if (const Comdat *SC = GV.getComdat())
524 LazyComdatMembers[SC].push_back(&GV);
528 if (const Comdat *SC = SF.getComdat())
529 LazyComdatMembers[SC].push_back(&SF);
533 if (const Comdat *SC
579 const Comdat *SC = GV->getComdat(); local
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Basic/
H A DSpecifiers.h256 inline bool isLegalForFunction(StorageClass SC) {
257 return SC <= SC_PrivateExtern;
261 inline bool isLegalForVariable(StorageClass SC) {
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp374 MachO::segment_command SC = Obj->getSegmentLoadCommand(L); local
376 Segment.SegName = SC.segname;
377 Segment.cmdsize = SC.cmdsize;
378 Segment.vmaddr = SC.vmaddr;
379 Segment.vmsize = SC.vmsize;
380 Segment.fileoff = SC.fileoff;
381 Segment.filesize = SC.filesize;
382 Segment.maxprot = SC.maxprot;
383 Segment.initprot = SC.initprot;
384 Segment.nsects = SC
388 MachO::segment_command_64 SC = Obj->getSegment64LoadCommand(L); local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsExpandPseudo.cpp82 unsigned LL, SC; local
92 SC = STI->hasMips32r6() ? Mips::SC_MMR6 : Mips::SC_MM;
98 SC = STI->hasMips32r6() ? (ArePtrs64bit ? Mips::SC64_R6 : Mips::SC_R6)
99 : (ArePtrs64bit ? Mips::SC64 : Mips::SC);
163 BuildMI(loop2MBB, DL, TII->get(SC), Scratch)
213 unsigned LL, SC, ZERO, BNE, BEQ, MOVE; local
218 SC = STI->hasMips32r6() ? Mips::SC_MMR6 : Mips::SC_MM;
225 SC = STI->hasMips32r6()
227 : (ArePtrs64bit ? Mips::SC64 : Mips::SC);
236 SC
311 unsigned LL, SC, SLT, SLTu, OR, MOVN, MOVZ, SELNEZ, SELEQZ; local
586 unsigned LL, SC, ZERO, BEQ, SLT, SLTu, OR, MOVN, MOVZ, SELNEZ, SELEQZ; local
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp42 SwitchCase *SC; member in struct:__anon1493::CaseInfo
50 CaseInfo() : SC(nullptr), State(St_Unchecked) {}
52 : SC(S), Range(Range), State(St_Unchecked) {}
176 Pass.TA.insertAfterToken(info.SC->getColonLoc(), " {");

Completed in 173 milliseconds

123456