Home
last modified time | relevance | path

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

1234567

/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&,
DTernaryOp.h19 class Module; variable
39 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
53 IntOperand* TernaryOp<Operator::TERNARY_IF>::eval(const Module&,
58 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/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/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/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/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;
100 void setModule(wp<Module> module) { mModule = module; } in setModule()
105 wp<Module> mModule;
109 class Module : public RefBase {
112 Module(const sp<SoundTriggerHwService>& service,
116 virtual ~Module();
161 ModuleClient(const sp<Module>& module,
195 wp<Module> mModule;
225 void sendRecognitionEvent(struct sound_trigger_recognition_event *event, Module *module);
229 void sendSoundModelEvent(struct sound_trigger_model_event *event, Module *module);
[all …]
DSoundTriggerHwService.cpp99 sp<Module> module = new Module(this, halInterface, descriptor); in onFirstRef()
155 sp<Module> module = mModules.valueAt(index); in attach()
216 Module *module = (Module *)cookie; in recognitionCallback()
273 Module *module) in sendRecognitionEvent()
293 Module *module = (Module *)cookie; in soundModelCallback()
322 Module *module) in sendSoundModelEvent()
351 Module *module) in sendServiceStateEvent()
384 sp<Module> module; in onCallbackEvent()
499 SoundTriggerHwService::Module::Module(const sp<SoundTriggerHwService>& service, in Module() function in android::SoundTriggerHwService::Module
507 SoundTriggerHwService::Module::~Module() { in ~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);
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.h45 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
48 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
58 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
89 void orderSymbolTable(Module& pModule);
126 bool allocateCommonSymbols(Module& pModule);
155 void doCreateProgramHdrs(Module& pModule);
164 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
222 void preMergeSections(Module& pModule);
225 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection);
277 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
[all …]
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.h50 bool allocateCommonSymbols(Module& pModule);
53 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
95 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
97 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
105 bool doRelax(Module& pModule, IRBuilder& pBuilder, bool& pFinished);
128 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection);
157 void doCreateProgramHdrs(Module& pModule);
/frameworks/compile/mclinker/lib/Target/X86/
DX86LDBackend.h47 void doPostLayout(Module& pModule, IRBuilder& pBuilder);
82 virtual void initTargetSections(Module& pModule, ObjectBuilder& pBuilder) = 0;
84 void initTargetSymbols(IRBuilder& pBuilder, Module& pModule);
119 void doCreateProgramHdrs(Module& pModule);
132 void addEhFrameForPLT(Module& pModule);
164 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
206 void initTargetSections(Module& pModule, ObjectBuilder& pBuilder);
DX86Relocator.h82 Module& pModule,
101 Module& pModule,
106 Module& pModule,
162 Module& pModule,
167 Module& pModule,
227 Module& pModule,
232 Module& pModule,
/frameworks/compile/libbcc/tools/bcc_strip_attr/
Dbcc_strip_attr.cpp76 virtual bool runOnModule(Module &M) { in runOnModule()
78 for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) { in runOnModule()
96 static inline std::unique_ptr<Module> LoadFile(const char *argv0, in LoadFile()
100 std::unique_ptr<Module> Result = parseIRFile(FN, Err, Context); in LoadFile()
106 return std::unique_ptr<Module>(); in LoadFile()
121 std::unique_ptr<Module> M(LoadFile(argv[0], InputFilenames[0], Context)); in main()
/frameworks/compile/mclinker/include/mcld/Object/
DObjectLinker.h25 class Module; variable
41 bool initialize(Module& pModule, IRBuilder& pBuilder);
69 void addSymbolsToOutput(Module& pModule);
163 void addSymbolToOutput(ResolveInfo& pInfo, Module& pModule);
167 Module* m_pModule;

1234567