Home
last modified time | relevance | path

Searched refs:MetadataExtractor (Results 1 – 16 of 16) sorted by relevance

/frameworks/compile/libbcc/lib/
DRSScriptGroupFusion.cpp42 bcinfo::MetadataExtractor &metadata = *source.getMetadata(); in getInvokeFunction()
55 bcinfo::MetadataExtractor &metadata = *source->getMetadata(); in getFunction()
100 bcinfo::MetadataExtractor &metadata = *source->getMetadata(); in getFusedFuncSig()
122 if (!bcinfo::MetadataExtractor::hasForEachSignatureIn(firstSignature)) { in getFusedFuncSig()
126 if (!bcinfo::MetadataExtractor::hasForEachSignatureOut(signature)) { in getFusedFuncSig()
150 if (bcinfo::MetadataExtractor::hasForEachSignatureIn(*signature)) { in getFusedFuncType()
155 if (bcinfo::MetadataExtractor::hasForEachSignatureX(*signature)) { in getFusedFuncType()
158 if (bcinfo::MetadataExtractor::hasForEachSignatureY(*signature)) { in getFusedFuncType()
161 if (bcinfo::MetadataExtractor::hasForEachSignatureZ(*signature)) { in getFusedFuncType()
203 if (bcinfo::MetadataExtractor::hasForEachSignatureIn(fusedFunctionSignature)) { in fuseKernels()
[all …]
DSource.cpp71 module.getOrInsertNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName); in helper_set_module_metadata_from_bitcode_wrapper()
87 return bcinfo::MetadataExtractor(&getModule()).getCompilerVersion(); in getCompilerVersion()
92 const bcinfo::MetadataExtractor &me = bcinfo::MetadataExtractor(&getModule()); in getWrapperInformation()
241 mMetadata = new bcinfo::MetadataExtractor(mModule); in extractMetadata()
DRSEmbedInfo.cpp71 bcinfo::MetadataExtractor me(module); in getRSInfoString()
88 const bcinfo::MetadataExtractor::Reduce *exportReduceList = in getRSInfoString()
132 const bcinfo::MetadataExtractor::Reduce &reduce = exportReduceList[i]; in getRSInfoString()
DRSKernelExpand.cpp578 if (bcinfo::MetadataExtractor::hasForEachSignatureCtxt(Signature)) { in ExpandSpecialArguments()
584 if (bcinfo::MetadataExtractor::hasForEachSignatureX(Signature)) { in ExpandSpecialArguments()
589 if (bcinfo::MetadataExtractor::hasForEachSignatureY(Signature) || in ExpandSpecialArguments()
590 bcinfo::MetadataExtractor::hasForEachSignatureZ(Signature)) { in ExpandSpecialArguments()
598 if (bcinfo::MetadataExtractor::hasForEachSignatureY(Signature)) { in ExpandSpecialArguments()
606 if (bcinfo::MetadataExtractor::hasForEachSignatureZ(Signature)) { in ExpandSpecialArguments()
825 if (bcinfo::MetadataExtractor::hasForEachSignatureIn(Signature)) { in ExpandOldStyleForEach()
842 if (bcinfo::MetadataExtractor::hasForEachSignatureOut(Signature)) { in ExpandOldStyleForEach()
851 if (bcinfo::MetadataExtractor::hasForEachSignatureUsrData(Signature)) { in ExpandOldStyleForEach()
919 bccAssert(bcinfo::MetadataExtractor::hasForEachSignatureKernel(Signature)); in ExpandForEach()
[all …]
DRSCompilerDriver.cpp94 bcinfo::MetadataExtractor me(&pScript.getSource().getModule()); in setupConfig()
313 std::vector<bcinfo::MetadataExtractor*> metadata; in buildScriptGroup()
355 module.getNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName); in buildScriptGroup()
420 bcinfo::MetadataExtractor me(&module); in buildScriptGroup()
DRSAddDebugInfoPass.cpp58 bcinfo::MetadataExtractor me(&Module); in runOnModule()
66 const bcinfo::MetadataExtractor::Reduce *reductions = in runOnModule()
83 const bcinfo::MetadataExtractor::Reduce &reduction = reductions[i]; in runOnModule()
DScript.cpp78 libclcore_module.getNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName); in LinkRuntime()
DCompiler.cpp372 bcinfo::MetadataExtractor me(&module); in addInternalizeSymbolsPass()
409 const bcinfo::MetadataExtractor::Reduce *exportReduceList = me.getExportReduceList(); in addInternalizeSymbolsPass()
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp178 const char MetadataExtractor::kWrapperMetadataName[] = "#rs_wrapper";
180 MetadataExtractor::MetadataExtractor(const char *bitcode, size_t bitcodeSize) in MetadataExtractor() function in bcinfo::MetadataExtractor
197 MetadataExtractor::MetadataExtractor(const llvm::Module *module) in MetadataExtractor() function in bcinfo::MetadataExtractor
220 MetadataExtractor::~MetadataExtractor() { in ~MetadataExtractor()
281 bool MetadataExtractor::populateObjectSlotMetadata( in populateObjectSlotMetadata()
313 void MetadataExtractor::populatePragmaMetadata( in populatePragmaMetadata()
388 uint32_t MetadataExtractor::calculateNumInputs(const llvm::Function *Function, in calculateNumInputs()
410 bool MetadataExtractor::populateForEachMetadata( in populateForEachMetadata()
503 bool MetadataExtractor::populateReduceMetadata(const llvm::NamedMDNode *ReduceMetadata) { in populateReduceMetadata()
562 void MetadataExtractor::readThreadableFlag( in readThreadableFlag()
[all …]
DAndroid.bp33 "MetadataExtractor.cpp",
/frameworks/compile/libbcc/include/bcc/
DSource.h27 class MetadataExtractor; variable
40 bcinfo::MetadataExtractor *mMetadata;
106 bcinfo::MetadataExtractor* getMetadata() const { return mMetadata; } in getMetadata()
/frameworks/compile/libbcc/bcinfo/tools/
Dmain.cpp118 static int dumpInfo(bcinfo::MetadataExtractor *ME) { in dumpInfo()
152 const bcinfo::MetadataExtractor::Reduce *reduceList = in dumpInfo()
155 const bcinfo::MetadataExtractor::Reduce &reduce = reduceList[i]; in dumpInfo()
176 static void dumpMetadata(bcinfo::MetadataExtractor *ME) { in dumpMetadata()
220 const bcinfo::MetadataExtractor::Reduce *reduceList = ME->getExportReduceList(); in dumpMetadata()
222 const bcinfo::MetadataExtractor::Reduce &reduce = reduceList[i]; in dumpMetadata()
331 std::unique_ptr<bcinfo::MetadataExtractor> ME; in main()
332 ME.reset(new bcinfo::MetadataExtractor(BT->getTranslatedBitcode(), in main()
/frameworks/compile/libbcc/bcinfo/include/bcinfo/
DMetadataExtractor.h50 class MetadataExtractor {
145 MetadataExtractor(const char *bitcode, size_t bitcodeSize);
154 explicit MetadataExtractor(const llvm::Module *module);
156 ~MetadataExtractor();
/frameworks/rs/cpu_ref/
DrsCpuScript.h32 class MetadataExtractor; variable
119 const char* findCoreLib(const bcinfo::MetadataExtractor& bitCodeMetaData, const char* bitcode,
DrsCpuScript.cpp311 bcinfo::MetadataExtractor bitcodeMetadata((const char *) bitcode, bitcodeSize); in init()
452 const char* RsdCpuScriptImpl::findCoreLib(const bcinfo::MetadataExtractor& ME, const char* bitcode, in findCoreLib()
/frameworks/wilhelm/tools/mphtogen/
Dmphtogen.c60 _(MetadataExtractor) in main()