Lines Matching refs:Def
27 static bool isa(llvm::Record *Def, llvm::Record *TypeClass) { in isa() argument
28 llvm::RecordRecTy *RecordType = Def->getType(); in isa()
38 bool APIIndexer::isaNamedType(llvm::Record *Def) { in isaNamedType() argument
39 return isa(Def, NamedTypeClass); in isaNamedType()
42 bool APIIndexer::isaStructType(llvm::Record *Def) { in isaStructType() argument
43 return isa(Def, StructClass); in isaStructType()
46 bool APIIndexer::isaPtrType(llvm::Record *Def) { in isaPtrType() argument
47 return isa(Def, PtrTypeClass); in isaPtrType()
50 bool APIIndexer::isaConstType(llvm::Record *Def) { in isaConstType() argument
51 return isa(Def, ConstTypeClass); in isaConstType()
54 bool APIIndexer::isaRestrictedPtrType(llvm::Record *Def) { in isaRestrictedPtrType() argument
55 return isa(Def, RestrictedPtrTypeClass); in isaRestrictedPtrType()
58 bool APIIndexer::isaStandardSpec(llvm::Record *Def) { in isaStandardSpec() argument
59 return isa(Def, StandardSpecClass); in isaStandardSpec()
62 bool APIIndexer::isaPublicAPI(llvm::Record *Def) { in isaPublicAPI() argument
63 return isa(Def, PublicAPIClass); in isaPublicAPI()
162 llvm::Record *Def = Pair.second.get(); in index() local
163 if (isaStandardSpec(Def)) in index()
164 indexStandardSpecDef(Def); in index()
165 if (isaPublicAPI(Def)) { in index()
167 Def->getValueAsString("HeaderName") == StdHeader) in index()
168 indexPublicAPIDef(Def); in index()