/openbsd/gnu/usr.bin/perl/cpan/Module-Loaded/t/ |
H A D | 01_Module-Loaded.t | 7 my $Mod = 'Foo::Bar'.$$; 15 { ok( !is_loaded($Mod), "$Mod not loaded yet" ); 16 ok( mark_as_loaded($Mod), " $Mod now marked as loaded" ); 17 is( is_loaded($Mod), $0, " $Mod is loaded from $0" ); 19 my $rv = eval "require $Mod; 1"; 20 ok( $rv, "$Mod required" ); 25 { ok( mark_as_unloaded($Mod), "$Mod now marked as unloaded" ); 26 ok( !is_loaded($Mod), " $Mod now longer loaded" ); 28 my $rv = eval "require $Mod; 1"; 29 ok( !$rv, "$Mod require failed" );
|
/openbsd/gnu/llvm/llvm/lib/LTO/ |
H A D | LTOBackend.cpp | 331 MPM.run(Mod, MAM); in runNewPMPasses() 396 AddStream(Task, Mod.getModuleIdentifier()); in codegen() 413 CodeGenPasses.run(Mod); in codegen() 429 Mod, ParallelCodeGenParallelismLevel, in splitCodeGen() 473 Mod.setTargetTriple(C.OverrideTriple); in initAndLookupTarget() 474 else if (Mod.getTargetTriple().empty()) in initAndLookupTarget() 475 Mod.setTargetTriple(C.DefaultTriple); in initAndLookupTarget() 523 for (auto &GV : Mod.global_values()) in dropDeadSymbols() 577 [&](Module &Mod, TargetMachine *TM, in thinBackend() 596 Mod.getPIELevel() == PIELevel::Default; in thinBackend() [all …]
|
H A D | LTOCodeGenerator.cpp | 150 void LTOCodeGenerator::setAsmUndefinedRefs(LTOModule *Mod) { in setAsmUndefinedRefs() argument 151 for (const StringRef &Undef : Mod->getAsmUndefinedRefs()) in setAsmUndefinedRefs() 155 bool LTOCodeGenerator::addModule(LTOModule *Mod) { in addModule() argument 156 assert(&Mod->getModule().getContext() == &Context && in addModule() 159 bool ret = TheLinker->linkInModule(Mod->takeModule()); in addModule() 160 setAsmUndefinedRefs(Mod); in addModule() 168 void LTOCodeGenerator::setModule(std::unique_ptr<LTOModule> Mod) { in setModule() argument 169 assert(&Mod->getModule().getContext() == &Context && in setModule() 174 MergedModule = Mod->takeModule(); in setModule() 176 setAsmUndefinedRefs(&*Mod); in setModule()
|
H A D | ThinLTOCodeGenerator.cpp | 193 auto &Mod = Input->getSingleBitcodeModule(); in loadModuleFromInput() local 196 Lazy ? Mod.getLazyModule(Context, in loadModuleFromInput() 198 : Mod.parseModule(Context); in loadModuleFromInput() 201 SMDiagnostic Err = SMDiagnostic(Mod.getModuleIdentifier(), in loadModuleFromInput() 635 for (auto &Mod : Modules) { in linkCombinedIndex() local 636 auto &M = Mod->getSingleBitcodeModule(); in linkCombinedIndex() 989 for (auto &Mod : Modules) { in run() local 1117 for (auto &Mod : Modules) in run() local 1118 ModulesVec.push_back(&Mod->getSingleBitcodeModule()); in run() 1130 auto &Mod = Modules[IndexCount]; in run() local [all …]
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaModule.cpp | 136 ModuleScopes.back().Module = Mod; in HandleStartOfHeaderUnit() 145 TU->setLocalOwningModule(Mod); in HandleStartOfHeaderUnit() 313 Module *Mod; in ActOnModuleDecl() local 327 Mod = M; in ActOnModuleDecl() 357 if (!Mod) { in ActOnModuleDecl() 384 ModuleScopes.back().Module = Mod; in ActOnModuleDecl() 396 TU->setLocalOwningModule(Mod); in ActOnModuleDecl() 527 if (!Mod) in ActOnModuleImport() 573 Module *ModCheck = Mod; in ActOnModuleImport() 622 DirectModuleImports.insert(Mod); in ActOnModuleImport() [all …]
|
/openbsd/gnu/llvm/clang/lib/Lex/ |
H A D | ModuleMap.cpp | 73 PendingLinkAsModule[Mod->ExportAsModule].insert(Mod->Name); in addLinkAsDependency() 114 ModuleMap::resolveExport(Module *Mod, in resolveExport() argument 167 for (; Mod; Mod = Mod->Parent) { in appendSubframeworkPaths() 168 if (Mod->IsFramework) in appendSubframeworkPaths() 169 Paths.push_back(Mod->Name); in appendSubframeworkPaths() 297 Mod->isPartOfFramework() || !Mod->IsSystem || Header.IsUmbrella || in resolveAsBuiltinHeader() 313 addHeader(Mod, H, Role); in resolveAsBuiltinHeader() 933 Mod->LinkLibraries.push_back(Module::LinkLibrary(Mod->Name, in inferFrameworkLink() 965 return Mod; in inferFrameworkModule() 1156 Mod->Umbrella = UmbrellaDir; in setUmbrellaDir() [all …]
|
H A D | PPLexerChange.cpp | 284 const Module &Mod, SmallVectorImpl<const Module *> &SubMods) { in collectAllSubModulesWithUmbrellaHeader() argument 285 if (Mod.getUmbrellaHeader()) in collectAllSubModulesWithUmbrellaHeader() 286 SubMods.push_back(&Mod); in collectAllSubModulesWithUmbrellaHeader() 287 for (auto *M : Mod.submodules()) in collectAllSubModulesWithUmbrellaHeader() 291 void Preprocessor::diagnoseMissingHeaderInUmbrellaDir(const Module &Mod) { in diagnoseMissingHeaderInUmbrellaDir() argument 292 const Module::Header &UmbrellaHeader = Mod.getUmbrellaHeader(); in diagnoseMissingHeaderInUmbrellaDir() 301 const DirectoryEntry *Dir = Mod.getUmbrellaDir().Entry; in diagnoseMissingHeaderInUmbrellaDir() 323 << Mod.getFullModuleName() << RelativePath; in diagnoseMissingHeaderInUmbrellaDir() 575 if (Module *Mod = getCurrentModule()) { in HandleEndOfFile() local 577 collectAllSubModulesWithUmbrellaHeader(*Mod, AllMods); in HandleEndOfFile()
|
/openbsd/gnu/llvm/clang/tools/c-index-test/ |
H A D | core_main.cpp | 83 static void printSymbolNameAndUSR(const clang::Module *Mod, raw_ostream &OS); 143 const clang::Module *Mod, SymbolRoleSet Roles, in handleModuleOccurrence() argument 157 printSymbolNameAndUSR(Mod, OS); in handleModuleOccurrence() 204 static void dumpModuleFileInputs(serialization::ModuleFile &Mod, in dumpModuleFileInputs() argument 208 Reader.visitInputFiles(Mod, /*IncludeSystem=*/true, /*Complain=*/false, in dumpModuleFileInputs() 250 OS << "==== Module " << Mod.ModuleName << " ====\n"; in printSourceSymbols() 251 indexModuleFile(Mod, *Reader, *DataConsumer, IndexOpts); in printSourceSymbols() 252 dumpModuleFileInputs(Mod, *Reader, OS); in printSourceSymbols() 325 assert(Mod); in printSymbolNameAndUSR() 326 OS << Mod->getFullModuleName() << " | "; in printSymbolNameAndUSR() [all …]
|
/openbsd/gnu/llvm/clang/include/clang/Lex/ |
H A D | ModuleMap.h | 122 void resolveLinkAsDependencies(Module *Mod); 126 void addLinkAsDependency(Module *Mod); 301 resolveExport(Module *Mod, const Module::UnresolvedExportDecl &Unresolved, 324 void addUnresolvedHeader(Module *Mod, 469 void resolveHeaderDirectives(Module *Mod, 655 bool resolveExports(Module *Mod, bool Complain); 665 bool resolveUses(Module *Mod, bool Complain); 675 bool resolveConflicts(Module *Mod, bool Complain); 679 void setUmbrellaHeader(Module *Mod, FileEntryRef UmbrellaHeader, 685 void setUmbrellaDir(Module *Mod, const DirectoryEntry *UmbrellaDir, [all …]
|
/openbsd/gnu/llvm/llvm/examples/BrainF/ |
H A D | BrainFDriver.cpp | 145 std::unique_ptr<Module> Mod(bf.parse(in, 65536, cf, Context)); // 64 KiB in main() local 148 addMainFunction(Mod.get()); in main() 151 if (verifyModule(*Mod)) { in main() 162 Module &M = *Mod; in main() 163 ExecutionEngine *ee = EngineBuilder(std::move(Mod)).create(); in main() 176 WriteBitcodeToFile(*Mod, *out); in main()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
H A D | SanitizerBinaryMetadata.cpp | 124 : Mod(M), Options(transformOptionsFromCl(std::move(Opts))), in SanitizerBinaryMetadata() 143 const auto CM = Mod.getCodeModel(); in getVersion() 173 Module &Mod; member in __anond6c3ac1d0111::SanitizerBinaryMetadata 182 for (Function &F : Mod) in run() 211 Mod, (MI->FunctionPrefix + ".module_ctor").str(), in run() 217 Mod, (MI->FunctionPrefix + ".module_dtor").str(), in run() 225 Ctor->setComdat(Mod.getOrInsertComdat(Ctor->getName())); in run() 226 Dtor->setComdat(Mod.getOrInsertComdat(Dtor->getName())); in run() 230 appendToGlobalCtors(Mod, Ctor, kCtorDtorPriority, CtorData); in run() 231 appendToGlobalDtors(Mod, Dtor, kCtorDtorPriority, DtorData); in run() [all …]
|
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
H A D | ModuleDebugStream.cpp | 34 : Mod(Module), Stream(std::move(Stream)) {} in ModuleDebugStreamRef() 41 if (Mod.getModuleStreamIndex() != llvm::pdb::kInvalidStreamIndex) { in reload() 52 uint32_t SymbolSize = Mod.getSymbolDebugInfoByteSize(); in reloadSerialize() 53 uint32_t C11Size = Mod.getC11LineInfoByteSize(); in reloadSerialize() 54 uint32_t C13Size = Mod.getC13LineInfoByteSize(); in reloadSerialize()
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUHSAMetadataStreamer.h | 49 virtual void begin(const Module &Mod, 91 void emitPrintf(const Module &Mod); 127 void begin(const Module &Mod, 145 void begin(const Module &Mod, 188 void emitPrintf(const Module &Mod); 228 void begin(const Module &Mod,
|
H A D | AMDGPUPromoteAlloca.cpp | 70 Module *Mod = nullptr; member in __anon1e9ba9b00111::AMDGPUPromoteAllocaImpl 167 Mod = F.getParent(); in run() 168 DL = &Mod->getDataLayout(); in run() 272 Type *I32Ty = Type::getInt32Ty(Mod->getContext()); in getLocalSizeYZ() 285 MDNode *MD = MDNode::get(Mod->getContext(), std::nullopt); in getLocalSizeYZ() 324 Function *WorkitemIdFn = Intrinsic::getDeclaration(Mod, IntrID); in getWorkitemID() 824 for (GlobalVariable &GV : Mod->globals()) { in hasSufficientLocalMem() 846 const DataLayout &DL = Mod->getDataLayout(); in hasSufficientLocalMem() 933 const DataLayout &DL = Mod->getDataLayout(); in handleAlloca() 1117 Mod, Intrinsic::objectsize, in handleAlloca() [all …]
|
H A D | AMDGPUCodeGenPrepare.cpp | 76 Module *Mod = nullptr; member in __anon88d521620111::AMDGPUCodeGenPrepare 312 const DataLayout &DL = Mod->getDataLayout(); in canWidenScalarExtLoad() 664 Module *Mod) { in optimizeWithRcp() argument 674 Mod, Intrinsic::amdgcn_rcp, Ty); in optimizeWithRcp() 693 Mod, Intrinsic::amdgcn_rcp, Ty); in optimizeWithRcp() 704 Mod, Intrinsic::amdgcn_rcp, Ty); in optimizeWithRcp() 723 Module *Mod) { in optimizeWithFDivFast() argument 818 Builder, Mod); in visitFDiv() 888 const DataLayout &DL = Mod->getDataLayout(); in getDivNumBits() 1405 Mod = &M; in doInitialization() [all …]
|
/openbsd/gnu/llvm/clang/lib/Frontend/Rewrite/ |
H A D | InclusionRewriter.cpp | 87 void WriteImplicitModuleImport(const Module *Mod); 144 void InclusionRewriter::WriteImplicitModuleImport(const Module *Mod) { in WriteImplicitModuleImport() argument 145 OS << "#pragma clang module import " << Mod->getFullModuleName(true) in WriteImplicitModuleImport() 409 if (const Module *Mod = FindModuleAtLocation(Loc)) in Process() local 410 WriteImplicitModuleImport(Mod); in Process() 412 const Module *Mod = FindEnteredModule(Loc); in Process() local 413 if (Mod) in Process() 415 << Mod->getFullModuleName(true) << "\n"; in Process() 420 if (Mod) in Process() 422 << Mod->getFullModuleName(true) << "*/\n"; in Process()
|
/openbsd/gnu/llvm/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRMCExpr.cpp | 199 llvm::find_if(ModifierNames, [this](ModifierEntry const &Mod) { in getName() argument 200 return Mod.VariantKind == Kind; in getName() 211 llvm::find_if(ModifierNames, [&Name](ModifierEntry const &Mod) { in getKindByName() argument 212 return Mod.Spelling == Name; in getKindByName()
|
/openbsd/gnu/llvm/llvm/include/llvm/LTO/legacy/ |
H A D | LTOModule.h | 51 std::unique_ptr<Module> Mod; member 115 const Module &getModule() const { return *Mod; } in getModule() 116 Module &getModule() { return *Mod; } in getModule() 118 std::unique_ptr<Module> takeModule() { return std::move(Mod); } in takeModule()
|
/openbsd/gnu/llvm/llvm/include/llvm/Support/ |
H A D | ModRef.h | 33 Mod = 2, enumerator 35 ModRef = Ref | Mod, 49 return static_cast<int>(MRI) & static_cast<int>(ModRefInfo::Mod); in isModSet() 129 return MemoryEffects(ModRefInfo::Mod); in writeOnly()
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngineBindings.cpp | 184 std::unique_ptr<Module> Mod(unwrap(M)); in LLVMCreateMCJITCompilerForModule() local 186 if (Mod) in LLVMCreateMCJITCompilerForModule() 189 for (auto &F : *Mod) { in LLVMCreateMCJITCompilerForModule() 197 EngineBuilder builder(std::move(Mod)); in LLVMCreateMCJITCompilerForModule() 263 Module *Mod = unwrap(M); in LLVMRemoveModule() local 264 unwrap(EE)->removeModule(Mod); in LLVMRemoveModule() 265 *OutMod = wrap(Mod); in LLVMRemoveModule()
|
/openbsd/gnu/usr.bin/perl/cpan/CPAN-Meta/t/data-fixable/ |
H A D | 1927486199-META.yml | 3 name: WWW-phpBB-Mod-Installer 5 version_from: lib/WWW/phpBB/Mod/Installer.pm
|
/openbsd/gnu/llvm/clang/lib/Index/ |
H A D | IndexingContext.cpp | 93 static void reportModuleReferences(const Module *Mod, in reportModuleReferences() argument 97 if (!Mod) in reportModuleReferences() 99 reportModuleReferences(Mod->Parent, IdLocs.drop_back(), ImportD, in reportModuleReferences() 102 ImportD, Mod, (SymbolRoleSet)SymbolRole::Reference, IdLocs.back()); in reportModuleReferences() 136 const Module *Mod = ImportD->getImportedModule(); in importedModule() local 137 if (!ImportD->isImplicit() && Mod->Parent && !IdLocs.empty()) { in importedModule() 138 reportModuleReferences(Mod->Parent, IdLocs.drop_back(), ImportD, in importedModule() 146 return DataConsumer.handleModuleOccurrence(ImportD, Mod, Roles, Loc); in importedModule()
|
H A D | IndexingAction.cpp | 243 serialization::ModuleFile &Mod, in indexPreprocessorModuleMacros() argument 249 if (OwningMod && OwningMod->getASTFile() == Mod.File) { in indexPreprocessorModuleMacros() 296 void index::indexModuleFile(serialization::ModuleFile &Mod, ASTReader &Reader, in indexModuleFile() argument 305 indexPreprocessorModuleMacros(Reader.getPreprocessor(), Mod, DataConsumer); in indexModuleFile() 308 for (const Decl *D : Reader.getModuleFileLevelDecls(Mod)) { in indexModuleFile()
|
/openbsd/gnu/llvm/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 572 ModuleFile *Mod = nullptr; member 577 : Mod(Mod), Decls(Decls) {} in FileDeclsInfo() 603 ModuleFile *Mod; member 707 Module *Mod; member 1328 ModuleFile *Mod; member 1332 ImportedModule(ModuleFile *Mod, in ImportedModule() 1335 : Mod(Mod), ImportedBy(ImportedBy), ImportLoc(ImportLoc) {} in ImportedModule() 1461 ModuleFile *Mod = nullptr; variable 1468 : iterator_adaptor_base(Pos), Reader(Reader), Mod(Mod) {} in ModuleDeclIterator() 1477 assert(Reader == RHS.Reader && Mod == RHS.Mod); [all …]
|
/openbsd/gnu/llvm/llvm/lib/Passes/ |
H A D | PassBuilderBindings.cpp | 54 Module *Mod = unwrap(M); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() local 68 StandardInstrumentations SI(Mod->getContext(), Debug, VerifyEach); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 78 MPM.run(*Mod, MAM); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
|