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