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()
529 nl(Out); in printAttributes()
538 Out << " B);"; out(); nl(Out); in printAttributes()
539 Out << "}"; out(); nl(Out); in printAttributes()
540 nl(Out); in printAttributes()
541 Out << "Attrs.push_back(PAS);"; nl(Out); in printAttributes()
544 nl(Out); in printAttributes()
545 out(); nl(Out); in printAttributes()
546 Out << '}'; nl(Out); in printAttributes()
568 nl(Out); in printType()
577 nl(Out); in printType()
582 in(); nl(Out) << "/*Result=*/" << retTypeName; in printType()
584 nl(Out) << "/*Params=*/" << typeName << "_args,"; in printType()
585 nl(Out) << "/*isVarArg=*/" << (FT->isVarArg() ? "true" : "false") << ");"; in printType()
587 nl(Out); in printType()
596 nl(Out); in printType()
598 nl(Out); in printType()
603 nl(Out); in printType()
605 nl(Out); in printType()
611 nl(Out); in printType()
620 nl(Out); in printType()
628 nl(Out); in printType()
634 nl(Out); in printType()
637 nl(Out); in printType()
650 nl(Out); in printType()
663 nl(Out); in printType()
676 nl(Out); in printType()
688 nl(Out); in printType()
755 nl(Out); in printConstant()
761 nl(Out); in printConstant()
767 nl(Out); in printConstant()
773 nl(Out); in printConstant()
779 nl(Out); in printConstant()
785 nl(Out); in printConstant()
812 nl(Out); in printConstant()
817 nl(Out); in printConstant()
830 nl(Out); in printConstant()
836 nl(Out); in printConstant()
945 nl(Out); in printConstant()
974 nl(Out) << "// Type Definitions"; in printVariableUses()
975 nl(Out); in printVariableUses()
981 nl(Out)<< "/ Function Declarations"; nl(Out); in printVariableUses()
984 nl(Out) << "// Global Variable Declarations"; nl(Out); in printVariableUses()
987 nl(Out) << "// Global Variable Definitions"; nl(Out); in printVariableUses()
990 nl(Out) << "// Constant Definitions"; nl(Out); in printVariableUses()
997 nl(Out) << "GlobalVariable* " << getCppName(GV); in printVariableHead()
1002 nl(Out) << "if (!" << getCppName(GV) << ") {"; in printVariableHead()
1003 in(); nl(Out) << getCppName(GV); in printVariableHead()
1006 nl(Out) << "/*Type=*/"; in printVariableHead()
1009 nl(Out) << "/*isConstant=*/" << (GV->isConstant()?"true":"false"); in printVariableHead()
1011 nl(Out) << "/*Linkage=*/"; in printVariableHead()
1014 nl(Out) << "/*Initializer=*/0, "; in printVariableHead()
1018 nl(Out) << "/*Name=*/\""; in printVariableHead()
1021 nl(Out); in printVariableHead()
1028 nl(Out); in printVariableHead()
1033 nl(Out); in printVariableHead()
1040 nl(Out); in printVariableHead()
1047 nl(Out); in printVariableHead()
1054 nl(Out); in printVariableHead()
1057 out(); Out << "}"; nl(Out); in printVariableHead()
1066 nl(Out); in printVariableBody()
1088 nl(Out); in getOpName()
1159 nl(Out); in printInstruction()
1167 nl(Out); in printInstruction()
1175 nl(Out); in printInstruction()
1178 nl(Out); in printInstruction()
1189 nl(Out); in printInstruction()
1193 nl(Out); in printInstruction()
1203 nl(Out) << iName << "->setCallingConv("; in printInstruction()
1208 nl(Out); in printInstruction()
1318 nl(Out) << iName << "->setAlignment(" in printInstruction()
1330 nl(Out) << iName << "->setAlignment(" in printInstruction()
1335 nl(Out) << iName << "->setAtomic(" in printInstruction()
1348 nl(Out) << iName << "->setAlignment(" in printInstruction()
1353 nl(Out) << iName << "->setAtomic(" in printInstruction()
1367 nl(Out); in printInstruction()
1371 nl(Out); in printInstruction()
1389 nl(Out); in printInstruction()
1394 nl(Out); in printInstruction()
1441 nl(Out); in printInstruction()
1445 nl(Out); in printInstruction()
1448 nl(Out); in printInstruction()
1462 nl(Out) << iName << "->setCallingConv("; in printInstruction()
1465 nl(Out) << iName << "->setTailCall(" in printInstruction()
1468 nl(Out); in printInstruction()
1471 nl(Out); in printInstruction()
1526 nl(Out); in printInstruction()
1530 nl(Out); in printInstruction()
1543 nl(Out); in printInstruction()
1547 nl(Out); in printInstruction()
1580 nl(Out) << iName << "->setName(\""; in printInstruction()
1583 nl(Out) << iName << "->setVolatile(" in printInstruction()
1585 nl(Out) << iName << "->setWeak(" in printInstruction()
1614 nl(Out) << iName << "->setName(\""; in printInstruction()
1617 nl(Out) << iName << "->setVolatile(" in printInstruction()
1628 nl(Out) << iName << "->setCleanup(" in printInstruction()
1632 nl(Out) << iName << "->addClause(" << opNames[i+1] << ");"; in printInstruction()
1637 nl(Out); in printInstruction()
1643 nl(Out) << "// Type Definitions"; nl(Out); in printFunctionUses()
1701 nl(Out) << "// Function Declarations"; nl(Out); in printFunctionUses()
1710 nl(Out) << "// Global Variable Declarations"; nl(Out); in printFunctionUses()
1717 nl(Out) << "// Constant Definitions"; nl(Out); in printFunctionUses()
1726 nl(Out) << "// Global Variable Definitions"; nl(Out); in printFunctionUses()
1735 nl(Out) << "Function* " << getCppName(F); in printFunctionHead()
1739 nl(Out) << "if (!" << getCppName(F) << ") {"; in printFunctionHead()
1740 nl(Out) << getCppName(F); in printFunctionHead()
1743 nl(Out,1) << "/*Type=*/" << getCppName(F->getFunctionType()) << ","; in printFunctionHead()
1744 nl(Out) << "/*Linkage=*/"; in printFunctionHead()
1747 nl(Out) << "/*Name=*/\""; in printFunctionHead()
1750 nl(Out,-1); in printFunctionHead()
1755 nl(Out); in printFunctionHead()
1759 nl(Out); in printFunctionHead()
1764 nl(Out); in printFunctionHead()
1771 nl(Out); in printFunctionHead()
1778 nl(Out); in printFunctionHead()
1783 nl(Out); in printFunctionHead()
1786 nl(Out); in printFunctionHead()
1790 nl(Out); in printFunctionHead()
1807 nl(Out); in printFunctionBody()
1812 nl(Out); in printFunctionBody()
1817 nl(Out); in printFunctionBody()
1823 nl(Out); in printFunctionBody()
1832 nl(Out); in printFunctionBody()
1839 nl(Out) << "// Block " << BI->getName() << " (" << bbname << ")"; in printFunctionBody()
1840 nl(Out); in printFunctionBody()
1852 nl(Out) << "// Resolve Forward References"; in printFunctionBody()
1853 nl(Out); in printFunctionBody()
1860 nl(Out); in printFunctionBody()
1876 nl(Out) << "BasicBlock* " << fname << "(Module* mod, Function *" in printInline()
1884 nl(Out); in printInline()
1890 nl(Out) << "}"; in printInline()
1891 nl(Out); in printInline()
1896 nl(Out) << "// Type Definitions"; nl(Out); in printModuleBody()
1901 nl(Out) << "// Function Declarations"; nl(Out); in printModuleBody()
1908 nl(Out) << "// Global Variable Declarations\n"; nl(Out); in printModuleBody()
1917 nl(Out) << "// Constant Definitions"; nl(Out); in printModuleBody()
1923 nl(Out) << "// Global Variable Definitions"; nl(Out); in printModuleBody()
1930 nl(Out) << "// Function Definitions"; nl(Out); in printModuleBody()
1934 nl(Out) << "// Function: " << I->getName() << " (" << getCppName(I) in printModuleBody()
1936 nl(Out) << "{"; in printModuleBody()
1937 nl(Out,1); in printModuleBody()
1939 nl(Out,-1) << "}"; in printModuleBody()
1940 nl(Out); in printModuleBody()
1981 nl(Out) << "Module* " << fname << "() {"; in printModule()
1982 nl(Out,1) << "// Module Construction"; in printModule()
1983 nl(Out) << "Module* mod = new Module(\""; in printModule()
1987 nl(Out) << "mod->setDataLayout(\"" << TheModule->getDataLayoutStr() in printModule()
1991 nl(Out) << "mod->setTargetTriple(\"" << TheModule->getTargetTriple() in printModule()
1996 nl(Out) << "mod->setModuleInlineAsm(\""; in printModule()
2000 nl(Out); in printModule()
2003 nl(Out) << "return mod;"; in printModule()
2004 nl(Out,-1) << "}"; in printModule()
2005 nl(Out); in printModule()