Home
last modified time | relevance | path

Searched refs:CS (Results 1 – 25 of 234) sorted by relevance

12345678910

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DConstraintSystemTest.cpp18 ConstraintSystem CS; in TEST() local
20 CS.addVariableRow({10, 1, 1}); in TEST()
30 ConstraintSystem CS; in TEST() local
42 ConstraintSystem CS; in TEST() local
52 ConstraintSystem CS; in TEST() local
62 ConstraintSystem CS; in TEST() local
73 ConstraintSystem CS; in TEST() local
87 ConstraintSystem CS; in TEST() local
117 ConstraintSystem CS; in TEST() local
135 ConstraintSystem CS; in TEST() local
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-profgen/
H A Dinvalid-range.test23 ; CS: []
24 ; CS-NEXT: 4
25 ; CS-NEXT: 201760-20177f:6
26 ; CS-NEXT: 20179e-2017bf:5
29 ; CS-NEXT: 4
34 ; CS-NEXT: [0x7f4]
35 ; CS-NEXT: 1
37 ; CS-NEXT: 2
40 ; CS-NEXT: [0x7f4 @ 0x7bf]
41 ; CS-NEXT: 1
[all …]
H A Dseparate-debuginfo-binary.test44 ; CHECK-CS-PROBE: 1: 0
45 ; CHECK-CS-PROBE: 2: 15
46 ; CHECK-CS-PROBE: 3: 15
47 ; CHECK-CS-PROBE: 4: 14
48 ; CHECK-CS-PROBE: 5: 1
49 ; CHECK-CS-PROBE: 6: 15
50 ; CHECK-CS-PROBE: 7: 0
51 ; CHECK-CS-PROBE: 8: 14 bar:14
52 ; CHECK-CS-PROBE: 9: 0
55 ; CHECK-CS-PROBE: 1: 14
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.special/
H A Dnon_member_swap_const.pass.cpp28 struct CS { struct
30 friend constexpr void swap(const CS& a, const CS& b) { in swap() argument
38 static_assert(std::is_swappable_v<std::tuple<CS>>);
40 static_assert(std::is_swappable_v<std::tuple<CS, S>>);
41 static_assert(std::is_swappable_v<std::tuple<CS, S&>>);
44 static_assert(std::is_swappable_v<const std::tuple<CS>>);
46 static_assert(!std::is_swappable_v<const std::tuple<CS, S>>);
47 static_assert(std::is_swappable_v<const std::tuple<CS, S&>>);
54 const std::tuple<CS, S&> t1 = {CS{&cs_calls}, s1}; in test()
55 const std::tuple<CS, S&> t2 = {CS{&cs_calls}, s2}; in test()
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dpr17354.ll10 %struct.CS = type { i32 }
12 @_ZL3glb = internal global [1 x %struct.CS] zeroinitializer, align 4
17 …call void @_Z4funcv(%struct.CS* sret(%struct.CS) getelementptr inbounds ([1 x %struct.CS], [1 x %s…
26 define void @_Z4funcv(%struct.CS* noalias sret(%struct.CS) %agg.result) #0 {
28 %a_ = getelementptr inbounds %struct.CS, %struct.CS* %agg.result, i32 0, i32 0
/llvm-project-15.0.7/llvm/test/tools/llvm-profdata/
H A Dsample-hot-func-list.test15 …S/Inputs/cs-sample.proftext | FileCheck %s --match-full-lines --strict-whitespace --check-prefix=CS
17 ; CS:2 out of 8 functions with profile (25.00%) are considered hot functions (max sample >= 23…
18 ; CS-NEXT:1968152 out of 1968919 profile counts (99.96%) are from hot functions.
19 ; CS-NEXT: Total sample (%) Max sample Entry sample Function name
20 ; CS-NEXT: 1467299 (74.52%) 287884 11 main:3 @ _Z5funcAi:1 @ _Z8funcL…
21 ; CS-NEXT: 500853 (25.44%) 74946 20 main:3.1 @ _Z5funcBi:1 @ _Z8fun…
32 …uts/cs-sample.proftext | FileCheck %s --match-full-lines --strict-whitespace --check-prefix=CS-TOPN
34 ; CS-TOPN:2 out of 8 functions with profile (25.00%) are considered hot functions (max sample …
35 ; CS-TOPN-NEXT:1968152 out of 1968919 profile counts (99.96%) are from hot functions.
36 ; CS-TOPN-NEXT: Total sample (%) Max sample Entry sample Function name
[all …]
H A Dsample-overlap.test122 ; CS:Program level:
124 ; CS: Whole program sample overlap: 100.000%
129 ; CS: Function overlap: 100.000%
130 ; CS: overlap functions: 8
131 ; CS: functions unique in base profile: 0
132 ; CS: functions unique in test profile: 0
133 ; CS: Hot-function overlap: 100.000%
134 ; CS: overlap hot functions: 2
137 ; CS: Hot-block overlap: 100.000%
138 ; CS: overlap hot blocks: 6
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/OpenMP/
H A Dparallel_deletion_cg_update.ll4 ; CHECK: CS<None> calls function 'dead_fork_call'
5 ; CHECK: CS<None> calls function '.omp_outlined..0'
6 ; CHECK: CS<None> calls function '__kmpc_fork_call'
7 ; CHECK: CS<None> calls function 'live_fork_call'
8 ; CHECK: CS<None> calls function '.omp_outlined..1'
9 ; CHECK: CS<None> calls function 'd'
14 ; CHECK: CS<{{.*}}> calls function 'd'
17 ; CHECK: CS<None> calls external node
20 ; CHECK: CS<None> calls external node
26 ; CHECK: CS<None> calls function '.omp_outlined..1'
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
H A Downer_less.pass.cpp67 typedef std::owner_less<std::shared_ptr<int> > CS; in main() typedef
68 CS cs; in main()
71 static_assert((std::is_same<std::shared_ptr<int>, CS::first_argument_type>::value), "" ); in main()
72 static_assert((std::is_same<std::shared_ptr<int>, CS::second_argument_type>::value), "" ); in main()
73 static_assert((std::is_same<bool, CS::result_type>::value), "" ); in main()
90 typedef std::owner_less<std::weak_ptr<int> > CS; in main() typedef
91 CS cs; in main()
94 static_assert((std::is_same<std::weak_ptr<int>, CS::first_argument_type>::value), "" ); in main()
95 static_assert((std::is_same<std::weak_ptr<int>, CS::second_argument_type>::value), "" ); in main()
96 static_assert((std::is_same<bool, CS::result_type>::value), "" ); in main()
/llvm-project-15.0.7/clang/lib/AST/
H A DPrintfFormatString.cpp505 if (CS.isIntArg()) in getScalarArgType()
541 if (CS.isUIntArg()) in getScalarArgType()
576 if (CS.isDoubleArg()) { in getScalarArgType()
627 switch (CS.getKind()) { in getScalarArgType()
933 os << CS.toString(); in toString()
941 switch (CS.getKind()) { in hasValidPlusPrefix()
967 switch (CS.getKind()) { in hasValidAlternativeForm()
994 switch (CS.getKind()) { in hasValidLeadingZeros()
1026 switch (CS.getKind()) { in hasValidSpacePrefix()
1052 switch (CS.getKind()) { in hasValidLeftJustified()
[all …]
H A DScanfFormatString.cpp69 CS.setEndScanList(I); in ParseScanList()
202 if (ParseScanList(H, CS, I, E)) in ParseScanfSpecifier()
205 FS.setConversionSpecifier(CS); in ParseScanfSpecifier()
216 CS.setEndScanList(Beg + Len); in ParseScanfSpecifier()
217 FS.setConversionSpecifier(CS); in ParseScanfSpecifier()
228 if (!CS.consumesDataArgument()) in getArgType()
231 switch(CS.getKind()) { in getArgType()
439 CS.setKind(ConversionSpecifier::sArg); in fixType()
515 CS.setKind(ConversionSpecifier::fArg); in fixType()
517 CS.setKind(ConversionSpecifier::dArg); in fixType()
[all …]
H A DFormatString.cpp137 CS.setFieldWidth(Amt); in ParseFieldWidth()
755 switch (CS.getKind()) { in hasValidLengthModifier()
779 if (CS.isDoubleArg()) { in hasValidLengthModifier()
786 switch (CS.getKind()) { in hasValidLengthModifier()
810 switch (CS.getKind()) { in hasValidLengthModifier()
834 switch (CS.getKind()) { in hasValidLengthModifier()
844 switch (CS.getKind()) { in hasValidLengthModifier()
857 switch (CS.getKind()) { in hasValidLengthModifier()
910 switch (CS.getKind()) { in hasStandardConversionSpecifier()
954 switch(CS.getKind()) { in hasStandardLengthConversionCombination()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Disolate-declaration-fixing.cpp55 class CS { in member_pointers() class
60 int const CS ::*pp = &CS::a, CS::*const qq = &CS::a; in member_pointers()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp625 auto *CS = cast<CallBase>(U); in getSpecializationBonus() local
626 if (CS->getCalledOperand() != A) in getSpecializationBonus()
722 auto &CS = *cast<CallBase>(U); in getPossibleConstants() local
772 auto &CS = *cast<CallBase>(U); in rewriteCallSites() local
773 if (!CS.getCalledFunction() || CS.getCalledFunction() != F) in rewriteCallSites()
775 CallSitesToRewrite.push_back(&CS); in rewriteCallSites()
781 for (auto *CS : CallSitesToRewrite) { in rewriteCallSites() local
783 << CS->getFunction()->getName() << " ->" << *CS in rewriteCallSites()
786 (CS->getFunction() == Clone && in rewriteCallSites()
797 CS->setCalledFunction(Clone); in rewriteCallSites()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp72 ConstantStruct *CS = cast<ConstantStruct>(V); in parseGlobalCtors() local
73 Result.emplace_back(cast<ConstantInt>(CS->getOperand(0))->getZExtValue(), in parseGlobalCtors()
74 dyn_cast<Function>(CS->getOperand(1))); in parseGlobalCtors()
99 ConstantStruct *CS = cast<ConstantStruct>(V); in findGlobalCtors() local
100 if (isa<ConstantPointerNull>(CS->getOperand(1))) in findGlobalCtors()
104 Function *F = dyn_cast<Function>(CS->getOperand(1)); in findGlobalCtors()
H A DLowerGlobalDtors.cpp101 auto *CS = dyn_cast<ConstantStruct>(O); in runImpl() local
102 if (!CS) in runImpl()
105 auto *Priority = dyn_cast<ConstantInt>(CS->getOperand(0)); in runImpl()
110 Constant *DtorFunc = CS->getOperand(1); in runImpl()
114 Constant *Associated = CS->getOperand(2); in runImpl()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A D2003-11-27-MultipleInheritanceThunk.cpp8 CallSite(const CallSite &CS);
14 virtual int getModRefInfo(CallSite CS);
24 int getModRefInfo(CallSite CS) { in getModRefInfo()
H A Dx86_32-arguments.cpp42 virtual void getModRefInfo(CallSite CS) = 0;
50 void getModRefInfo(CallSite CS);
53 void BasicAliasAnalysis::getModRefInfo(CallSite CS) { in getModRefInfo() argument
/llvm-project-15.0.7/llvm/include/llvm/MCA/
H A DInstruction.h399 bool startsAfter(const CycleSegment &CS) const { return End <= CS.Begin; } in startsAfter() argument
400 bool endsBefore(const CycleSegment &CS) const { return Begin >= CS.End; } in endsBefore() argument
401 bool overlaps(const CycleSegment &CS) const { in overlaps() argument
402 return !startsAfter(CS) && !endsBefore(CS); in overlaps()
437 CycleSegment CS; member
440 : CS(Cycles), NumUnits(Units) {} in CS() function
441 unsigned size() const { return CS.size(); } in size()
442 bool isReserved() const { return CS.isReserved(); } in isReserved()
443 void setReserved() { CS.setReserved(); } in setReserved()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1867 CS << DstName; in getShuffleComment()
1885 CS << " = "; in getShuffleComment()
1889 CS << ","; in getShuffleComment()
1913 CS << ']'; in getShuffleComment()
1916 CS.flush(); in getShuffleComment()
1926 CS << "("; in printConstant()
1932 CS << ")"; in printConstant()
1940 CS << Str; in printConstant()
1945 CS << "u"; in printConstant()
1951 CS << "?"; in printConstant()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp139 COFFSymbolRef CS = COFF.getCOFFSymbol(S); in getPreferredSymbol() local
140 if (CS.getSectionNumber() == CoffSym.getSectionNumber() && in getPreferredSymbol()
141 CS.getValue() <= CoffSym.getValue() + SymbolOffset && in getPreferredSymbol()
142 CS.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL && in getPreferredSymbol()
143 CS.getSectionDefinition() == nullptr) { in getPreferredSymbol()
144 uint32_t Offset = CoffSym.getValue() + SymbolOffset - CS.getValue(); in getPreferredSymbol()
150 CoffSym = CS; in getPreferredSymbol()
151 if (CS.isExternal() && SymbolOffset == 0) in getPreferredSymbol()
352 DictScope CS(SW, "Chained"); in printUnwindInfo() local
/llvm-project-15.0.7/clang/include/clang/AST/
H A DFormatString.h401 ConversionSpecifier CS; variable
411 : CS(isPrintf), VectorNumElts(false), in FormatSpecifier()
490 static bool classof(const analyze_format_string::ConversionSpecifier *CS) { in classof() argument
491 return CS->isPrintfKind(); in classof()
528 CS = cs; in setConversionSpecifier()
561 return cast<PrintfConversionSpecifier>(CS); in getConversionSpecifier()
636 static bool classof(const analyze_format_string::ConversionSpecifier *CS) { in classof() argument
637 return !CS->isPrintfKind(); in classof()
662 CS = cs; in setConversionSpecifier()
666 return cast<ScanfConversionSpecifier>(CS); in getConversionSpecifier()
[all …]
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCloneDetection.cpp63 auto CS = cast<CompoundStmt>(S); in begin() local
64 return CS->body_begin() + StartIndex; in begin()
71 auto CS = cast<CompoundStmt>(S); in end() local
72 return CS->body_begin() + EndIndex; in end()
256 auto CS = dyn_cast<CompoundStmt>(S); in saveHash() local
270 if (CS) { in saveHash()
274 for (unsigned Pos = 0; Pos < CS->size(); ++Pos) { in saveHash()
279 for (unsigned Length = 1; Length <= CS->size() - Pos; ++Length) { in saveHash()
290 createHash(SubHash), StmtSequence(CS, D, Pos, Pos + Length))); in saveHash()
H A DCFGStmtMap.cpp52 Optional<CFGStmt> CS = CE.getAs<CFGStmt>(); in Accumulate() local
53 if (!CS) in Accumulate()
56 CFGBlock *&Entry = SM[CS->getStmt()]; in Accumulate()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DHFSort.cpp72 raw_string_ostream CS(Str); in toString() local
74 CS << "funcs = ["; in toString()
77 CS << ", "; in toString()
78 CS << Target; in toString()
81 CS << "]"; in toString()
82 return CS.str(); in toString()

12345678910