Lines Matching defs:TheModule
589 Module *TheModule = nullptr;
2823 GO->setComdat(TheModule->getOrInsertComdat(V->getName()));
2946 Triple TT(TheModule->getTargetTriple());
3815 if (!TheModule->getNamedMetadata("llvm.linker.options")) {
3816 if (Metadata *Val = TheModule->getModuleFlag("Linker Options")) {
3818 TheModule->getOrInsertNamedMetadata("llvm.linker.options");
3862 for (Function &F : *TheModule) {
3877 for (GlobalVariable &GV : TheModule->globals())
3882 TheModule->insertGlobalVariable(Pair.second);
3969 Comdat *C = TheModule->getOrInsertComdat(Name);
4056 new GlobalVariable(*TheModule, Ty, isConstant, Linkage, nullptr, Name,
4155 unsigned AddrSpace = TheModule->getDataLayout().getProgramAddressSpace();
4161 AddrSpace, Name, TheModule);
4346 TheModule);
4349 nullptr, TheModule);
4398 TheModule->IsNewDbgInfoFormat =
4419 std::string TentativeDataLayoutStr = TheModule->getDataLayoutStr();
4430 TentativeDataLayoutStr, TheModule->getTargetTriple());
4435 TheModule->getTargetTriple(), TentativeDataLayoutStr))
4444 TheModule->setDataLayout(MaybeDL.get());
4619 TheModule->setTargetTriple(S);
4633 TheModule->setModuleInlineAsm(S);
4697 TheModule->setSourceFileName(ValueName);
4709 TheModule = M;
6143 const DataLayout &DL = TheModule->getDataLayout();
6196 Align = TheModule->getDataLayout().getABITypeAlign(Ty);
6276 Align = TheModule->getDataLayout().getABITypeAlign(Val->getType());
6369 TheModule->getDataLayout().getTypeStoreSize(Cmp->getType()));
6444 Align(TheModule->getDataLayout().getTypeStoreSize(Cmp->getType()));
6511 Align(TheModule->getDataLayout().getTypeStoreSize(Val->getType()));
7030 for (Function &F : *TheModule) {
7063 UpgradeDebugInfo(*TheModule);
7065 UpgradeModuleFlags(*TheModule);
7067 UpgradeARCRuntime(*TheModule);