• Home
  • Raw
  • Download

Lines Matching refs:getLowerName

110     StringRef getLowerName() const { return lowerName; }  in getLowerName()  function in __anone72ea0ab0111::Argument
145 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
149 OS << getLowerName(); in writeCloneArgs()
155 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
161 OS << type << " " << getLowerName() << ";"; in writeDeclarations()
165 OS << " " << type << " " << getLowerName() << " = " << read << ";\n"; in writePCHReadDecls()
168 OS << getLowerName(); in writePCHReadArgs()
219 OS << " return llvm::StringRef(" << getLowerName() << ", " in writeAccessors()
220 << getLowerName() << "Length);\n"; in writeAccessors()
223 OS << " return " << getLowerName() << "Length;\n"; in writeAccessors()
227 OS << " " << getLowerName() << "Length = S.size();\n"; in writeAccessors()
228 OS << " this->" << getLowerName() << " = new (C, 1) char [" in writeAccessors()
229 << getLowerName() << "Length];\n"; in writeAccessors()
230 OS << " std::memcpy(this->" << getLowerName() << ", S.data(), " in writeAccessors()
231 << getLowerName() << "Length);\n"; in writeAccessors()
241 OS << " std::memcpy(" << getLowerName() << ", " << getUpperName() in writeCtorBody()
242 << ".data(), " << getLowerName() << "Length);"; in writeCtorBody()
245 OS << getLowerName() << "Length(" << getUpperName() << ".size())," in writeCtorInitializers()
246 << getLowerName() << "(new (Ctx, 1) char[" << getLowerName() in writeCtorInitializers()
253 OS << "unsigned " << getLowerName() << "Length;\n"; in writeDeclarations()
254 OS << "char *" << getLowerName() << ";"; in writeDeclarations()
257 OS << " std::string " << getLowerName() in writePCHReadDecls()
261 OS << getLowerName(); in writePCHReadArgs()
287 OS << " return is" << getLowerName() << "Expr;\n"; in writeAccessors()
291 OS << " assert(is" << getLowerName() << "Expr);\n"; in writeAccessors()
292 OS << " return " << getLowerName() << "Expr;\n"; in writeAccessors()
296 OS << " assert(!is" << getLowerName() << "Expr);\n"; in writeAccessors()
297 OS << " return " << getLowerName() << "Type;\n"; in writeAccessors()
303 OS << " if (is" << getLowerName() << "Expr)\n"; in writeAccessorDefinitions()
304 OS << " return " << getLowerName() << "Expr && (" << getLowerName() in writeAccessorDefinitions()
305 << "Expr->isValueDependent() || " << getLowerName() in writeAccessorDefinitions()
308 OS << " return " << getLowerName() in writeAccessorDefinitions()
320 OS << " if (is" << getLowerName() << "Expr)\n"; in writeAccessorDefinitions()
321 OS << " return (" << getLowerName() << "Expr ? " << getLowerName() in writeAccessorDefinitions()
329 OS << "is" << getLowerName() << "Expr, is" << getLowerName() in writeCloneArgs()
330 << "Expr ? static_cast<void*>(" << getLowerName() in writeCloneArgs()
331 << "Expr) : " << getLowerName() in writeCloneArgs()
339 OS << " if (is" << getLowerName() << "Expr)\n"; in writeCtorBody()
340 OS << " " << getLowerName() << "Expr = reinterpret_cast<Expr *>(" in writeCtorBody()
343 OS << " " << getLowerName() in writeCtorBody()
348 OS << "is" << getLowerName() << "Expr(Is" << getUpperName() << "Expr)"; in writeCtorInitializers()
354 OS << "bool is" << getLowerName() << "Expr;\n"; in writeDeclarations()
356 OS << "Expr *" << getLowerName() << "Expr;\n"; in writeDeclarations()
357 OS << "TypeSourceInfo *" << getLowerName() << "Type;\n"; in writeDeclarations()
361 OS << "is" << getLowerName() << "Expr, " << getLowerName() << "Ptr"; in writePCHReadArgs()
364 OS << " bool is" << getLowerName() << "Expr = Record[Idx++];\n"; in writePCHReadDecls()
365 OS << " void *" << getLowerName() << "Ptr;\n"; in writePCHReadDecls()
366 OS << " if (is" << getLowerName() << "Expr)\n"; in writePCHReadDecls()
367 OS << " " << getLowerName() << "Ptr = ReadExpr(F);\n"; in writePCHReadDecls()
369 OS << " " << getLowerName() in writePCHReadDecls()
382 << " " << getLowerName() << "Expr->printPretty(OS, 0, Policy);\n" in writeValue()
411 OS << " typedef " << type << "* " << getLowerName() << "_iterator;\n"; in writeAccessors()
412 OS << " " << getLowerName() << "_iterator " << getLowerName() in writeAccessors()
414 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
416 OS << " " << getLowerName() << "_iterator " << getLowerName() in writeAccessors()
418 OS << " return " << getLowerName() << " + " << getLowerName() in writeAccessors()
421 OS << " unsigned " << getLowerName() << "_size() const {\n" in writeAccessors()
422 << " return " << getLowerName() << "Size;\n"; in writeAccessors()
426 OS << getLowerName() << ", " << getLowerName() << "Size"; in writeCloneArgs()
430 OS << "A->" << getLowerName() << "_begin(), " in writeTemplateInstantiationArgs()
431 << "A->" << getLowerName() << "_size()"; in writeTemplateInstantiationArgs()
435 OS << " std::memcpy(" << getLowerName() << ", " << getUpperName() in writeCtorBody()
436 << ", " << getLowerName() << "Size * sizeof(" << getType() << "));\n"; in writeCtorBody()
439 OS << getLowerName() << "Size(" << getUpperName() << "Size), " in writeCtorInitializers()
440 << getLowerName() << "(new (Ctx, 16) " << getType() << "[" in writeCtorInitializers()
441 << getLowerName() << "Size])"; in writeCtorInitializers()
448 OS << " unsigned " << getLowerName() << "Size;\n"; in writeDeclarations()
449 OS << " " << getType() << " *" << getLowerName() << ";"; in writeDeclarations()
452 OS << " unsigned " << getLowerName() << "Size = Record[Idx++];\n"; in writePCHReadDecls()
453 OS << " SmallVector<" << type << ", 4> " << getLowerName() in writePCHReadDecls()
455 OS << " " << getLowerName() << ".reserve(" << getLowerName() in writePCHReadDecls()
457 OS << " for (unsigned i = " << getLowerName() << "Size; i; --i)\n"; in writePCHReadDecls()
460 OS << " " << getLowerName() << ".push_back(" << read << ");\n"; in writePCHReadDecls()
463 OS << getLowerName() << ".data(), " << getLowerName() << "Size"; in writePCHReadArgs()
466 OS << " Record.push_back(SA->" << getLowerName() << "_size());\n"; in writePCHWrite()
467 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writePCHWrite()
468 << "_iterator i = SA->" << getLowerName() << "_begin(), e = SA->" in writePCHWrite()
469 << getLowerName() << "_end(); i != e; ++i)\n"; in writePCHWrite()
475 << " for (" << getAttrName() << "Attr::" << getLowerName() in writeValue()
476 << "_iterator i = " << getLowerName() << "_begin(), e = " in writeValue()
477 << getLowerName() << "_end(); i != e; ++i) {\n" in writeValue()
485 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writeDump()
486 << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->" in writeDump()
487 << getLowerName() << "_end(); I != E; ++I)\n"; in writeDump()
511 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
515 OS << getLowerName(); in writeCloneArgs()
521 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
539 OS << " " << type << " " << getLowerName() << ";"; in writeDeclarations()
542 OS << " " << getAttrName() << "Attr::" << type << " " << getLowerName() in writePCHReadDecls()
547 OS << getLowerName(); in writePCHReadArgs()
575 OS << " return " << getLowerName() << ";\n"; in writeAccessors()
579 OS << " " << getLowerName() << " = V;\n"; in writeAccessors()
591 OS << getLowerName() << "(" << getUpperName() << ")"; in writeCtorInitializers()
597 OS << "VersionTuple " << getLowerName() << ";\n"; in writeDeclarations()
600 OS << " VersionTuple " << getLowerName() in writePCHReadDecls()
604 OS << getLowerName(); in writePCHReadArgs()
610 OS << getLowerName() << "=\" << get" << getUpperName() << "() << \""; in writeValue()
657 << "A->" << getLowerName() << "_size()"; in writeTemplateInstantiationArgs()
663 << "[A->" << getLowerName() << "_size()];\n"; in writeTemplateInstantiation()
669 OS << " " << getType() << " *I = A->" << getLowerName() in writeTemplateInstantiation()
671 OS << " " << getType() << " *E = A->" << getLowerName() in writeTemplateInstantiation()
684 OS << " for (" << getAttrName() << "Attr::" << getLowerName() in writeDumpChildren()
685 << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->" in writeDumpChildren()
686 << getLowerName() << "_end(); I != E; ++I) {\n"; in writeDumpChildren()
694 OS << "SA->" << getLowerName() << "_begin() != " in writeHasChildren()
695 << "SA->" << getLowerName() << "_end()"; in writeHasChildren()