Home
last modified time | relevance | path

Searched refs:bitcode (Results 1 – 24 of 24) 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.cpp70 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize, in BitcodeTranslator() argument
72 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(NULL), in BitcodeTranslator()
DMetadataExtractor.cpp64 MetadataExtractor::MetadataExtractor(const char *bitcode, size_t bitcodeSize) in MetadataExtractor() argument
65 : mModule(NULL), mBitcode(bitcode), mBitcodeSize(bitcodeSize), in MetadataExtractor()
72 BitcodeWrapper wrapper(bitcode, bitcodeSize); in MetadataExtractor()
/frameworks/compile/mclinker/include/mcld/
DLinkerConfig.h81 const BitcodeOption& bitcode() const { return m_Bitcode; } in bitcode() function
82 BitcodeOption& bitcode() { return m_Bitcode; } in bitcode() function
/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/rs/
DrsScriptC.cpp248 const uint8_t *bitcode, in runCompiler() argument
255 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen); in runCompiler()
274 BT = new bcinfo::BitcodeTranslator((const char *)bitcode, bitcodeLen, in runCompiler()
282 bitcode = (const uint8_t *) BT->getTranslatedBitcode(); in runCompiler()
298 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler()
DrsScriptC.h60 const uint8_t *bitcode, size_t bitcodeLen);
Drs_hal.h97 uint8_t const *bitcode,
/frameworks/rs/cpu_ref/
DrsCpuScript.cpp219 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, in init() argument
396 bcinfo::MetadataExtractor ME((const char *) bitcode, bitcodeSize); in init()
426 core_lib = selectRTCallback((const char *)bitcode, bitcodeSize); in init()
437 (const char *)bitcode, bitcodeSize); in init()
442 bool built = compileBitcode(cacheDir, resName, (const char *)bitcode, in init()
446 resName, (const char *)bitcode, in init()
452 (const char *)bitcode, in init()
Drsd_cpu.h120 uint8_t const *bitcode, size_t bitcodeSize,
DrsCpuCore.h102 uint8_t const *bitcode, size_t bitcodeSize,
DrsCpuScript.h50 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
DrsCpuCore.cpp496 uint8_t const *bitcode, size_t bitcodeSize, in createScript() argument
500 if (!i->init(resName, cacheDir, bitcode, bitcodeSize, flags)) { in createScript()
/frameworks/compile/mclinker/lib/CodeGen/
DMCLinker.cpp244 !m_Config.bitcode().hasDefined()) { in initializeInputTree()
374 if (m_Config.bitcode().hasDefined()) { in initializeInputTree()
375 actions.push_back(new BitcodeAction(m_Config.bitcode().getPosition(), in initializeInputTree()
376 m_Config.bitcode().getPath())); in initializeInputTree()
/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/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/tools/bcc/
DMain.cpp202 const char *bitcode = input_memory->getBufferStart(); in main() local
210 OptOutputFilename.c_str(), bitcode, bitcodeSize, in main()
/frameworks/rs/driver/
DrsdBcc.cpp42 uint8_t const *bitcode, in rsdScriptInit() argument
47 bitcode, bitcodeSize, flags); in rsdScriptInit()
DrsdBcc.h25 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
/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">,