Lines Matching refs:nl
130 formatted_raw_ostream& nl(formatted_raw_ostream &Out, int delta = 0);
170 formatted_raw_ostream &CppWriter::nl(formatted_raw_ostream &Out, int delta) {
480 nl(Out);
482 Out << '{'; in(); nl(Out);
483 Out << "SmallVector<AttributeSet, 4> Attrs;"; nl(Out);
484 Out << "AttributeSet PAS;"; in(); nl(Out);
488 Out << "{"; in(); nl(Out);
489 Out << "AttrBuilder B;"; nl(Out);
493 Out << "B.addAttribute(Attribute::" #X ");"; nl(Out); \
530 nl(Out);
539 Out << " B);"; out(); nl(Out);
540 Out << "}"; out(); nl(Out);
541 nl(Out);
542 Out << "Attrs.push_back(PAS);"; nl(Out);
545 nl(Out);
546 out(); nl(Out);
547 Out << '}'; nl(Out);
570 nl(Out);
579 nl(Out);
584 in(); nl(Out) << "/*Result=*/" << retTypeName;
586 nl(Out) << "/*Params=*/" << typeName << "_args,";
587 nl(Out) << "/*isVarArg=*/" << (FT->isVarArg() ? "true" : "false") << ");";
589 nl(Out);
598 nl(Out);
600 nl(Out);
605 nl(Out);
607 nl(Out);
613 nl(Out);
622 nl(Out);
630 nl(Out);
636 nl(Out);
639 nl(Out);
651 nl(Out);
663 nl(Out);
675 nl(Out);
687 nl(Out);
754 nl(Out);
760 nl(Out);
766 nl(Out);
772 nl(Out);
778 nl(Out);
784 nl(Out);
811 nl(Out);
816 nl(Out);
829 nl(Out);
835 nl(Out);
944 nl(Out);
973 nl(Out) << "// Type Definitions";
974 nl(Out);
980 nl(Out)<< "/ Function Declarations"; nl(Out);
983 nl(Out) << "// Global Variable Declarations"; nl(Out);
986 nl(Out) << "// Global Variable Definitions"; nl(Out);
989 nl(Out) << "// Constant Definitions"; nl(Out);
996 nl(Out) << "GlobalVariable* " << getCppName(GV);
1001 nl(Out) << "if (!" << getCppName(GV) << ") {";
1002 in(); nl(Out) << getCppName(GV);
1005 nl(Out) << "/*Type=*/";
1008 nl(Out) << "/*isConstant=*/" << (GV->isConstant()?"true":"false");
1010 nl(Out) << "/*Linkage=*/";
1013 nl(Out) << "/*Initializer=*/0, ";
1017 nl(Out) << "/*Name=*/\"";
1020 nl(Out);
1027 nl(Out);
1032 nl(Out);
1039 nl(Out);
1046 nl(Out);
1053 nl(Out);
1056 out(); Out << "}"; nl(Out);
1065 nl(Out);
1087 nl(Out);
1158 nl(Out);
1166 nl(Out);
1174 nl(Out);
1177 nl(Out);
1188 nl(Out);
1192 nl(Out);
1202 nl(Out) << iName << "->setCallingConv(";
1207 nl(Out);
1317 nl(Out) << iName << "->setAlignment("
1329 nl(Out) << iName << "->setAlignment("
1334 nl(Out) << iName << "->setAtomic("
1347 nl
1352 nl(Out) << iName << "->setAtomic("
1366 nl(Out);
1370 nl(Out) << "}, \"";
1383 nl(Out);
1388 nl(Out);
1435 nl(Out);
1439 nl(Out);
1442 nl(Out);
1456 nl(Out) << iName << "->setCallingConv(";
1459 nl(Out) << iName << "->setTailCall("
1462 nl(Out);
1465 nl(Out);
1520 nl(Out);
1524 nl(Out);
1537 nl(Out);
1541 nl(Out);
1574 nl(Out) << iName << "->setName(\"";
1577 nl(Out) << iName << "->setVolatile("
1579 nl(Out) << iName << "->setWeak("
1608 nl(Out) << iName << "->setName(\"";
1611 nl(Out) << iName << "->setVolatile("
1622 nl(Out) << iName << "->setCleanup("
1626 nl(Out) << iName << "->addClause(" << opNames[i+1] << ");";
1631 nl(Out);
1637 nl(Out) << "// Type Definitions"; nl(Out);
1694 nl(Out) << "// Function Declarations"; nl(Out);
1703 nl(Out) << "// Global Variable Declarations"; nl(Out);
1710 nl(Out) << "// Constant Definitions"; nl(Out);
1719 nl(Out) << "// Global Variable Definitions"; nl(Out);
1728 nl(Out) << "Function* " << getCppName(F);
1732 nl(Out) << "if (!" << getCppName(F) << ") {";
1733 nl(Out) << getCppName(F);
1736 nl(Out,1) << "/*Type=*/" << getCppName(F->getFunctionType()) << ",";
1737 nl(Out) << "/*Linkage=*/";
1740 nl(Out) << "/*Name=*/\"";
1743 nl(Out,-1);
1748 nl(Out);
1752 nl(Out);
1757 nl(Out);
1764 nl(Out);
1771 nl(Out);
1776 nl(Out);
1779 nl(Out);
1783 nl(Out);
1800 nl(Out);
1804 nl(Out);
1809 nl(Out);
1815 nl(Out);
1823 nl(Out);
1829 nl(Out) << "// Block " << BI.getName() << " (" << bbname << ")";
1830 nl(Out);
1840 nl(Out) << "// Resolve Forward References";
1841 nl(Out);
1848 nl(Out);
1864 nl(Out) << "BasicBlock* " << fname << "(Module* mod, Function *"
1872 nl(Out);
1878 nl(Out) << "}";
1879 nl(Out);
1884 nl(Out) << "// Type Definitions"; nl(Out);
1889 nl(Out) << "// Function Declarations"; nl(Out);
1895 nl(Out) << "// Global Variable Declarations\n"; nl(Out);
1902 nl(Out) << "// Constant Definitions"; nl(Out);
1908 nl(Out) << "// Global Variable Definitions"; nl(Out);
1913 nl(Out) << "// Function Definitions"; nl(Out);
1916 nl(Out) << "// Function: " << I.getName() << " (" << getCppName(&I)
1918 nl(Out) << "{";
1919 nl(Out,1);
1921 nl(Out,-1) << "}";
1922 nl(Out);
1963 nl(Out) << "Module* " << fname << "() {";
1964 nl(Out,1) << "// Module Construction";
1965 nl(Out) << "Module* mod = new Module(\"";
1969 nl(Out) << "mod->setDataLayout(\"" << TheModule->getDataLayoutStr()
1973 nl(Out) << "mod->setTargetTriple(\"" << TheModule->getTargetTriple()
1978 nl(Out) << "mod->setModuleInlineAsm(\"";
1982 nl(Out);
1985 nl(Out) << "return mod;";
1986 nl(Out,-1) << "}";
1987 nl(Out);