Home
last modified time | relevance | path

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

12345678910

/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Ddeduct1.C12 template<class CS>
13 struct Mesh<CS, RectGrid> { };
15 template<class CS>
16 struct Mesh<CS, RectMesh> : public Mesh<CS, RectGrid> { };
18 template<class CS>
19 void foo(const Mesh<CS, RectGrid> &)
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp424 auto &CS = *cast<CallBase>(U); in findSpecializations() local
427 if (CS.getCalledFunction() != F) in findSpecializations()
432 if (CS.hasFnAttr(Attribute::MinSize)) in findSpecializations()
437 if (!Solver.isBlockExecutable(CS.getParent())) in findSpecializations()
444 Constant *C = getCandidateConstant(CS.getArgOperand(A->getArgNo())); in findSpecializations()
464 if (CS.getFunction() == F) in findSpecializations()
467 AllSpecs[Index].CallSites.push_back(&CS); in findSpecializations()
481 if (CS.getFunction() != F) in findSpecializations()
482 Spec.CallSites.push_back(&CS); in findSpecializations()
623 auto *CS = cast<CallBase>(U); in getSpecializationBonus() local
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DPrintfFormatString.cpp389 PrintfConversionSpecifier CS(conversionPosition, k); in ParsePrintfSpecifier() local
390 FS.setConversionSpecifier(CS); in ParsePrintfSpecifier()
391 if (CS.consumesDataArgument() && !FS.usesPositionalArg()) in ParsePrintfSpecifier()
401 CS.setEndScanList(Start + Len); in ParsePrintfSpecifier()
402 FS.setConversionSpecifier(CS); in ParsePrintfSpecifier()
493 if (CS.getKind() == ConversionSpecifier::cArg) in getScalarArgType()
508 if (CS.isIntArg()) in getScalarArgType()
544 if (CS.isUIntArg()) in getScalarArgType()
579 if (CS.isDoubleArg()) { in getScalarArgType()
597 if (CS.getKind() == ConversionSpecifier::nArg) { in getScalarArgType()
[all …]
H A DScanfFormatString.cpp32 ScanfConversionSpecifier &CS, in ParseScanList() argument
69 CS.setEndScanList(I); in ParseScanList()
201 ScanfConversionSpecifier CS(conversionPosition, k); in ParseScanfSpecifier() local
203 if (ParseScanList(H, CS, I, E)) in ParseScanfSpecifier()
206 FS.setConversionSpecifier(CS); in ParseScanfSpecifier()
207 if (CS.consumesDataArgument() && !FS.getSuppressAssignment() in ParseScanfSpecifier()
217 CS.setEndScanList(Beg + Len); in ParseScanfSpecifier()
218 FS.setConversionSpecifier(CS); in ParseScanfSpecifier()
227 const ScanfConversionSpecifier &CS = getConversionSpecifier(); in getArgType() local
229 if (!CS.consumesDataArgument()) in getArgType()
[all …]
H A DFormatString.cpp123 FormatSpecifier &CS, in ParseFieldWidth() argument
129 CS.setFieldWidth(ParseNonPositionAmount(Beg, E, *argIndex)); in ParseFieldWidth()
138 CS.setFieldWidth(Amt); in ParseFieldWidth()
795 if (LO.OpenCL && CS.isDoubleArg()) in hasValidLengthModifier()
799 switch (CS.getKind()) { in hasValidLengthModifier()
817 switch (CS.getKind()) { in hasValidLengthModifier()
847 if (CS.isDoubleArg()) { in hasValidLengthModifier()
854 switch (CS.getKind()) { in hasValidLengthModifier()
882 switch (CS.getKind()) { in hasValidLengthModifier()
906 switch (CS.getKind()) { in hasValidLengthModifier()
[all …]
H A DFormatStringParsing.h49 FormatSpecifier &CS,
54 FormatSpecifier &CS, const char *Start,
/openbsd-src/gnu/llvm/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()
H A DCallGraphUpdater.cpp162 void CallGraphUpdater::removeCallSite(CallBase &CS) { in removeCallSite() argument
167 Function *Caller = CS.getCaller(); in removeCallSite()
169 CallerNode->removeCallEdgeFor(CS); in removeCallSite()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/Models/
H A DChromiumCheckModel.cpp54 auto CS = Element->getAs<CFGStmt>(); in transfer() local
55 if (!CS) in transfer()
57 auto Stmt = CS->getStmt(); in transfer()
/openbsd-src/gnu/usr.bin/perl/
H A Dconfigure.com3246 $ CS := "close CONFIG"
3272 $ CS
3290 $ CS
3384 $ CS
3414 $ CS
3481 $ CS
3512 $ CS
3538 $ CS
3575 $ CS
3622 $ CS
[all...]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DFormatString.h414 ConversionSpecifier CS; variable
424 : CS(isPrintf), VectorNumElts(false), in FormatSpecifier()
503 static bool classof(const analyze_format_string::ConversionSpecifier *CS) { in classof() argument
504 return CS->isPrintfKind(); in classof()
541 CS = cs; in setConversionSpecifier()
574 return cast<PrintfConversionSpecifier>(CS); in getConversionSpecifier()
649 static bool classof(const analyze_format_string::ConversionSpecifier *CS) { in classof() argument
650 return !CS->isPrintfKind(); in classof()
675 CS = cs; in setConversionSpecifier()
679 return cast<ScanfConversionSpecifier>(CS); in getConversionSpecifier()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1192 SegmentReg = X86::CS; in emitNop()
1927 raw_string_ostream CS(Comment); in getShuffleComment() local
1928 CS << DstName; in getShuffleComment()
1938 CS << " {%" << GetRegisterName(WriteMaskOp.getReg()) << "}"; in getShuffleComment()
1941 CS << " {z}"; in getShuffleComment()
1946 CS << " = "; in getShuffleComment()
1950 CS << ","; in getShuffleComment()
1952 CS << "zero"; in getShuffleComment()
1959 CS << (isSrc1 ? Src1Name : Src2Name) << '['; in getShuffleComment()
1965 CS << ','; in getShuffleComment()
[all …]
H A DX86ReturnThunks.cpp81 const MCInstrDesc &CS = ST.getInstrInfo()->get(X86::CS_PREFIX); in runOnMachineFunction() local
86 BuildMI(Ret->getParent(), Ret->getDebugLoc(), CS); in runOnMachineFunction()
/openbsd-src/gnu/llvm/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.cpp53 std::optional<CFGStmt> CS = CE.getAs<CFGStmt>(); in Accumulate() local
54 if (!CS) in Accumulate()
57 CFGBlock *&Entry = SM[CS->getStmt()]; in Accumulate()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dnest23.C3 class CS {
9 class NCS: public CS {
/openbsd-src/gnu/llvm/llvm/lib/MCA/HardwareUnits/
H A DResourceManager.cpp351 const CycleSegment &CS = R.second.CS; in issueInstruction() local
352 if (!CS.size()) { in issueInstruction()
357 assert(CS.begin() == 0 && "Invalid {Start, End} cycles!"); in issueInstruction()
361 BusyResources[Pipe] += CS.size(); in issueInstruction()
363 Pipe, ResourceCycles(CS.size()))); in issueInstruction()
369 BusyResources[ResourceRef(R.first, R.first)] += CS.size(); in issueInstruction()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp145 for (auto &CS : CSI) in getLibCallID() local
148 if (CS.getFrameIdx() < 0) in getLibCallID()
149 MaxReg = std::max(MaxReg.id(), CS.getReg().id()); in getLibCallID()
306 for (auto &CS : CSI) { in getNonLibcallCSI() local
307 int FI = CS.getFrameIdx(); in getNonLibcallCSI()
309 NonLibcallCSI.push_back(CS); in getNonLibcallCSI()
1237 for (auto &CS : CSI) in spillCalleeSavedRegisters() local
1238 MBB.addLiveIn(CS.getReg()); in spillCalleeSavedRegisters()
1243 for (auto &CS : NonLibcallCSI) { in spillCalleeSavedRegisters() local
1245 Register Reg = CS.getReg(); in spillCalleeSavedRegisters()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DStringsAndChecksums.cpp64 const DebugChecksumsSubsectionRef &CS) { in setChecksums() argument
66 *OwnedChecksums = CS; in setChecksums()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaOpenMP.cpp2460 const CXXScopeSpec CS = CXXScopeSpec(); in isOpenMPCapturedDecl() local
3667 CapturedStmt *CS = nullptr; member in __anon7e4ded5b2211::DSAAttrChecker
3724 if (!CS || (isa<OMPCapturedExprDecl>(VD) && !CS->capturesVariable(VD) && in VisitDeclRefExpr()
3739 if (VD->hasLocalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr()
3755 if (VD->hasGlobalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr()
4143 DSAAttrChecker(DSAStackTy *S, Sema &SemaRef, CapturedStmt *CS) in DSAAttrChecker() argument
4144 : Stack(S), SemaRef(SemaRef), ErrorFound(false), CS(CS) { in DSAAttrChecker()
5613 CapturedDecl *CS = cast<CapturedDecl>(Actions.CurContext); in buildDistanceFunc() local
5616 ImplicitParamDecl *DistParam = CS->getParam(0); in buildDistanceFunc()
5768 auto *CS = cast<CapturedDecl>(Actions.CurContext); in buildLoopVarFunc() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp91 bool fillConstantStruct(const DataLayout &DL, const ConstantStruct *CS,
359 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(Init)) in getConstantFieldValue() local
361 DL.getStructLayout(cast<StructType>(CS->getType()))->getSizeInBytes(); in getConstantFieldValue()
456 const ConstantStruct *CS, in fillConstantStruct() argument
458 const StructLayout *Layout = DL.getStructLayout(CS->getType()); in fillConstantStruct()
459 for (unsigned i = 0, e = CS->getNumOperands(); i != e; ++i) { in fillConstantStruct()
460 const Constant *Field = CS->getOperand(i); in fillConstantStruct()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp187 for (auto &CS : CSI) { in assignCalleeSavedSpillSlots() local
188 Register Reg = CS.getReg(); in assignCalleeSavedSpillSlots()
197 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
199 CS.setFrameIdx(INT32_MAX); in assignCalleeSavedSpillSlots()
225 for (auto &CS : CSI) { in assignCalleeSavedSpillSlots() local
226 if (CS.getFrameIdx() != INT32_MAX) in assignCalleeSavedSpillSlots()
228 Register Reg = CS.getReg(); in assignCalleeSavedSpillSlots()
235 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
1003 for (auto &CS : CSI) { in assignCalleeSavedSpillSlots() local
1004 Register Reg = CS.getReg(); in assignCalleeSavedSpillSlots()
[all …]

12345678910