/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | FormatUtil.cpp | 148 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 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() 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 D | SystemZHazardRecognizer.cpp | 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->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 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() 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 D | CodeViewYAMLDebugSections.cpp | 404 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 D | TargetSchedule.cpp | 76 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 D | ScalarEvolutionExpressions.h | 639 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 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/llvm/tools/llvm-remarkutil/ |
H A D | RemarkUtilRegistry.cpp | 25 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 D | RemarkUtil.cpp | 19 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 D | RemarkUtilRegistry.h | 31 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 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/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | MachOBuilder.h | 177 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 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/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/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 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 D | MachODumper.cpp | 378 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 D | MipsExpandPseudo.cpp | 82 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 D | CodeGenSchedule.cpp | 935 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 D | SubtargetEmitter.cpp | 1038 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 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()
|