Home
last modified time | relevance | path

Searched refs:VarAsStr (Results 1 – 1 of 1) sorted by relevance

/frameworks/compile/libbcc/lib/
DRSGlobalInfoPass.cpp174 llvm::GlobalVariable *VarAsStr = llvm::dyn_cast<llvm::GlobalVariable>(V); in runOnModule() local
175 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()