/frameworks/compile/libbcc/bcinfo/ |
H A D | BitcodeWrapper.cpp | 31 BitcodeWrapper::BitcodeWrapper(const char *bitcode, size_t bitcodeSize) argument 32 : mFileType(BC_NOT_BC), mBitcode(bitcode),
|
H A D | BitcodeTranslator.cpp | 63 * compatible with LLVM's default bitcode reader). 70 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize, argument 72 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(NULL), 81 // the bitcode would be improper. 91 ALOGE("Invalid/empty bitcode"); 117 // Do the actual transcoding by invoking a 2.7-era bitcode reader that can 118 // then write the bitcode back out in a more modern (acceptable) version. 133 ALOGE("No compatible bitcode reader for API version %d", mVersion); 138 ALOGE("Could not parse bitcode file"); 146 // Use the LLVM 3.2 bitcode write [all...] |
H A D | MetadataExtractor.cpp | 64 MetadataExtractor::MetadataExtractor(const char *bitcode, size_t bitcodeSize) argument 65 : mModule(NULL), mBitcode(bitcode), mBitcodeSize(bitcodeSize), 72 BitcodeWrapper wrapper(bitcode, bitcodeSize); 335 // Handle legacy case for pre-ICS bitcode that doesn't contain a metadata 408 ALOGE("Invalid/empty bitcode/module"); 424 ALOGE("Could not parse bitcode file");
|
/frameworks/compile/libbcc/include/bcinfo/ |
H A D | BitcodeTranslator.h | 34 * 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 D | BitcodeWrapper.h | 62 * 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 D | MetadataExtractor.h | 72 * 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 D | main.cpp | 50 // 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/include/mcld/ |
H A D | LinkerConfig.h | 30 * bitcode() - the bitcode being linked 81 const BitcodeOption& bitcode() const { return m_Bitcode; } function in class:mcld::LinkerConfig 82 BitcodeOption& bitcode() { return m_Bitcode; } function in class:mcld::LinkerConfig
|
/frameworks/rs/ |
H A D | rsScriptC.h | 60 const uint8_t *bitcode, size_t bitcodeLen);
|
H A D | rsScriptC.cpp | 248 const uint8_t *bitcode, 251 //ALOGE("runCompiler %p %p %p %p %p %i", rsc, this, resName, cacheDir, bitcode, bitcodeLen); 255 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen); 267 // about the bitcode. 274 BT = new bcinfo::BitcodeTranslator((const char *)bitcode, bitcodeLen, 277 ALOGE("Failed to translate bitcode from version: %u", sdkVersion); 282 bitcode = (const uint8_t *) BT->getTranslatedBitcode(); 298 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { 245 runCompiler(Context *rsc, const char *resName, const char *cacheDir, const uint8_t *bitcode, size_t bitcodeLen) argument
|
H A D | rs_hal.h | 97 uint8_t const *bitcode,
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuScript.cpp | 219 const char *bitcode, 222 rsAssert(cacheDir && resName && bitcode && bitcodeSize && core_lib); 233 size_t nwritten = fwrite(bitcode, 1, bitcodeSize, bcfile); 356 uint8_t const *bitcode, size_t bitcodeSize, 358 //ALOGE("rsdScriptCreate %p %p %p %p %i %i %p", rsc, resName, cacheDir, bitcode, bitcodeSize, flags, lookupFunc); 396 bcinfo::MetadataExtractor ME((const char *) bitcode, bitcodeSize); 398 ALOGE("Could not extract metadata from bitcode"); 415 ALOGE("Unknown precision for bitcode"); 426 core_lib = selectRTCallback((const char *)bitcode, bitcodeSize); 437 (const char *)bitcode, bitcodeSiz 355 init(char const *resName, char const *cacheDir, uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) argument [all...] |
H A D | rsd_cpu.h | 120 uint8_t const *bitcode, size_t bitcodeSize,
|
H A D | rsCpuCore.h | 102 uint8_t const *bitcode, size_t bitcodeSize,
|
H A D | rsCpuScript.h | 50 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
|
H A D | rsCpuCore.cpp | 496 uint8_t const *bitcode, size_t bitcodeSize, 500 if (!i->init(resName, cacheDir, bitcode, bitcodeSize, flags)) { 494 createScript(const ScriptC *s, char const *resName, char const *cacheDir, uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) argument
|
/frameworks/compile/mclinker/lib/CodeGen/ |
H A D | MCLinker.cpp | 244 !m_Config.bitcode().hasDefined()) { 261 1; // bitcode 373 // ----- bitcode ----- // 374 if (m_Config.bitcode().hasDefined()) { 375 actions.push_back(new BitcodeAction(m_Config.bitcode().getPosition(), 376 m_Config.bitcode().getPath()));
|
/frameworks/rs/driver/ |
H A D | rsdBcc.h | 25 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
|
H A D | rsdBcc.cpp | 42 uint8_t const *bitcode, 47 bitcode, bitcodeSize, flags); 38 rsdScriptInit(const Context *rsc, ScriptC *script, char const *resName, char const *cacheDir, uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) argument
|
/frameworks/compile/libbcc/tools/bcc/ |
H A D | Main.cpp | 57 llvm::cl::desc("<input bitcode file>")); 195 ALOGE("Failed to load bitcode from path %s! (%s)", 202 const char *bitcode = input_memory->getBufferStart(); local 210 OptOutputFilename.c_str(), bitcode, bitcodeSize,
|