Lines Matching refs:getModule
364 if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfVirtualDisplacementMap()
394 CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage, in getAddrOfVirtualDisplacementMap()
566 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getImageBase()
569 auto *GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, in getImageBase()
1883 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1904 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType, in getAddrOfVTable()
1912 C = CGM.getModule().getOrInsertComdat(VFTableName.str()); in getAddrOfVTable()
1933 &CGM.getModule()); in getAddrOfVTable()
2077 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in EmitVirtualMemPtrThunk()
2086 ThunkName.str(), &CGM.getModule()); in EmitVirtualMemPtrThunk()
2093 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in EmitVirtualMemPtrThunk()
2161 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable()
2410 CGM.getModule(), InitFunc->getType(), /*isConstant=*/true, in EmitThreadLocalInitFuncs()
2538 if (auto *GV = CGM.getModule().getNamedGlobal(VarName)) in getInitThreadEpochPtr()
2541 CGM.getModule(), CGM.IntTy, in getInitThreadEpochPtr()
2623 F->setComdat(CGM.getModule().getOrInsertComdat(F->getName())); in EmitGuardedInit()
2684 new llvm::GlobalVariable(CGM.getModule(), GuardTy, /*isConstant=*/false, in EmitGuardedInit()
2691 CGM.getModule().getOrInsertComdat(GuardVar->getName())); in EmitGuardedInit()
3595 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable()
3597 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy, in getTypeInfoVTable()
3693 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD), in MSRTTIBuilder()
3784 CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName())); in getClassHierarchyDescriptor()
3822 BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName())); in getBaseClassArray()
3864 BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName())); in getBaseClassDescriptor()
3925 COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName())); in getCompleteObjectLocator()
4001 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfRTTIDescriptor()
4022 CGM.getModule(), TypeDescriptorType, /*isConstant=*/false, in getAddrOfRTTIDescriptor()
4027 Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName())); in getAddrOfRTTIDescriptor()
4065 Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName())); in emitCXXStructor()
4079 if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName)) in getAddrOfCXXCtorClosure()
4088 ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule()); in getAddrOfCXXCtorClosure()
4092 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in getAddrOfCXXCtorClosure()
4206 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getCatchableType()
4259 CGM.getModule(), CTType, /*isConstant=*/true, getLinkageForRTTI(T), in getCatchableType()
4264 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName())); in getCatchableType()
4377 CGM.getModule(), CTAType, /*isConstant=*/true, getLinkageForRTTI(T), in getCatchableTypeArray()
4382 CTA->setComdat(CGM.getModule().getOrInsertComdat(CTA->getName())); in getCatchableTypeArray()
4410 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getThrowInfo()
4443 CGM.getModule(), TIType, /*isConstant=*/true, getLinkageForRTTI(T), in getThrowInfo()
4448 GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName())); in getThrowInfo()