/frameworks/rs/driver/ |
D | README.txt | 6 bitcode wrapper has a field that indicates the version of the slang 7 compiler that produced that bitcode. A bitcode consumer is allowed to 9 However, only user bitcode has a wrapper -- libclcore.bc does not. 12 assumptions. This is important because when user bitcode is linked to 13 libclcore.bc (bcc::Script::LinkRuntime()) the linked bitcode is 14 treated as having the same SlangVersion as the user bitcode. This
|
D | rsdBcc.cpp | 41 uint8_t const *bitcode, in rsdScriptInit() argument 46 dc->mCpuRef->createScript(script, resName, cacheDir, bitcode, in rsdScriptInit()
|
/frameworks/compile/libbcc/bcinfo/tools/ |
D | main.cpp | 252 static size_t readBitcode(const char **bitcode) { in readBitcode() argument 277 *bitcode = (const char*) calloc(1, bitcodeSize + 1); in readBitcode() 278 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); in readBitcode() 288 static void releaseBitcode(const char **bitcode) { in releaseBitcode() argument 289 if (bitcode && *bitcode) { in releaseBitcode() 290 free((void*) *bitcode); in releaseBitcode() 291 *bitcode = nullptr; in releaseBitcode() 303 const char *bitcode = nullptr; in main() local 304 size_t bitcodeSize = readBitcode(&bitcode); in main() 308 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeSize); in main() [all …]
|
/frameworks/rs/ |
D | rsScriptC.cpp | 263 const char *suffix, const uint8_t *bitcode, in dumpBitcodeFile() argument 282 size_t nWritten = fwrite(bitcode, 1, bitcodeLen, fp); in dumpBitcodeFile() 297 const uint8_t *bitcode, in runCompiler() argument 303 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen); in runCompiler() 323 bcinfo::BitcodeTranslator BT((const char *)bitcode, bitcodeLen, in runCompiler() 329 bitcode = (const uint8_t *) BT.getTranslatedBitcode(); in runCompiler() 333 if (!dumpBitcodeFile(cacheDir, resName, "after", bitcode, bitcodeLen)) { in runCompiler() 355 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler()
|
D | rsScriptC.h | 59 const uint8_t *bitcode, size_t bitcodeLen);
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptC.java | 122 …te static synchronized long internalStringCreate(RenderScript rs, String resName, byte[] bitcode) { in internalStringCreate() argument 124 return rs.nScriptCCreate(resName, RenderScript.getCachePath(), bitcode, bitcode.length); in internalStringCreate()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptC.java | 125 …te static synchronized long internalStringCreate(RenderScript rs, String resName, byte[] bitcode) { in internalStringCreate() argument 128 return rs.nScriptCCreate(resName, cachePath, bitcode, bitcode.length); in internalStringCreate()
|
/frameworks/compile/libbcc/bcinfo/ |
D | BitcodeWrapper.cpp | 28 BitcodeWrapper::BitcodeWrapper(const char *bitcode, size_t bitcodeSize) in BitcodeWrapper() argument 29 : mFileType(BC_NOT_BC), mBitcode(bitcode), in BitcodeWrapper()
|
D | BitcodeTranslator.cpp | 78 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize, in BitcodeTranslator() argument 80 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(nullptr), in BitcodeTranslator()
|
D | MetadataExtractor.cpp | 180 MetadataExtractor::MetadataExtractor(const char *bitcode, size_t bitcodeSize) in MetadataExtractor() argument 181 : mModule(nullptr), mBitcode(bitcode), mBitcodeSize(bitcodeSize), in MetadataExtractor() 192 BitcodeWrapper wrapper(bitcode, bitcodeSize); in MetadataExtractor()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.cpp | 130 const char *bitcode, in compileBitcode() argument 133 rsAssert(bitcode && bitcodeSize); in compileBitcode() 140 size_t nwritten = fwrite(bitcode, 1, bitcodeSize, bcfile); in compileBitcode() 209 uint32_t constructBuildChecksum(uint8_t const *bitcode, size_t bitcodeSize, in constructBuildChecksum() argument 215 if (bitcode != nullptr && bitcodeSize > 0) { in constructBuildChecksum() 216 checksum = adler32(checksum, bitcode, bitcodeSize); in constructBuildChecksum() 301 uint8_t const *bitcode, size_t bitcodeSize, in init() argument 311 bcinfo::MetadataExtractor bitcodeMetadata((const char *) bitcode, bitcodeSize); in init() 318 const char* core_lib = findCoreLib(bitcodeMetadata, (const char*)bitcode, bitcodeSize); in init() 349 mBuildChecksum = constructBuildChecksum(bitcode, bitcodeSize, in init() [all …]
|
D | rsCpuScript.h | 43 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags, 119 const char* findCoreLib(const bcinfo::MetadataExtractor& bitCodeMetaData, const char* bitcode, 152 uint32_t constructBuildChecksum(uint8_t const *bitcode, size_t bitcodeSize,
|
/frameworks/rs/rsov/compiler/ |
D | rs2spirv.cpp | 101 std::vector<char> bitcode = android::spirit::readFile<char>(InputFile); in convertLLVMToSPIRV() local 103 new bcinfo::MetadataExtractor(bitcode.data(), bitcode.size())); in convertLLVMToSPIRV()
|
/frameworks/compile/libbcc/ |
D | README.rst | 9 libbcc is an LLVM bitcode execution engine that compiles the bitcode 20 her own runtime bitcode library (lib*.bc) that differentiates his or 25 * a *just-in-time bitcode compiler*, which translates the LLVM bitcode 37 * libbcc supports bitcode from various language frontends, such as 91 * **bccReadBC** - Set the source bitcode for compilation 95 * **bccLinkBC** - Set the library bitcode for linking
|
/frameworks/compile/libbcc/tests/libbcc/ |
D | tbaa.ll | 37 ; The following named metadata would not be present in a bitcode file, 38 ; but instead synthesized by bcc from the bitcode wrapper. However,
|
D | debug_info_static_const_fp.ll | 5 ; the test case as a separate bitcode file, rather than as the ASCII IR in this file. 12 ; 32-bit bitcode compiled from the following (-O0 -g):
|
D | tbaa-through-alloca.ll | 57 ; The following named metadata would not be present in a bitcode file, 58 ; but instead synthesized by bcc from the bitcode wrapper. However,
|
D | getelementptr.ll | 64 ; The following named metadata would not be present in a bitcode file, 65 ; but instead synthesized by bcc from the bitcode wrapper. However,
|
/frameworks/compile/libbcc/bcinfo/include/bcinfo/ |
D | BitcodeTranslator.h | 40 BitcodeTranslator(const char *bitcode, size_t bitcodeSize,
|
D | BitcodeWrapper.h | 67 BitcodeWrapper(const char *bitcode, size_t bitcodeSize);
|
D | MetadataExtractor.h | 145 MetadataExtractor(const char *bitcode, size_t bitcodeSize);
|
/frameworks/compile/slang/lit-tests/ |
D | README | 6 used to verify certain strings are present in the output bitcode files. 25 more than just emitted bitcode. For example, with some changes to the testcases
|
/frameworks/compile/slang/lit-tests/bitcode_wrapper/ |
D | bitcode_wrapper_test.ll | 1 ; This test assembles this file to bitcode with all supported target 2 ; API versions, then checks that the bitcode file was generated and
|
/frameworks/compile/libbcc/tools/bcc/ |
D | Main.cpp | 349 const char *bitcode = input_data->getBufferStart(); in main() local 355 bitcode, bitcodeSize, in main() 366 bitcode, bitcodeSize); in main()
|
/frameworks/rs/rsov/driver/ |
D | rsovScript.cpp | 96 const char *bitcode, size_t bitcodeSize, in compileBitcode() argument 98 rsAssert(bitcode && bitcodeSize); in compileBitcode() 107 writeBytes(bcFileName.c_str(), bitcode, bitcodeSize); in compileBitcode() 762 char const *cacheDir, uint8_t const *bitcode, in rsovScriptInit() argument 767 new bcinfo::MetadataExtractor((const char *)bitcode, bitcodeSize)); in rsovScriptInit() 775 compileBitcode(resName, cacheDir, (const char *)bitcode, bitcodeSize, modifiedBitcode); in rsovScriptInit() 806 script, resName, cacheDir, bitcode, bitcodeSize, flags)); in rsovScriptInit()
|