Lines Matching refs:constName
733 std::string constName(getCppName(CV)); in printConstant() local
738 Out << "ConstantInt* " << constName in printConstant()
743 Out << "ConstantAggregateZero* " << constName in printConstant()
746 Out << "ConstantPointerNull* " << constName in printConstant()
749 Out << "ConstantFP* " << constName << " = "; in printConstant()
753 Out << "std::vector<Constant*> " << constName << "_elems;"; in printConstant()
758 Out << constName << "_elems.push_back(" in printConstant()
762 Out << "Constant* " << constName << " = ConstantArray::get(" in printConstant()
763 << typeName << ", " << constName << "_elems);"; in printConstant()
765 Out << "std::vector<Constant*> " << constName << "_fields;"; in printConstant()
770 Out << constName << "_fields.push_back(" in printConstant()
774 Out << "Constant* " << constName << " = ConstantStruct::get(" in printConstant()
775 << typeName << ", " << constName << "_fields);"; in printConstant()
777 Out << "std::vector<Constant*> " << constName << "_elems;"; in printConstant()
782 Out << constName << "_elems.push_back(" in printConstant()
786 Out << "Constant* " << constName << " = ConstantVector::get(" in printConstant()
787 << typeName << ", " << constName << "_elems);"; in printConstant()
789 Out << "UndefValue* " << constName << " = UndefValue::get(" in printConstant()
794 Out << "Constant *" << constName << in printConstant()
810 Out << "std::vector<Constant*> " << constName << "_elems;"; in printConstant()
815 Out << constName << "_elems.push_back(" << getCppName(Elt) << ");"; in printConstant()
818 Out << "Constant* " << constName; in printConstant()
824 Out << typeName << ", " << constName << "_elems);"; in printConstant()
828 Out << "std::vector<Constant*> " << constName << "_indices;"; in printConstant()
833 Out << constName << "_indices.push_back(" in printConstant()
837 Out << "Constant* " << constName in printConstant()
840 << constName << "_indices);"; in printConstant()
843 Out << "Constant* " << constName << " = ConstantExpr::getCast("; in printConstant()
866 Out << "Constant* " << constName << " = ConstantExpr::"; in printConstant()
938 Out << "Constant* " << constName << " = "; in printConstant()
942 Out << "Constant* " << constName << " = 0; "; in printConstant()