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/compile/mclinker/include/mcld/
DLinkerConfig.h85 const BitcodeOption& bitcode() const { return m_Bitcode; } in bitcode() function
86 BitcodeOption& bitcode() { return m_Bitcode; } in bitcode() function
/frameworks/rs/
DrsScriptC.cpp231 const uint8_t *bitcode, in runCompiler() argument
238 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen); in runCompiler()
257 BT = new bcinfo::BitcodeTranslator((const char *)bitcode, bitcodeLen, in runCompiler()
265 bitcode = (const uint8_t *) BT->getTranslatedBitcode(); in runCompiler()
281 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/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/lib/CodeGen/
DMCLinker.cpp244 !m_Config.bitcode().hasDefined()) { in initializeInputTree()
373 if (m_Config.bitcode().hasDefined()) { in initializeInputTree()
374 actions.push_back(new BitcodeAction(m_Config.bitcode().getPosition(), in initializeInputTree()
375 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/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/rs/cpu_ref/
DrsCpuScript.h50 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
Drsd_cpu.h116 uint8_t const *bitcode, size_t bitcodeSize,
DrsCpuCore.h101 uint8_t const *bitcode, size_t bitcodeSize,
DrsCpuScript.cpp116 uint8_t const *bitcode, size_t bitcodeSize, in init() argument
150 core_lib = selectRTCallback((const char *)bitcode, bitcodeSize); in init()
159 (const char *)bitcode, bitcodeSize, core_lib, in init()
DrsCpuCore.cpp452 uint8_t const *bitcode, size_t bitcodeSize, in createScript() argument
456 if (!i->init(resName, cacheDir, bitcode, bitcodeSize, flags)) { in createScript()
/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">,