Home
last modified time | relevance | path

Searched refs:Module (Results 1 – 25 of 190) sorted by relevance

12345678

/frameworks/compile/mclinker/include/mcld/Script/
DBinaryOp.h20 class Module; variable
39 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
53 IntOperand* BinaryOp<Operator::MUL>::eval(const Module&,
56 IntOperand* BinaryOp<Operator::DIV>::eval(const Module&,
59 IntOperand* BinaryOp<Operator::MOD>::eval(const Module&,
62 IntOperand* BinaryOp<Operator::ADD>::eval(const Module&,
65 IntOperand* BinaryOp<Operator::SUB>::eval(const Module&,
68 IntOperand* BinaryOp<Operator::LSHIFT>::eval(const Module&,
71 IntOperand* BinaryOp<Operator::RSHIFT>::eval(const Module&,
74 IntOperand* BinaryOp<Operator::LT>::eval(const Module&, const TargetLDBackend&);
[all …]
DUnaryOp.h19 class Module; variable
37 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
46 IntOperand* UnaryOp<Operator::UNARY_PLUS>::eval(const Module&,
49 IntOperand* UnaryOp<Operator::UNARY_MINUS>::eval(const Module&,
52 IntOperand* UnaryOp<Operator::LOGICAL_NOT>::eval(const Module&,
55 IntOperand* UnaryOp<Operator::BITWISE_NOT>::eval(const Module&,
59 IntOperand* UnaryOp<Operator::ABSOLUTE>::eval(const Module&,
62 IntOperand* UnaryOp<Operator::ADDR>::eval(const Module&,
65 IntOperand* UnaryOp<Operator::ALIGNOF>::eval(const Module&,
68 IntOperand* UnaryOp<Operator::DATA_SEGMENT_END>::eval(const Module&,
[all …]
DNullaryOp.h20 class Module; variable
37 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
43 IntOperand* NullaryOp<Operator::SIZEOF_HEADERS>::eval(const Module&,
46 IntOperand* NullaryOp<Operator::MAXPAGESIZE>::eval(const Module&,
50 IntOperand* NullaryOp<Operator::COMMONPAGESIZE>::eval(const Module&,
/frameworks/compile/mclinker/lib/Core/
DModule.cpp21 static GCFactory<Module::AliasList, MCLD_SECTIONS_PER_INPUT>
27 Module::Module(LinkerScript& pScript) : m_Script(pScript), m_NamePool(1024) { in Module() function in mcld::Module
30 Module::Module(const std::string& pName, LinkerScript& pScript) in Module() function in mcld::Module
34 Module::~Module() { in ~Module()
38 LDSection* Module::getSection(const std::string& pName) { in getSection()
47 const LDSection* Module::getSection(const std::string& pName) const { in getSection()
56 void Module::CreateAliasList(const ResolveInfo& pSym) { in CreateAliasList()
63 void Module::addAlias(const ResolveInfo& pAlias) { in addAlias()
69 Module::AliasList* Module::getAliasList(const ResolveInfo& pSym) { in getAliasList()
/frameworks/rs/rsov/compiler/spirit/
Dmodule.cpp30 Module *Module::mInstance = nullptr;
32 Module *Module::getCurrentModule() { in getCurrentModule()
34 return mInstance = new Module(); in getCurrentModule()
39 Module::Module() in Module() function in android::spirit::Module
49 Module::Module(Builder *b) in Module() function in android::spirit::Module
59 bool Module::resolveIds() { in resolveIds()
92 bool Module::DeserializeInternal(InputWordStream &IS) { in DeserializeInternal()
157 void Module::initialize() { in initialize()
166 void Module::SerializeHeader(OutputWordStream &OS) const { in SerializeHeader()
177 void Module::Serialize(OutputWordStream &OS) const { in Serialize()
[all …]
Dmodule_test.cpp54 auto m = Deserialize<Module>(mWordsGreyscale); in TEST_F()
58 std::unique_ptr<Module> mDeleter(m); in TEST_F()
118 Module *m = Deserialize<Module>(mWordsInvert); in TEST_F()
121 std::unique_ptr<Module> mDeleter(m); in TEST_F()
123 auto outwords = Serialize<Module>(m); in TEST_F()
129 Module *m = Deserialize<Module>(mWordsGreyscale); in TEST_F()
132 std::unique_ptr<Module> mDeleter(m); in TEST_F()
136 auto outwords = Serialize<Module>(m); in TEST_F()
142 Module *m = Deserialize<Module>(mWordsGreyscale2); in TEST_F()
145 std::unique_ptr<Module> mDeleter(m); in TEST_F()
[all …]
Dpass_queue_test.cpp67 Module *run(Module *m, int *error) override { in run()
94 std::unique_ptr<Module> m(Deserialize<Module>(mWordsGreyscale)); in TEST_F()
114 std::unique_ptr<Module> m(Deserialize<Module>(mWordsGreyscale)); in TEST_F()
136 std::unique_ptr<Module> m(Deserialize<Module>(mWordsGreyscale)); in TEST_F()
151 std::unique_ptr<Module> m(Deserialize<Module>(mWordsGreyscale)); in TEST_F()
173 std::unique_ptr<Module> m(Deserialize<Module>(mWordsGreyscale)); in TEST_F()
187 std::unique_ptr<Module> m1(passes.run(m.get())); in TEST_F()
200 std::unique_ptr<Module> m(Deserialize<Module>(mWordsGreyscale)); in TEST_F()
215 std::unique_ptr<Module> m1(Deserialize<Module>(outputWords)); in TEST_F()
233 std::unique_ptr<Module> m1(Deserialize<Module>(outputWords)); in TEST_F()
[all …]
Dpass_queue.cpp30 Module *PassQueue::run(Module *module, int *error) { in run()
36 std::unique_ptr<Module> tempModule; in run()
40 Module* newModule = pass->run(module, &intermediateError); in run()
74 Module *module = Deserialize<Module>(spirvWords); in run()
82 std::vector<uint32_t> PassQueue::runAndSerialize(Module *module, int *error) { in runAndSerialize()
85 return Serialize<Module>(module); in runAndSerialize()
89 std::unique_ptr<Module> tempModule; in runAndSerialize()
93 Module *newModule = mPasses[i]->run(module, &intermediateError); in runAndSerialize()
Dtransformer_test.cpp79 std::unique_ptr<Module> m(Deserialize<Module>(mWordsGreyscale)); in TEST_F()
87 std::unique_ptr<Module> m1(trans.run(m.get())); in TEST_F()
98 std::unique_ptr<Module> m(Deserialize<Module>(mWordsGreyscale)); in TEST_F()
105 std::unique_ptr<Module> m1(trans.run(m.get())); in TEST_F()
114 std::unique_ptr<Module> m(Deserialize<Module>(mWordsGreyscale)); in TEST_F()
123 std::unique_ptr<Module> m1(trans.run(m.get())); in TEST_F()
Dpass.cpp24 Module *Pass::run(Module *module, int *error) { in run()
33 return Deserialize<Module>(words); in run()
36 std::vector<uint32_t> Pass::runAndSerialize(Module *module, int *error) { in runAndSerialize()
45 return Serialize<Module>(m1); in runAndSerialize()
/frameworks/compile/mclinker/include/mcld/Target/
DTargetLDBackend.h35 class Module; variable
62 virtual void initTargetSections(Module& pModule, ObjectBuilder& pBuilder) {} in initTargetSections()
63 virtual void initTargetSymbols(IRBuilder& pBuilder, Module& pModule) {} in initTargetSymbols()
65 virtual bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule) = 0;
73 virtual ArchiveReader* createArchiveReader(Module&) = 0;
82 virtual void layout(Module& pModule) = 0;
85 virtual void preLayout(Module& pModule, IRBuilder& pBuilder) = 0;
88 virtual void postLayout(Module& pModule, IRBuilder& pBuilder) = 0;
102 virtual void sizeNamePools(Module& pModule) = 0;
116 virtual bool allocateCommonSymbols(Module& pModule) = 0;
[all …]
DGNULDBackend.h40 class Module; variable
56 GNUArchiveReader* createArchiveReader(Module& pModule);
78 bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule);
110 void sizeShstrtab(Module& pModule);
115 virtual void sizeNamePools(Module& pModule);
122 virtual void emitRegNamePools(const Module& pModule,
126 virtual void emitDynNamePools(Module& pModule, FileOutputBuffer& pOutput);
129 virtual void emitELFHashTab(const Module::SymbolTable& pSymtab,
133 virtual void emitGNUHashTab(Module::SymbolTable& pSymtab,
147 virtual void orderSymbolTable(Module& pModule);
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DELFObjectWriter.h22 class Module; variable
37 std::error_code writeObject(Module& pModule, FileOutputBuffer& pOutput);
39 size_t getOutputSize(const Module& pModule) const;
42 void writeSection(Module& pModule,
52 const Module& pModule,
56 const Module& pModule) const;
60 void emitSectionHeader(const Module& pModule,
70 const Module& pModule,
75 void emitEhFrame(Module& pModule,
107 uint64_t getLastStartOffset(const Module& pModule) const { in getLastStartOffset()
[all …]
DGroupReader.h31 GroupReader(Module& pModule,
41 bool readGroup(Module::input_iterator pRoot,
42 Module::input_iterator pEnd,
50 ArchiveListEntry(Archive& pArchive, Module::input_iterator pIterator) in ArchiveListEntry()
53 Module::input_iterator input;
57 Module& m_Module;
/frameworks/compile/mclinker/lib/Script/
DBinaryOp.cpp27 IntOperand* BinaryOp<Operator::MUL>::eval(const Module& pModule, in eval()
35 IntOperand* BinaryOp<Operator::DIV>::eval(const Module& pModule, in eval()
43 IntOperand* BinaryOp<Operator::MOD>::eval(const Module& pModule, in eval()
51 IntOperand* BinaryOp<Operator::ADD>::eval(const Module& pModule, in eval()
59 IntOperand* BinaryOp<Operator::SUB>::eval(const Module& pModule, in eval()
67 IntOperand* BinaryOp<Operator::LSHIFT>::eval(const Module& pModule, in eval()
75 IntOperand* BinaryOp<Operator::RSHIFT>::eval(const Module& pModule, in eval()
83 IntOperand* BinaryOp<Operator::LT>::eval(const Module& pModule, in eval()
91 IntOperand* BinaryOp<Operator::LE>::eval(const Module& pModule, in eval()
99 IntOperand* BinaryOp<Operator::GT>::eval(const Module& pModule, in eval()
[all …]
DUnaryOp.cpp27 const Module& pModule, in eval()
36 const Module& pModule, in eval()
45 const Module& pModule, in eval()
54 const Module& pModule, in eval()
62 IntOperand* UnaryOp<Operator::ABSOLUTE>::eval(const Module& pModule, in eval()
70 IntOperand* UnaryOp<Operator::ADDR>::eval(const Module& pModule, in eval()
92 IntOperand* UnaryOp<Operator::ALIGNOF>::eval(const Module& pModule, in eval()
115 const Module& pModule, in eval()
123 IntOperand* UnaryOp<Operator::DEFINED>::eval(const Module& pModule, in eval()
131 IntOperand* UnaryOp<Operator::LENGTH>::eval(const Module& pModule, in eval()
[all …]
/frameworks/rs/rsov/compiler/
DWrapper.h23 class Module; variable
31 class Module; variable
36 void AddHeader(Module *m);
38 Module *m);
41 const uint32_t numInput, Builder &b, Module *m);
45 bool DecorateGlobalBuffer(llvm::Module &M, Builder &b, Module *m);
52 android::spirit::Pass* CreateWrapperPass(const llvm::Module &LLVMModule);
DBuiltin.cpp36 Builder *b, Module *m) { in translateClampVector()
74 Module *m) { in translateExtInst()
82 Transformer *, Builder *, Module *)>
93 Transformer *, Builder *b, Module *m) { in BuiltinLookupTable()
100 Builder *b, Module *m) { in BuiltinLookupTable()
107 Transformer *tr, Builder *b, Module *m) { in BuiltinLookupTable()
114 Builder *b, Module *) -> Instruction * { in BuiltinLookupTable() argument
121 Transformer *, Builder *b, Module *) -> Instruction * { in BuiltinLookupTable() argument
128 Transformer *, Builder *b, Module *) { in BuiltinLookupTable() argument
134 Builder *b, Module *) { in BuiltinLookupTable() argument
[all …]
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.h50 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
53 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
66 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
119 virtual void preMergeSections(Module& pModule);
122 virtual void postMergeSections(Module& pModule);
125 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection);
130 const Module& pModule,
152 virtual bool relax(Module& pModule, IRBuilder& pBuilder);
158 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
174 virtual void doCreateProgramHdrs(Module& pModule);
[all …]
/frameworks/compile/libbcc/include/bcc/
DSource.h23 class Module; variable
38 llvm::Module *mModule;
50 Source(const char* name, BCCContext &pContext, llvm::Module &pModule,
66 llvm::Module &pModule,
87 void setModule(llvm::Module *pModule);
89 inline llvm::Module &getModule() in getModule()
91 inline const llvm::Module &getModule() const in getModule()
/frameworks/compile/libbcc/lib/
DRSAddDebugInfoPass.cpp56 virtual bool runOnModule(llvm::Module &Module) { in runOnModule() argument
58 bcinfo::MetadataExtractor me(&Module); in runOnModule()
75 if (llvm::Function *const func = Module.getFunction(expandName)) in runOnModule()
88 llvm::DIBuilder DebugInfo(Module); in runOnModule()
89 initializeDebugInfo(DebugInfo, Module); in runOnModule()
100 cleanupDebugInfo(Module); in runOnModule()
114 const llvm::Module &Module) { in initializeDebugInfo() argument
115 llvm::LLVMContext &ctx = Module.getContext(); in initializeDebugInfo()
128 Module.getNamedMetadata(DEBUG_COMPILE_UNIT_MDNAME); in initializeDebugInfo()
259 void cleanupDebugInfo(llvm::Module& Module) { in cleanupDebugInfo() argument
[all …]
/frameworks/compile/mclinker/include/mcld/
DLinker.h21 class Module; variable
39 bool normalize(Module& pModule, IRBuilder& pBuilder);
42 bool resolve(Module& pModule);
48 bool link(Module& pModule, IRBuilder& pBuilder);
55 bool emit(const Module& pModule, const std::string& pPath);
58 bool emit(const Module& pModule, int pFileDescriptor);
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64LDBackend.h41 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
44 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
57 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
111 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection);
122 void scanErrata(Module& pModule,
134 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
147 virtual void doCreateProgramHdrs(Module& pModule);
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.h41 class Module;
98 void setModule(wp<Module> module) { mModule = module; } in setModule()
103 wp<Module> mModule;
107 class Module : public RefBase {
110 Module(const sp<SoundTriggerHwService>& service,
114 virtual ~Module();
157 ModuleClient(const sp<Module>& module,
189 wp<Module> mModule;
218 void sendRecognitionEvent(struct sound_trigger_recognition_event *event, Module *module);
222 void sendSoundModelEvent(struct sound_trigger_model_event *event, Module *module);
[all …]
/frameworks/compile/slang/
Dslang_backend.h37 class Module; variable
63 llvm::Module *mpModule;
113 void dumpExportVarInfo(llvm::Module *M);
114 void dumpExportFunctionInfo(llvm::Module *M);
115 void dumpExportForEachInfo(llvm::Module *M);
116 void dumpExportReduceInfo(llvm::Module *M);
117 void dumpExportTypeInfo(llvm::Module *M);
162 void HandleTranslationUnitPost(llvm::Module *M);

12345678