Searched refs:bcinfo (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/rs/rsov/compiler/
H A DRSSPIRVWriter.h27 namespace bcinfo { namespace
29 } // namespace bcinfo
33 bool WriteSPIRV(llvm::Module *M, std::unique_ptr<bcinfo::MetadataExtractor> ME,
H A DWrapper_test.cpp18 #include "bcinfo/MetadataExtractor.h"
75 bcinfo::MD_SIG_Kernel | bcinfo::MD_SIG_In | bcinfo::MD_SIG_Out;
95 uint32_t sig = bcinfo::MD_SIG_Kernel | bcinfo::MD_SIG_In | bcinfo::MD_SIG_Out;
H A DContext.h21 #include "bcinfo/MetadataExtractor.h"
40 namespace bcinfo { namespace
63 bool Initialize(std::unique_ptr<bcinfo::MetadataExtractor> ME);
99 const bcinfo::MetadataExtractor &getMetadata() const { return *mMetadata; }
117 std::unique_ptr<bcinfo::MetadataExtractor> mMetadata;
H A DContext.cpp32 bool Context::Initialize(std::unique_ptr<bcinfo::MetadataExtractor> ME) {
H A Drs2spirv.cpp18 #include "bcinfo/MetadataExtractor.h"
91 std::unique_ptr<bcinfo::MetadataExtractor> ME(
92 new bcinfo::MetadataExtractor(bitcode.data(), bitcode.size()));
H A DRSSPIRVWriter.cpp28 #include "bcinfo/MetadataExtractor.h"
103 bool WriteSPIRV(llvm::Module *M, std::unique_ptr<bcinfo::MetadataExtractor> ME,
/frameworks/compile/libbcc/bcinfo/include/bcinfo/
H A DBitcodeTranslator.h22 namespace bcinfo { namespace
68 } // namespace bcinfo
H A DBitcodeWrapper.h20 #include "bcinfo/Wrap/BCHeaderField.h"
25 namespace bcinfo { namespace
151 } // namespace bcinfo
/frameworks/compile/libbcc/lib/
H A DRSScriptGroupFusion.cpp23 #include "bcinfo/MetadataExtractor.h"
42 bcinfo::MetadataExtractor &metadata = *source.getMetadata();
55 bcinfo::MetadataExtractor &metadata = *source->getMetadata();
84 bcinfo::MD_SIG_In |
85 bcinfo::MD_SIG_Out |
86 bcinfo::MD_SIG_X |
87 bcinfo::MD_SIG_Y |
88 bcinfo::MD_SIG_Z |
89 bcinfo::MD_SIG_Kernel;
100 bcinfo
[all...]
H A DSource.cpp35 #include "bcinfo/BitcodeWrapper.h"
36 #include "bcinfo/MetadataExtractor.h"
60 const bcinfo::BitcodeWrapper &wrapper) {
71 module.getOrInsertNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName);
87 return bcinfo::MetadataExtractor(&getModule()).getCompilerVersion();
92 const bcinfo::MetadataExtractor &me = bcinfo::MetadataExtractor(&getModule());
127 bcinfo::BitcodeWrapper(pBitcode, pBitcodeSize));
151 bcinfo::BitcodeWrapper(input_data->getBufferStart(),
241 mMetadata = new bcinfo
[all...]
H A DScript.cpp25 #include "bcinfo/MetadataExtractor.h"
76 libclcore_module.getNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName);
H A DRSCompilerDriver.cpp32 #include "bcinfo/BitcodeWrapper.h"
33 #include "bcinfo/MetadataExtractor.h"
94 bcinfo::MetadataExtractor me(&pScript.getSource().getModule());
99 bool script_full_prec = (me.getRSFloatPrecision() == bcinfo::RS_FP_Full);
273 bcinfo::BitcodeWrapper wrapper(pBitcode, pBitcodeSize);
313 std::vector<bcinfo::MetadataExtractor*> metadata;
355 module.getNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName);
420 bcinfo::MetadataExtractor me(&module);
422 if (me.getRSFloatPrecision() == bcinfo::RS_FP_Relaxed) {
H A DRSEmbedInfo.cpp24 #include "bcinfo/MetadataExtractor.h"
71 bcinfo::MetadataExtractor me(module);
88 const bcinfo::MetadataExtractor::Reduce *exportReduceList =
132 const bcinfo::MetadataExtractor::Reduce &reduce = exportReduceList[i];
H A DRSKernelExpand.cpp23 #include "bcinfo/MetadataExtractor.h"
578 if (bcinfo::MetadataExtractor::hasForEachSignatureCtxt(Signature)) {
584 if (bcinfo::MetadataExtractor::hasForEachSignatureX(Signature)) {
589 if (bcinfo::MetadataExtractor::hasForEachSignatureY(Signature) ||
590 bcinfo::MetadataExtractor::hasForEachSignatureZ(Signature)) {
598 if (bcinfo::MetadataExtractor::hasForEachSignatureY(Signature)) {
606 if (bcinfo::MetadataExtractor::hasForEachSignatureZ(Signature)) {
825 if (bcinfo::MetadataExtractor::hasForEachSignatureIn(Signature)) {
842 if (bcinfo::MetadataExtractor::hasForEachSignatureOut(Signature)) {
851 if (bcinfo
[all...]
H A DRSAddDebugInfoPass.cpp21 #include "bcinfo/MetadataExtractor.h"
58 bcinfo::MetadataExtractor me(&Module);
66 const bcinfo::MetadataExtractor::Reduce *reductions =
83 const bcinfo::MetadataExtractor::Reduce &reduction = reductions[i];
/frameworks/compile/slang/
H A Dslang_bitcode_gen.cpp17 #include "bcinfo/BitcodeWrapper.h"
91 bcinfo::AndroidBitcodeWrapper Wrapper;
92 size_t ActualWrapperLen = bcinfo::writeAndroidBitcodeWrapper(
H A Dslang_rs_export_foreach.cpp28 #include "bcinfo/MetadataExtractor.h"
282 mSignatureMetadata |= (hasIns() ? bcinfo::MD_SIG_In : 0);
283 mSignatureMetadata |= (HasOut ? bcinfo::MD_SIG_Out : 0);
284 mSignatureMetadata |= (mUsrData ? bcinfo::MD_SIG_Usr : 0);
285 mSignatureMetadata |= (mIsKernelStyle ? bcinfo::MD_SIG_Kernel : 0); // pass-by-value
291 if (mSignatureMetadata != (bcinfo::MD_SIG_In | bcinfo::MD_SIG_Out | bcinfo::MD_SIG_Usr |
292 bcinfo::MD_SIG_X | bcinfo
[all...]
H A Dslang_rs_special_kernel_param.cpp21 #include "bcinfo/MetadataExtractor.h"
36 bcinfo::MetadataSignatureBitval bitval;
43 { "context", bcinfo::MD_SIG_Ctxt, SPK_CONTEXT, SLANG_M_TARGET_API },
44 { "x", bcinfo::MD_SIG_X, SPK_LOCATION, SLANG_MINIMUM_TARGET_API },
45 { "y", bcinfo::MD_SIG_Y, SPK_LOCATION, SLANG_MINIMUM_TARGET_API },
46 { "z", bcinfo::MD_SIG_Z, SPK_LOCATION, SLANG_M_TARGET_API },
47 { nullptr, bcinfo::MD_SIG_None, SPK_LOCATION, SLANG_MINIMUM_TARGET_API }, // marks end of table
/frameworks/compile/libbcc/include/bcc/
H A DSource.h26 namespace bcinfo { namespace
40 bcinfo::MetadataExtractor *mMetadata;
106 bcinfo::MetadataExtractor* getMetadata() const { return mMetadata; }
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp17 #include <bcinfo/BitcodeTranslator.h>
18 #include <bcinfo/BitcodeWrapper.h>
19 #include <bcinfo/MetadataExtractor.h>
49 // This file corresponds to the standalone bcinfo tool. It prints a variety of
104 infoFile = std::string(inFile.begin(), inFile.end() - 3) + ".bcinfo";
107 infoFile = inFile + ".bcinfo";
118 static int dumpInfo(bcinfo::MetadataExtractor *ME) {
152 const bcinfo::MetadataExtractor::Reduce *reduceList =
155 const bcinfo::MetadataExtractor::Reduce &reduce = reduceList[i];
176 static void dumpMetadata(bcinfo
[all...]
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeWrapper.cpp17 #include "bcinfo/BitcodeWrapper.h"
18 #include "bcinfo/Wrap/bitcode_wrapperer.h"
19 #include "bcinfo/Wrap/in_memory_wrapper_input.h"
26 namespace bcinfo { namespace
56 } // namespace bcinfo
H A DBitcodeTranslator.cpp17 #include "bcinfo/BitcodeTranslator.h"
19 #include "bcinfo/BitcodeWrapper.h"
28 #define LOG_TAG "bcinfo"
41 namespace bcinfo { namespace
183 } // namespace bcinfo
/frameworks/rs/cpu_ref/
H A DrsCpuScript.h31 namespace bcinfo { namespace
33 } // namespace bcinfo
119 const char* findCoreLib(const bcinfo::MetadataExtractor& bitCodeMetaData, const char* bitcode,
/frameworks/rs/
H A DrsScriptC.cpp21 #include <bcinfo/BitcodeTranslator.h>
22 #include <bcinfo/BitcodeWrapper.h>
303 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen);
309 if (bcWrapper.getBCFileType() == bcinfo::BC_WRAPPER) {
323 bcinfo::BitcodeTranslator BT((const char *)bitcode, bitcodeLen,
/frameworks/rs/rsov/driver/
H A DrsovScript.h25 #include "bcinfo/MetadataExtractor.h"
49 bcinfo::MetadataExtractor *ME,
52 bcinfo::MetadataExtractor *ME,
134 const bcinfo::MetadataExtractor *mME;

Completed in 327 milliseconds

12