Home
last modified time | relevance | path

Searched refs:SC (Results 1 – 25 of 202) sorted by relevance

123456789

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DFormatUtil.cpp148 using SC = COFF::SectionCharacteristics; in formatSectionCharacteristics() typedef
156 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_CODE, C, Style, "code"); in formatSectionCharacteristics()
161 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_OTHER, C, Style, "other"); in formatSectionCharacteristics()
162 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_INFO, C, Style, "info"); in formatSectionCharacteristics()
165 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_GPREL, C, Style, "gp rel"); in formatSectionCharacteristics()
198 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_NRELOC_OVFL, C, Style, in formatSectionCharacteristics()
200 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_DISCARDABLE, C, Style, in formatSectionCharacteristics()
202 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_NOT_CACHED, C, Style, in formatSectionCharacteristics()
206 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_EXECUTE, C, Style, in formatSectionCharacteristics()
208 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_READ, C, Style, in formatSectionCharacteristics()
[all …]
H A DInputFile.cpp171 if (!SC.hasChecksums() || !SC.hasStrings()) in SymbolGroup()
172 SC.initialize(SS); in SymbolGroup()
177 if (SC.hasChecksums() && SC.hasStrings()) in SymbolGroup()
197 if (!SC.hasStrings()) { in initializeForPdb()
205 SC.resetChecksums(); in initializeForPdb()
214 SC.initialize(Subsections); in initializeForPdb()
219 if (!SC.hasChecksums()) in rebuildChecksumMap()
222 for (const auto &Entry : SC.checksums()) { in rebuildChecksumMap()
236 return SC.strings().getString(Offset); in getNameFromStringTable()
241 if (!SC.hasChecksums()) { in getNameFromChecksums()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.cpp48 if (!SC->isValid()) in getNumDecoderSlots()
51 assert((SC->NumMicroOps != 2 || (SC->BeginGroup && !SC->EndGroup)) && in getNumDecoderSlots()
53 assert((SC->NumMicroOps < 3 || (SC->BeginGroup && SC->EndGroup)) && in getNumDecoderSlots()
55 assert((SC->NumMicroOps < 3 || (SC->NumMicroOps % 3 == 0)) && in getNumDecoderSlots()
94 if (!SC->isValid()) in fitsIntoCurrentGroup()
99 if (SC->BeginGroup) in fitsIntoCurrentGroup()
172 if (!SC->isValid()) in dumpSU()
196 if (SC->BeginGroup && SC->EndGroup) in dumpSU()
342 if (!SC->isValid()) in groupingCost()
355 if (SC->EndGroup) { in groupingCost()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSubtargetInfo.h168 const MCSchedClassDesc *SC) const { in getWriteProcResBegin() argument
169 return &WriteProcResTable[SC->WriteProcResIdx]; in getWriteProcResBegin()
172 const MCSchedClassDesc *SC) const { in getWriteProcResEnd() argument
173 return getWriteProcResBegin(SC) + SC->NumWriteProcResEntries; in getWriteProcResEnd()
178 assert(DefIdx < SC->NumWriteLatencyEntries && in getWriteLatencyEntry()
181 return &WriteLatencyTable[SC->WriteLatencyIdx + DefIdx]; in getWriteLatencyEntry()
184 int getReadAdvanceCycles(const MCSchedClassDesc *SC, unsigned UseIdx, in getReadAdvanceCycles() argument
190 *E = I + SC->NumReadAdvanceEntries; I != E; ++I) { in getReadAdvanceCycles()
206 getReadAdvanceEntries(const MCSchedClassDesc &SC) const { in getReadAdvanceEntries() argument
207 if (!SC.NumReadAdvanceEntries) in getReadAdvanceEntries()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp404 assert(SC.hasStrings()); in toCodeViewSubsection()
415 assert(SC.hasStrings() && SC.hasChecksums()); in toCodeViewSubsection()
417 std::make_shared<DebugLinesSubsection>(*SC.checksums(), *SC.strings()); in toCodeViewSubsection()
446 assert(SC.hasChecksums()); in toCodeViewSubsection()
477 assert(SC.hasStrings()); in toCodeViewSubsection()
511 assert(SC.hasStrings()); in toCodeViewSubsection()
749 const codeview::StringsAndChecksums &SC) { in toCodeViewSubsectionList() argument
934 if (!SC.hasStrings()) { in initializeStringsAndChecksums()
940 SC.setStrings( in initializeStringsAndChecksums()
946 if (SC.hasStrings() && !SC.hasChecksums()) { in initializeStringsAndChecksums()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetSchedule.cpp76 if (!SC) in mustBeginGroup()
77 SC = resolveSchedClass(MI); in mustBeginGroup()
78 if (SC->isValid()) in mustBeginGroup()
79 return SC->BeginGroup; in mustBeginGroup()
87 if (!SC) in mustEndGroup()
88 SC = resolveSchedClass(MI); in mustEndGroup()
89 if (SC->isValid()) in mustEndGroup()
90 return SC->EndGroup; in mustEndGroup()
102 if (!SC) in getNumMicroOps()
104 if (SC->isValid()) in getNumMicroOps()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h639 return ((SC *)this) in visit()
745 template <typename SC>
805 Operands.push_back(((SC *)this)->visit(Op)); in visitAddExpr()
815 Operands.push_back(((SC *)this)->visit(Op)); in visitMulExpr()
822 auto *LHS = ((SC *)this)->visit(Expr->getLHS()); in visitUDivExpr()
832 Operands.push_back(((SC *)this)->visit(Op)); in visitAddRecExpr()
844 Operands.push_back(((SC *)this)->visit(Op)); in visitSMaxExpr()
854 Operands.push_back(((SC *)this)->visit(Op)); in visitUMaxExpr()
864 Operands.push_back(((SC *)this)->visit(Op)); in visitSMinExpr()
874 Operands.push_back(((SC *)this)->visit(Op)); in visitUMinExpr()
[all …]
/freebsd/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 { in getWriteProcResBegin() argument
135 return STI->getWriteProcResBegin(SC); in getWriteProcResBegin()
137 ProcResIter getWriteProcResEnd(const MCSchedClassDesc *SC) const { in getWriteProcResEnd() argument
138 return STI->getWriteProcResEnd(SC); in getWriteProcResEnd()
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-registry.cpp26 CommandRegistration::CommandRegistration(cl::SubCommand *SC, in CommandRegistration() argument
28 assert(getCommands().count(SC) == 0 && in CommandRegistration()
31 getCommands()[SC] = Command; in CommandRegistration()
34 HandlerType dispatch(cl::SubCommand *SC) { in dispatch() argument
35 auto It = getCommands().find(SC); in dispatch()
H A Dllvm-xray.cpp30 for (auto *SC : cl::getRegisteredSubcommands()) { in main() local
31 if (*SC) { in main()
34 if (SC == &cl::SubCommand::getTopLevel()) { in main()
38 if (auto C = dispatch(SC)) { in main()
H A Dxray-registry.h31 CommandRegistration(cl::SubCommand *SC, std::function<Error()> Command);
35 std::function<Error()> dispatch(cl::SubCommand *SC);
/freebsd/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtilRegistry.cpp25 CommandRegistration::CommandRegistration(cl::SubCommand *SC, in CommandRegistration() argument
27 assert(getCommands().count(SC) == 0 && in CommandRegistration()
30 getCommands()[SC] = Command; in CommandRegistration()
33 HandlerType dispatch(cl::SubCommand *SC) { in dispatch() argument
34 auto It = getCommands().find(SC); in dispatch()
H A DRemarkUtil.cpp19 for (auto *SC : cl::getRegisteredSubcommands()) { in handleSubOptions() local
20 if (*SC) { in handleSubOptions()
23 if (SC == &cl::SubCommand::getTopLevel()) in handleSubOptions()
25 if (auto C = dispatch(SC)) { in handleSubOptions()
H A DRemarkUtilRegistry.h31 CommandRegistration(cl::SubCommand *SC, std::function<Error()> Command);
35 std::function<Error()> dispatch(cl::SubCommand *SC);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp117 if (const SwitchCase *SC = dyn_cast<SwitchCase>(SubStmt)) in BuildScopeInformation() local
118 Next = SC->getSubStmt(); in BuildScopeInformation()
144 for (const SwitchCase *SC = SS->getSwitchCaseList(); SC; in Detect() local
145 SC = SC->getNextSwitchCase()) { in Detect()
146 Detect(from, ToScopes[SC]); in Detect()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMachOBuilder.h177 RelocTarget(SymbolContainer &SC, size_t Idx) : SC(&SC), Idx(Idx) {}
193 return SC->Symbols[Idx];
199 SymbolContainer *SC;
233 SymbolContainer SC;
254 SC.Symbols.push_back(Sym);
255 return {SC, SC.Symbols.size() - 1};
332 SC.Symbols.push_back(Sym);
333 return {SC, SC.Symbols.size() - 1};
383 for (auto &Sym : SC.Symbols)
544 for (auto &Sym : SC.Symbols)
[all …]
/freebsd/sys/sys/
H A Dposix4.h50 #define SYSCALL_NOT_PRESENT_GEN(SC) \ argument
51 int sys_ ## SC (struct thread *td, struct SC##_args *uap) \
53 return syscall_not_present(td, #SC , (struct nosys_args *)uap); \
/freebsd/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/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/
H A Ddivmod.m443 define(SC,`%g2') macro
142 ! The total number of bits in the result here is N*ITER+SC, where
143 ! SC <= N.
149 mov 1,SC
153 ! Now compute SC
156 add SC,1,SC
164 dec SC
173 ! dec SC
183 deccc SC
203 deccc SC
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp386 if (const Comdat *SC = GV.getComdat()) { in linkIfNeeded() local
412 const Comdat *SC = GV.getComdat(); in addLazyFor() local
413 if (!SC) in addLazyFor()
523 if (const Comdat *SC = GV.getComdat()) in run() local
524 LazyComdatMembers[SC].push_back(&GV); in run()
528 if (const Comdat *SC = SF.getComdat()) in run() local
529 LazyComdatMembers[SC].push_back(&SF); in run()
533 if (const Comdat *SC = GA.getComdat()) in run() local
534 LazyComdatMembers[SC].push_back(&GA); in run()
579 const Comdat *SC = GV->getComdat(); in run() local
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp378 Segment.vmaddr = SC.vmaddr; in getSegment()
379 Segment.vmsize = SC.vmsize; in getSegment()
384 Segment.nsects = SC.nsects; in getSegment()
385 Segment.flags = SC.flags; in getSegment()
390 Segment.SegName = SC.segname; in getSegment()
391 Segment.cmdsize = SC.cmdsize; in getSegment()
392 Segment.vmaddr = SC.vmaddr; in getSegment()
393 Segment.vmsize = SC.vmsize; in getSegment()
394 Segment.fileoff = SC.fileoff; in getSegment()
398 Segment.nsects = SC.nsects; in getSegment()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsExpandPseudo.cpp82 unsigned LL, SC; in expandAtomicCmpSwapSubword() local
163 BuildMI(loop2MBB, DL, TII->get(SC), Scratch) in expandAtomicCmpSwapSubword()
213 unsigned LL, SC, ZERO, BNE, BEQ, MOVE; in expandAtomicCmpSwap() local
225 SC = STI->hasMips32r6() in expandAtomicCmpSwap()
227 : (ArePtrs64bit ? Mips::SC64 : Mips::SC); in expandAtomicCmpSwap()
236 SC = STI->hasMips64r6() ? Mips::SCD_R6 : Mips::SCD; in expandAtomicCmpSwap()
287 BuildMI(loop2MBB, DL, TII->get(SC), Scratch) in expandAtomicCmpSwap()
537 BuildMI(loopMBB, DL, TII->get(SC), StoreVal) in expandAtomicBinOpSubword()
604 SC = STI->hasMips32r6() in expandAtomicBinOp()
620 SC = STI->hasMips64r6() ? Mips::SCD_R6 : Mips::SCD; in expandAtomicBinOp()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenSchedule.cpp935 if (SC.ProcIndices[0] != 0) in collectSchedClasses()
945 if (!SC.Writes.empty()) { in collectSchedClasses()
1055 SC.Writes = OperWrites; in addSchedClass()
1056 SC.Reads = OperReads; in addSchedClass()
1057 SC.ProcIndices = ProcIndices; in addSchedClass()
1136 SC.ProcIndices.push_back(0); in createInstRWClass()
1159 SC.InstRWs.push_back(InstRWDef); in createInstRWClass()
1907 if (SC.ItinClassDef) { in collectProcResources()
1914 for (Record *RW : SC.InstRWs) { in collectProcResources()
1922 collectRWResources(SC.Writes, SC.Reads, SC.ProcIndices); in collectProcResources()
[all …]
H A DSubtargetEmitter.cpp1038 LLVM_DEBUG(SC.dump(&SchedModels)); in GenSchedClassTables()
1054 make_range(SC.Transitions.begin(), SC.Transitions.end())) { in GenSchedClassTables()
1069 if (SC.ProcIndices[0] != 0) { in GenSchedClassTables()
1073 IdxVec Writes = SC.Writes; in GenSchedClassTables()
1074 IdxVec Reads = SC.Reads; in GenSchedClassTables()
1075 if (!SC.InstRWs.empty()) { in GenSchedClassTables()
1079 for (Record *RW : SC.InstRWs) { in GenSchedClassTables()
1627 if (SC.Transitions.empty()) in collectVariantClasses()
1637 VariantClasses.push_back(SC.Index); in collectVariantClasses()
1680 collectProcessorIndices(SC, ProcIndices); in emitSchedModelHelpersImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp36 if (auto *SC = dyn_cast<SCEVConstant>(S)) { in simplifyInstWithSCEV() local
37 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV()
52 if (auto *SC = dyn_cast<SCEVConstant>(ValueAtIteration)) { in simplifyInstWithSCEV() local
53 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV()

123456789