Lines Matching refs:getModule

339     if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName))  in getAddrOfVirtualDisplacementMap()
369 CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage, in getAddrOfVirtualDisplacementMap()
537 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getImageBase()
540 auto *GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, in getImageBase()
1843 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1864 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable()
1874 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
1895 &CGM.getModule()); in getAddrOfVTable()
2036 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in EmitVirtualMemPtrThunk()
2045 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk()
2052 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in EmitVirtualMemPtrThunk()
2118 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable()
2365 CGM.getModule(), InitFunc->getType(), /*isConstant=*/true, in EmitThreadLocalInitFuncs()
2410 if (auto *GV = CGM.getModule().getNamedGlobal(VarName)) in getInitThreadEpochPtr()
2413 CGM.getModule(), CGM.IntTy, in getInitThreadEpochPtr()
2495 F->setComdat(CGM.getModule().getOrInsertComdat(F->getName())); in EmitGuardedInit()
2556 new llvm::GlobalVariable(CGM.getModule(), GuardTy, /*isConstant=*/false, in EmitGuardedInit()
2563 CGM.getModule().getOrInsertComdat(GuardVar->getName())); in EmitGuardedInit()
3489 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable()
3491 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy, in getTypeInfoVTable()
3585 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD), in MSRTTIBuilder()
3676 CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName())); in getClassHierarchyDescriptor()
3714 BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName())); in getBaseClassArray()
3756 BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName())); in getBaseClassDescriptor()
3817 COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName())); in getCompleteObjectLocator()
3893 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfRTTIDescriptor()
3914 CGM.getModule(), TypeDescriptorType, /*isConstant=*/false, in getAddrOfRTTIDescriptor()
3919 Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName())); in getAddrOfRTTIDescriptor()
3957 Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName())); in emitCXXStructor()
3971 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in getAddrOfCXXCtorClosure()
3980 ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule()); in getAddrOfCXXCtorClosure()
3984 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in getAddrOfCXXCtorClosure()
4098 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getCatchableType()
4153 CGM.getModule(), CTType, /*isConstant=*/true, getLinkageForRTTI(T), in getCatchableType()
4158 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName())); in getCatchableType()
4271 CGM.getModule(), CTAType, /*isConstant=*/true, getLinkageForRTTI(T), in getCatchableTypeArray()
4276 CTA->setComdat(CGM.getModule().getOrInsertComdat(CTA->getName())); in getCatchableTypeArray()
4304 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getThrowInfo()
4340 CGM.getModule(), TIType, /*isConstant=*/true, getLinkageForRTTI(T), in getThrowInfo()
4345 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName())); in getThrowInfo()