Home
last modified time | relevance | path

Searched refs:decl (Results 1 – 4 of 4) sorted by relevance

/bionic/tools/versioner/src/
DDeclarationDatabase.cpp38 static bool shouldMangle(MangleContext* mangler, NamedDecl* decl) { in shouldMangle() argument
41 if (auto FD = dyn_cast<FunctionDecl>(decl)) { in shouldMangle()
51 return mangler->shouldMangleDeclName(decl); in shouldMangle()
66 std::string getDeclName(NamedDecl* decl) { in getDeclName() argument
67 if (auto var_decl = dyn_cast<VarDecl>(decl)) { in getDeclName()
74 if (auto asm_attr = decl->getAttr<AsmLabelAttr>()) { in getDeclName()
79 if (auto identifier = decl->getIdentifier()) { in getDeclName()
80 if (shouldMangle(mangler.get(), decl)) { in getDeclName()
83 mangler->mangleName(decl, ss); in getDeclName()
93 bool VisitDeclaratorDecl(DeclaratorDecl* decl, SourceRange range) { in VisitDeclaratorDecl() argument
[all …]
Dversioner.cpp264 static std::set<CompilationType> getCompilationTypes(const Declaration* decl) { in getCompilationTypes() argument
266 for (const auto& it : decl->availability) { in getCompilationTypes()
292 const Declaration* decl = &decl_it.second; in checkSymbol() local
293 if (decl->is_definition) { in checkSymbol()
294 std::set<CompilationType> compilation_types = getCompilationTypes(decl); in checkSymbol()
301 decl->dump(cwd, stderr, 4); in checkSymbol()
307 inline_definitions[decl] = std::move(compilation_types); in checkSymbol()
311 if (!decl->calculateAvailability(&availability)) { in checkSymbol()
313 decl->dump(cwd, stderr, 2); in checkSymbol()
317 if (decl->is_definition && !availability.empty()) { in checkSymbol()
[all …]
DPreprocessor.cpp420 const Declaration& decl = decl_it.second; in preprocessHeaders() local
422 if (decl.no_guard) { in preprocessHeaders()
427 DeclarationAvailability macro_guard = calculateRequiredGuard(decl); in preprocessHeaders()
/bionic/libc/arch-x86/generic/string/
Dstrncmp.S26 decl %edx
36 decl %edx
46 decl %edx
56 decl %edx
66 decl %edx
76 decl %edx
86 decl %edx
96 decl %edx