Searched refs:VarAsStr (Results 1 – 1 of 1) sorted by relevance
174 llvm::GlobalVariable *VarAsStr = llvm::dyn_cast<llvm::GlobalVariable>(V); in runOnModule() local175 VarAsStr->setInitializer(C); in runOnModule()176 VarAsStr->setConstant(true); in runOnModule()177 VarAsStr->setLinkage(llvm::GlobalValue::PrivateLinkage); in runOnModule()178 VarAsStr->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in runOnModule()181 GVNames.push_back(llvm::ConstantExpr::getBitCast(VarAsStr, VoidPtrTy)); in runOnModule()