Home
last modified time | relevance | path

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

12345678910>>...37

/external/google-breakpad/src/common/
Dmodule_unittest.cc47 using google_breakpad::Module;
52 static Module::Function *generate_duplicate_function(const string &name) { in generate_duplicate_function()
53 const Module::Address DUP_ADDRESS = 0xd35402aac7a7ad5cLL; in generate_duplicate_function()
54 const Module::Address DUP_SIZE = 0x200b26e605f99071LL; in generate_duplicate_function()
55 const Module::Address DUP_PARAMETER_SIZE = 0xf14ac4fed48c4a99LL; in generate_duplicate_function()
57 Module::Function *function = new Module::Function(name, DUP_ADDRESS); in generate_duplicate_function()
70 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); in TEST()
79 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); in TEST()
81 Module::File *file = m.FindFile("file_name.cc"); in TEST()
82 Module::Function *function = new Module::Function( in TEST()
[all …]
Ddwarf_line_to_module_unittest.cc42 using google_breakpad::Module;
43 using google_breakpad::Module;
46 Module m("name", "os", "architecture", "id"); in TEST()
47 vector<Module::Line> lines; in TEST()
54 vector<Module::File *> files; in TEST()
67 Module m("name", "os", "architecture", "id"); in TEST()
68 vector<Module::Line> lines; in TEST()
89 vector<Module::File *> files; in TEST()
127 Module m("name", "os", "architecture", "id"); in TEST()
128 vector<Module::Line> lines; in TEST()
[all …]
Dstabs_to_module_unittest.cc39 using google_breakpad::Module;
44 Module m("name", "os", "arch", "id"); in TEST()
58 Module::File *file = m.FindExistingFile("source-file-name"); in TEST()
61 vector<Module::Function *> functions; in TEST()
64 Module::Function *function = functions[0]; in TEST()
70 Module::Line *line = &function->lines[0]; in TEST()
81 Module m("name", "os", "arch", "id"); in TEST()
91 vector<Module::Extern *> externs; in TEST()
94 Module::Extern *extern1 = externs[0]; in TEST()
96 EXPECT_EQ((Module::Address)0x1111, extern1->address); in TEST()
[all …]
Dstabs_to_module.cc61 for (vector<Module::Function *>::const_iterator func_it = functions_.begin(); in ~StabsToModule()
75 boundaries_.push_back(static_cast<Module::Address>(address)); in StartCompilationUnit()
86 boundaries_.push_back(static_cast<Module::Address>(address)); in EndCompilationUnit()
93 Module::Function *f = new Module::Function(Demangle(name), address); in StartFunction()
97 boundaries_.push_back(static_cast<Module::Address>(address)); in StartFunction()
113 boundaries_.push_back(static_cast<Module::Address>(address)); in EndFunction()
124 Module::Line line; in Line()
134 Module::Extern *ext = new Module::Extern(address); in Extern()
160 Module::Function::CompareByAddress); in Finalize()
162 for (vector<Module::Function *>::const_iterator func_it = functions_.begin(); in Finalize()
[all …]
Dmodule.cc51 Module::Module(const string &name, const string &os, in Module() function in google_breakpad::Module
59 Module::~Module() { in ~Module()
74 void Module::SetLoadAddress(Address address) { in SetLoadAddress()
78 void Module::AddFunction(Function *function) { in AddFunction()
116 void Module::AddFunctions(vector<Function *>::iterator begin, in AddFunctions()
122 void Module::AddStackFrameEntry(StackFrameEntry *stack_frame_entry) { in AddStackFrameEntry()
126 void Module::AddExtern(Extern *ext) { in AddExtern()
135 void Module::GetFunctions(vector<Function *> *vec, in GetFunctions()
140 void Module::GetExterns(vector<Extern *> *vec, in GetExterns()
145 Module::File *Module::FindFile(const string &name) { in FindFile()
[all …]
/external/clang/include/clang/Lex/
DModuleMap.h56 Module *CompilingModule;
60 Module *SourceModule;
65 llvm::StringMap<Module *> Modules;
88 llvm::PointerIntPair<Module *, 2, ModuleHeaderRole> Storage;
92 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) { } in KnownHeader()
95 Module *getModule() const { return Storage.getPointer(); } in getModule()
128 llvm::DenseMap<const DirectoryEntry *, Module *> UmbrellaDirs;
169 llvm::DenseMap<const Module *, const FileEntry *> InferredModuleAllowedBy;
171 llvm::DenseMap<const Module *, AdditionalModMapsSet> AdditionalModMaps;
191 Module::ExportDecl
[all …]
/external/clang/test/Modules/
Drebuild.m3 // Build Module and set its timestamp
4 // RUN: echo '@import Module;' | %clang_cc1 -fmodules -fmodules-cache-path=%t -fdisable-module-hash…
5 // RUN: touch -m -a -t 201101010000 %t/Module.pcm
6 // RUN: cp %t/Module.pcm %t/Module.pcm.saved
7 // RUN: wc -c %t/Module.pcm > %t/Module.size.saved
11 // RUN: diff %t/Module.pcm %t/Module.pcm.saved
14 // Rebuild Module, reset its timestamp, and verify its size hasn't changed
15 // RUN: rm %t/Module.pcm
16 // RUN: echo '@import Module;' | %clang_cc1 -fmodules -fmodules-cache-path=%t -fdisable-module-hash…
17 // RUN: touch -m -a -t 201101010000 %t/Module.pcm
[all …]
DWerror.m9 // RUN: cp %t/Module.pcm %t-saved/Module.pcm
14 // RUN: diff %t/Module.pcm %t-saved/Module.pcm
20 // RUN: not diff %t/Module.pcm %t-saved/Module.pcm
21 // RUN: cp %t/Module.pcm %t-saved/Module.pcm
27 // RUN: diff %t/Module.pcm %t-saved/Module.pcm
33 // RUN: not diff %t/Module.pcm %t-saved/Module.pcm
34 // RUN: cp %t/Module.pcm %t-saved/Module.pcm
42 // RUN-DISABLED: diff %t/Module.pcm %t-saved/Module.pcm
48 // RUN: cp %t/Module.pcm %t-saved/Module.pcm
52 // RUN: not diff %t/Module.pcm %t-saved/Module.pcm
[all …]
/external/llvm/lib/IR/
DModule.cpp40 template class llvm::SymbolTableListTraits<Function, Module>;
41 template class llvm::SymbolTableListTraits<GlobalVariable, Module>;
42 template class llvm::SymbolTableListTraits<GlobalAlias, Module>;
48 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module
55 Module::~Module() { in ~Module()
66 RandomNumberGenerator *Module::createRNG(const Pass* P) const { in createRNG()
88 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue()
94 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID()
101 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames()
115 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction()
[all …]
/external/llvm/tools/bugpoint/
DBugDriver.h29 class Module; variable
51 Module *Program; // The raw program, linked together
135 bool runPasses(Module *M) const { in runPasses()
139 Module *getProgram() const { return Program; } in getProgram()
143 Module *swapProgramIn(Module *M) { in swapProgramIn()
144 Module *OldProgram = Program; in swapProgramIn()
162 void setNewProgram(Module *M);
168 void compileProgram(Module *M, std::string *Error) const;
173 std::string executeProgram(const Module *Program,
185 std::string executeProgramSafely(const Module *Program,
[all …]
DMiscompilation.cpp131 std::unique_ptr<Module> PrefixOutput = in doTest()
148 std::unique_ptr<Module> OriginalInput( in doTest()
179 bool (*TestFn)(BugDriver &, Module *, Module *, std::string &);
182 bool (*F)(BugDriver &, Module *, Module *, in ReduceMiscompilingFunctions() argument
217 static Module *TestMergedProgram(const BugDriver &BD, Module *M1, Module *M2, in TestMergedProgram()
262 Module *Clone = CloneModule(BD.getProgram(), VMap); in TestFuncs()
263 Module *Orig = BD.swapProgramIn(Clone); in TestFuncs()
273 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
274 Module *ToOptimize = SplitFunctionsOutOfModule(ToNotOptimize, FuncsOnClone, in TestFuncs()
287 static void DisambiguateGlobalSymbols(Module *M) { in DisambiguateGlobalSymbols()
[all …]
DExtractFunction.cpp85 std::unique_ptr<Module>
89 Module *Clone = CloneModule(Program); in deleteInstructionFromProgram()
94 Module::iterator RFI = Clone->begin(); // Get iterator to corresponding fn in deleteInstructionFromProgram()
96 Module::const_iterator(PF))); in deleteInstructionFromProgram()
122 std::unique_ptr<Module> New = runPassesOn(Clone, Passes); in deleteInstructionFromProgram()
131 std::unique_ptr<Module>
132 BugDriver::performFinalCleanups(Module *M, bool MayModifySemantics) { in performFinalCleanups()
134 for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I) in performFinalCleanups()
145 std::unique_ptr<Module> New = runPassesOn(M, CleanupPasses); in performFinalCleanups()
154 std::unique_ptr<Module> BugDriver::extractLoop(Module *M) { in extractLoop()
[all …]
/external/clang/include/clang/Basic/
DModule.h47 class Module {
57 Module *Parent;
69 std::vector<Module *> SubModules;
86 mutable llvm::DenseSet<const Module*> VisibleModulesCache;
204 SmallVector<Module *, 2> Imports;
210 typedef llvm::PointerIntPair<Module *, 1, bool> ExportDecl;
234 SmallVector<Module *, 2> DirectUses;
280 Module *Other;
290 Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent,
293 ~Module();
[all …]
/external/clang/lib/Basic/
DModule.cpp27 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, in Module() function in Module
50 Module::~Module() { in ~Module()
78 bool Module::isAvailable(const LangOptions &LangOpts, const TargetInfo &Target, in isAvailable()
84 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable()
101 bool Module::isSubModuleOf(const Module *Other) const { in isSubModuleOf()
102 const Module *This = this; in isSubModuleOf()
113 const Module *Module::getTopLevelModule() const { in getTopLevelModule()
114 const Module *Result = this; in getTopLevelModule()
121 std::string Module::getFullModuleName() const { in getFullModuleName()
125 for (const Module *M = this; M; M = M->Parent) in getFullModuleName()
[all …]
/external/llvm/bindings/ocaml/transforms/ipo/
Dllvm_ipo.ml11 : [ `Module ] Llvm.PassManager.t -> unit
14 : [ `Module ] Llvm.PassManager.t -> unit
17 : [ `Module ] Llvm.PassManager.t -> unit
20 : [ `Module ] Llvm.PassManager.t -> unit
23 : [ `Module ] Llvm.PassManager.t -> unit
26 : [ `Module ] Llvm.PassManager.t -> unit
29 : [ `Module ] Llvm.PassManager.t -> unit
32 : [ `Module ] Llvm.PassManager.t -> unit
35 : [ `Module ] Llvm.PassManager.t -> unit
38 : [ `Module ] Llvm.PassManager.t -> unit
[all …]
Dllvm_ipo.mli17 : [ `Module ] Llvm.PassManager.t -> unit
22 : [ `Module ] Llvm.PassManager.t -> unit
27 : [ `Module ] Llvm.PassManager.t -> unit
32 : [ `Module ] Llvm.PassManager.t -> unit
37 : [ `Module ] Llvm.PassManager.t -> unit
42 : [ `Module ] Llvm.PassManager.t -> unit
47 : [ `Module ] Llvm.PassManager.t -> unit
52 : [ `Module ] Llvm.PassManager.t -> unit
57 : [ `Module ] Llvm.PassManager.t -> unit
62 : [ `Module ] Llvm.PassManager.t -> unit
[all …]
/external/google-breakpad/src/processor/testdata/
Dminidump2.stackwalk.machine_readable.out4 Module|test_app.exe||test_app.pdb|5A9832E5287241C1838ED98914E9B7FF1|0x00400000|0x0042cfff|1
5 Module|dbghelp.dll|5.1.2600.2180|dbghelp.pdb|39559573E21B46F28E286923BE9E6A761|0x59a60000|0x59b00ff…
6 Module|imm32.dll|5.1.2600.2180|imm32.pdb|2C17A49C251B4C8EB9E2AD13D7D9EA162|0x76390000|0x763acfff|0
7 Module|psapi.dll|5.1.2600.2180|psapi.pdb|A5C3A1F9689F43D8AD228A09293889702|0x76bf0000|0x76bfafff|0
8 Module|ole32.dll|5.1.2600.2726|ole32.pdb|683B65B246F4418796D2EE6D4C55EB112|0x774e0000|0x7761cfff|0
9 Module|version.dll|5.1.2600.2180|version.pdb|180A90C40384463E82DDC45B2C8AB76E2|0x77c00000|0x77c07ff…
10 Module|msvcrt.dll|7.0.2600.2180|msvcrt.pdb|A678F3C30DED426B839032B996987E381|0x77c10000|0x77c67fff|0
11 Module|user32.dll|5.1.2600.2622|user32.pdb|EE2B714D83A34C9D88027621272F83262|0x77d40000|0x77dcffff|0
12 Module|advapi32.dll|5.1.2600.2180|advapi32.pdb|455D6C5F184D45BBB5C5F30F829751142|0x77dd0000|0x77e6a…
13 Module|rpcrt4.dll|5.1.2600.2180|rpcrt4.pdb|BEA45A721DA141DAA3BA86B3A20311532|0x77e70000|0x77f00fff|0
[all …]
/external/llvm/include/llvm/Linker/
DLinker.h19 class Module; variable
63 Linker(Module *M, DiagnosticHandlerFunction DiagnosticHandler);
64 Linker(Module *M);
67 Module *getModule() const { return Composite; } in getModule()
72 bool linkInModule(Module *Src);
75 void setModule(Module *Dst);
77 static bool LinkModules(Module *Dest, Module *Src,
80 static bool LinkModules(Module *Dest, Module *Src);
83 void init(Module *M, DiagnosticHandlerFunction DiagnosticHandler);
84 Module *Composite;
/external/google-breakpad/src/common/linux/
Delf_symbols_to_module_unittest.cc47 using google_breakpad::Module;
82 Module module;
89 vector<Module::Extern *> externs;
128 Module::Extern *extern1 = externs[0]; in TEST_P()
130 EXPECT_EQ((Module::Address)kFuncAddr, extern1->address); in TEST_P()
152 Module::Extern *extern1 = externs[0]; in TEST_P()
154 EXPECT_EQ((Module::Address)kFuncAddr, extern1->address); in TEST_P()
181 Module::Extern *extern1 = externs[0]; in TEST_P()
183 EXPECT_EQ((Module::Address)kFuncAddr, extern1->address); in TEST_P()
213 Module::Extern *extern1 = externs[0]; in TEST_P()
[all …]
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITCAPITest.cpp149 Module = nullptr; in SetUp()
158 else if (Module) in TearDown()
159 LLVMDisposeModule(Module); in TearDown()
163 Module = LLVMModuleCreateWithName("simple_module"); in buildSimpleFunction()
165 LLVMSetTarget(Module, HostTriple.c_str()); in buildSimpleFunction()
167 Function = LLVMAddFunction(Module, "simple_function", in buildSimpleFunction()
176 LLVMVerifyModule(Module, LLVMAbortProcessAction, &Error); in buildSimpleFunction()
183 Module = LLVMModuleCreateWithName("simple_module"); in buildFunctionThatUsesStackmap()
185 LLVMSetTarget(Module, HostTriple.c_str()); in buildFunctionThatUsesStackmap()
189 Module, "llvm.experimental.stackmap", in buildFunctionThatUsesStackmap()
[all …]
DMCJITTestBase.h43 Module *createEmptyModule(StringRef Name = StringRef()) {
44 Module * M = new Module(Name, Context);
50 Function *startFunction(Module *M, StringRef Name) { in startFunction()
68 Function *insertSimpleCallFunction(Module *M, Function *Callee) { in insertSimpleCallFunction()
85 Function *insertMainFunction(Module *M, uint32_t returnCode) { in insertMainFunction()
97 Function *insertAddFunction(Module *M, StringRef Name = "add") {
112 Function *insertExternalReferenceToFunction(Module *M, StringRef Name) { in insertExternalReferenceToFunction()
120 Function *insertExternalReferenceToFunction(Module *M, StringRef Name, in insertExternalReferenceToFunction()
129 Function *insertExternalReferenceToFunction(Module *M, Function *Func) { in insertExternalReferenceToFunction()
138 GlobalVariable *insertGlobalInt32(Module *M, in insertGlobalInt32()
[all …]
/external/lldb/source/Core/
DModule.cpp44 typedef std::vector<Module *> ModuleCollection;
63 Module::GetAllocationModuleCollectionMutex() in GetAllocationModuleCollectionMutex()
77 Module::GetNumberAllocatedModules () in GetNumberAllocatedModules()
83 Module *
84 Module::GetAllocatedModuleAtIndex (size_t idx) in GetAllocatedModuleAtIndex()
108 Mutex::Locker locker (Module::GetAllocationModuleCollectionMutex());
116 Module *module = modules[i];
130 Module::Module (const ModuleSpec &module_spec) : in Module() function in Module
170 Module::Module(const FileSpec& file_spec, in Module() function in Module
220 Module::~Module() in ~Module()
[all …]
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h70 MCJIT(std::unique_ptr<Module> M, std::unique_ptr<TargetMachine> tm,
74 typedef llvm::SmallPtrSet<Module *, 4> ModulePtrSet;
98 void addModule(std::unique_ptr<Module> M) { in addModule()
102 bool removeModule(Module *M) { in removeModule()
107 bool hasModuleBeenAddedButNotLoaded(Module *M) { in hasModuleBeenAddedButNotLoaded()
111 bool hasModuleBeenLoaded(Module *M) { in hasModuleBeenLoaded()
117 bool hasModuleBeenFinalized(Module *M) { in hasModuleBeenFinalized()
121 bool ownsModule(Module* M) { in ownsModule()
126 void markModuleAsLoaded(Module *M) { in markModuleAsLoaded()
140 void markModuleAsFinalized(Module *M) { in markModuleAsFinalized()
[all …]
/external/clang/lib/Lex/
DModuleMap.cpp39 Module::ExportDecl
40 ModuleMap::resolveExport(Module *Mod, in resolveExport()
41 const Module::UnresolvedExportDecl &Unresolved, in resolveExport()
46 return Module::ExportDecl(nullptr, true); in resolveExport()
50 Module *Context = resolveModuleId(Unresolved.Id, Mod, Complain); in resolveExport()
52 return Module::ExportDecl(); in resolveExport()
54 return Module::ExportDecl(Context, Unresolved.Wildcard); in resolveExport()
57 Module *ModuleMap::resolveModuleId(const ModuleId &Id, Module *Mod, in resolveModuleId()
60 Module *Context = lookupModuleUnqualified(Id[0].first, Mod); in resolveModuleId()
71 Module *Sub = lookupModuleQualified(Id[I].first, Context); in resolveModuleId()
[all …]
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp28 Module *llvm::CloneModule(const Module *M) { in CloneModule()
35 Module *llvm::CloneModule(const Module *M, ValueToValueMapTy &VMap) { in CloneModule()
37 Module *New = new Module(M->getModuleIdentifier(), M->getContext()); in CloneModule()
46 for (Module::const_global_iterator I = M->global_begin(), E = M->global_end(); in CloneModule()
60 for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I) { in CloneModule()
69 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end(); in CloneModule()
83 for (Module::const_global_iterator I = M->global_begin(), E = M->global_end(); in CloneModule()
92 for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I) { in CloneModule()
108 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end(); in CloneModule()
116 for (Module::const_named_metadata_iterator I = M->named_metadata_begin(), in CloneModule()

12345678910>>...37