| /freebsd/crypto/krb5/src/lib/krb5/os/ |
| H A D | accessor.c | 60 #define SC(FIELD, VAL) S(FIELD, VAL) in krb5int_accessor() macro 62 #define SC(FIELD, VAL) S(FIELD, 0) in krb5int_accessor() 64 SC (ser_pack_int64, krb5_ser_pack_int64), in krb5int_accessor() 65 SC (ser_unpack_int64, krb5_ser_unpack_int64), in krb5int_accessor() 66 #undef SC in krb5int_accessor() 69 #define SC(FIELD, VAL) S(FIELD, VAL) in krb5int_accessor() macro 71 #define SC(FIELD, VAL) S(FIELD, 0) in krb5int_accessor() 73 SC (asn1_ldap_encode_sequence_of_keys, krb5int_ldap_encode_sequence_of_keys), in krb5int_accessor() 74 SC (asn1_ldap_decode_sequence_of_keys, krb5int_ldap_decode_sequence_of_keys), in krb5int_accessor() 75 #undef SC in krb5int_accessor() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | FormatUtil.cpp | 147 using SC = COFF::SectionCharacteristics; in formatSectionCharacteristics() typedef 153 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_TYPE_NOLOAD, C, Style, "noload"); in formatSectionCharacteristics() 154 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_TYPE_NO_PAD, C, Style, "no padding"); in formatSectionCharacteristics() 155 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_CODE, C, Style, "code"); in formatSectionCharacteristics() 156 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_INITIALIZED_DATA, C, Style, in formatSectionCharacteristics() 158 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_UNINITIALIZED_DATA, C, Style, in formatSectionCharacteristics() 160 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_OTHER, C, Style, "other"); in formatSectionCharacteristics() 161 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_INFO, C, Style, "info"); in formatSectionCharacteristics() 162 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_REMOVE, C, Style, "remove"); in formatSectionCharacteristics() 163 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_COMDAT, C, Style, "comdat"); in formatSectionCharacteristics() [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 | 171 const MCSchedClassDesc *SC) const { in getWriteProcResBegin() argument 172 return &WriteProcResTable[SC->WriteProcResIdx]; in getWriteProcResBegin() 175 const MCSchedClassDesc *SC) const { in getWriteProcResEnd() argument 176 return getWriteProcResBegin(SC) + SC->NumWriteProcResEntries; in getWriteProcResEnd() 179 const MCWriteLatencyEntry *getWriteLatencyEntry(const MCSchedClassDesc *SC, in getWriteLatencyEntry() argument 181 assert(DefIdx < SC->NumWriteLatencyEntries && in getWriteLatencyEntry() 184 return &WriteLatencyTable[SC->WriteLatencyIdx + DefIdx]; in getWriteLatencyEntry() 187 int getReadAdvanceCycles(const MCSchedClassDesc *SC, unsigned UseIdx, in getReadAdvanceCycles() argument 192 for (const MCReadAdvanceEntry *I = &ReadAdvanceTable[SC->ReadAdvanceIdx], in getReadAdvanceCycles() 193 *E = I + SC->NumReadAdvanceEntries; I != E; ++I) { in getReadAdvanceCycles() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetSchedule.cpp | 71 const MCSchedClassDesc *SC) const { in mustBeginGroup() 73 if (!SC) in mustBeginGroup() 74 SC = resolveSchedClass(MI); in mustBeginGroup() 75 if (SC->isValid()) in mustBeginGroup() 76 return SC->BeginGroup; in mustBeginGroup() 82 const MCSchedClassDesc *SC) const { in mustEndGroup() 84 if (!SC) in mustEndGroup() 85 SC = resolveSchedClass(MI); in mustEndGroup() 86 if (SC->isValid()) in mustEndGroup() 87 return SC->EndGroup; in mustEndGroup() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | CodeViewYAMLDebugSections.cpp | 92 const codeview::StringsAndChecksums &SC) const = 0; 110 const codeview::StringsAndChecksums &SC) const override; 124 const codeview::StringsAndChecksums &SC) const override; 140 const codeview::StringsAndChecksums &SC) const override; 156 const codeview::StringsAndChecksums &SC) const override; 170 const codeview::StringsAndChecksums &SC) const override; 184 const codeview::StringsAndChecksums &SC) const override; 198 const codeview::StringsAndChecksums &SC) const override; 212 const codeview::StringsAndChecksums &SC) const override; 227 const codeview::StringsAndChecksums &SC) const override; [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolutionExpressions.h | 611 template <typename SC, typename RetVal = void> struct SCEVVisitor { 615 return ((SC *)this)->visitConstant((const SCEVConstant *)S); in visit() 617 return ((SC *)this)->visitVScale((const SCEVVScale *)S); in visit() 619 return ((SC *)this)->visitPtrToIntExpr((const SCEVPtrToIntExpr *)S); in visit() 621 return ((SC *)this)->visitTruncateExpr((const SCEVTruncateExpr *)S); in visit() 623 return ((SC *)this)->visitZeroExtendExpr((const SCEVZeroExtendExpr *)S); in visit() 625 return ((SC *)this)->visitSignExtendExpr((const SCEVSignExtendExpr *)S); in visit() 627 return ((SC *)this)->visitAddExpr((const SCEVAddExpr *)S); in visit() 629 return ((SC *)this)->visitMulExpr((const SCEVMulExpr *)S); in visit() 631 return ((SC *)this)->visitUDivExpr((const SCEVUDivExpr *)S); in visit() [all …]
|
| /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/llvm/include/llvm/CodeGen/ |
| H A D | TargetSchedule.h | 115 const MCSchedClassDesc *SC = nullptr) const; 118 const MCSchedClassDesc *SC = nullptr) const; 122 const MCSchedClassDesc *SC = nullptr) const; 146 ProcResIter getWriteProcResBegin(const MCSchedClassDesc *SC) const { in getWriteProcResBegin() argument 148 return STI->getWriteProcResBegin(SC); in getWriteProcResBegin() 150 ProcResIter getWriteProcResEnd(const MCSchedClassDesc *SC) const { in getWriteProcResEnd() argument 151 return STI->getWriteProcResEnd(SC); in getWriteProcResEnd()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | MachOBuilder.h | 172 RelocTarget(SymbolContainer &SC, size_t Idx) : SC(&SC), Idx(Idx) {} 178 return SC->SymbolIndexBase + Idx; 188 return SC->Symbols[Idx]; 194 SymbolContainer *SC; 228 SymbolContainer SC; 249 SC.Symbols.push_back(Sym); 250 return {SC, SC.Symbols.size() - 1}; 327 SC.Symbols.push_back(Sym); 328 return {SC, SC.Symbols.size() - 1}; 378 for (auto &Sym : SC.Symbols) [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | VarBypassDetector.cpp | 118 if (const SwitchCase *SC = dyn_cast<SwitchCase>(SubStmt)) in BuildScopeInformation() local 119 Next = SC->getSubStmt(); in BuildScopeInformation() 149 for (const SwitchCase *SC = SS->getSwitchCaseList(); SC; in Detect() local 150 SC = SC->getNextSwitchCase()) { in Detect() 151 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/clang/lib/AST/ByteCode/ |
| H A D | Disasm.cpp | 132 ColorScope SC(OS, true, {llvm::raw_ostream::BRIGHT_GREEN, true}); in dump() local 291 ColorScope SC(OS, true, {llvm::raw_ostream::BRIGHT_RED, true}); in dump() local 296 ColorScope SC(OS, true, {llvm::raw_ostream::WHITE, true}); in dump() local 307 ColorScope SC(OS, true, in dump() local 323 ColorScope SC(OS, true, {llvm::raw_ostream::BRIGHT_MAGENTA, true}); in dump() local 344 ColorScope SC(OS, true, {llvm::raw_ostream::BRIGHT_CYAN, false}); in dump() local 354 ColorScope SC(OS, true, {llvm::raw_ostream::WHITE, true}); in dump() local 373 ColorScope SC(OS, true, {llvm::raw_ostream::BLUE, true}); in dump() local 437 ColorScope SC(OS, true, {llvm::raw_ostream::BLUE, true}); in dump() local 460 ColorScope SC(OS, true, {llvm::raw_ostream::BLUE, true}); in dump() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | CodeViewYAMLDebugSections.h | 113 fromCodeViewSubection(const codeview::StringsAndChecksumsRef &SC, 122 const codeview::StringsAndChecksums &SC); 125 fromDebugS(ArrayRef<uint8_t> Data, const codeview::StringsAndChecksumsRef &SC); 129 codeview::StringsAndChecksums &SC);
|
| /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/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/utils/TableGen/Common/ |
| H A D | CodeGenSchedule.cpp | 874 CodeGenSchedClass &SC = getSchedClass(SCIdx); in collectSchedClasses() local 875 if (SC.ProcIndices[0] != 0) in collectSchedClasses() 881 if (SC.ItinClassDef->getName() != "NoItinerary") { in collectSchedClasses() 884 << SC.ItinClassDef->getName() << '\n'; in collectSchedClasses() 886 if (!SC.Writes.empty()) { in collectSchedClasses() 890 for (unsigned int Write : SC.Writes) in collectSchedClasses() 892 for (unsigned int Read : SC.Reads) in collectSchedClasses() 972 auto IsKeyEqual = [=](const CodeGenSchedClass &SC) { in addSchedClass() argument 973 return SC.isKeyEqual(ItinClassDef, OperWrites, OperReads); in addSchedClass() 991 CodeGenSchedClass &SC = SchedClasses.back(); in addSchedClass() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsExpandPseudo.cpp | 81 unsigned LL, SC; in expandAtomicCmpSwapSubword() local 91 SC = STI->hasMips32r6() ? Mips::SC_MMR6 : Mips::SC_MM; in expandAtomicCmpSwapSubword() 97 SC = STI->hasMips32r6() ? (ArePtrs64bit ? Mips::SC64_R6 : Mips::SC_R6) in expandAtomicCmpSwapSubword() 98 : (ArePtrs64bit ? Mips::SC64 : Mips::SC); in expandAtomicCmpSwapSubword() 162 BuildMI(loop2MBB, DL, TII->get(SC), Scratch) in expandAtomicCmpSwapSubword() 212 unsigned LL, SC, ZERO, BNE, BEQ, MOVE; in expandAtomicCmpSwap() local 217 SC = STI->hasMips32r6() ? Mips::SC_MMR6 : Mips::SC_MM; in expandAtomicCmpSwap() 224 SC = STI->hasMips32r6() in expandAtomicCmpSwap() 226 : (ArePtrs64bit ? Mips::SC64 : Mips::SC); in expandAtomicCmpSwap() 235 SC = STI->hasMips64r6() ? Mips::SCD_R6 : Mips::SCD; in expandAtomicCmpSwap() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | SubtargetEmitter.cpp | 1032 for (const CodeGenSchedClass &SC : SchedModels.schedClasses()) { in genSchedClassTables() local 1033 LLVM_DEBUG(SC.dump(&SchedModels)); in genSchedClassTables() 1047 for (const CodeGenSchedTransition &CGT : SC.Transitions) { in genSchedClassTables() 1061 assert(!SC.ProcIndices.empty() && "expect at least one procidx"); in genSchedClassTables() 1062 if (SC.ProcIndices[0] != 0) { in genSchedClassTables() 1063 if (!is_contained(SC.ProcIndices, ProcModel.Index)) in genSchedClassTables() 1066 IdxVec Writes = SC.Writes; in genSchedClassTables() 1067 IdxVec Reads = SC.Reads; in genSchedClassTables() 1068 if (!SC.InstRWs.empty()) { in genSchedClassTables() 1072 for (const Record *RW : SC.InstRWs) { in genSchedClassTables() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LoopUnrollAnalyzer.cpp | 37 if (auto *SC = dyn_cast<SCEVConstant>(S)) { in simplifyInstWithSCEV() local 38 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV() 53 if (auto *SC = dyn_cast<SCEVConstant>(ValueAtIteration)) { in simplifyInstWithSCEV() local 54 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MacOSXAPIChecker.cpp | 153 SubChecker SC = in checkPreStmt() local 161 if (SC) in checkPreStmt() 162 (this->*SC)(C, CE, Name); in checkPreStmt()
|