• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/llvmCore-3425.0.34/lib/Target/CppBackend/

Lines Matching refs:nl

126     formatted_raw_ostream& nl(formatted_raw_ostream &Out, int delta = 0);
165 formatted_raw_ostream &CppWriter::nl(formatted_raw_ostream &Out, int delta) {
470 nl(Out);
472 Out << '{'; in(); nl(Out);
473 Out << "SmallVector<AttributeWithIndex, 4> Attrs;"; nl(Out);
474 Out << "AttributeWithIndex PAWI;"; nl(Out);
516 nl(Out);
518 nl(Out);
521 nl(Out);
522 out(); nl(Out);
523 Out << '}'; nl(Out);
544 nl(Out);
553 nl(Out);
558 in(); nl(Out) << "/*Result=*/" << retTypeName;
560 nl(Out) << "/*Params=*/" << typeName << "_args,";
561 nl(Out) << "/*isVarArg=*/" << (FT->isVarArg() ? "true" : "false") << ");";
563 nl(Out);
572 nl(Out);
574 nl(Out);
579 nl(Out);
581 nl(Out);
587 nl(Out);
596 nl(Out);
604 nl(Out);
610 nl(Out);
613 nl(Out);
626 nl(Out);
639 nl(Out);
652 nl(Out);
664 nl(Out);
731 nl(Out);
737 nl(Out);
743 nl(Out);
749 nl(Out);
755 nl(Out);
761 nl(Out);
788 nl(Out);
793 nl(Out);
806 nl(Out);
812 nl(Out);
921 nl(Out);
950 nl(Out) << "// Type Definitions";
951 nl(Out);
957 nl(Out)<< "/ Function Declarations"; nl(Out);
960 nl(Out) << "// Global Variable Declarations"; nl(Out);
963 nl(Out) << "// Global Variable Definitions"; nl(Out);
966 nl(Out) << "// Constant Definitions"; nl(Out);
973 nl(Out) << "GlobalVariable* " << getCppName(GV);
978 nl(Out) << "if (!" << getCppName(GV) << ") {";
979 in(); nl(Out) << getCppName(GV);
982 nl(Out) << "/*Type=*/";
985 nl(Out) << "/*isConstant=*/" << (GV->isConstant()?"true":"false");
987 nl(Out) << "/*Linkage=*/";
990 nl(Out) << "/*Initializer=*/0, ";
994 nl(Out) << "/*Name=*/\"";
997 nl(Out);
1004 nl(Out);
1009 nl(Out);
1016 nl(Out);
1023 nl(Out);
1026 out(); Out << "}"; nl(Out);
1035 nl(Out);
1057 nl(Out);
1128 nl(Out);
1136 nl(Out);
1144 nl(Out);
1147 nl(Out);
1159 nl(Out);
1163 nl(Out);
1173 nl(Out) << iName << "->setCallingConv(";
1178 nl(Out);
1288 nl(Out) << iName << "->setAlignment("
1300 nl(Out) << iName << "->setAlignment("
1305 nl(Out) << iName << "->setAtomic("
1318 nl(Out) << iName << "->setAlignment("
1323 nl(Out) << iName << "->setAtomic("
1337 nl(Out);
1341 nl(Out);
1359 nl(Out);
1364 nl(Out);
1411 nl(Out);
1415 nl(Out);
1418 nl(Out);
1432 nl(Out) << iName << "->setCallingConv(";
1435 nl(Out) << iName << "->setTailCall("
1438 nl(Out);
1441 nl(Out);
1496 nl(Out);
1500 nl(Out);
1513 nl(Out);
1517 nl(Out);
1546 nl(Out) << iName << "->setName(\"";
1576 nl(Out) << iName << "->setName(\"";
1583 nl(Out);
1589 nl(Out) << "// Type Definitions"; nl(Out);
1647 nl(Out) << "// Function Declarations"; nl(Out);
1657 nl(Out) << "// Global Variable Declarations"; nl(Out);
1665 nl(Out) << "// Constant Definitions"; nl(Out);
1675 nl(Out) << "// Global Variable Definitions"; nl(Out);
1685 nl(Out) << "Function* " << getCppName(F);
1689 nl(Out) << "if (!" << getCppName(F) << ") {";
1690 nl(Out) << getCppName(F);
1693 nl(Out,1) << "/*Type=*/" << getCppName(F->getFunctionType()) << ",";
1694 nl(Out) << "/*Linkage=*/";
1697 nl(Out) << "/*Name=*/\"";
1700 nl(Out,-1);
1705 nl(Out);
1709 nl(Out);
1714 nl(Out);
1721 nl(Out);
1726 nl(Out);
1729 nl(Out);
1733 nl(Out);
1750 nl(Out);
1755 nl(Out);
1760 nl(Out);
1766 nl(Out);
1775 nl(Out);
1782 nl(Out) << "// Block " << BI->getName() << " (" << bbname << ")";
1783 nl(Out);
1795 nl(Out) << "// Resolve Forward References";
1796 nl(Out);
1803 nl(Out);
1819 nl(Out) << "BasicBlock* " << fname << "(Module* mod, Function *"
1827 nl(Out);
1833 nl(Out) << "}";
1834 nl(Out);
1839 nl(Out) << "// Type Definitions"; nl(Out);
1844 nl(Out) << "// Function Declarations"; nl(Out);
1851 nl(Out) << "// Global Variable Declarations\n"; nl(Out);
1860 nl(Out) << "// Constant Definitions"; nl(Out);
1866 nl(Out) << "// Global Variable Definitions"; nl(Out);
1873 nl(Out) << "// Function Definitions"; nl(Out);
1877 nl(Out) << "// Function: " << I->getName() << " (" << getCppName(I)
1879 nl(Out) << "{";
1880 nl(Out,1);
1882 nl(Out,-1) << "}";
1883 nl(Out);
1923 nl(Out) << "Module* " << fname << "() {";
1924 nl(Out,1) << "// Module Construction";
1925 nl(Out) << "Module* mod = new Module(\"";
1929 nl(Out) << "mod->setDataLayout(\"" << TheModule->getDataLayout() << "\");";
1932 nl(Out) << "mod->setTargetTriple(\"" << TheModule->getTargetTriple()
1937 nl(Out) << "mod->setModuleInlineAsm(\"";
1941 nl(Out);
1948 nl(Out);
1952 nl(Out) << "return mod;";
1953 nl(Out,-1) << "}";
1954 nl(Out);