/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | FormatUtil.cpp | 148 using SC = COFF::SectionCharacteristics; in formatSectionCharacteristics() 154 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_TYPE_NOLOAD, C, Style, "noload"); in formatSectionCharacteristics() 155 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_TYPE_NO_PAD, C, Style, "no padding"); in formatSectionCharacteristics() 156 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_CODE, C, Style, "code"); in formatSectionCharacteristics() 157 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_INITIALIZED_DATA, C, Style, in formatSectionCharacteristics() 159 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_UNINITIALIZED_DATA, C, Style, 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() 163 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_REMOVE, C, Style, "remove"); in formatSectionCharacteristics() 164 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_COMDA in formatSectionCharacteristics() 149 using SC = COFF::SectionCharacteristics; formatSectionCharacteristics() typedef [all...] |
H A D | InputFile.cpp | 171 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() 200 SC.setStrings(StringTable->getStringTable()); in initializeForPdb() 205 SC.resetChecksums(); in initializeForPdb() 214 SC.initialize(Subsections); in initializeForPdb() 219 if (!SC in rebuildChecksumMap() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZHazardRecognizer.cpp | 47 const MCSchedClassDesc *SC = getSchedClass(SU); in getNumDecoderSlots() local 48 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 in getNumDecoderSlots() 93 const MCSchedClassDesc *SC = getSchedClass(SU); fitsIntoCurrentGroup() local 171 const MCSchedClassDesc *SC = getSchedClass(SU); dumpSU() local 272 const MCSchedClassDesc *SC = getSchedClass(SU); EmitInstruction() local 341 const MCSchedClassDesc *SC = getSchedClass(SU); groupingCost() local 390 const MCSchedClassDesc *SC = getSchedClass(SU); resourcesCost() local 418 const MCSchedClassDesc *SC = SchedModel->resolveSchedClass(MI); emitInstruction() local [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCSubtargetInfo.h | 168 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() 176 const MCWriteLatencyEntry *getWriteLatencyEntry(const MCSchedClassDesc *SC, in getWriteLatencyEntry() argument 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 189 for (const MCReadAdvanceEntry *I = &ReadAdvanceTable[SC->ReadAdvanceIdx], in getReadAdvanceCycles() 190 *E = I + SC->NumReadAdvanceEntries; I != E; ++I) { in getReadAdvanceCycles() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetSchedule.cpp | 74 const MCSchedClassDesc *SC) const { in mustBeginGroup() 76 if (!SC) in mustBeginGroup() 77 SC = resolveSchedClass(MI); in mustBeginGroup() 78 if (SC->isValid()) in mustBeginGroup() 79 return SC->BeginGroup; 85 const MCSchedClassDesc *SC) const { in mustEndGroup() 87 if (!SC) in mustEndGroup() 88 SC = resolveSchedClass(MI); in mustEndGroup() 89 if (SC->isValid()) in mustEndGroup() 90 return SC in mustEndGroup() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLDebugSections.cpp | 94 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 749 toCodeViewSubsectionList(BumpPtrAllocator & Allocator,ArrayRef<YAMLDebugSubsection> Subsections,const codeview::StringsAndChecksums & SC) toCodeViewSubsectionList() argument 891 fromCodeViewSubection(const StringsAndChecksumsRef & SC,const DebugSubsectionRecord & SS) fromCodeViewSubection() argument 902 fromDebugS(ArrayRef<uint8_t> Data,const StringsAndChecksumsRef & SC) fromDebugS() argument 923 initializeStringsAndChecksums(ArrayRef<YAMLDebugSubsection> Sections,codeview::StringsAndChecksums & SC) initializeStringsAndChecksums() argument [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpressions.h | 607 template <typename SC, typename RetVal = void> struct SCEVVisitor { 611 return ((SC *)this)->visitConstant((const SCEVConstant *)S); in visit() 613 return ((SC *)this)->visitVScale((const SCEVVScale *)S); in visit() 615 return ((SC *)this)->visitPtrToIntExpr((const SCEVPtrToIntExpr *)S); in visit() 617 return ((SC *)this)->visitTruncateExpr((const SCEVTruncateExpr *)S); in visit() 619 return ((SC *)this)->visitZeroExtendExpr((const SCEVZeroExtendExpr *)S); in visit() 621 return ((SC *)this)->visitSignExtendExpr((const SCEVSignExtendExpr *)S); in visit() 623 return ((SC *)this)->visitAddExpr((const SCEVAddExpr *)S); in visit() 625 return ((SC *)this)->visitMulExpr((const SCEVMulExpr *)S); in visit() 627 return ((SC *)thi in visit() [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetSchedule.h | 102 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 D | xray-registry.cpp | 26 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 D | llvm-xray.cpp | 30 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 D | xray-registry.h | 31 CommandRegistration(cl::SubCommand *SC, std::function<Error()> Command); 35 std::function<Error()> dispatch(cl::SubCommand *SC);
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Disasm.cpp | 68 ColorScope SC(OS, true, {llvm::raw_ostream::BRIGHT_GREEN, true}); in dump() local 135 ColorScope SC(OS, true, {llvm::raw_ostream::BRIGHT_RED, true}); in dump() local 140 ColorScope SC(OS, true, {llvm::raw_ostream::WHITE, true}); in dump() local 151 ColorScope SC(OS, true, in dump() local 167 ColorScope SC(OS, true, {llvm::raw_ostream::BRIGHT_MAGENTA, true}); in dump() local 188 ColorScope SC(OS, true, {llvm::raw_ostream::BRIGHT_CYAN, false}); in dump() local 198 ColorScope SC(OS, true, {llvm::raw_ostream::WHITE, true}); in dump() local 217 ColorScope SC(OS, true, {llvm::raw_ostream::BLUE, true}); in dump() local 245 ColorScope SC(OS, true, {llvm::raw_ostream::BLUE, true}); in dump() local 266 ColorScope SC(OS, true, {llvm::raw_ostream::BLUE, true}); in dump() local [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | MachOBuilder.h | 177 RelocTarget(SymbolContainer &SC, size_t Idx) : SC(&SC), Idx(Idx) {} 183 return SC->SymbolIndexBase + 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) [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | VarBypassDetector.cpp | 117 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/sys/sys/ |
H A D | posix4.h | 50 #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/compiler-rt/lib/builtins/sparc64/ |
H A D | divmod.m4 | 43 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 D | LinkModules.cpp | 386 if (const Comdat *SC = GV.getComdat()) { in linkIfNeeded() local 387 std::tie(std::ignore, ComdatFrom) = ComdatsChosen[SC]; in linkIfNeeded() 412 const Comdat *SC = GV.getComdat(); in addLazyFor() local 413 if (!SC) in addLazyFor() 415 for (GlobalValue *GV2 : LazyComdatMembers[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 [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | CodeViewYAMLDebugSections.h | 112 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/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 374 MachO::segment_command SC = Obj->getSegmentLoadCommand(L); in getSegment() local 376 Segment.SegName = SC.segname; in getSegment() 377 Segment.cmdsize = SC.cmdsize; in getSegment() 378 Segment.vmaddr = SC.vmaddr; in getSegment() 379 Segment.vmsize = SC.vmsize; in getSegment() 380 Segment.fileoff = SC.fileoff; in getSegment() 381 Segment.filesize = SC.filesize; in getSegment() 382 Segment.maxprot = SC.maxprot; in getSegment() 383 Segment.initprot = SC.initprot; in getSegment() 384 Segment.nsects = SC in getSegment() 388 MachO::segment_command_64 SC = Obj->getSegment64LoadCommand(L); getSegment() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsExpandPseudo.cpp | 82 unsigned LL, SC; in expandAtomicCmpSwapSubword() local 92 SC = STI->hasMips32r6() ? Mips::SC_MMR6 : Mips::SC_MM; in expandAtomicCmpSwapSubword() 98 SC = STI->hasMips32r6() ? (ArePtrs64bit ? Mips::SC64_R6 : Mips::SC_R6) in expandAtomicCmpSwapSubword() 99 : (ArePtrs64bit ? Mips::SC64 : Mips::SC); in expandAtomicCmpSwapSubword() 163 BuildMI(loop2MBB, DL, TII->get(SC), Scratch) in expandAtomicCmpSwapSubword() 213 unsigned LL, SC, ZERO, BNE, BEQ, MOVE; in expandAtomicCmpSwap() local 218 SC = STI->hasMips32r6() ? Mips::SC_MMR6 : Mips::SC_MM; in expandAtomicCmpSwap() 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() [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenSchedule.cpp | 916 CodeGenSchedClass &SC = getSchedClass(SCIdx); in collectSchedClasses() local 917 if (SC.ProcIndices[0] != 0) in collectSchedClasses() 923 if (SC.ItinClassDef->getName() != "NoItinerary") { in collectSchedClasses() 926 << SC.ItinClassDef->getName() << '\n'; in collectSchedClasses() 928 if (!SC.Writes.empty()) { in collectSchedClasses() 932 for (unsigned int Write : SC.Writes) in collectSchedClasses() 934 for (unsigned int Read : SC.Reads) in collectSchedClasses() 1016 auto IsKeyEqual = [=](const CodeGenSchedClass &SC) { in addSchedClass() argument 1017 return SC.isKeyEqual(ItinClassDef, OperWrites, OperReads); in addSchedClass() 1034 CodeGenSchedClass &SC = SchedClasses.back(); in addSchedClass() local [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | SubtargetEmitter.cpp | 1058 for (const CodeGenSchedClass &SC : SchedModels.schedClasses()) { in GenSchedClassTables() local 1059 LLVM_DEBUG(SC.dump(&SchedModels)); in GenSchedClassTables() 1074 make_range(SC.Transitions.begin(), SC.Transitions.end())) { in GenSchedClassTables() 1088 assert(!SC.ProcIndices.empty() && "expect at least one procidx"); in GenSchedClassTables() 1089 if (SC.ProcIndices[0] != 0) { in GenSchedClassTables() 1090 if (!is_contained(SC.ProcIndices, ProcModel.Index)) in GenSchedClassTables() 1093 IdxVec Writes = SC.Writes; in GenSchedClassTables() 1094 IdxVec Reads = SC.Reads; in GenSchedClassTables() 1095 if (!SC.InstRWs.empty()) { in GenSchedClassTables() 1099 for (Record *RW : SC.InstRWs) { in GenSchedClassTables() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | PGOCtxProfReader.cpp | 130 EXPECT_OR_RET(SC, readContext(true)); in readContext() 131 auto &Targets = Ret.callsites()[*SC->first]; in readContext() 133 Targets.insert({SC->second.guid(), std::move(SC->second)}); in readContext()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LoopUnrollAnalyzer.cpp | 36 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | CommandLine.cpp | 181 for (auto *SC : RegisteredSubCommands) in forEachSubCommand() local 182 Action(*SC); in forEachSubCommand() 186 for (auto *SC : Opt.Subs) { in forEachSubCommand() local 187 assert(SC != &SubCommand::getAll() && in forEachSubCommand() 189 Action(*SC); in forEachSubCommand() 193 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption() argument 196 if (!SC->OptionsMap.insert(std::make_pair(Name, &Opt)).second) { in addLiteralOption() 205 Opt, [&](SubCommand &SC) { addLiteralOption(Opt, &SC, Name); }); in addLiteralOption() argument 208 void addOption(Option *O, SubCommand *SC) { in addOption() argument 212 if (O->isDefaultOption() && SC->OptionsMap.contains(O->ArgStr)) in addOption() [all …]
|