Searched defs:bitcode (Results 1 - 9 of 9) sorted by relevance

/frameworks/compile/libbcc/bcinfo/
H A DBitcodeWrapper.cpp31 BitcodeWrapper::BitcodeWrapper(const char *bitcode, size_t bitcodeSize) argument
32 : mFileType(BC_NOT_BC), mBitcode(bitcode),
H A DBitcodeTranslator.cpp61 * compatible with LLVM's default bitcode reader).
68 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize, argument
70 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(NULL),
79 // the bitcode would be improper.
89 ALOGE("Invalid/empty bitcode");
115 // Do the actual transcoding by invoking a 2.7-era bitcode reader that can
116 // then write the bitcode back out in a more modern (acceptable) version.
131 ALOGE("No compatible bitcode reader for API version %d", mVersion);
136 ALOGE("Could not parse bitcode file");
152 ALOGE("Couldn't produce bitcode wrappe
[all...]
H A DMetadataExtractor.cpp62 MetadataExtractor::MetadataExtractor(const char *bitcode, size_t bitcodeSize) argument
63 : mModule(NULL), mBitcode(bitcode), mBitcodeSize(bitcodeSize),
70 BitcodeWrapper wrapper(bitcode, bitcodeSize);
331 // Handle legacy case for pre-ICS bitcode that doesn't contain a metadata
404 ALOGE("Invalid/empty bitcode/module");
420 ALOGE("Could not parse bitcode file");
/frameworks/compile/mclinker/lib/MC/
H A DMCLDInfo.cpp56 Input& MCLDInfo::bitcode() function in class:MCLDInfo
58 assert((0 != m_pBitcode) && "default bitcode is not set");
62 const Input& MCLDInfo::bitcode() const function in class:MCLDInfo
64 assert((0 != m_pBitcode) && "default bitcode is not set");
/frameworks/support/renderscript/v8/rs_support/
H A DrsScriptC.cpp151 const uint8_t *bitcode,
154 //ALOGE("runCompiler %p %p %p %p %p %i", rsc, this, resName, cacheDir, bitcode, bitcodeLen);
156 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) {
148 runCompiler(Context *rsc, const char *resName, const char *cacheDir, const uint8_t *bitcode, size_t bitcodeLen) argument
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp50 // information about a supplied bitcode input file.
219 static size_t readBitcode(const char **bitcode) { argument
244 *bitcode = (const char*) calloc(1, bitcodeSize + 1);
245 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in);
255 static void releaseBitcode(const char **bitcode) { argument
256 if (bitcode && *bitcode) {
257 free((void*) *bitcode);
258 *bitcode = NULL;
270 const char *bitcode local
[all...]
/frameworks/rs/
H A DrsScriptC.cpp216 const uint8_t *bitcode,
219 //ALOGE("runCompiler %p %p %p %p %p %i", rsc, this, resName, cacheDir, bitcode, bitcodeLen);
222 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen);
234 // about the bitcode.
241 BT = new bcinfo::BitcodeTranslator((const char *)bitcode, bitcodeLen,
244 ALOGE("Failed to translate bitcode from version: %u", sdkVersion);
249 bitcode = (const uint8_t *) BT->getTranslatedBitcode();
258 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) {
213 runCompiler(Context *rsc, const char *resName, const char *cacheDir, const uint8_t *bitcode, size_t bitcodeLen) argument
/frameworks/rs/driver/
H A DrsdBcc.cpp54 uint8_t const *bitcode,
57 //ALOGE("rsdScriptCreate %p %p %p %p %i %i %p", rsc, resName, cacheDir, bitcode, bitcodeSize, flags, lookupFunc);
93 (const char *)bitcode, bitcodeSize);
50 rsdScriptInit(const Context *rsc, ScriptC *script, char const *resName, char const *cacheDir, uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) argument
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdBcc.cpp66 uint8_t const *bitcode,
69 //ALOGE("rsdScriptCreate %p %p %p %p %i %i %p", rsc, resName, cacheDir, bitcode, bitcodeSize, flags, lookupFunc);
62 rsdScriptInit(const Context *rsc, ScriptC *script, char const *resName, char const *cacheDir, uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) argument

Completed in 755 milliseconds