Home
last modified time | relevance | path

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

12

/frameworks/compile/libbcc/lib/
DRSScriptGroupFusion.cpp42 bcinfo::MetadataExtractor &metadata = *source.getMetadata(); in getInvokeFunction()
55 bcinfo::MetadataExtractor &metadata = *source->getMetadata(); in getFunction()
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::MetadataExtractor &metadata = *source->getMetadata(); in getFusedFuncSig()
122 if (!bcinfo::MetadataExtractor::hasForEachSignatureIn(firstSignature)) { in getFusedFuncSig()
[all …]
DSource.cpp60 const bcinfo::BitcodeWrapper &wrapper) { in helper_get_module_metadata_from_bitcode_wrapper()
71 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()
127 bcinfo::BitcodeWrapper(pBitcode, pBitcodeSize)); in CreateFromBuffer()
151bcinfo::BitcodeWrapper(input_data->getBufferStart(), in CreateFromFile()
241 mMetadata = new bcinfo::MetadataExtractor(mModule); in extractMetadata()
DRSCompilerDriver.cpp94 bcinfo::MetadataExtractor me(&pScript.getSource().getModule()); in setupConfig()
99 bool script_full_prec = (me.getRSFloatPrecision() == bcinfo::RS_FP_Full); in setupConfig()
273 bcinfo::BitcodeWrapper wrapper(pBitcode, pBitcodeSize); in build()
313 std::vector<bcinfo::MetadataExtractor*> metadata; in buildScriptGroup()
355 module.getNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName); in buildScriptGroup()
420 bcinfo::MetadataExtractor me(&module); in buildScriptGroup()
422 if (me.getRSFloatPrecision() == bcinfo::RS_FP_Relaxed) { in buildScriptGroup()
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 …]
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()
/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp282 mSignatureMetadata |= (hasIns() ? bcinfo::MD_SIG_In : 0); in setSignatureMetadata()
283 mSignatureMetadata |= (HasOut ? bcinfo::MD_SIG_Out : 0); in setSignatureMetadata()
284 mSignatureMetadata |= (mUsrData ? bcinfo::MD_SIG_Usr : 0); in setSignatureMetadata()
285 mSignatureMetadata |= (mIsKernelStyle ? bcinfo::MD_SIG_Kernel : 0); // pass-by-value in setSignatureMetadata()
291 if (mSignatureMetadata != (bcinfo::MD_SIG_In | bcinfo::MD_SIG_Out | bcinfo::MD_SIG_Usr | in setSignatureMetadata()
292 bcinfo::MD_SIG_X | bcinfo::MD_SIG_Y) && in setSignatureMetadata()
293 mSignatureMetadata != (bcinfo::MD_SIG_In | bcinfo::MD_SIG_Out | bcinfo::MD_SIG_Usr | in setSignatureMetadata()
294 bcinfo::MD_SIG_X) && in setSignatureMetadata()
295 mSignatureMetadata != (bcinfo::MD_SIG_In | bcinfo::MD_SIG_Out | bcinfo::MD_SIG_Usr) && in setSignatureMetadata()
296 mSignatureMetadata != (bcinfo::MD_SIG_In | bcinfo::MD_SIG_Out) && in setSignatureMetadata()
[all …]
Dslang_rs_special_kernel_param.cpp36 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
Dslang_bitcode_gen.cpp91 bcinfo::AndroidBitcodeWrapper Wrapper; in writeBitcode()
92 size_t ActualWrapperLen = bcinfo::writeAndroidBitcodeWrapper( in writeBitcode()
Dslang_rs_reflection_state.cpp468 …const unsigned SpecialParameterBits = bcinfo::MD_SIG_X|bcinfo::MD_SIG_Y|bcinfo::MD_SIG_Z|bcinfo::M… in addForEachSignatureMetadata()
474 …const unsigned BoringBits = bcinfo::MD_SIG_In|bcinfo::MD_SIG_Out|bcinfo::MD_SIG_Usr|bcinfo::MD_SIG… in addForEachSignatureMetadata()
/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()
183 case bcinfo::RS_FP_Full: in dumpMetadata()
186 case bcinfo::RS_FP_Relaxed: in dumpMetadata()
220 const bcinfo::MetadataExtractor::Reduce *reduceList = ME->getExportReduceList(); in dumpMetadata()
222 const bcinfo::MetadataExtractor::Reduce &reduce = reduceList[i]; in dumpMetadata()
308 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeSize); in main()
309 if (bcWrapper.getBCFileType() == bcinfo::BC_WRAPPER) { in main()
[all …]
DAndroid.bp20 name: "bcinfo",
/frameworks/rs/rsov/compiler/
DWrapper_test.cpp75 bcinfo::MD_SIG_Kernel | bcinfo::MD_SIG_In | bcinfo::MD_SIG_Out; in TEST_F()
95 uint32_t sig = bcinfo::MD_SIG_Kernel | bcinfo::MD_SIG_In | bcinfo::MD_SIG_Out; in TEST_F()
DContext.h39 namespace bcinfo {
62 bool Initialize(std::unique_ptr<bcinfo::MetadataExtractor> ME);
99 const bcinfo::MetadataExtractor &getMetadata() const { return *mMetadata; } in getMetadata()
117 std::unique_ptr<bcinfo::MetadataExtractor> mMetadata;
Drs2spirv.cpp102 std::unique_ptr<bcinfo::MetadataExtractor> ME( in convertLLVMToSPIRV()
103 new bcinfo::MetadataExtractor(bitcode.data(), bitcode.size())); in convertLLVMToSPIRV()
DRSSPIRVWriter.h27 namespace bcinfo {
DContext.cpp37 bool Context::Initialize(std::unique_ptr<bcinfo::MetadataExtractor> ME) { in Initialize()
/frameworks/compile/libbcc/include/bcc/
DSource.h26 namespace bcinfo {
40 bcinfo::MetadataExtractor *mMetadata;
106 bcinfo::MetadataExtractor* getMetadata() const { return mMetadata; } in getMetadata()
/frameworks/compile/libbcc/bcinfo/include/bcinfo/
DBitcodeTranslator.h22 namespace bcinfo {
DBitcodeWrapper.h25 namespace bcinfo {
/frameworks/compile/libbcc/bcinfo/
DBitcodeWrapper.cpp26 namespace bcinfo { namespace
/frameworks/rs/rsov/driver/
DrsovScript.h49 bcinfo::MetadataExtractor *ME,
52 bcinfo::MetadataExtractor *ME,
141 const bcinfo::MetadataExtractor *mME;
/frameworks/rs/cpu_ref/
DrsCpuScript.h31 namespace bcinfo {
119 const char* findCoreLib(const bcinfo::MetadataExtractor& bitCodeMetaData, const char* bitcode,
/frameworks/rs/
DrsScriptC.cpp303 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen); in runCompiler()
309 if (bcWrapper.getBCFileType() == bcinfo::BC_WRAPPER) { in runCompiler()
323 bcinfo::BitcodeTranslator BT((const char *)bitcode, bitcodeLen, in runCompiler()

12