Lines Matching refs:ModuleName
70 static llvm::StringRef ExpandModuleName(llvm::StringRef ModuleName, in ExpandModuleName() argument
72 if (ModuleName == "-" && !CGO.MainFileName.empty()) in ExpandModuleName()
74 return ModuleName; in ExpandModuleName()
78 CodeGeneratorImpl(DiagnosticsEngine &diags, llvm::StringRef ModuleName, in CodeGeneratorImpl() argument
87 M(new llvm::Module(ExpandModuleName(ModuleName, CGO), C)) { in CodeGeneratorImpl()
136 llvm::Module *StartModule(llvm::StringRef ModuleName, in StartModule() argument
139 M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C)); in StartModule()
358 llvm::Module *CodeGenerator::StartModule(llvm::StringRef ModuleName, in StartModule() argument
360 return static_cast<CodeGeneratorImpl*>(this)->StartModule(ModuleName, C); in StartModule()
364 clang::CreateLLVMCodeGen(DiagnosticsEngine &Diags, llvm::StringRef ModuleName, in CreateLLVMCodeGen() argument
370 return new CodeGeneratorImpl(Diags, ModuleName, std::move(FS), in CreateLLVMCodeGen()