Home | History | Annotate | Download | only in CppBackend

Lines Matching defs:fname

115     void printProgram(const std::string& fname, const std::string& modName );
116 void printModule(const std::string& fname, const std::string& modName );
117 void printContents(const std::string& fname, const std::string& modName );
118 void printFunction(const std::string& fname, const std::string& funcName );
120 void printInline(const std::string& fname, const std::string& funcName );
121 void printVariable(const std::string& fname, const std::string& varName );
122 void printType(const std::string& fname, const std::string& typeName );
1862 void CppWriter::printInline(const std::string& fname,
1873 nl(Out) << "BasicBlock* " << fname << "(Module* mod, Function *"
1942 void CppWriter::printProgram(const std::string& fname,
1964 Out << "Module* " << fname << "();\n\n";
1966 Out << " Module* Mod = " << fname << "();\n";
1973 printModule(fname,mName);
1976 void CppWriter::printModule(const std::string& fname,
1978 nl(Out) << "Module* " << fname << "() {";
2004 void CppWriter::printContents(const std::string& fname,
2006 Out << "\nModule* " << fname << "(Module *mod) {\n";
2015 void CppWriter::printFunction(const std::string& fname,
2022 Out << "\nFunction* " << fname << "(Module *mod) {\n";
2045 void CppWriter::printVariable(const std::string& fname,
2053 Out << "\nGlobalVariable* " << fname << "(Module *mod) {\n";
2061 void CppWriter::printType(const std::string &fname,
2068 Out << "\nType* " << fname << "(Module *mod) {\n";
2081 std::string fname = FuncName.getValue();
2100 if (fname.empty())
2101 fname = "makeLLVMModule";
2102 printProgram(fname,tgtname);
2105 if (fname.empty())
2106 fname = "makeLLVMModule";
2107 printModule(fname,tgtname);
2110 if (fname.empty())
2111 fname = "makeLLVMModuleContents";
2112 printContents(fname,tgtname);
2115 if (fname.empty())
2116 fname = "makeLLVMFunction";
2117 printFunction(fname,tgtname);
2123 if (fname.empty())
2124 fname = "makeLLVMInline";
2125 printInline(fname,tgtname);
2128 if (fname.empty())
2129 fname = "makeLLVMVariable";
2130 printVariable(fname,tgtname);
2133 if (fname.empty())
2134 fname = "makeLLVMType";
2135 printType(fname,tgtname);