Lines Matching refs:getCppName

143     std::string getCppName(Type* val);
146 std::string getCppName(const Value* val);
374 std::string CppWriter::getCppName(Type* Ty) { in getCppName() function in CppWriter
429 printEscapedString(getCppName(Ty)); in printCppName()
432 std::string CppWriter::getCppName(const Value* val) { in getCppName() function in CppWriter
474 printEscapedString(getCppName(val)); in printCppName()
563 std::string typeName(getCppName(Ty)); in printType()
576 std::string argName(getCppName(argTy)); in printType()
582 std::string retTypeName(getCppName(FT->getReturnType())); in printType()
619 std::string fieldName(getCppName(fieldTy)); in printType()
648 std::string elemName(getCppName(ET)); in printType()
660 std::string elemName(getCppName(ET)); in printType()
672 std::string elemName(getCppName(ET)); in printType()
733 std::string constName(getCppName(CV)); in printConstant()
734 std::string typeName(getCppName(CV->getType())); in printConstant()
759 << getCppName(CA->getOperand(i)) << ");"; in printConstant()
771 << getCppName(CS->getOperand(i)) << ");"; in printConstant()
783 << getCppName(CVec->getOperand(i)) << ");"; in printConstant()
815 Out << constName << "_elems.push_back(" << getCppName(Elt) << ");"; in printConstant()
834 << getCppName(CE->getOperand(i)) << ");"; in printConstant()
839 << getCppName(CE->getOperand(0)) << ", " in printConstant()
859 Out << ", " << getCppName(CE->getOperand(0)) << ", " in printConstant()
860 << getCppName(CE->getType()) << ");"; in printConstant()
932 Out << getCppName(CE->getOperand(0)); in printConstant()
934 Out << ", " << getCppName(CE->getOperand(i)); in printConstant()
996 nl(Out) << "GlobalVariable* " << getCppName(GV); in printVariableHead()
1000 Out << ", " << getCppName(GV->getType()->getElementType()) << ",true)"; in printVariableHead()
1001 nl(Out) << "if (!" << getCppName(GV) << ") {"; in printVariableHead()
1002 in(); nl(Out) << getCppName(GV); in printVariableHead()
1064 Out << getCppName(GV->getInitializer()) << ");"; in printVariableBody()
1071 return getCppName(V); in getOpName()
1086 << getCppName(V->getType()) << ");"; in getOpName()
1116 std::string iName(getCppName(I)); in printInstruction()
1310 << getCppName(allocaI->getAllocatedType()) << ", "; in printInstruction()
1360 << getCppName(gep->getSourceElementType()) << ", " << opNames[0] << ", {"; in printInstruction()
1379 << getCppName(phi->getType()) << ", " in printInstruction()
1422 << getCppName(cst->getType()) << ", \""; in printInstruction()
1430 Out << "InlineAsm* " << getCppName(ila) << " = InlineAsm::get(" in printInstruction()
1431 << getCppName(ila->getFunctionType()) << ", \"" in printInstruction()
1470 Out << "SelectInst* " << getCppName(sel) << " = SelectInst::Create("; in printInstruction()
1484 Out << "VAArgInst* " << getCppName(va) << " = new VAArgInst(" in printInstruction()
1485 << opNames[0] << ", " << getCppName(va->getType()) << ", \""; in printInstruction()
1492 Out << "ExtractElementInst* " << getCppName(eei) in printInstruction()
1501 Out << "InsertElementInst* " << getCppName(iei) in printInstruction()
1510 Out << "ShuffleVectorInst* " << getCppName(svi) in printInstruction()
1526 Out << "ExtractValueInst* " << getCppName(evi) in printInstruction()
1543 Out << "InsertValueInst* " << getCppName(ivi) in printInstruction()
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()
1780 printAttributes(F->getAttributes(), getCppName(F)); in printFunctionHead()
1782 Out << "->setAttributes(" << getCppName(F) << "_PAL);"; in printFunctionHead()
1798 Out << "Function::arg_iterator args = " << getCppName(F) in printFunctionBody()
1803 Out << "Value* " << getCppName(&AI) << " = args++;"; in printFunctionBody()
1806 Out << getCppName(&AI) << "->setName(\""; in printFunctionBody()
1817 std::string bbname(getCppName(&BI)); in printFunctionBody()
1822 Out << "\"," << getCppName(BI.getParent()) << ",0);"; in printFunctionBody()
1828 std::string bbname(getCppName(&BI)); in printFunctionBody()
1847 << getCppName(I->first) << "); delete " << I->second << ";"; in printFunctionBody()
1865 << getCppName(F); in printInline()
1877 Out << "return " << getCppName(&F->front()) << ";"; in printInline()
1916 nl(Out) << "// Function: " << I.getName() << " (" << getCppName(&I) in printModuleBody()
2012 Out << "return " << getCppName(F) << ";\n"; in printFunction()
2043 Out << "return " << getCppName(GV) << ";\n"; in printVariable()
2056 Out << "return " << getCppName(Ty) << ";\n"; in printType()