Lines Matching refs:getModule

343     if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName))  in getAddrOfVirtualDisplacementMap()
373 CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage, in getAddrOfVirtualDisplacementMap()
543 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getImageBase()
546 auto *GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, in getImageBase()
1850 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1871 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable()
1881 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
1902 &CGM.getModule()); in getAddrOfVTable()
2043 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in EmitVirtualMemPtrThunk()
2052 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk()
2059 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in EmitVirtualMemPtrThunk()
2125 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable()
2372 CGM.getModule(), InitFunc->getType(), /*isConstant=*/true, in EmitThreadLocalInitFuncs()
2503 if (auto *GV = CGM.getModule().getNamedGlobal(VarName)) in getInitThreadEpochPtr()
2506 CGM.getModule(), CGM.IntTy, in getInitThreadEpochPtr()
2588 F->setComdat(CGM.getModule().getOrInsertComdat(F->getName())); in EmitGuardedInit()
2649 new llvm::GlobalVariable(CGM.getModule(), GuardTy, /*isConstant=*/false, in EmitGuardedInit()
2656 CGM.getModule().getOrInsertComdat(GuardVar->getName())); in EmitGuardedInit()
3582 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable()
3584 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy, in getTypeInfoVTable()
3678 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD), in MSRTTIBuilder()
3769 CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName())); in getClassHierarchyDescriptor()
3807 BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName())); in getBaseClassArray()
3849 BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName())); in getBaseClassDescriptor()
3910 COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName())); in getCompleteObjectLocator()
3986 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfRTTIDescriptor()
4007 CGM.getModule(), TypeDescriptorType, /*isConstant=*/false, in getAddrOfRTTIDescriptor()
4012 Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName())); in getAddrOfRTTIDescriptor()
4050 Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName())); in emitCXXStructor()
4064 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in getAddrOfCXXCtorClosure()
4073 ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule()); in getAddrOfCXXCtorClosure()
4077 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in getAddrOfCXXCtorClosure()
4191 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getCatchableType()
4246 CGM.getModule(), CTType, /*isConstant=*/true, getLinkageForRTTI(T), in getCatchableType()
4251 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName())); in getCatchableType()
4364 CGM.getModule(), CTAType, /*isConstant=*/true, getLinkageForRTTI(T), in getCatchableTypeArray()
4369 CTA->setComdat(CGM.getModule().getOrInsertComdat(CTA->getName())); in getCatchableTypeArray()
4397 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getThrowInfo()
4433 CGM.getModule(), TIType, /*isConstant=*/true, getLinkageForRTTI(T), in getThrowInfo()
4438 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName())); in getThrowInfo()