Home
last modified time | relevance | path

Searched refs:bcinfo (Results 1 – 19 of 19) sorted by relevance

/frameworks/compile/libbcc/lib/Renderscript/
DRSScriptGroupFusion.cpp42 bcinfo::MetadataExtractor metadata(module); in getInvokeFunction()
59 bcinfo::MetadataExtractor metadata(&source->getModule()); in getFunction()
90 bcinfo::MD_SIG_In |
91 bcinfo::MD_SIG_Out |
92 bcinfo::MD_SIG_X |
93 bcinfo::MD_SIG_Y |
94 bcinfo::MD_SIG_Z |
95 bcinfo::MD_SIG_Kernel;
106 bcinfo::MetadataExtractor metadata(&source->getModule()); in getFusedFuncSig()
129 if (!bcinfo::MetadataExtractor::hasForEachSignatureIn(firstSignature)) { in getFusedFuncSig()
[all …]
DRSForEachExpand.cpp465 if (bcinfo::MetadataExtractor::hasForEachSignatureCtxt(Signature)) { in ExpandSpecialArguments()
471 if (bcinfo::MetadataExtractor::hasForEachSignatureX(Signature)) { in ExpandSpecialArguments()
476 if (bcinfo::MetadataExtractor::hasForEachSignatureY(Signature) || in ExpandSpecialArguments()
477 bcinfo::MetadataExtractor::hasForEachSignatureZ(Signature)) { in ExpandSpecialArguments()
481 if (bcinfo::MetadataExtractor::hasForEachSignatureY(Signature)) { in ExpandSpecialArguments()
489 if (bcinfo::MetadataExtractor::hasForEachSignatureZ(Signature)) { in ExpandSpecialArguments()
549 if (bcinfo::MetadataExtractor::hasForEachSignatureIn(Signature)) { in ExpandFunction()
569 if (bcinfo::MetadataExtractor::hasForEachSignatureOut(Signature)) { in ExpandFunction()
580 if (bcinfo::MetadataExtractor::hasForEachSignatureUsrData(Signature)) { in ExpandFunction()
646 bccAssert(bcinfo::MetadataExtractor::hasForEachSignatureKernel(Signature)); in ExpandKernel()
[all …]
DRSCompilerDriver.cpp97 bcinfo::MetadataExtractor me(&pScript.getSource().getModule()); in setupConfig()
102 bool script_full_prec = (me.getRSFloatPrecision() == bcinfo::RS_FP_Full); in setupConfig()
263 bcinfo::BitcodeWrapper wrapper(pBitcode, pBitcodeSize); in build()
359 bcinfo::MetadataExtractor me(&module); in buildScriptGroup()
361 if (me.getRSFloatPrecision() == bcinfo::RS_FP_Relaxed) { in buildScriptGroup()
DRSEmbedInfo.cpp67 bcinfo::MetadataExtractor me(module); in getRSInfoString()
/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp46 bcinfo::MetadataSignatureBitval bitval;
53 { "context", bcinfo::MD_SIG_Ctxt, SPK_CONTEXT, SLANG_M_TARGET_API },
54 { "x", bcinfo::MD_SIG_X, SPK_LOCATION, SLANG_MINIMUM_TARGET_API },
55 { "y", bcinfo::MD_SIG_Y, SPK_LOCATION, SLANG_MINIMUM_TARGET_API },
56 { "z", bcinfo::MD_SIG_Z, SPK_LOCATION, SLANG_M_TARGET_API },
57 { nullptr, bcinfo::MD_SIG_None, SPK_LOCATION, SLANG_MINIMUM_TARGET_API }, // marks end of table
441 mSignatureMetadata |= (hasIns() ? bcinfo::MD_SIG_In : 0); in setSignatureMetadata()
442 mSignatureMetadata |= (HasOut ? bcinfo::MD_SIG_Out : 0); in setSignatureMetadata()
443 mSignatureMetadata |= (mUsrData ? bcinfo::MD_SIG_Usr : 0); in setSignatureMetadata()
444 mSignatureMetadata |= (mIsKernelStyle ? bcinfo::MD_SIG_Kernel : 0); // pass-by-value in setSignatureMetadata()
[all …]
Dslang_backend.cpp246 bcinfo::AndroidBitcodeWrapper wrapper; in WrapBitcode()
247 size_t actualWrapperLen = bcinfo::writeAndroidBitcodeWrapper( in WrapBitcode()
/frameworks/compile/libbcc/bcinfo/tools/
Dmain.cpp113 static int dumpInfo(bcinfo::MetadataExtractor *ME) { in dumpInfo()
157 static void dumpMetadata(bcinfo::MetadataExtractor *ME) { in dumpMetadata()
164 case bcinfo::RS_FP_Full: in dumpMetadata()
167 case bcinfo::RS_FP_Relaxed: in dumpMetadata()
275 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeSize); in main()
276 if (bcWrapper.getBCFileType() == bcinfo::BC_WRAPPER) { in main()
291 std::unique_ptr<bcinfo::BitcodeTranslator> BT; in main()
292 BT.reset(new bcinfo::BitcodeTranslator(bitcode, bitcodeSize, version)); in main()
298 std::unique_ptr<bcinfo::MetadataExtractor> ME; in main()
299 ME.reset(new bcinfo::MetadataExtractor(BT->getTranslatedBitcode(), in main()
DAndroid.mk25 LOCAL_MODULE := bcinfo
/frameworks/compile/libbcc/include/bcinfo/
DBitcodeTranslator.h22 namespace bcinfo {
DBitcodeWrapper.h25 namespace bcinfo {
DMetadataExtractor.h29 namespace bcinfo {
/frameworks/rs/cpu_ref/
DrsCpuScript.h34 namespace bcinfo {
124 const char* findCoreLib(const bcinfo::MetadataExtractor& bitCodeMetaData, const char* bitcode,
DrsCpuScript.cpp330 bcinfo::MetadataExtractor bitcodeMetadata((const char *) bitcode, bitcodeSize); in init()
461 const char* RsdCpuScriptImpl::findCoreLib(const bcinfo::MetadataExtractor& ME, const char* bitcode, in findCoreLib()
478 enum bcinfo::RSFloatPrecision prec = ME.getRSFloatPrecision(); in findCoreLib()
479 if (prec == bcinfo::RS_FP_Relaxed) { in findCoreLib()
/frameworks/compile/libbcc/bcinfo/
DBitcodeWrapper.cpp29 namespace bcinfo { namespace
DBitcodeTranslator.cpp39 namespace bcinfo { namespace
DMetadataExtractor.cpp37 namespace bcinfo { namespace
/frameworks/rs/
DrsScriptC.cpp306 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen); in runCompiler()
312 if (bcWrapper.getBCFileType() == bcinfo::BC_WRAPPER) { in runCompiler()
329 BT = new bcinfo::BitcodeTranslator((const char *)bitcode, bitcodeLen, in runCompiler()
DrsScriptC.h70 bcinfo::BitcodeTranslator *BT;
/frameworks/compile/libbcc/lib/Core/
DCompiler.cpp290 bcinfo::MetadataExtractor me(&module); in addInternalizeSymbolsPass()