Home
last modified time | relevance | path

Searched refs:CID (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/objc/
H A DDeallocInCategoryCheck.cpp34 const auto *CID = Result.Nodes.getNodeAs<ObjCCategoryImplDecl>("impl"); in check() local
37 << CID; in check()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineOutliner.h130 void setCallInfo(unsigned CID, unsigned CO) { in setCallInfo()
131 CallConstructionID = CID; in setCallInfo()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp90 if (const ObjCCategoryImplDecl *CID = Cat->getImplementation()) in Scan() local
91 Scan(M, CID); in Scan()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DAnalysis.cpp74 const InstructionBenchmarkClustering::ClusterId &CID) { in writeClusterId() argument
75 if (CID.isNoise()) in writeClusterId()
77 else if (CID.isError()) in writeClusterId()
80 OS << CID.getId(); in writeClusterId()
H A DClustering.cpp294 for (const ClusterId &CID : ClusterIDs) { in stabilize() local
295 assert(CID.isValid() && in stabilize()
297 Cluster &OldCluster = Clusters_[CID.getId()]; // Valid clusters storage. in stabilize()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td37 class BinOpTyped<string name, bits<16> opCode, RegisterClass CID, SDNode node>
38 : Op<opCode, (outs ID:$dst), (ins TYPE:$src_ty, CID:$src, CID:$src2),
39 …$dst = "#name#" $src_ty $src $src2", [(set ID:$dst, (assigntype (node CID:$src, CID:$src2), TYPE:$…
41 class TernOpTyped<string name, bits<16> opCode, RegisterClass CCond, RegisterClass CID, SDNode node>
42 : Op<opCode, (outs ID:$dst), (ins TYPE:$src_ty, CCond:$cond, CID:$src1, CID:$src2),
43 …ty $cond $src1 $src2", [(set ID:$dst, (assigntype (node CCond:$cond, CID:$src1, CID:$src2), TYPE:$…
82 class UnOpTyped<string name, bits<16> opCode, RegisterClass CID, SDNode node>
83 : Op<opCode, (outs ID:$dst), (ins TYPE:$src_ty, CID:$src),
84 … "$dst = "#name#" $src_ty $src", [(set ID:$dst, (assigntype (node CID:$src), TYPE:$src_ty))]>;
/llvm-project-15.0.7/clang/lib/AST/
H A DMangle.cpp366 if (const auto *CID = MD->getCategory()) { in mangleObjCMethodName() local
367 OS << CID->getClassInterface()->getName(); in mangleObjCMethodName()
369 OS << '(' << *CID << ')'; in mangleObjCMethodName()
H A DDeclPrinter.cpp1436 if (const auto *CID = PID->getClassInterface()) in VisitObjCCategoryImplDecl() local
1437 Out << *CID; in VisitObjCCategoryImplDecl()
1449 if (const auto *CID = PID->getClassInterface()) in VisitObjCCategoryDecl() local
1450 Out << *CID; in VisitObjCCategoryDecl()
H A DDeclObjC.cpp2214 const ObjCCategoryImplDecl &CID) { in operator <<() argument
2215 OS << CID.getName(); in operator <<()
H A DExpr.cpp855 if (const ObjCCategoryImplDecl *CID = in ComputeName() local
857 Out << '(' << *CID << ')'; in ComputeName()
H A DASTContext.cpp7708 if (const auto *CID = dyn_cast<ObjCCategoryImplDecl>(Container)) { in getObjCPropertyImplDeclForPropertyDecl() local
7709 for (auto *PID : CID->property_impls()) in getObjCPropertyImplDeclForPropertyDecl()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DSymbolCollector.cpp552 if (const auto *CID = IID->getClassInterface()) in handleDeclOccurrence() local
553 if (const auto *DD = CID->getDefinition()) in handleDeclOccurrence()
559 if (const auto *CID = dyn_cast<ObjCCategoryImplDecl>(D)) { in handleDeclOccurrence() local
561 if (const auto *CD = CID->getCategoryDecl()) in handleDeclOccurrence()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindTarget.cpp222 if (const auto *CID = IID->getClassInterface()) in add() local
223 if (const auto *DD = CID->getDefinition()) in add()
226 } else if (const ObjCCategoryImplDecl *CID = in add() local
229 D = CID->getCategoryDecl(); in add()
H A DAST.cpp334 if (const ObjCCategoryImplDecl *CID = dyn_cast<ObjCCategoryImplDecl>(&C)) { in printObjCContainer() local
337 const ObjCInterfaceDecl *Class = CID->getClassInterface(); in printObjCContainer()
338 OS << getNameOrErrForObjCInterface(Class) << '(' << CID->getName() << ')'; in printObjCContainer()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp269 ObjCCategoryImplDecl *CID);
769 ObjCCategoryImplDecl *CID) { in RewritePropertyImplDecl() argument
1083 if (ObjCCategoryImplDecl *CID = in RewriteObjCMethodDecl() local
1085 NameStr += CID->getNameAsString(); in RewriteObjCMethodDecl()
1169 ObjCCategoryImplDecl *CID = dyn_cast<ObjCCategoryImplDecl>(OID); in RewriteImplementationDecl() local
1170 assert((IMD || CID) && "Unknown ImplementationDecl"); in RewriteImplementationDecl()
1172 InsertText(IMD ? IMD->getBeginLoc() : CID->getBeginLoc(), "// "); in RewriteImplementationDecl()
1187 for (auto *OMD : IMD ? IMD->class_methods() : CID->class_methods()) { in RewriteImplementationDecl()
1199 for (auto *I : IMD ? IMD->property_impls() : CID->property_impls()) in RewriteImplementationDecl()
1200 RewritePropertyImplDecl(I, IMD, CID); in RewriteImplementationDecl()
[all …]
H A DRewriteModernObjC.cpp322 ObjCCategoryImplDecl *CID);
920 ObjCCategoryImplDecl *CID) { in RewritePropertyImplDecl() argument
934 startGetterSetterLoc = IMD ? IMD->getEndLoc() : CID->getEndLoc(); in RewritePropertyImplDecl()
1250 if (ObjCCategoryImplDecl *CID = in RewriteObjCMethodDecl() local
1252 NameStr += CID->getNameAsString(); in RewriteObjCMethodDecl()
1336 ObjCCategoryImplDecl *CID = dyn_cast<ObjCCategoryImplDecl>(OID); in RewriteImplementationDecl() local
1337 assert((IMD || CID) && "Unknown implementation type"); in RewriteImplementationDecl()
1349 InsertText(CID->getBeginLoc(), "// "); in RewriteImplementationDecl()
1376 for (auto *I : IMD ? IMD->property_impls() : CID->property_impls()) in RewriteImplementationDecl()
1377 RewritePropertyImplDecl(I, IMD, CID); in RewriteImplementationDecl()
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp1007 static void Profile(llvm::FoldingSetNodeID &ID, uintptr_t CID) { in Profile() argument
1008 ID.AddInteger(CID); in Profile()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclObjC.h2529 raw_ostream &operator<<(raw_ostream &OS, const ObjCCategoryImplDecl &CID);
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp5024 if (const ObjCCategoryImplDecl *CID = in clang_Cursor_getSpellingNameRange() local
5026 return cxloc::translateSourceRange(Ctx, CID->getCategoryNameLoc()); in clang_Cursor_getSpellingNameRange()