Lines Matching refs:GV
128 llvm::GlobalVariable *GV =
131 GV->setInitializer(Init);
133 return GV;
145 llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name);
147 if (!GV) {
149 GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy,
154 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy);
517 maybeUpdateRTTILinkage(CodeGenModule &CGM, llvm::GlobalVariable *GV,
520 if (!GV->hasAvailableExternallyLinkage())
532 GV->setLinkage(Linkage);
669 llvm::GlobalVariable *GV =
675 GV->takeName(OldGV);
677 llvm::ConstantExpr::getBitCast(GV, OldGV->getType());
689 CGM.setTypeVisibility(GV, RD, CodeGenModule::TVK_ForRTTI);
703 GV->setVisibility(CodeGenModule::GetLLVMVisibility(TypeInfoVisibility));
706 GV->setUnnamedAddr(true);
708 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy);