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()
561 std::string typeName(getCppName(Ty)); in printType()
574 std::string argName(getCppName(argTy)); in printType()
580 std::string retTypeName(getCppName(FT->getReturnType())); in printType()
617 std::string fieldName(getCppName(fieldTy)); in printType()
646 std::string elemName(getCppName(ET)); in printType()
659 std::string elemName(getCppName(ET)); in printType()
672 std::string elemName(getCppName(ET)); in printType()
734 std::string constName(getCppName(CV)); in printConstant()
735 std::string typeName(getCppName(CV->getType())); in printConstant()
760 << getCppName(CA->getOperand(i)) << ");"; in printConstant()
772 << getCppName(CS->getOperand(i)) << ");"; in printConstant()
784 << getCppName(CVec->getOperand(i)) << ");"; in printConstant()
816 Out << constName << "_elems.push_back(" << getCppName(Elt) << ");"; in printConstant()
835 << getCppName(CE->getOperand(i)) << ");"; in printConstant()
840 << getCppName(CE->getOperand(0)) << ", " in printConstant()
860 Out << ", " << getCppName(CE->getOperand(0)) << ", " in printConstant()
861 << getCppName(CE->getType()) << ");"; in printConstant()
933 Out << getCppName(CE->getOperand(0)); in printConstant()
935 Out << ", " << getCppName(CE->getOperand(i)); in printConstant()
997 nl(Out) << "GlobalVariable* " << getCppName(GV); in printVariableHead()
1001 Out << ", " << getCppName(GV->getType()->getElementType()) << ",true)"; in printVariableHead()
1002 nl(Out) << "if (!" << getCppName(GV) << ") {"; in printVariableHead()
1003 in(); nl(Out) << getCppName(GV); in printVariableHead()
1065 Out << getCppName(GV->getInitializer()) << ");"; in printVariableBody()
1072 return getCppName(V); in getOpName()
1087 << getCppName(V->getType()) << ");"; in getOpName()
1117 std::string iName(getCppName(I)); in printInstruction()
1311 << getCppName(allocaI->getAllocatedType()) << ", "; in printInstruction()
1385 << getCppName(phi->getType()) << ", " in printInstruction()
1428 << getCppName(cst->getType()) << ", \""; in printInstruction()
1436 Out << "InlineAsm* " << getCppName(ila) << " = InlineAsm::get(" in printInstruction()
1437 << getCppName(ila->getFunctionType()) << ", \"" in printInstruction()
1476 Out << "SelectInst* " << getCppName(sel) << " = SelectInst::Create("; in printInstruction()
1490 Out << "VAArgInst* " << getCppName(va) << " = new VAArgInst(" in printInstruction()
1491 << opNames[0] << ", " << getCppName(va->getType()) << ", \""; in printInstruction()
1498 Out << "ExtractElementInst* " << getCppName(eei) in printInstruction()
1507 Out << "InsertElementInst* " << getCppName(iei) in printInstruction()
1516 Out << "ShuffleVectorInst* " << getCppName(svi) in printInstruction()
1532 Out << "ExtractValueInst* " << getCppName(evi) in printInstruction()
1549 Out << "InsertValueInst* " << getCppName(ivi) in printInstruction()
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()
1787 printAttributes(F->getAttributes(), getCppName(F)); in printFunctionHead()
1789 Out << "->setAttributes(" << getCppName(F) << "_PAL);"; in printFunctionHead()
1805 Out << "Function::arg_iterator args = " << getCppName(F) in printFunctionBody()
1811 Out << "Value* " << getCppName(AI) << " = args++;"; in printFunctionBody()
1814 Out << getCppName(AI) << "->setName(\""; in printFunctionBody()
1826 std::string bbname(getCppName(BI)); in printFunctionBody()
1831 Out << "\"," << getCppName(BI->getParent()) << ",0);"; in printFunctionBody()
1838 std::string bbname(getCppName(BI)); in printFunctionBody()
1859 << getCppName(I->first) << "); delete " << I->second << ";"; in printFunctionBody()
1877 << getCppName(F); in printInline()
1889 Out << "return " << getCppName(F->begin()) << ";"; in printInline()
1934 nl(Out) << "// Function: " << I->getName() << " (" << getCppName(I) in printModuleBody()
2030 Out << "return " << getCppName(F) << ";\n"; in printFunction()
2061 Out << "return " << getCppName(GV) << ";\n"; in printVariable()
2074 Out << "return " << getCppName(Ty) << ";\n"; in printType()