Searched refs:bitcode (Results 1 - 19 of 19) 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/libbcc/include/bcinfo/
H A DBitcodeTranslator.h34 * Translates \p bitcode of a particular \p version to the latest version.
36 * \param bitcode - input bitcode string.
37 * \param bitcodeSize - length of \p bitcode string (in bytes).
38 * \param version - corresponding target SDK version of \p bitcode.
40 BitcodeTranslator(const char *bitcode, size_t bitcodeSize,
46 * Translate the supplied bitcode to the latest supported version.
48 * \return true if the bitcode was translated successfully and false if an
54 * \return translated bitcode.
61 * \return size of the translated bitcode (i
[all...]
H A DBitcodeWrapper.h62 * Reads wrapper information from \p bitcode.
64 * \param bitcode - input bitcode string.
65 * \param bitcodeSize - length of \p bitcode string (in bytes).
67 BitcodeWrapper(const char *bitcode, size_t bitcodeSize);
72 * Attempt to unwrap the target bitcode. This function is \deprecated.
79 * \return type of bitcode file.
86 * \return header version of bitcode wrapper.
93 * \return target API version for this bitcode.
100 * \return compiler version that generated this bitcode
[all...]
H A DMetadataExtractor.h72 * Reads metadata from \p bitcode.
74 * \param bitcode - input bitcode string.
75 * \param bitcodeSize - length of \p bitcode string (in bytes).
77 MetadataExtractor(const char *bitcode, size_t bitcodeSize);
89 * Extract the actual metadata from the supplied bitcode.
181 * \return compiler version that generated this bitcode.
188 * \return compiler optimization level for this bitcode.
/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/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/compile/mclinker/include/mcld/MC/
H A DMCLDInfo.h37 * bitcode() - the bitcode being linked
66 Input& bitcode();
67 const Input& bitcode() const;
/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
H A DrsScriptC.h58 const uint8_t *bitcode, size_t bitcodeLen);
H A Drs_hal.h95 uint8_t const *bitcode,
/frameworks/support/renderscript/v8/rs_support/
H A DrsScriptC.h54 const uint8_t *bitcode, size_t bitcodeLen);
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
H A Drs_hal.h95 uint8_t const *bitcode,
/frameworks/rs/driver/
H A DrsdBcc.h31 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
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.h26 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
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 301 milliseconds