search for: tmpstream

Displaying 3 results from an estimated 3 matches for "tmpstream".

Did you mean: tcp_stream
2015 Jun 02
2
[LLVMdev] struct type parament
...> See in lib/IR/Type.cpp, StructType::setName(StringRef Name): > > ... > // While we have a name collision, try a random rename. > if (Entry->getValue()) { > SmallString<64> TempStr(Name); > TempStr.push_back('.'); > raw_svector_ostream TmpStream(TempStr); > unsigned NameSize = Name.size(); > > do { > TempStr.resize(NameSize + 1); > TmpStream.resync(); > TmpStream << getContext().pImpl->NamedStructTypesUniqueID++; > > Entry = &getContext().pImpl-> &gt...
2015 Jun 02
2
[LLVMdev] struct type parament
Hi All, I generated the following code with "clang -flto" command. void test(struct StruTyName *a) { ... } Then the type of test function is "void (%struct.StruTyName.100*)" by calling function::getFunctionType API. What's the meaning of number 100? Best, Haopeng
2015 Jun 02
2
[LLVMdev] struct type parament
...Ref Name): >>> >>> ... >>> // While we have a name collision, try a random rename. >>> if (Entry->getValue()) { >>> SmallString<64> TempStr(Name); >>> TempStr.push_back('.'); >>> raw_svector_ostream TmpStream(TempStr); >>> unsigned NameSize = Name.size(); >>> do { >>> TempStr.resize(NameSize + 1); >>> TmpStream.resync(); >>> TmpStream << getContext().pImpl->NamedStructTypesUniqueID++; >>> Entr...