Home
last modified time | relevance | path

Searched refs:ObjStream (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/
H A DHIPUtility.cpp122 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()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DCompileUtils.cpp46 raw_svector_ostream ObjStream(ObjBufferSV); in operator ()() local
50 if (TM.addPassesToEmitMC(PM, Ctx, ObjStream)) in operator ()()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp163 raw_svector_ostream ObjStream(ObjBufferSV); in emitObject() local
167 if (TM->addPassesToEmitMC(PM, Ctx, ObjStream, !getVerifyModules())) in emitObject()