Lines Matching refs:Str
120 static void WriteStringRecord(unsigned Code, StringRef Str, in WriteStringRecord() argument
125 for (unsigned i = 0, e = Str.size(); i != e; ++i) { in WriteStringRecord()
126 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i])) in WriteStringRecord()
128 Vals.push_back(Str[i]); in WriteStringRecord()
190 const std::string &Str = ST->getName(); in WriteTypeSymbolTable() local
192 for (unsigned i = 0, e = Str.size(); i != e; ++i) { in WriteTypeSymbolTable()
193 NameVals.push_back((unsigned char)Str[i]); in WriteTypeSymbolTable()
194 if (Str[i] & 128) in WriteTypeSymbolTable()
677 StringRef Str = NMD.getName(); in WriteModuleMetadata() local
678 Record.append(Str.bytes_begin(), Str.bytes_end()); in WriteModuleMetadata()
897 const ConstantDataSequential *Str = cast<ConstantDataSequential>(C); in WriteConstants() local
899 unsigned NumElts = Str->getNumElements(); in WriteConstants()
901 if (Str->isCString()) { in WriteConstants()
911 unsigned char V = Str->getElementAsInteger(i); in WriteConstants()