/frameworks/compile/libbcc/lib/ |
D | RSScriptGroupFusion.cpp | 42 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 …]
|
D | Source.cpp | 60 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() 151 … bcinfo::BitcodeWrapper(input_data->getBufferStart(), in CreateFromFile() 241 mMetadata = new bcinfo::MetadataExtractor(mModule); in extractMetadata()
|
D | RSCompilerDriver.cpp | 94 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()
|
D | RSEmbedInfo.cpp | 71 bcinfo::MetadataExtractor me(module); in getRSInfoString() 88 const bcinfo::MetadataExtractor::Reduce *exportReduceList = in getRSInfoString() 132 const bcinfo::MetadataExtractor::Reduce &reduce = exportReduceList[i]; in getRSInfoString()
|
D | RSKernelExpand.cpp | 578 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 …]
|
D | RSAddDebugInfoPass.cpp | 58 bcinfo::MetadataExtractor me(&Module); in runOnModule() 66 const bcinfo::MetadataExtractor::Reduce *reductions = in runOnModule() 83 const bcinfo::MetadataExtractor::Reduce &reduction = reductions[i]; in runOnModule()
|
D | Script.cpp | 78 libclcore_module.getNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName); in LinkRuntime()
|
/frameworks/compile/slang/ |
D | slang_rs_export_foreach.cpp | 282 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 …]
|
D | slang_rs_special_kernel_param.cpp | 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
|
D | slang_bitcode_gen.cpp | 91 bcinfo::AndroidBitcodeWrapper Wrapper; in writeBitcode() 92 size_t ActualWrapperLen = bcinfo::writeAndroidBitcodeWrapper( in writeBitcode()
|
D | slang_rs_reflection_state.cpp | 468 …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/ |
D | main.cpp | 118 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 …]
|
D | Android.bp | 20 name: "bcinfo",
|
/frameworks/rs/rsov/compiler/ |
D | Wrapper_test.cpp | 75 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()
|
D | Context.h | 39 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;
|
D | rs2spirv.cpp | 102 std::unique_ptr<bcinfo::MetadataExtractor> ME( in convertLLVMToSPIRV() 103 new bcinfo::MetadataExtractor(bitcode.data(), bitcode.size())); in convertLLVMToSPIRV()
|
D | RSSPIRVWriter.h | 27 namespace bcinfo {
|
D | Context.cpp | 37 bool Context::Initialize(std::unique_ptr<bcinfo::MetadataExtractor> ME) { in Initialize()
|
/frameworks/compile/libbcc/include/bcc/ |
D | Source.h | 26 namespace bcinfo { 40 bcinfo::MetadataExtractor *mMetadata; 106 bcinfo::MetadataExtractor* getMetadata() const { return mMetadata; } in getMetadata()
|
/frameworks/compile/libbcc/bcinfo/include/bcinfo/ |
D | BitcodeTranslator.h | 22 namespace bcinfo {
|
D | BitcodeWrapper.h | 25 namespace bcinfo {
|
/frameworks/compile/libbcc/bcinfo/ |
D | BitcodeWrapper.cpp | 26 namespace bcinfo { namespace
|
/frameworks/rs/rsov/driver/ |
D | rsovScript.h | 49 bcinfo::MetadataExtractor *ME, 52 bcinfo::MetadataExtractor *ME, 141 const bcinfo::MetadataExtractor *mME;
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.h | 31 namespace bcinfo { 119 const char* findCoreLib(const bcinfo::MetadataExtractor& bitCodeMetaData, const char* bitcode,
|
/frameworks/rs/ |
D | rsScriptC.cpp | 303 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()
|