Lines Matching refs:nl
125 formatted_raw_ostream& nl(formatted_raw_ostream &Out, int delta = 0);
163 formatted_raw_ostream &CppWriter::nl(formatted_raw_ostream &Out, int delta) {
438 nl(Out);
440 Out << '{'; in(); nl(Out);
441 Out << "SmallVector<AttributeWithIndex, 4> Attrs;"; nl(Out);
442 Out << "AttributeWithIndex PAWI;"; nl(Out);
484 nl(Out);
486 nl(Out);
489 nl(Out);
490 out(); nl(Out);
491 Out << '}'; nl(Out);
512 nl(Out);
521 nl(Out);
526 in(); nl(Out) << "/*Result=*/" << retTypeName;
528 nl(Out) << "/*Params=*/" << typeName << "_args,";
529 nl(Out) << "/*isVarArg=*/" << (FT->isVarArg() ? "true" : "false") << ");";
531 nl(Out);
540 nl(Out);
542 nl(Out);
547 nl(Out);
549 nl(Out);
555 nl(Out);
564 nl(Out);
572 nl(Out);
578 nl(Out);
581 nl(Out);
594 nl(Out);
607 nl(Out);
620 nl(Out);
632 nl(Out);
724 nl(Out);
730 nl(Out);
737 nl(Out);
743 nl(Out);
749 nl(Out);
755 nl(Out);
765 nl(Out);
771 nl(Out);
880 nl(Out);
909 nl(Out) << "// Type Definitions";
910 nl(Out);
916 nl(Out)<< "/ Function Declarations"; nl(Out);
919 nl(Out) << "// Global Variable Declarations"; nl(Out);
922 nl(Out) << "// Global Variable Definitions"; nl(Out);
925 nl(Out) << "// Constant Definitions"; nl(Out);
932 nl(Out) << "GlobalVariable* " << getCppName(GV);
937 nl(Out) << "if (!" << getCppName(GV) << ") {";
938 in(); nl(Out) << getCppName(GV);
941 nl(Out) << "/*Type=*/";
944 nl(Out) << "/*isConstant=*/" << (GV->isConstant()?"true":"false");
946 nl(Out) << "/*Linkage=*/";
949 nl(Out) << "/*Initializer=*/0, ";
953 nl(Out) << "/*Name=*/\"";
956 nl(Out);
963 nl(Out);
968 nl(Out);
975 nl(Out);
980 nl(Out);
983 out(); Out << "}"; nl(Out);
992 nl(Out);
1014 nl(Out);
1064 nl(Out);
1072 nl(Out);
1080 nl(Out);
1083 nl(Out);
1095 nl(Out);
1099 nl(Out);
1109 nl(Out) << iName << "->setCallingConv(";
1114 nl(Out);
1229 nl(Out) << iName << "->setAlignment("
1260 nl(Out);
1264 nl(Out);
1282 nl(Out);
1287 nl(Out);
1334 nl(Out);
1338 nl(Out);
1341 nl(Out);
1355 nl(Out) << iName << "->setCallingConv(";
1358 nl(Out) << iName << "->setTailCall("
1361 nl(Out);
1364 nl(Out);
1419 nl(Out);
1423 nl(Out);
1436 nl(Out);
1440 nl(Out);
1452 nl(Out);
1458 nl(Out) << "// Type Definitions"; nl(Out);
1516 nl(Out) << "// Function Declarations"; nl(Out);
1526 nl(Out) << "// Global Variable Declarations"; nl(Out);
1534 nl(Out) << "// Constant Definitions"; nl(Out);
1544 nl(Out) << "// Global Variable Definitions"; nl(Out);
1554 nl(Out) << "Function* " << getCppName(F);
1558 nl(Out) << "if (!" << getCppName(F) << ") {";
1559 nl(Out) << getCppName(F);
1562 nl(Out,1) << "/*Type=*/" << getCppName(F->getFunctionType()) << ",";
1563 nl(Out) << "/*Linkage=*/";
1566 nl(Out) << "/*Name=*/\"";
1569 nl(Out,-1);
1574 nl(Out);
1578 nl(Out);
1583 nl(Out);
1590 nl(Out);
1595 nl(Out);
1598 nl(Out);
1602 nl(Out);
1619 nl(Out);
1624 nl(Out);
1627 nl(Out);
1633 nl(Out);
1642 nl(Out);
1649 nl(Out) << "// Block " << BI->getName() << " (" << bbname << ")";
1650 nl(Out);
1662 nl(Out) << "// Resolve Forward References";
1663 nl(Out);
1670 nl(Out);
1686 nl(Out) << "BasicBlock* " << fname << "(Module* mod, Function *"
1694 nl(Out);
1700 nl(Out) << "}";
1701 nl(Out);
1706 nl(Out) << "// Type Definitions"; nl(Out);
1711 nl(Out) << "// Function Declarations"; nl(Out);
1718 nl(Out) << "// Global Variable Declarations\n"; nl(Out);
1727 nl(Out) << "// Constant Definitions"; nl(Out);
1733 nl(Out) << "// Global Variable Definitions"; nl(Out);
1740 nl(Out) << "// Function Definitions"; nl(Out);
1744 nl(Out) << "// Function: " << I->getName() << " (" << getCppName(I)
1746 nl(Out) << "{";
1747 nl(Out,1);
1749 nl(Out,-1) << "}";
1750 nl(Out);
1790 nl(Out) << "Module* " << fname << "() {";
1791 nl(Out,1) << "// Module Construction";
1792 nl(Out) << "Module* mod = new Module(\"";
1796 nl(Out) << "mod->setDataLayout(\"" << TheModule->getDataLayout() << "\");";
1799 nl(Out) << "mod->setTargetTriple(\"" << TheModule->getTargetTriple()
1804 nl(Out) << "mod->setModuleInlineAsm(\"";
1808 nl(Out);
1815 nl(Out);
1819 nl(Out) << "return mod;";
1820 nl(Out,-1) << "}";
1821 nl(Out);