Searched refs:ObjStream (Results 1 – 3 of 3) sorted by relevance
299 llvm::raw_string_ostream ObjStream(ObjBuffer); in constructGenerateObjFileFromHIPFatBinary() local336 ObjStream << "# HIP Object Generator\n"; in constructGenerateObjFileFromHIPFatBinary()337 ObjStream << "# *** Automatically generated by Clang ***\n"; in constructGenerateObjFileFromHIPFatBinary()341 ObjStream << " .section .hip_gpubin_handle,\"dw\"\n"; in constructGenerateObjFileFromHIPFatBinary()343 ObjStream << " .protected " << PrimaryGpuBinHandleSymbol << "\n"; in constructGenerateObjFileFromHIPFatBinary()344 ObjStream << " .type " << PrimaryGpuBinHandleSymbol << ",@object\n"; in constructGenerateObjFileFromHIPFatBinary()345 ObjStream << " .section .hip_gpubin_handle,\"aw\"\n"; in constructGenerateObjFileFromHIPFatBinary()347 ObjStream << " .globl " << PrimaryGpuBinHandleSymbol << "\n"; in constructGenerateObjFileFromHIPFatBinary()348 ObjStream << " .p2align 3\n"; // Align 8 in constructGenerateObjFileFromHIPFatBinary()349 ObjStream << PrimaryGpuBinHandleSymbol << ":\n"; in constructGenerateObjFileFromHIPFatBinary()[all …]
46 raw_svector_ostream ObjStream(ObjBufferSV); in operator ()() local50 if (TM.addPassesToEmitMC(PM, Ctx, ObjStream)) in operator ()()
163 raw_svector_ostream ObjStream(ObjBufferSV); in emitObject() local167 if (TM->addPassesToEmitMC(PM, Ctx, ObjStream, !getVerifyModules())) in emitObject()