Lines Matching refs:m_stream
33 MangleVisitor(SPIRversion ver, std::stringstream& s) : TypeVisitor(ver), m_stream(s), seqId(0) { in MangleVisitor()
41 m_stream << '0'; in mangleSequenceID()
50 m_stream << bstr; in mangleSequenceID()
52 m_stream << '_'; in mangleSequenceID()
59 if ((fpos = m_stream.str().find(typeStr)) != std::string::npos) { in mangleSubstitution()
76 m_stream << 'S'; in mangleSubstitution()
87 m_stream << mangledPrimitiveString(t->getPrimitive()); in visit()
92 size_t fpos = m_stream.str().size(); in visit()
107 m_stream << "P" << qualStr; in visit()
112 substitutions[m_stream.str().substr(fpos + 1)] = seqId++; in visit()
114 substitutions[m_stream.str().substr(fpos)] = seqId++; in visit()
120 size_t index = m_stream.str().size(); in visit()
128 m_stream << typeStr.str(); in visit()
130 substitutions[m_stream.str().substr(index)] = seqId++; in visit()
136 m_stream << "U" << "7_Atomic"; in visit()
141 m_stream << "U" << "13block_pointerFv"; in visit()
143 m_stream << "v"; in visit()
151 m_stream << "E"; in visit()
157 m_stream << name.size() << name; in visit()
164 std::stringstream& m_stream; member in SPIR::MangleVisitor