Lines Matching refs:ObjStream
122 llvm::raw_string_ostream ObjStream(ObjBuffer); in constructGenerateObjFileFromHIPFatBinary() local
131 ObjStream << "# HIP Object Generator\n"; in constructGenerateObjFileFromHIPFatBinary()
132 ObjStream << "# *** Automatically generated by Clang ***\n"; in constructGenerateObjFileFromHIPFatBinary()
134 ObjStream << " .section .hip_fatbin, \"dw\"\n"; in constructGenerateObjFileFromHIPFatBinary()
136 ObjStream << " .protected __hip_fatbin\n"; in constructGenerateObjFileFromHIPFatBinary()
137 ObjStream << " .type __hip_fatbin,@object\n"; in constructGenerateObjFileFromHIPFatBinary()
138 ObjStream << " .section .hip_fatbin,\"a\",@progbits\n"; in constructGenerateObjFileFromHIPFatBinary()
140 ObjStream << " .globl __hip_fatbin\n"; in constructGenerateObjFileFromHIPFatBinary()
141 ObjStream << " .p2align " << llvm::Log2(llvm::Align(HIPCodeObjectAlign)) in constructGenerateObjFileFromHIPFatBinary()
143 ObjStream << "__hip_fatbin:\n"; in constructGenerateObjFileFromHIPFatBinary()
144 ObjStream << " .incbin "; in constructGenerateObjFileFromHIPFatBinary()
145 llvm::sys::printArg(ObjStream, BundleFile, /*Quote=*/true); in constructGenerateObjFileFromHIPFatBinary()
146 ObjStream << "\n"; in constructGenerateObjFileFromHIPFatBinary()
147 ObjStream.flush(); in constructGenerateObjFileFromHIPFatBinary()