Home
last modified time | relevance | path

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

1234567

/freebsd-12.1/contrib/jemalloc/include/jemalloc/internal/
H A Dsize_classes.h43 SC( 0, 3, 3, 0, no, yes, 1, 3) \
44 SC( 1, 3, 3, 1, no, yes, 1, 3) \
45 SC( 2, 3, 3, 2, no, yes, 3, 3) \
46 SC( 3, 3, 3, 3, no, yes, 1, 3) \
48 SC( 4, 5, 3, 1, no, yes, 5, 3) \
49 SC( 5, 5, 3, 2, no, yes, 3, 3) \
50 SC( 6, 5, 3, 3, no, yes, 7, 3) \
51 SC( 7, 5, 3, 4, no, yes, 1, 3) \
53 SC( 8, 6, 4, 1, no, yes, 5, 4) \
54 SC( 9, 6, 4, 2, no, yes, 3, 4) \
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.cpp49 if (!SC->isValid()) in getNumDecoderSlots()
52 assert((SC->NumMicroOps != 2 || (SC->BeginGroup && !SC->EndGroup)) && in getNumDecoderSlots()
54 assert((SC->NumMicroOps < 3 || (SC->BeginGroup && SC->EndGroup)) && in getNumDecoderSlots()
56 assert((SC->NumMicroOps < 3 || (SC->NumMicroOps % 3 == 0)) && in getNumDecoderSlots()
95 if (!SC->isValid()) in fitsIntoCurrentGroup()
100 if (SC->BeginGroup) in fitsIntoCurrentGroup()
173 if (!SC->isValid()) in dumpSU()
197 if (SC->BeginGroup && SC->EndGroup) in dumpSU()
343 if (!SC->isValid()) in groupingCost()
356 if (SC->EndGroup) { in groupingCost()
[all …]
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DFormatUtil.cpp193 using SC = COFF::SectionCharacteristics; in formatSectionCharacteristics() typedef
201 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_CODE, C, Style, "code"); in formatSectionCharacteristics()
206 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_OTHER, C, Style, "other"); in formatSectionCharacteristics()
207 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_INFO, C, Style, "info"); in formatSectionCharacteristics()
210 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_GPREL, C, Style, "gp rel"); in formatSectionCharacteristics()
243 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_NRELOC_OVFL, C, Style, in formatSectionCharacteristics()
245 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_DISCARDABLE, C, Style, in formatSectionCharacteristics()
247 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_NOT_CACHED, C, Style, in formatSectionCharacteristics()
251 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_EXECUTE, C, Style, in formatSectionCharacteristics()
253 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_READ, C, Style, in formatSectionCharacteristics()
[all …]
H A DInputFile.cpp141 if (!SC.hasChecksums() || !SC.hasStrings()) in SymbolGroup()
142 SC.initialize(SS); in SymbolGroup()
147 if (SC.hasChecksums() && SC.hasStrings()) in SymbolGroup()
167 if (!SC.hasStrings()) { in initializeForPdb()
175 SC.resetChecksums(); in initializeForPdb()
184 SC.initialize(Subsections); in initializeForPdb()
189 if (!SC.hasChecksums()) in rebuildChecksumMap()
192 for (const auto &Entry : SC.checksums()) { in rebuildChecksumMap()
206 return SC.strings().getString(Offset); in getNameFromStringTable()
225 if (!SC.hasChecksums()) { in formatFromChecksumsOffset()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCSubtargetInfo.h121 const MCSchedClassDesc *SC) const { in getWriteProcResBegin() argument
122 return &WriteProcResTable[SC->WriteProcResIdx]; in getWriteProcResBegin()
125 const MCSchedClassDesc *SC) const { in getWriteProcResEnd() argument
126 return getWriteProcResBegin(SC) + SC->NumWriteProcResEntries; in getWriteProcResEnd()
129 const MCWriteLatencyEntry *getWriteLatencyEntry(const MCSchedClassDesc *SC, in getWriteLatencyEntry() argument
131 assert(DefIdx < SC->NumWriteLatencyEntries && in getWriteLatencyEntry()
134 return &WriteLatencyTable[SC->WriteLatencyIdx + DefIdx]; in getWriteLatencyEntry()
137 int getReadAdvanceCycles(const MCSchedClassDesc *SC, unsigned UseIdx, in getReadAdvanceCycles() argument
142 for (const MCReadAdvanceEntry *I = &ReadAdvanceTable[SC->ReadAdvanceIdx], in getReadAdvanceCycles()
143 *E = I + SC->NumReadAdvanceEntries; I != E; ++I) { in getReadAdvanceCycles()
/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp405 assert(SC.hasStrings()); in toCodeViewSubsection()
416 assert(SC.hasStrings() && SC.hasChecksums()); in toCodeViewSubsection()
418 std::make_shared<DebugLinesSubsection>(*SC.checksums(), *SC.strings()); in toCodeViewSubsection()
447 assert(SC.hasChecksums()); in toCodeViewSubsection()
478 assert(SC.hasStrings()); in toCodeViewSubsection()
512 assert(SC.hasStrings()); in toCodeViewSubsection()
750 const codeview::StringsAndChecksums &SC) { in toCodeViewSubsectionList() argument
935 if (!SC.hasStrings()) { in initializeStringsAndChecksums()
941 SC.setStrings( in initializeStringsAndChecksums()
947 if (SC.hasStrings() && !SC.hasChecksums()) { in initializeStringsAndChecksums()
[all …]
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DMarkLive.cpp34 if (auto *SC = dyn_cast<SectionChunk>(C)) in markLive() local
35 if (SC->Live) in markLive()
36 Worklist.push_back(SC); in markLive()
59 SectionChunk *SC = Worklist.pop_back_val(); in markLive() local
60 assert(SC->Live && "We mark as live when pushing onto the worklist!"); in markLive()
63 for (Symbol *B : SC->symbols()) in markLive()
68 for (SectionChunk *C : SC->children()) in markLive()
H A DICF.cpp134 for (const SectionChunk *C : SC->children()) in assocEquals()
250 if (auto *SC = dyn_cast<SectionChunk>(C)) { in run() local
251 if (isEligible(SC)) in run()
252 Chunks.push_back(SC); in run()
254 SC->Class[0] = NextId++; in run()
261 for (SectionChunk *SC : P.second->Sections) in run()
262 SC->Class[0] = NextId++; in run()
265 parallelForEach(Chunks, [&](SectionChunk *SC) { in run() argument
266 SC->Class[0] = xxHash64(SC->getContents()); in run()
273 uint32_t Hash = SC->Class[Cnt % 2]; in run()
[all …]
H A DMapFile.cpp114 auto *SC = dyn_cast<SectionChunk>(C); in writeMapFile() local
115 if (!SC) in writeMapFile()
118 writeHeader(OS, SC->getRVA(), SC->getSize(), SC->Alignment); in writeMapFile()
119 OS << Indent8 << SC->File->getName() << ":(" << SC->getSectionName() in writeMapFile()
121 for (DefinedRegular *Sym : SectionSyms[SC]) in writeMapFile()
H A DWriter.cpp380 if (!SC) in createThunks()
387 size_t ThunkInsertionRVA = SC->getRVA() + SC->getSize() + ThunksSize; in createThunks()
433 if (!SC) in verifyRanges()
730 auto *SC = dyn_cast<SectionChunk>(C); in createSections() local
731 if (SC && !SC->Live) { in createSections()
733 SC->printDiscardedMessage(); in createSections()
1261 SectionChunk *SC = B->getChunk(); in writeHeader() local
1264 if (!SC->hasData() || OffsetInChunk + 4 > SC->getSize()) in writeHeader()
1405 if (!SC || !SC->Live) in markSymbolsWithRelocations()
1538 if (!SC || !SC->Live) in createRuntimePseudoRelocs()
[all …]
H A DSymbolTable.cpp72 static Symbol *getSymbol(SectionChunk *SC, uint32_t Addr) { in getSymbol() argument
75 for (Symbol *S : SC->File->getSymbols()) { in getSymbol()
77 if (!D || D->getChunk() != SC || D->getValue() > Addr || in getSymbol()
95 auto *SC = dyn_cast<SectionChunk>(C); in getSymbolLocations() local
96 if (!SC) in getSymbolLocations()
98 for (const coff_relocation &R : SC->Relocs) { in getSymbolLocations()
102 getFileLine(SC, R.VirtualAddress); in getSymbolLocations()
103 Symbol *Sym = getSymbol(SC, R.VirtualAddress); in getSymbolLocations()
191 SectionChunk *SC = dyn_cast_or_null<SectionChunk>(Refptr->getChunk()); in handleMinGWAutomaticImport() local
192 if (SC && SC->Relocs.size() == 1 && *SC->symbols().begin() == Sym) { in handleMinGWAutomaticImport()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetSchedule.cpp89 if (!SC) in mustBeginGroup()
90 SC = resolveSchedClass(MI); in mustBeginGroup()
91 if (SC->isValid()) in mustBeginGroup()
92 return SC->BeginGroup; in mustBeginGroup()
100 if (!SC) in mustEndGroup()
101 SC = resolveSchedClass(MI); in mustEndGroup()
102 if (SC->isValid()) in mustEndGroup()
103 return SC->EndGroup; in mustEndGroup()
115 if (!SC) in getNumMicroOps()
117 if (SC->isValid()) in getNumMicroOps()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h445 template<typename SC, typename RetVal=void>
458 return ((SC*)this)->visitAddExpr((const SCEVAddExpr*)S); in visit()
576 template<typename SC>
594 auto* Visited = SCEVVisitor<SC, const SCEV *>::visit(S); in visit()
629 Operands.push_back(((SC*)this)->visit(Op)); in visitAddExpr()
639 Operands.push_back(((SC*)this)->visit(Op)); in visitMulExpr()
646 auto *LHS = ((SC *)this)->visit(Expr->getLHS()); in visitUDivExpr()
647 auto *RHS = ((SC *)this)->visit(Expr->getRHS()); in visitUDivExpr()
656 Operands.push_back(((SC*)this)->visit(Op)); in visitAddRecExpr()
668 Operands.push_back(((SC *)this)->visit(Op)); in visitSMaxExpr()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h100 const MCSchedClassDesc *SC = nullptr) const;
103 const MCSchedClassDesc *SC = nullptr) const;
107 const MCSchedClassDesc *SC = nullptr) const;
131 ProcResIter getWriteProcResBegin(const MCSchedClassDesc *SC) const { in getWriteProcResBegin() argument
133 return STI->getWriteProcResBegin(SC); in getWriteProcResBegin()
135 ProcResIter getWriteProcResEnd(const MCSchedClassDesc *SC) const { in getWriteProcResEnd() argument
136 return STI->getWriteProcResEnd(SC); in getWriteProcResEnd()
/freebsd-12.1/contrib/llvm/tools/llvm-xray/
H A Dxray-registry.cpp25 CommandRegistration::CommandRegistration(cl::SubCommand *SC, in CommandRegistration() argument
27 assert(Commands->count(SC) == 0 && in CommandRegistration()
30 (*Commands)[SC] = Command; in CommandRegistration()
33 HandlerType dispatch(cl::SubCommand *SC) { in dispatch() argument
34 auto It = Commands->find(SC); in dispatch()
H A Dllvm-xray.cpp31 for (auto *SC : cl::getRegisteredSubcommands()) { in main() local
32 if (*SC) { in main()
35 if (SC == &*cl::TopLevelSubCommand) { in main()
39 if (auto C = dispatch(SC)) { in main()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DVarBypassDetector.cpp118 if (const SwitchCase *SC = dyn_cast<SwitchCase>(SubStmt)) in BuildScopeInformation() local
119 Next = SC->getSubStmt(); in BuildScopeInformation()
145 for (const SwitchCase *SC = SS->getSwitchCaseList(); SC; in Detect() local
146 SC = SC->getNextSwitchCase()) { in Detect()
147 Detect(from, ToScopes[SC]); in Detect()
/freebsd-12.1/contrib/jemalloc/src/
H A Dsz.c9 #define SC(index, lg_grp, lg_delta, ndelta, psz, bin, pgs, lg_delta_lookup) \ macro
14 #undef SC
20 #define SC(index, lg_grp, lg_delta, ndelta, psz, bin, pgs, lg_delta_lookup) \ macro
23 #undef SC
93 #define SC(index, lg_grp, lg_delta, ndelta, psz, bin, pgs, lg_delta_lookup) \ macro
106 #undef SC
/freebsd-12.1/sys/sys/
H A Dposix4.h52 #define SYSCALL_NOT_PRESENT_GEN(SC) \ argument
53 int sys_ ## SC (struct thread *td, struct SC##_args *uap) \
55 return syscall_not_present(td, #SC , (struct nosys_args *)uap); \
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsExpandPseudo.cpp83 unsigned LL, SC; in expandAtomicCmpSwapSubword() local
164 BuildMI(loop2MBB, DL, TII->get(SC), Scratch) in expandAtomicCmpSwapSubword()
214 unsigned LL, SC, ZERO, BNE, BEQ, MOVE; in expandAtomicCmpSwap() local
226 SC = STI->hasMips32r6() in expandAtomicCmpSwap()
228 : (ArePtrs64bit ? Mips::SC64 : Mips::SC); in expandAtomicCmpSwap()
237 SC = STI->hasMips64r6() ? Mips::SCD_R6 : Mips::SCD; in expandAtomicCmpSwap()
288 BuildMI(loop2MBB, DL, TII->get(SC), Scratch) in expandAtomicCmpSwap()
312 unsigned LL, SC; in expandAtomicBinOpSubword() local
443 BuildMI(loopMBB, DL, TII->get(SC), StoreVal) in expandAtomicBinOpSubword()
492 unsigned LL, SC, ZERO, BEQ; in expandAtomicBinOp() local
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DVPlanValue.h54 VPValue(const unsigned char SC, Value *UV = nullptr)
55 : SubclassID(SC), UnderlyingVal(UV) {} in SubclassID() argument
137 VPUser(const unsigned char SC) : VPValue(SC) {} in VPUser() argument
138 VPUser(const unsigned char SC, ArrayRef<VPValue *> Operands) : VPValue(SC) { in VPUser() argument
/freebsd-12.1/contrib/llvm/lib/Linker/
H A DLinkModules.cpp380 if (const Comdat *SC = GV.getComdat()) { in linkIfNeeded() local
406 const Comdat *SC = GV.getComdat(); in addLazyFor() local
407 if (!SC) in addLazyFor()
503 if (const Comdat *SC = GV.getComdat()) in run() local
504 LazyComdatMembers[SC].push_back(&GV); in run()
508 if (const Comdat *SC = SF.getComdat()) in run() local
509 LazyComdatMembers[SC].push_back(&SF); in run()
513 if (const Comdat *SC = GA.getComdat()) in run() local
514 LazyComdatMembers[SC].push_back(&GA); in run()
532 const Comdat *SC = GV->getComdat(); in run() local
[all …]
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DMachODumper.cpp343 Segment.vmaddr = SC.vmaddr; in getSegment()
344 Segment.vmsize = SC.vmsize; in getSegment()
349 Segment.nsects = SC.nsects; in getSegment()
350 Segment.flags = SC.flags; in getSegment()
355 Segment.SegName = SC.segname; in getSegment()
356 Segment.cmdsize = SC.cmdsize; in getSegment()
357 Segment.vmaddr = SC.vmaddr; in getSegment()
358 Segment.vmsize = SC.vmsize; in getSegment()
359 Segment.fileoff = SC.fileoff; in getSegment()
363 Segment.nsects = SC.nsects; in getSegment()
[all …]
/freebsd-12.1/contrib/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-12.1/contrib/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLDebugSections.h113 fromCodeViewSubection(const codeview::StringsAndChecksumsRef &SC,
124 const codeview::StringsAndChecksums &SC);
127 fromDebugS(ArrayRef<uint8_t> Data, const codeview::StringsAndChecksumsRef &SC);
130 codeview::StringsAndChecksums &SC);

1234567