/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 | 286 const char *suffix, const uint8_t *bitcode, in dumpBitcodeFile() argument 305 size_t nWritten = fwrite(bitcode, 1, bitcodeLen, fp); in dumpBitcodeFile() 321 const uint8_t *bitcode, in runCompiler() argument 328 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen); in runCompiler() 348 bcinfo::BitcodeTranslator BT((const char *)bitcode, bitcodeLen, in runCompiler() 354 bitcode = (const uint8_t *) BT.getTranslatedBitcode(); in runCompiler() 358 if (!dumpBitcodeFile(cacheDir, resName, "after", bitcode, bitcodeLen)) { in runCompiler() 381 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);
|
D | rs_hal.h | 154 uint8_t const *bitcode,
|
/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/cpu_ref/ |
D | rsCpuScript.cpp | 147 const char *bitcode, in compileBitcode() argument 150 rsAssert(bitcode && bitcodeSize); in compileBitcode() 157 size_t nwritten = fwrite(bitcode, 1, bitcodeSize, bcfile); in compileBitcode() 224 uint32_t constructBuildChecksum(uint8_t const *bitcode, size_t bitcodeSize, in constructBuildChecksum() argument 230 if (bitcode != nullptr && bitcodeSize > 0) { in constructBuildChecksum() 231 checksum = adler32(checksum, bitcode, bitcodeSize); in constructBuildChecksum() 316 uint8_t const *bitcode, size_t bitcodeSize, in init() argument 326 bcinfo::MetadataExtractor bitcodeMetadata((const char *) bitcode, bitcodeSize); in init() 333 const char* core_lib = findCoreLib(bitcodeMetadata, (const char*)bitcode, bitcodeSize); in init() 364 mBuildChecksum = constructBuildChecksum(bitcode, bitcodeSize, in init() [all …]
|
D | rsCpuScript.h | 41 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags, 117 const char* findCoreLib(const bcinfo::MetadataExtractor& bitCodeMetaData, const char* bitcode, 150 uint32_t constructBuildChecksum(uint8_t const *bitcode, size_t bitcodeSize,
|
D | rsd_cpu.h | 125 uint8_t const *bitcode, size_t bitcodeSize,
|
D | rsCpuCore.h | 173 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) override;
|
D | rsCpuCore.cpp | 943 uint8_t const *bitcode, size_t bitcodeSize, in createScript() argument 947 if (!i->init(resName, cacheDir, bitcode, bitcodeSize, flags in createScript()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/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 | 31 BitcodeWrapper::BitcodeWrapper(const char *bitcode, size_t bitcodeSize) in BitcodeWrapper() argument 32 : mFileType(BC_NOT_BC), mBitcode(bitcode), in BitcodeWrapper()
|
D | BitcodeTranslator.cpp | 71 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize, in BitcodeTranslator() argument 73 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(nullptr), in BitcodeTranslator()
|
D | MetadataExtractor.cpp | 175 MetadataExtractor::MetadataExtractor(const char *bitcode, size_t bitcodeSize) in MetadataExtractor() argument 176 : mModule(nullptr), mBitcode(bitcode), mBitcodeSize(bitcodeSize), in MetadataExtractor() 187 BitcodeWrapper wrapper(bitcode, bitcodeSize); in MetadataExtractor()
|
/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/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/libbcc/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 | 140 MetadataExtractor(const char *bitcode, size_t bitcodeSize);
|
/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 | 326 const char *bitcode = input_data->getBufferStart(); in main() local 332 bitcode, bitcodeSize, in main() 343 bitcode, bitcodeSize); in main()
|
/frameworks/rs/driver/ |
D | rsdBcc.cpp | 42 uint8_t const *bitcode, in rsdScriptInit() argument 47 dc->mCpuRef->createScript(script, resName, cacheDir, bitcode, in rsdScriptInit()
|
D | rsdBcc.h | 25 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
|
/frameworks/compile/slang/ |
D | README.rst | 12 * Bitcode file. Note that the bitcode here denotes the LLVM (Low-Level 13 Virtual Machine) bitcode representation, which will be consumed on 27 machine-dependent code generation for some input bitcode.
|
D | RSCCOptions.td | 85 def bitcode_storage : Separate<["-"], "bitcode-storage">,
|