Lines Matching refs:mpModule
119 mPerFunctionPasses = new llvm::legacy::FunctionPassManager(mpModule); in CreateFunctionPasses()
161 mCodeGenPasses = new llvm::legacy::FunctionPassManager(mpModule); in CreateCodeGenPasses()
165 std::string Triple = mpModule->getTargetTriple(); in CreateCodeGenPasses()
190 if (mpModule->getDataLayout().getPointerSize() == 4) { in CreateCodeGenPasses()
253 : ASTConsumer(), mTargetOpts(TargetOpts), mpModule(nullptr), mpOS(OS), in Backend()
275 mpModule = mGen->GetModule(); in Initialize()
291 if (!mpModule) in HandleTranslationUnit()
297 mpModule = nullptr; in HandleTranslationUnit()
301 slangAssert(mpModule == M && in HandleTranslationUnit()
307 mpModule->getOrInsertNamedMetadata(Slang::PragmaMetadataName); in HandleTranslationUnit()
323 HandleTranslationUnitPost(mpModule); in HandleTranslationUnit()
332 for (llvm::Module::iterator I = mpModule->begin(), E = mpModule->end(); in HandleTranslationUnit()
344 mPerModulePasses->run(*mpModule); in HandleTranslationUnit()
354 for (llvm::Module::iterator I = mpModule->begin(), E = mpModule->end(); in HandleTranslationUnit()
366 LLEmitPM->run(*mpModule); in HandleTranslationUnit()
370 writeBitcode(mBufferOutStream, *mpModule, getTargetAPI(), in HandleTranslationUnit()
593 delete mpModule; in ~Backend()