/external/clang/include/clang/Lex/ |
D | ModuleMap.h | 56 llvm::StringMap<Module *> Modules; 61 llvm::PointerIntPair<Module *, 1, bool> Storage; 65 KnownHeader(Module *M, bool Excluded) : Storage(M, Excluded) { } in KnownHeader() 68 Module *getModule() const { return Storage.getPointer(); } in getModule() 95 llvm::DenseMap<const DirectoryEntry *, Module *> UmbrellaDirs; 134 Module::ExportDecl 135 resolveExport(Module *Mod, const Module::UnresolvedExportDecl &Unresolved, 174 Module *findModuleForHeader(const FileEntry *File); 185 Module *findModule(StringRef Name) const; 196 Module *lookupModuleUnqualified(StringRef Name, Module *Context) const; [all …]
|
D | ModuleLoader.h | 25 class Module; variable 33 llvm::PointerIntPair<Module *, 1, bool> Storage; 38 ModuleLoadResult(Module *module, bool missingExpected) in ModuleLoadResult() 41 operator Module *() const { return Storage.getPointer(); } 80 Module::NameVisibilityKind Visibility, 84 virtual void makeModuleVisible(Module *Mod, 85 Module::NameVisibilityKind Visibility,
|
/external/llvm/lib/IR/ |
D | Module.cpp | 37 template class llvm::SymbolTableListTraits<Function, Module>; 38 template class llvm::SymbolTableListTraits<GlobalVariable, Module>; 39 template class llvm::SymbolTableListTraits<GlobalAlias, Module>; 45 Module::Module(StringRef MID, LLVMContext& C) in Module() function in Module 52 Module::~Module() { in ~Module() 64 Module::Endianness Module::getEndianness() const { in getEndianness() 66 Module::Endianness ret = AnyEndianness; in getEndianness() 85 Module::PointerSize Module::getPointerSize() const { in getPointerSize() 87 Module::PointerSize ret = AnyPointerSize; in getPointerSize() 111 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue() [all …]
|
/external/llvm/tools/bugpoint/ |
D | BugDriver.h | 28 class Module; variable 50 Module *Program; // The raw program, linked together 134 bool runPasses(Module *M) const { in runPasses() 138 Module *getProgram() const { return Program; } in getProgram() 142 Module *swapProgramIn(Module *M) { in swapProgramIn() 143 Module *OldProgram = Program; in swapProgramIn() 161 void setNewProgram(Module *M); 167 void compileProgram(Module *M, std::string *Error) const; 172 std::string executeProgram(const Module *Program, 184 std::string executeProgramSafely(const Module *Program, [all …]
|
D | Miscompilation.cpp | 131 OwningPtr<Module> PrefixOutput(ParseInputFile(BitcodeResult, in doTest() 148 OwningPtr<Module> OriginalInput(BD.swapProgramIn(PrefixOutput.take())); in doTest() 178 bool (*TestFn)(BugDriver &, Module *, Module *, std::string &); 181 bool (*F)(BugDriver &, Module *, Module *, in ReduceMiscompilingFunctions() argument 216 static Module *TestMergedProgram(const BugDriver &BD, Module *M1, Module *M2, in TestMergedProgram() 265 Module *Clone = CloneModule(BD.getProgram(), VMap); in TestFuncs() 266 Module *Orig = BD.swapProgramIn(Clone); in TestFuncs() 276 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs() 277 Module *ToOptimize = SplitFunctionsOutOfModule(ToNotOptimize, FuncsOnClone, in TestFuncs() 290 static void DisambiguateGlobalSymbols(Module *M) { in DisambiguateGlobalSymbols() [all …]
|
D | ExtractFunction.cpp | 89 Module *BugDriver::deleteInstructionFromProgram(const Instruction *I, in deleteInstructionFromProgram() 92 Module *Clone = CloneModule(Program); in deleteInstructionFromProgram() 97 Module::iterator RFI = Clone->begin(); // Get iterator to corresponding fn in deleteInstructionFromProgram() 99 Module::const_iterator(PF))); in deleteInstructionFromProgram() 125 Module *New = runPassesOn(Clone, Passes); in deleteInstructionFromProgram() 138 Module *BugDriver::performFinalCleanups(Module *M, bool MayModifySemantics) { in performFinalCleanups() 140 for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I) in performFinalCleanups() 151 Module *New = runPassesOn(M, CleanupPasses); in performFinalCleanups() 164 Module *BugDriver::ExtractLoop(Module *M) { in ExtractLoop() 168 Module *NewM = runPassesOn(M, LoopExtractPasses); in ExtractLoop() [all …]
|
D | CrashDebugger.cpp | 66 Module *OrigProgram = 0; in doTest() 109 bool (*TestFn)(const BugDriver &, Module *); 112 bool (*testFn)(const BugDriver &, Module *)) in ReduceCrashingGlobalVariables() argument 134 Module *M = CloneModule(BD.getProgram(), VMap); in TestGlobalVariables() 151 for (Module::global_iterator I = M->global_begin(), E = M->global_end(); in TestGlobalVariables() 179 bool (*TestFn)(const BugDriver &, Module *); 182 bool (*testFn)(const BugDriver &, Module *)) in ReduceCrashingFunctions() argument 208 Module *M = CloneModule(BD.getProgram(), VMap); in TestFuncs() 226 for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I) in TestFuncs() 252 bool (*TestFn)(const BugDriver &, Module *); [all …]
|
/external/clang/lib/Basic/ |
D | Module.cpp | 25 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, in Module() function in Module 44 Module::~Module() { in ~Module() 69 Module::isAvailable(const LangOptions &LangOpts, const TargetInfo &Target, in isAvailable() 74 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable() 86 bool Module::isSubModuleOf(Module *Other) const { in isSubModuleOf() 87 const Module *This = this; in isSubModuleOf() 98 const Module *Module::getTopLevelModule() const { in getTopLevelModule() 99 const Module *Result = this; in getTopLevelModule() 106 std::string Module::getFullModuleName() const { in getFullModuleName() 110 for (const Module *M = this; M; M = M->Parent) in getFullModuleName() [all …]
|
/external/clang/include/clang/Basic/ |
D | Module.h | 45 class Module { 55 Module *Parent; 62 std::vector<Module *> SubModules; 143 SmallVector<Module *, 2> Imports; 149 typedef llvm::PointerIntPair<Module *, 1, bool> ExportDecl; 194 explicit Module(StringRef Name, SourceLocation DefinitionLoc, in Module() function 203 Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, 206 ~Module(); 232 bool isSubModuleOf(Module *Other) const; 238 for (const Module *Mod = this; Mod; Mod = Mod->Parent) in isPartOfFramework() [all …]
|
/external/llvm/bindings/ocaml/transforms/ipo/ |
D | llvm_ipo.ml | 16 external add_argument_promotion : [ | `Module ] Llvm.PassManager.t -> unit = 20 external add_constant_merge : [ | `Module ] Llvm.PassManager.t -> unit = 25 [ | `Module ] Llvm.PassManager.t -> unit = "llvm_add_dead_arg_elimination" 28 external add_function_attrs : [ | `Module ] Llvm.PassManager.t -> unit = 32 external add_function_inlining : [ | `Module ] Llvm.PassManager.t -> unit = 36 external add_global_dce : [ | `Module ] Llvm.PassManager.t -> unit = 40 external add_global_optimizer : [ | `Module ] Llvm.PassManager.t -> unit = 44 external add_ipc_propagation : [ | `Module ] Llvm.PassManager.t -> unit = 48 external add_prune_eh : [ | `Module ] Llvm.PassManager.t -> unit = 52 external add_ipsccp : [ | `Module ] Llvm.PassManager.t -> unit = [all …]
|
D | llvm_ipo.mli | 16 external add_argument_promotion : [ | `Module ] Llvm.PassManager.t -> unit = 20 external add_constant_merge : [ | `Module ] Llvm.PassManager.t -> unit = 25 [ | `Module ] Llvm.PassManager.t -> unit = "llvm_add_dead_arg_elimination" 28 external add_function_attrs : [ | `Module ] Llvm.PassManager.t -> unit = 32 external add_function_inlining : [ | `Module ] Llvm.PassManager.t -> unit = 36 external add_global_dce : [ | `Module ] Llvm.PassManager.t -> unit = 40 external add_global_optimizer : [ | `Module ] Llvm.PassManager.t -> unit = 44 external add_ipc_propagation : [ | `Module ] Llvm.PassManager.t -> unit = 48 external add_prune_eh : [ | `Module ] Llvm.PassManager.t -> unit = 52 external add_ipsccp : [ | `Module ] Llvm.PassManager.t -> unit = [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 27 Module *llvm::CloneModule(const Module *M) { in CloneModule() 34 Module *llvm::CloneModule(const Module *M, ValueToValueMapTy &VMap) { in CloneModule() 36 Module *New = new Module(M->getModuleIdentifier(), M->getContext()); in CloneModule() 45 for (Module::const_global_iterator I = M->global_begin(), E = M->global_end(); in CloneModule() 59 for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I) { in CloneModule() 68 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end(); in CloneModule() 80 for (Module::const_global_iterator I = M->global_begin(), E = M->global_end(); in CloneModule() 89 for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I) { in CloneModule() 105 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end(); in CloneModule() 113 for (Module::const_named_metadata_iterator I = M->named_metadata_begin(), in CloneModule()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 130 return new PCHGenerator(CI.getPreprocessor(), OutputFile, Module, in CreateASTConsumer() 167 clang::Module *Module, in collectModuleHeaderIncludes() argument 170 if (!Module->isAvailable()) in collectModuleHeaderIncludes() 174 for (unsigned I = 0, N = Module->Headers.size(); I != N; ++I) { in collectModuleHeaderIncludes() 175 const FileEntry *Header = Module->Headers[I]; in collectModuleHeaderIncludes() 176 Module->addTopHeader(Header); in collectModuleHeaderIncludes() 180 if (const FileEntry *UmbrellaHeader = Module->getUmbrellaHeader()) { in collectModuleHeaderIncludes() 181 Module->addTopHeader(UmbrellaHeader); in collectModuleHeaderIncludes() 182 if (Module->Parent) { in collectModuleHeaderIncludes() 186 } else if (const DirectoryEntry *UmbrellaDir = Module->getUmbrellaDir()) { in collectModuleHeaderIncludes() [all …]
|
D | CompilerInstance.cpp | 767 Module *Module, in compileModule() argument 808 Invocation->getLangOpts()->CurrentModule = Module->getTopLevelModuleName(); in compileModule() 832 = ModMap.getContainingModuleMapFile(Module)) { in compileModule() 838 TempModuleMapFileName = Module->Name; in compileModule() 851 Module->print(OS); in compileModule() 878 SourceMgr.pushModuleBuildStack(Module->getTopLevelModuleName(), in compileModule() 910 Module::NameVisibilityKind Visibility, in loadModule() 927 clang::Module *Module = 0; in loadModule() local 930 llvm::DenseMap<const IdentifierInfo *, clang::Module *>::iterator Known in loadModule() 934 Module = Known->second; in loadModule() [all …]
|
/external/clang/test/Index/ |
D | index-module.m | 22 …[ppIncludedFile]: {{.*}}/Modules/Inputs/Module.framework{{[/\\]}}Headers{{[/\\]}}Module.h | name: … 27 …OD-NEXT: [importedASTFile]: {{.*}}.cache{{[/\\]}}Module.pcm | loc: [[DMOD_MODULE_H]]:1:2 | name: "… 35 // RUN: c-index-test -index-tu %t.cache/Module.pcm | FileCheck %s -check-prefix=CHECK-TMOD 38 …XT: [ppIncludedFile]: [[TMOD_MODULE_H:.*/Modules/Inputs/Module\.framework[/\\]Headers[/\\]Module\.… 39 …XT: [ppIncludedFile]: [[TMODHDR:.*/Modules/Inputs/Module.framework[/\\]Headers.]]Sub.h | name: "Mo… 40 // CHECK-TMOD-NEXT: [ppIncludedFile]: [[TMODHDR]]Sub2.h | name: "Module/Sub2.h" | hash loc: [[TMODH… 41 // CHECK-TMOD-NEXT: [ppIncludedFile]: [[TMODHDR]]Buried/Treasure.h | name: "Module/Buried/Treasure.… 42 // CHECK-TMOD-NEXT: [ppIncludedFile]: [[TMOD_SUB_H:.*[/\\]Modules[/\\]Inputs[/\\]Module\.framework[… 44 // CHECK-TMOD-NEXT: [indexDeclaration]: kind: objc-class | name: Module | {{.*}} | loc: [[TMOD_MODU… 48 …-TMOD-NEXT: [importedASTFile]: [[PCM:.*\.cache/Module\.pcm]] | loc: [[TMOD_MODULE_H]]:23:2 | name:… [all …]
|
/external/llvm/include/llvm/ |
D | Linker.h | 24 class Module; variable 75 Linker(StringRef progname, Module* aModule, unsigned Flags = 0); 92 Module* getModule() const { return Composite; } in getModule() 102 Module* releaseModule(); 154 Module* Src, ///< Module linked into \p Dest 171 static bool LinkModules(Module* Dest, Module* Src, unsigned Mode, 187 Module* Composite; ///< The composite module linked together
|
/external/llvm/include/llvm/Assembly/ |
D | Parser.h | 21 class Module; variable 32 Module *ParseAssemblyFile( 44 Module *ParseAssemblyString( 46 Module *M, ///< A module to add the assembly too. 55 Module *ParseAssembly( 57 Module *M, ///< A module to add the assembly too.
|
/external/llvm/lib/AsmParser/ |
D | Parser.cpp | 25 Module *llvm::ParseAssembly(MemoryBuffer *F, in ParseAssembly() 26 Module *M, in ParseAssembly() 37 OwningPtr<Module> M2(new Module(F->getBufferIdentifier(), Context)); in ParseAssembly() 43 Module *llvm::ParseAssemblyFile(const std::string &Filename, SMDiagnostic &Err, in ParseAssemblyFile() 55 Module *llvm::ParseAssemblyString(const char *AsmString, Module *M, in ParseAssemblyString()
|
/external/llvm/unittests/ExecutionEngine/JIT/ |
D | MultiJITTest.cpp | 23 bool LoadAssemblyInto(Module *M, const char *assembly) { in LoadAssemblyInto() 34 void createModule1(LLVMContext &Context1, Module *&M1, Function *&FooF1) { in createModule1() 35 M1 = new Module("test1", Context1); in createModule1() 51 void createModule2(LLVMContext &Context2, Module *&M2, Function *&FooF2) { in createModule2() 52 M2 = new Module("test2", Context2); in createModule2() 73 Module *M1 = 0; in TEST() 78 Module *M2 = 0; in TEST() 103 Module *M1 = 0; in TEST() 108 Module *M2 = 0; in TEST() 137 Module *M1 = 0; in TEST() [all …]
|
/external/clang/lib/Lex/ |
D | ModuleMap.cpp | 38 Module::ExportDecl 39 ModuleMap::resolveExport(Module *Mod, in resolveExport() 40 const Module::UnresolvedExportDecl &Unresolved, in resolveExport() 45 return Module::ExportDecl(0, true); in resolveExport() 49 Module *Context = lookupModuleUnqualified(Unresolved.Id[0].first, Mod); in resolveExport() 56 return Module::ExportDecl(); in resolveExport() 61 Module *Sub = lookupModuleQualified(Unresolved.Id[I].first, in resolveExport() 70 return Module::ExportDecl(); in resolveExport() 76 return Module::ExportDecl(Context, Unresolved.Wildcard); in resolveExport() 93 for (llvm::StringMap<Module *>::iterator I = Modules.begin(), in ~ModuleMap() [all …]
|
/external/chromium/chrome/browser/ |
D | enumerate_modules_model_win.h | 66 struct Module { struct 93 typedef std::vector<Module> ModulesVector; argument 112 static void NormalizeModule(Module* module); 115 static ModuleStatus Match(const Module& module, 162 void PopulateModuleInformation(Module* module); 167 void AddToListWithoutDuplicating(const Module&); 180 void CollapsePath(Module* module); 279 GURL ConstructHelpCenterUrl(const ModuleEnumerator::Module& module) const;
|
/external/clang/test/Modules/ |
D | build-fail-notes.m | 7 // CHECK: While building module 'Module' imported from 10 // CHECK: fatal error: could not build module 'Module' 15 extern int Module; 18 // CHECK-REDEF: In module 'Module' imported from 19 // CHECK-REDEF: Module.h:15:12: note: previous definition is here 24 // CHECK-SDIAG: Module.h:9:13: error: expected ';' after top level declarator 26 // CHECK-SDIAG: DependsOnModule.h:1:10: note: while building module 'Module' imported from 28 // CHECK-SDIAG: warning: umbrella header for module 'Module' does not include header 'NotInModule.h… 29 // CHECK-SDIAG: DependsOnModule.h:1:10: fatal: could not build module 'Module'
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTestBase.h | 101 Module *createEmptyModule(StringRef Name) { in createEmptyModule() 102 Module * M = new Module(Name, Context); in createEmptyModule() 108 Function *startFunction(Module *M, StringRef Name) { in startFunction() 126 Function *insertSimpleCallFunction(Module *M, Function *Callee) { in insertSimpleCallFunction() 143 Function *insertMainFunction(Module *M, uint32_t returnCode) { in insertMainFunction() 155 Function *insertAddFunction(Module *M, StringRef Name = "add") { 169 Function *insertExternalReferenceToFunction(Module *M, StringRef Name, in insertExternalReferenceToFunction() 178 Function *insertExternalReferenceToFunction(Module *M, Function *Func) { in insertExternalReferenceToFunction() 186 GlobalVariable *insertGlobalInt32(Module *M, in insertGlobalInt32() 200 void createJIT(Module *M) { in createJIT() [all …]
|
/external/chromium-trace/trace-viewer/build/ |
D | parse_deps_test.py | 56 module = parse_deps.Module("myModule") 68 module = parse_deps.Module("myModule") 80 module = parse_deps.Module("myModule") 89 module = parse_deps.Module("myModule") 99 module = parse_deps.Module("myModule") 124 module = parse_deps.Module("timeline_view") 145 module = parse_deps.Module("myModule") 154 module = parse_deps.Module("myModule") 161 module = parse_deps.Module("myModule") 205 x_module = parse_deps.Module("x") [all …]
|
/external/llvm/include/llvm/IR/ |
D | Module.h | 35 : public SymbolTableListTraits<Function, Module> { 53 : public SymbolTableListTraits<GlobalVariable, Module> { 68 : public SymbolTableListTraits<GlobalAlias, Module> { 111 class Module { 217 explicit Module(StringRef ModuleID, LLVMContext& C); 219 ~Module(); 480 static iplist<GlobalVariable> Module::*getSublistAccess(GlobalVariable*) { 481 return &Module::GlobalList; 487 static iplist<Function> Module::*getSublistAccess(Function*) { 488 return &Module::FunctionList; [all …]
|