Lines Matching refs:nl

127     formatted_raw_ostream& nl(formatted_raw_ostream &Out, int delta = 0);
167 formatted_raw_ostream &CppWriter::nl(formatted_raw_ostream &Out, int delta) {
477 nl(Out);
479 Out << '{'; in(); nl(Out);
480 Out << "SmallVector<AttributeSet, 4> Attrs;"; nl(Out);
481 Out << "AttributeSet PAS;"; in(); nl(Out);
485 Out << "{"; in(); nl(Out);
486 Out << "AttrBuilder B;"; nl(Out);
490 Out << "B.addAttribute(Attribute::" #X ");"; nl(Out); \
526 nl(Out);
535 Out << " B);"; out(); nl(Out);
536 Out << "}"; out(); nl(Out);
537 nl(Out);
538 Out << "Attrs.push_back(PAS);"; nl(Out);
541 nl(Out);
542 out(); nl(Out);
543 Out << '}'; nl(Out);
565 nl(Out);
574 nl(Out);
579 in(); nl(Out) << "/*Result=*/" << retTypeName;
581 nl(Out) << "/*Params=*/" << typeName << "_args,";
582 nl(Out) << "/*isVarArg=*/" << (FT->isVarArg() ? "true" : "false") << ");";
584 nl(Out);
593 nl(Out);
595 nl(Out);
600 nl(Out);
602 nl(Out);
608 nl(Out);
617 nl(Out);
625 nl(Out);
631 nl(Out);
634 nl(Out);
647 nl(Out);
660 nl(Out);
673 nl(Out);
685 nl(Out);
752 nl(Out);
758 nl(Out);
764 nl(Out);
770 nl(Out);
776 nl(Out);
782 nl(Out);
809 nl(Out);
814 nl(Out);
827 nl(Out);
833 nl(Out);
942 nl(Out);
971 nl(Out) << "// Type Definitions";
972 nl(Out);
978 nl(Out)<< "/ Function Declarations"; nl(Out);
981 nl(Out) << "// Global Variable Declarations"; nl(Out);
984 nl(Out) << "// Global Variable Definitions"; nl(Out);
987 nl(Out) << "// Constant Definitions"; nl(Out);
994 nl(Out) << "GlobalVariable* " << getCppName(GV);
999 nl(Out) << "if (!" << getCppName(GV) << ") {";
1000 in(); nl(Out) << getCppName(GV);
1003 nl(Out) << "/*Type=*/";
1006 nl(Out) << "/*isConstant=*/" << (GV->isConstant()?"true":"false");
1008 nl(Out) << "/*Linkage=*/";
1011 nl(Out) << "/*Initializer=*/0, ";
1015 nl(Out) << "/*Name=*/\"";
1018 nl(Out);
1025 nl(Out);
1030 nl(Out);
1037 nl(Out);
1044 nl(Out);
1051 nl(Out);
1054 out(); Out << "}"; nl(Out);
1063 nl(Out);
1085 nl(Out);
1156 nl(Out);
1164 nl(Out);
1172 nl(Out);
1175 nl(Out);
1186 nl(Out);
1190 nl(Out);
1200 nl(Out) << iName << "->setCallingConv(";
1205 nl(Out);
1315 nl(Out) << iName << "->setAlignment("
1327 nl(Out) << iName << "->setAlignment("
1332 nl(Out) << iName << "->setAtomic("
1345 nl(Out) << iName << "->setAlignment("
1350 nl(Out) << iName << "->setAtomic("
1364 nl(Out);
1368 nl(Out);
1386 nl(Out);
1391 nl(Out);
1438 nl(Out);
1442 nl(Out);
1445 nl(Out);
1459 nl(Out) << iName << "->setCallingConv(";
1462 nl(Out) << iName << "->setTailCall("
1465 nl(Out);
1468 nl(Out);
1523 nl(Out);
1527 nl(Out);
1540 nl(Out);
1544 nl(Out);
1577 nl(Out) << iName << "->setName(\"";
1580 nl(Out) << iName << "->setVolatile("
1582 nl(Out) << iName << "->setWeak("
1611 nl(Out) << iName << "->setName(\"";
1614 nl(Out) << iName << "->setVolatile("
1625 nl(Out) << iName << "->setCleanup("
1629 nl(Out) << iName << "->addClause(" << opNames[i+1] << ");";
1634 nl(Out);
1640 nl(Out) << "// Type Definitions"; nl(Out);
1698 nl(Out) << "// Function Declarations"; nl(Out);
1707 nl(Out) << "// Global Variable Declarations"; nl(Out);
1714 nl(Out) << "// Constant Definitions"; nl(Out);
1723 nl(Out) << "// Global Variable Definitions"; nl(Out);
1732 nl(Out) << "Function* " << getCppName(F);
1736 nl(Out) << "if (!" << getCppName(F) << ") {";
1737 nl(Out) << getCppName(F);
1740 nl(Out,1) << "/*Type=*/" << getCppName(F->getFunctionType()) << ",";
1741 nl(Out) << "/*Linkage=*/";
1744 nl(Out) << "/*Name=*/\"";
1747 nl(Out,-1);
1752 nl(Out);
1756 nl(Out);
1761 nl(Out);
1768 nl(Out);
1775 nl(Out);
1780 nl(Out);
1783 nl(Out);
1787 nl(Out);
1804 nl(Out);
1809 nl(Out);
1814 nl(Out);
1820 nl(Out);
1829 nl(Out);
1836 nl(Out) << "// Block " << BI->getName() << " (" << bbname << ")";
1837 nl(Out);
1849 nl(Out) << "// Resolve Forward References";
1850 nl(Out);
1857 nl(Out);
1873 nl(Out) << "BasicBlock* " << fname << "(Module* mod, Function *"
1881 nl(Out);
1887 nl(Out) << "}";
1888 nl(Out);
1893 nl(Out) << "// Type Definitions"; nl(Out);
1898 nl(Out) << "// Function Declarations"; nl(Out);
1905 nl(Out) << "// Global Variable Declarations\n"; nl(Out);
1914 nl(Out) << "// Constant Definitions"; nl(Out);
1920 nl(Out) << "// Global Variable Definitions"; nl(Out);
1927 nl(Out) << "// Function Definitions"; nl(Out);
1931 nl(Out) << "// Function: " << I->getName() << " (" << getCppName(I)
1933 nl(Out) << "{";
1934 nl(Out,1);
1936 nl(Out,-1) << "}";
1937 nl(Out);
1978 nl(Out) << "Module* " << fname << "() {";
1979 nl(Out,1) << "// Module Construction";
1980 nl(Out) << "Module* mod = new Module(\"";
1984 nl(Out) << "mod->setDataLayout(\"" << TheModule->getDataLayout() << "\");";
1987 nl(Out) << "mod->setTargetTriple(\"" << TheModule->getTargetTriple()
1992 nl(Out) << "mod->setModuleInlineAsm(\"";
1996 nl(Out);
1999 nl(Out) << "return mod;";
2000 nl(Out,-1) << "}";
2001 nl(Out);