Home
last modified time | relevance | path

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

1234567

/freebsd-13.1/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-13.1/contrib/llvm-project/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.cpp144 if (!SC.hasChecksums() || !SC.hasStrings()) in SymbolGroup()
145 SC.initialize(SS); in SymbolGroup()
150 if (SC.hasChecksums() && SC.hasStrings()) in SymbolGroup()
170 if (!SC.hasStrings()) { in initializeForPdb()
178 SC.resetChecksums(); in initializeForPdb()
187 SC.initialize(Subsections); in initializeForPdb()
192 if (!SC.hasChecksums()) in rebuildChecksumMap()
195 for (const auto &Entry : SC.checksums()) { in rebuildChecksumMap()
209 return SC.strings().getString(Offset); in getNameFromStringTable()
228 if (!SC.hasChecksums()) { in formatFromChecksumsOffset()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSubtargetInfo.h167 const MCSchedClassDesc *SC) const { in getWriteProcResBegin() argument
168 return &WriteProcResTable[SC->WriteProcResIdx]; in getWriteProcResBegin()
171 const MCSchedClassDesc *SC) const { in getWriteProcResEnd() argument
172 return getWriteProcResBegin(SC) + SC->NumWriteProcResEntries; in getWriteProcResEnd()
177 assert(DefIdx < SC->NumWriteLatencyEntries && in getWriteLatencyEntry()
180 return &WriteLatencyTable[SC->WriteLatencyIdx + DefIdx]; in getWriteLatencyEntry()
183 int getReadAdvanceCycles(const MCSchedClassDesc *SC, unsigned UseIdx, in getReadAdvanceCycles() argument
189 *E = I + SC->NumReadAdvanceEntries; I != E; ++I) { in getReadAdvanceCycles()
205 getReadAdvanceEntries(const MCSchedClassDesc &SC) const { in getReadAdvanceEntries() argument
206 if (!SC.NumReadAdvanceEntries) in getReadAdvanceEntries()
[all …]
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetSchedule.cpp88 if (!SC) in mustBeginGroup()
89 SC = resolveSchedClass(MI); in mustBeginGroup()
90 if (SC->isValid()) in mustBeginGroup()
91 return SC->BeginGroup; in mustBeginGroup()
99 if (!SC) in mustEndGroup()
100 SC = resolveSchedClass(MI); in mustEndGroup()
101 if (SC->isValid()) in mustEndGroup()
102 return SC->EndGroup; in mustEndGroup()
114 if (!SC) in getNumMicroOps()
116 if (SC->isValid()) in getNumMicroOps()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h103 const MCSchedClassDesc *SC = nullptr) const;
106 const MCSchedClassDesc *SC = nullptr) const;
110 const MCSchedClassDesc *SC = nullptr) const;
134 ProcResIter getWriteProcResBegin(const MCSchedClassDesc *SC) const { in getWriteProcResBegin() argument
136 return STI->getWriteProcResBegin(SC); in getWriteProcResBegin()
138 ProcResIter getWriteProcResEnd(const MCSchedClassDesc *SC) const { in getWriteProcResEnd() argument
139 return STI->getWriteProcResEnd(SC); in getWriteProcResEnd()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h575 template<typename SC, typename RetVal=void>
713 template<typename SC>
773 Operands.push_back(((SC*)this)->visit(Op)); in visitAddExpr()
783 Operands.push_back(((SC*)this)->visit(Op)); in visitMulExpr()
790 auto *LHS = ((SC *)this)->visit(Expr->getLHS()); in visitUDivExpr()
791 auto *RHS = ((SC *)this)->visit(Expr->getRHS()); in visitUDivExpr()
800 Operands.push_back(((SC*)this)->visit(Op)); in visitAddRecExpr()
812 Operands.push_back(((SC *)this)->visit(Op)); in visitSMaxExpr()
822 Operands.push_back(((SC*)this)->visit(Op)); in visitUMaxExpr()
832 Operands.push_back(((SC *)this)->visit(Op)); in visitSMinExpr()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-registry.cpp24 CommandRegistration::CommandRegistration(cl::SubCommand *SC, in CommandRegistration() argument
26 assert(Commands->count(SC) == 0 && in CommandRegistration()
29 (*Commands)[SC] = Command; in CommandRegistration()
32 HandlerType dispatch(cl::SubCommand *SC) { in dispatch() argument
33 auto It = Commands->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::TopLevelSubCommand) { 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-13.1/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-13.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-13.1/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp396 if (const Comdat *SC = GV.getComdat()) { in linkIfNeeded() local
422 const Comdat *SC = GV.getComdat(); in addLazyFor() local
423 if (!SC) in addLazyFor()
518 if (const Comdat *SC = GV.getComdat()) in run() local
519 LazyComdatMembers[SC].push_back(&GV); in run()
523 if (const Comdat *SC = SF.getComdat()) in run() local
524 LazyComdatMembers[SC].push_back(&SF); in run()
528 if (const Comdat *SC = GA.getComdat()) in run() local
529 LazyComdatMembers[SC].push_back(&GA); in run()
547 const Comdat *SC = GV->getComdat(); in run() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLDebugSections.h112 fromCodeViewSubection(const codeview::StringsAndChecksumsRef &SC,
123 const codeview::StringsAndChecksums &SC);
126 fromDebugS(ArrayRef<uint8_t> Data, const codeview::StringsAndChecksumsRef &SC);
129 codeview::StringsAndChecksums &SC);
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp365 Segment.vmaddr = SC.vmaddr; in getSegment()
366 Segment.vmsize = SC.vmsize; in getSegment()
371 Segment.nsects = SC.nsects; in getSegment()
372 Segment.flags = SC.flags; in getSegment()
377 Segment.SegName = SC.segname; in getSegment()
378 Segment.cmdsize = SC.cmdsize; in getSegment()
379 Segment.vmaddr = SC.vmaddr; in getSegment()
380 Segment.vmsize = SC.vmsize; in getSegment()
381 Segment.fileoff = SC.fileoff; in getSegment()
385 Segment.nsects = SC.nsects; in getSegment()
[all …]
/freebsd-13.1/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-13.1/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-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DTaint.cpp87 while (const SymbolCast *SC = dyn_cast<SymbolCast>(Sym)) in addTaint() local
88 Sym = SC->getOperand(); in addTaint()
113 while (const SymbolCast *SC = dyn_cast<SymbolCast>(Sym)) in removeTaint() local
114 Sym = SC->getOperand(); in removeTaint()
223 if (const auto *SC = dyn_cast<SymbolCast>(*SI)) { in isTainted() local
224 if (isTainted(State, SC->getOperand(), Kind)) in isTainted()
H A DMacOSXAPIChecker.cpp159 SubChecker SC = in checkPreStmt() local
167 if (SC) in checkPreStmt()
168 (this->*SC)(C, CE, Name); in checkPreStmt()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenSchedule.cpp910 if (SC.ProcIndices[0] != 0) in collectSchedClasses()
920 if (!SC.Writes.empty()) { in collectSchedClasses()
1030 SC.Writes = OperWrites; in addSchedClass()
1031 SC.Reads = OperReads; in addSchedClass()
1032 SC.ProcIndices = ProcIndices; in addSchedClass()
1111 SC.ProcIndices.push_back(0); in createInstRWClass()
1134 SC.InstRWs.push_back(InstRWDef); in createInstRWClass()
1882 if (SC.ItinClassDef) { in collectProcResources()
1889 for (Record *RW : SC.InstRWs) { in collectProcResources()
1897 collectRWResources(SC.Writes, SC.Reads, SC.ProcIndices); in collectProcResources()
[all …]
H A DSubtargetEmitter.cpp988 LLVM_DEBUG(SC.dump(&SchedModels)); in GenSchedClassTables()
1004 make_range(SC.Transitions.begin(), SC.Transitions.end())) { in GenSchedClassTables()
1019 if (SC.ProcIndices[0] != 0) { in GenSchedClassTables()
1023 IdxVec Writes = SC.Writes; in GenSchedClassTables()
1024 IdxVec Reads = SC.Reads; in GenSchedClassTables()
1025 if (!SC.InstRWs.empty()) { in GenSchedClassTables()
1029 for (Record *RW : SC.InstRWs) { in GenSchedClassTables()
1523 if (SC.Transitions.empty()) in collectVariantClasses()
1535 VariantClasses.push_back(SC.Index); in collectVariantClasses()
1579 collectProcessorIndices(SC, ProcIndices); in emitSchedModelHelpersImpl()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DCommandLine.cpp194 if (SC == Sub) in addLiteralOption()
205 for (auto *SC : Opt.Subs) in addLiteralOption() local
215 SC->OptionsMap.find(O->ArgStr) != SC->OptionsMap.end()) in addOption()
236 SC->ConsumeAfterOpt = O; in addOption()
250 if (SC == Sub) in addOption()
266 for (auto *SC : O->Subs) in addOption() local
267 addOption(O, SC); in addOption()
277 SubCommand &Sub = *SC; in removeOption()
310 removeOption(O, SC); in removeOption()
313 removeOption(O, SC); in removeOption()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp33 if (auto *SC = dyn_cast<SCEVConstant>(S)) { in simplifyInstWithSCEV() local
34 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV()
49 if (auto *SC = dyn_cast<SCEVConstant>(ValueAtIteration)) { in simplifyInstWithSCEV() local
50 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp42 SwitchCase *SC; member
50 CaseInfo() : SC(nullptr), State(St_Unchecked) {} in CaseInfo()
52 : SC(S), Range(Range), State(St_Unchecked) {} in CaseInfo()
176 Pass.TA.insertAfterToken(info.SC->getColonLoc(), " {"); in tryFixing()

1234567