Home
last modified time | relevance | path

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

12345678910>>...49

/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.h74 Module *CompilingModule;
78 Module *SourceModule;
83 llvm::StringMap<Module *> Modules;
109 llvm::PointerIntPair<Module *, 2, ModuleHeaderRole> Storage;
113 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) { } in KnownHeader()
123 Module *getModule() const { return Storage.getPointer(); } in getModule()
156 llvm::DenseMap<const DirectoryEntry *, Module *> UmbrellaDirs;
197 llvm::DenseMap<const Module *, const FileEntry *> InferredModuleAllowedBy;
199 llvm::DenseMap<const Module *, AdditionalModMapsSet> AdditionalModMaps;
219 Module::ExportDecl
[all …]
/external/clang/test/Modules/
Drebuild.m3 // Build Module and set its timestamp
4 // RUN: echo '@import Module;' | %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%…
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 -fimplicit-module-maps -fmodules-cache-path=%…
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.cpp49 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module
56 Module::~Module() { in ~Module()
67 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()
105 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags()
118 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction()
141 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction()
151 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 &, std::unique_ptr<Module>,
180 std::unique_ptr<Module>, std::string &);
184 bool (*F)(BugDriver &, std::unique_ptr<Module>, in ReduceMiscompilingFunctions() argument
185 std::unique_ptr<Module>, in ReduceMiscompilingFunctions()
219 static std::unique_ptr<Module> testMergedProgram(const BugDriver &BD, in testMergedProgram()
220 std::unique_ptr<Module> M1, in testMergedProgram()
221 std::unique_ptr<Module> M2, in testMergedProgram()
257 Module *Clone = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
[all …]
/external/clang/include/clang/Basic/
DModule.h49 class Module {
59 Module *Parent;
77 std::vector<Module *> SubModules;
94 mutable llvm::DenseSet<const Module*> VisibleModulesCache;
223 llvm::SmallSetVector<Module *, 2> Imports;
229 typedef llvm::PointerIntPair<Module *, 1, bool> ExportDecl;
253 SmallVector<Module *, 2> DirectUses;
299 Module *Other;
309 Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent,
312 ~Module();
[all …]
/external/clang/lib/Basic/
DModule.cpp27 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, in Module() function in Module
51 Module::~Module() { in ~Module()
80 bool Module::isAvailable(const LangOptions &LangOpts, const TargetInfo &Target, in isAvailable()
86 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable()
103 bool Module::isSubModuleOf(const Module *Other) const { in isSubModuleOf()
104 const Module *This = this; in isSubModuleOf()
115 const Module *Module::getTopLevelModule() const { in getTopLevelModule()
116 const Module *Result = this; in getTopLevelModule()
123 std::string Module::getFullModuleName() const { in getFullModuleName()
127 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/guice/core/src/com/google/inject/util/
DModules.java29 import com.google.inject.Module;
59 public static final Module EMPTY_MODULE = new EmptyModule();
60 private static class EmptyModule implements Module {
80 public static OverriddenModuleBuilder override(Module... modules) { in override()
100 public static OverriddenModuleBuilder override(Iterable<? extends Module> modules) { in override()
107 public static Module combine(Module... modules) { in combine()
114 public static Module combine(Iterable<? extends Module> modules) { in combine()
118 private static class CombinedModule implements Module {
119 final Set<Module> modulesSet;
121 CombinedModule(Iterable<? extends Module> modules) { in CombinedModule()
[all …]
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITCAPITest.cpp151 Module = nullptr; in SetUp()
160 else if (Module) in TearDown()
161 LLVMDisposeModule(Module); in TearDown()
165 Module = LLVMModuleCreateWithName("simple_module"); in buildSimpleFunction()
167 LLVMSetTarget(Module, HostTriple.c_str()); in buildSimpleFunction()
169 Function = LLVMAddFunction(Module, "simple_function", in buildSimpleFunction()
178 LLVMVerifyModule(Module, LLVMAbortProcessAction, &Error); in buildSimpleFunction()
185 Module = LLVMModuleCreateWithName("simple_module"); in buildFunctionThatUsesStackmap()
187 LLVMSetTarget(Module, HostTriple.c_str()); in buildFunctionThatUsesStackmap()
191 Module, "llvm.experimental.stackmap", in buildFunctionThatUsesStackmap()
[all …]
DMCJITTestBase.h42 Module *createEmptyModule(StringRef Name = StringRef()) {
43 Module * M = new Module(Name, Context);
49 Function *startFunction(Module *M, StringRef Name) { in startFunction()
67 Function *insertSimpleCallFunction(Module *M, Function *Callee) { in insertSimpleCallFunction()
83 Function *insertMainFunction(Module *M, uint32_t returnCode) { in insertMainFunction()
95 Function *insertAddFunction(Module *M, StringRef Name = "add") {
110 Function *insertExternalReferenceToFunction(Module *M, StringRef Name) { in insertExternalReferenceToFunction()
118 Function *insertExternalReferenceToFunction(Module *M, StringRef Name, in insertExternalReferenceToFunction()
127 Function *insertExternalReferenceToFunction(Module *M, Function *Func) { in insertExternalReferenceToFunction()
136 GlobalVariable *insertGlobalInt32(Module *M, in insertGlobalInt32()
[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/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/include/llvm/Linker/
DLinker.h17 class Module; variable
36 Linker(Module &M);
49 bool linkInModule(std::unique_ptr<Module> Src, unsigned Flags = Flags::None,
56 bool linkInModuleForCAPI(Module &Src);
58 static bool linkModules(Module &Dest, std::unique_ptr<Module> Src,
66 bool linkInMetadata(Module &Src,
72 std::unique_ptr<Module> renameModuleForThinLTO(std::unique_ptr<Module> M,
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp30 M.reset(new Module("MyModule", Ctx)); in SetUp()
65 std::unique_ptr<Module> M;
100 Module *LinkedModule = new Module("MyModuleLinked", Ctx); in TEST_F()
133 static Module *getExternal(LLVMContext &Ctx, StringRef FuncName) { in getExternal()
135 Module *M = new Module("ExternalModule", Ctx); in getExternal()
149 static Module *getInternal(LLVMContext &Ctx) { in getInternal()
150 Module *InternalM = new Module("InternalModule", Ctx); in getInternal()
173 std::unique_ptr<Module> InternalM(getInternal(Ctx)); in TEST_F()
174 std::unique_ptr<Module> EmptyM(new Module("EmptyModule1", Ctx)); in TEST_F()
180 std::unique_ptr<Module> InternalM(getInternal(Ctx)); in TEST_F()
[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/llvm/lib/Transforms/Utils/
DCloneModule.cpp27 std::unique_ptr<Module> llvm::CloneModule(const Module *M) { in CloneModule()
34 std::unique_ptr<Module> llvm::CloneModule(const Module *M, in CloneModule()
39 std::unique_ptr<Module> llvm::CloneModule( in CloneModule()
40 const Module *M, ValueToValueMapTy &VMap, in CloneModule()
43 std::unique_ptr<Module> New = in CloneModule()
44 llvm::make_unique<Module>(M->getModuleIdentifier(), M->getContext()); in CloneModule()
53 for (Module::const_global_iterator I = M->global_begin(), E = M->global_end(); in CloneModule()
67 for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I) { in CloneModule()
76 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end(); in CloneModule()
110 for (Module::const_global_iterator I = M->global_begin(), E = M->global_end(); in CloneModule()
[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 …]

12345678910>>...49