Lines Matching refs:Str
113 static void WriteStringRecord(unsigned Code, StringRef Str, in WriteStringRecord() argument
118 for (unsigned i = 0, e = Str.size(); i != e; ++i) { in WriteStringRecord()
119 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i])) in WriteStringRecord()
121 Vals.push_back(Str[i]); in WriteStringRecord()
193 const std::string &Str = ST->getName(); in WriteTypeSymbolTable() local
195 for (unsigned i = 0, e = Str.size(); i != e; ++i) { in WriteTypeSymbolTable()
196 NameVals.push_back((unsigned char)Str[i]); in WriteTypeSymbolTable()
197 if (Str[i] & 128) in WriteTypeSymbolTable()
217 const std::string &Str = TI->first; in WriteTypeSymbolTable()
219 for (unsigned i = 0, e = Str.size(); i != e; ++i) { in WriteTypeSymbolTable()
220 NameVals.push_back((unsigned char)Str[i]); in WriteTypeSymbolTable()
221 if (Str[i] & 128) in WriteTypeSymbolTable()
659 StringRef Str = NMD->getName(); in WriteModuleMetadata() local
660 for (unsigned i = 0, e = Str.size(); i != e; ++i) in WriteModuleMetadata()
661 Record.push_back(Str[i]); in WriteModuleMetadata()