Home
last modified time | relevance | path

Searched refs:bitcode (Results 1 – 23 of 23) sorted by relevance

/frameworks/compile/libbcc/bcinfo/tools/
Dmain.cpp219 static size_t readBitcode(const char **bitcode) { in readBitcode() argument
244 *bitcode = (const char*) calloc(1, bitcodeSize + 1); in readBitcode()
245 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); in readBitcode()
255 static void releaseBitcode(const char **bitcode) { in releaseBitcode() argument
256 if (bitcode && *bitcode) { in releaseBitcode()
257 free((void*) *bitcode); in releaseBitcode()
258 *bitcode = NULL; in releaseBitcode()
270 const char *bitcode = NULL; in main() local
271 size_t bitcodeSize = readBitcode(&bitcode); in main()
275 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeSize); in main()
[all …]
/frameworks/compile/libbcc/bcinfo/
DBitcodeWrapper.cpp31 BitcodeWrapper::BitcodeWrapper(const char *bitcode, size_t bitcodeSize) in BitcodeWrapper() argument
32 : mFileType(BC_NOT_BC), mBitcode(bitcode), in BitcodeWrapper()
DBitcodeTranslator.cpp68 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize, in BitcodeTranslator() argument
70 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(NULL), in BitcodeTranslator()
DMetadataExtractor.cpp62 MetadataExtractor::MetadataExtractor(const char *bitcode, size_t bitcodeSize) in MetadataExtractor() argument
63 : mModule(NULL), mBitcode(bitcode), mBitcodeSize(bitcodeSize), in MetadataExtractor()
70 BitcodeWrapper wrapper(bitcode, bitcodeSize); in MetadataExtractor()
/frameworks/rs/
DrsScriptC.cpp216 const uint8_t *bitcode, in runCompiler() argument
222 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen); in runCompiler()
241 BT = new bcinfo::BitcodeTranslator((const char *)bitcode, bitcodeLen, in runCompiler()
249 bitcode = (const uint8_t *) BT->getTranslatedBitcode(); in runCompiler()
258 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler()
DrsScriptC.h58 const uint8_t *bitcode, size_t bitcodeLen);
Drs_hal.h96 uint8_t const *bitcode,
/frameworks/compile/mclinker/lib/MC/
DMCLDInfo.cpp56 Input& MCLDInfo::bitcode() in bitcode() function in MCLDInfo
62 const Input& MCLDInfo::bitcode() const in bitcode() function in MCLDInfo
/frameworks/compile/libbcc/
DREADME.rst9 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/mclinker/include/mcld/MC/
DMCLDInfo.h66 Input& bitcode();
67 const Input& bitcode() const;
/frameworks/compile/slang/lit-tests/
DREADME6 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/
DBitcodeTranslator.h40 BitcodeTranslator(const char *bitcode, size_t bitcodeSize,
DBitcodeWrapper.h67 BitcodeWrapper(const char *bitcode, size_t bitcodeSize);
DMetadataExtractor.h77 MetadataExtractor(const char *bitcode, size_t bitcodeSize);
/frameworks/support/renderscript/v8/rs_support/
DrsScriptC.cpp151 const uint8_t *bitcode, in runCompiler() argument
156 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler()
DrsScriptC.h54 const uint8_t *bitcode, size_t bitcodeLen);
Drs_hal.h95 uint8_t const *bitcode,
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdBcc.h26 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
DrsdBcc.cpp66 uint8_t const *bitcode, in rsdScriptInit() argument
/frameworks/rs/driver/
DrsdBcc.h31 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
DrsdBcc.cpp54 uint8_t const *bitcode, in rsdScriptInit() argument
93 (const char *)bitcode, bitcodeSize); in rsdScriptInit()
/frameworks/compile/slang/
DREADME.rst12 * 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.
DRSCCOptions.td82 def bitcode_storage : Separate<"-bitcode-storage">,