Lines Matching refs:ModuleName
68 static llvm::StringRef ExpandModuleName(llvm::StringRef ModuleName, in ExpandModuleName() argument
70 if (ModuleName == "-" && !CGO.MainFileName.empty()) in ExpandModuleName()
72 return ModuleName; in ExpandModuleName()
76 CodeGeneratorImpl(DiagnosticsEngine &diags, llvm::StringRef ModuleName, in CodeGeneratorImpl() argument
84 M(new llvm::Module(ExpandModuleName(ModuleName, CGO), C)) { in CodeGeneratorImpl()
129 llvm::Module *StartModule(llvm::StringRef ModuleName, in StartModule() argument
132 M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C)); in StartModule()
334 llvm::Module *CodeGenerator::StartModule(llvm::StringRef ModuleName, in StartModule() argument
336 return static_cast<CodeGeneratorImpl*>(this)->StartModule(ModuleName, C); in StartModule()
340 DiagnosticsEngine &Diags, llvm::StringRef ModuleName, in CreateLLVMCodeGen() argument
344 return new CodeGeneratorImpl(Diags, ModuleName, HeaderSearchOpts, in CreateLLVMCodeGen()