Home
last modified time | relevance | path

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

123456789

/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DFormatUtil.cpp149 using SC = COFF::SectionCharacteristics; in formatSectionCharacteristics() typedef
157 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_CNT_CODE, C, Style, "code"); in formatSectionCharacteristics()
162 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_OTHER, C, Style, "other"); in formatSectionCharacteristics()
163 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_INFO, C, Style, "info"); in formatSectionCharacteristics()
166 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_GPREL, C, Style, "gp rel"); in formatSectionCharacteristics()
199 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_LNK_NRELOC_OVFL, C, Style, in formatSectionCharacteristics()
201 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_DISCARDABLE, C, Style, in formatSectionCharacteristics()
203 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_NOT_CACHED, C, Style, in formatSectionCharacteristics()
207 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_EXECUTE, C, Style, in formatSectionCharacteristics()
209 PUSH_CHARACTERISTIC_FLAG(SC, IMAGE_SCN_MEM_READ, C, Style, in formatSectionCharacteristics()
[all …]
H A DInputFile.cpp170 if (!SC.hasChecksums() || !SC.hasStrings()) in SymbolGroup()
171 SC.initialize(SS); in SymbolGroup()
176 if (SC.hasChecksums() && SC.hasStrings()) in SymbolGroup()
196 if (!SC.hasStrings()) { in initializeForPdb()
204 SC.resetChecksums(); in initializeForPdb()
213 SC.initialize(Subsections); in initializeForPdb()
218 if (!SC.hasChecksums()) in rebuildChecksumMap()
221 for (const auto &Entry : SC.checksums()) { in rebuildChecksumMap()
235 return SC.strings().getString(Offset); in getNameFromStringTable()
240 if (!SC.hasChecksums()) { in getNameFromChecksums()
[all …]
/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCSubtargetInfo.h168 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 …]
/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/
H A Dpseudo-probe-dangle.ll45 ; SC-LABEL: @test(
46 ; SC-LABEL-NO: bb1
47 ; SC-LABEL-NO: bb2
48 ; SC: [[T1:%.*]] = icmp eq i32 [[B:%.*]], 0
49 ; SC-NOT: call void @llvm.pseudoprobe(i64 [[#]], i64 2
50 ; SC-NOT: call void @llvm.pseudoprobe(i64 [[#]], i64 3
51 ; SC: [[T2:%.*]] = icmp sgt i32 [[C:%.*]], 1
52 ; SC: [[T3:%.*]] = add i32 [[A:%.*]], 1
53 ; SC: [[SPEC_SELECT:%.*]] = select i1 [[T2]], i32 [[T3]], i32 [[A]]
55 ; SC: [[T5:%.*]] = sub i32 [[T4]], 1
[all …]
/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetSchedule.cpp87 if (!SC) in mustBeginGroup()
88 SC = resolveSchedClass(MI); in mustBeginGroup()
89 if (SC->isValid()) in mustBeginGroup()
90 return SC->BeginGroup; in mustBeginGroup()
98 if (!SC) in mustEndGroup()
99 SC = resolveSchedClass(MI); in mustEndGroup()
100 if (SC->isValid()) in mustEndGroup()
101 return SC->EndGroup; in mustEndGroup()
113 if (!SC) in getNumMicroOps()
115 if (SC->isValid()) in getNumMicroOps()
[all …]
/llvm-project-15.0.7/llvm/test/DebugInfo/PDB/
H A Ddbi-bytes.test4 ; RUN: llvm-pdbutil bytes -sc %p/Inputs/empty.pdb | FileCheck --check-prefix=SC %s
36 SC: Section Contributions
37 SC-NEXT: ============================================================
38 SC-NEXT: Section Contributions (
39 SC-NEXT: E12C: 2DBA2EF1 01002511 00000000 0A000000 20000060 01000000 00000000 00000000 |-.....…
40 SC-NEXT: E14C: 01000000 10000000 0A000000 20005060 00000000 347497D7 00000000 02000000 |......…
41 SC-NEXT: E16C: 00000000 38000000 40000040 01000000 00000000 00000000 02000000 44010000 |....8.…
42 SC-NEXT: E18C: 48000000 40003040 01000000 00000000 00000000 02000000 8C010000 14000000 |H...@.…
43 SC-NEXT: E1AC: 40003040 01000000 00000000 00000000 03000000 00000000 04000000 800030C0 |@.0@..…
44 SC-NEXT: E1CC: 00000000 00000000 00000000 |......…
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h102 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()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h644 return ((SC *)this) in visit()
756 template <typename SC>
814 Operands.push_back(((SC *)this)->visit(Op)); in visitAddExpr()
824 Operands.push_back(((SC *)this)->visit(Op)); in visitMulExpr()
831 auto *LHS = ((SC *)this)->visit(Expr->getLHS()); in visitUDivExpr()
841 Operands.push_back(((SC *)this)->visit(Op)); in visitAddRecExpr()
853 Operands.push_back(((SC *)this)->visit(Op)); in visitSMaxExpr()
863 Operands.push_back(((SC *)this)->visit(Op)); in visitUMaxExpr()
873 Operands.push_back(((SC *)this)->visit(Op)); in visitSMinExpr()
883 Operands.push_back(((SC *)this)->visit(Op)); in visitUMinExpr()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-xray/
H A Dxray-registry.cpp26 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 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()
/llvm-project-15.0.7/lld/test/COFF/
H A Dpdb-publics-import.test29 CHECK-NEXT: SC[.text] | mod = 0, 0001:0000, size = 8, data crc = 0, reloc crc = 0
36 CHECK-NEXT: SC[???] | mod = 65535, 65535:0000, size = -1, data crc = 0, reloc crc = 0
42 CHECK-NEXT: SC[.text] | mod = 2, 0001:0032, size = 6, data crc = 0, reloc crc = 0
48 CHECK-NEXT: SC[???] | mod = 65535, 65535:0000, size = -1, data crc = 0, reloc crc = 0
151 CHECK-NEXT: SC[.text] | mod = 0, 0001:0000, size = 8, data crc = 0, reloc crc = 0
155 CHECK-NEXT: SC[.text] | mod = 3, 0001:0016, size = 6, data crc = 0, reloc crc = 0
158 CHECK-NEXT: SC[.text] | mod = 3, 0001:0032, size = 6, data crc = 0, reloc crc = 0
169 CHECK-NEXT: SC[.rdata] | mod = 3, 0002:0104, size = 8, data crc = 0, reloc crc = 0
171 CHECK-NEXT: SC[.rdata] | mod = 3, 0002:0112, size = 8, data crc = 0, reloc crc = 0
173 CHECK-NEXT: SC[.rdata] | mod = 3, 0002:0120, size = 8, data crc = 0, reloc crc = 0
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/libc/benchmarks/
H A DJSONTest.cpp65 auto equals(const StudyConfiguration &SC) -> auto { in equals() argument
67 Field(&StudyConfiguration::Function, SC.Function), in equals()
68 Field(&StudyConfiguration::NumTrials, SC.NumTrials), in equals()
69 Field(&StudyConfiguration::IsSweepMode, SC.IsSweepMode), in equals()
70 Field(&StudyConfiguration::SweepModeMaxSize, SC.SweepModeMaxSize), in equals()
71 Field(&StudyConfiguration::SizeDistributionName, SC.SizeDistributionName), in equals()
72 Field(&StudyConfiguration::AccessAlignment, SC.AccessAlignment), in equals()
73 Field(&StudyConfiguration::MemcmpMismatchAt, SC.MemcmpMismatchAt)); in equals()
/llvm-project-15.0.7/llvm/lib/Linker/
H A DLinkModules.cpp382 if (const Comdat *SC = GV.getComdat()) { in linkIfNeeded() local
408 const Comdat *SC = GV.getComdat(); in addLazyFor() local
409 if (!SC) in addLazyFor()
498 if (const Comdat *SC = GV.getComdat()) in run() local
499 LazyComdatMembers[SC].push_back(&GV); in run()
503 if (const Comdat *SC = SF.getComdat()) in run() local
504 LazyComdatMembers[SC].push_back(&SF); in run()
508 if (const Comdat *SC = GA.getComdat()) in run() local
509 LazyComdatMembers[SC].push_back(&GA); in run()
554 const Comdat *SC = GV->getComdat(); in run() local
[all …]
/llvm-project-15.0.7/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);
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DMachODumper.cpp379 Segment.vmaddr = SC.vmaddr; in getSegment()
380 Segment.vmsize = SC.vmsize; in getSegment()
385 Segment.nsects = SC.nsects; in getSegment()
386 Segment.flags = SC.flags; in getSegment()
391 Segment.SegName = SC.segname; in getSegment()
392 Segment.cmdsize = SC.cmdsize; in getSegment()
393 Segment.vmaddr = SC.vmaddr; in getSegment()
394 Segment.vmsize = SC.vmsize; in getSegment()
395 Segment.fileoff = SC.fileoff; in getSegment()
399 Segment.nsects = SC.nsects; in getSegment()
[all …]
/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/clang/test/Analysis/Inputs/
H A Dctu-other.cpp115 struct SC { struct
118 extern const SC extSC = {.a = 8}; argument
120 static const struct SC sc;
122 const struct SC ST::sc = {.a = 2};
/llvm-project-15.0.7/clang/test/OpenMP/
H A Dtarget_codegen_registration.cpp221 struct SC { struct
228 SC() { in SC() argument
234 ~SC() { in ~SC() argument
378 static SC c1;
H A Dtarget_parallel_codegen_registration.cpp261 struct SC { struct
268 SC() { in SC() argument
274 ~SC() { in ~SC() argument
417 static SC c1;
H A Dtarget_teams_codegen_registration.cpp261 struct SC { struct
268 SC() { in SC() argument
274 ~SC() { in ~SC() argument
417 static SC c1;
H A Dtarget_simd_codegen_registration.cpp262 struct SC { struct
269 SC() { in SC() function
276 ~SC() { in ~SC() argument
426 static SC c1;
H A Dtarget_parallel_for_codegen_registration.cpp262 struct SC { struct
269 SC() { in SC() argument
276 ~SC() { in ~SC() argument
426 static SC c1;

123456789