reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
80 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && 81 !llvm::isTexture(*GV) && !llvm::isSurface(*GV) && 81 !llvm::isTexture(*GV) && !llvm::isSurface(*GV) && 82 !llvm::isSampler(*GV) && !GV->getName().startswith("llvm.")) { 82 !llvm::isSampler(*GV) && !GV->getName().startswith("llvm.")) { 84 M, GV->getValueType(), GV->isConstant(), 84 M, GV->getValueType(), GV->isConstant(), 85 GV->getLinkage(), 86 GV->hasInitializer() ? GV->getInitializer() : nullptr, 86 GV->hasInitializer() ? GV->getInitializer() : nullptr, 87 "", GV, GV->getThreadLocalMode(), llvm::ADDRESS_SPACE_GLOBAL); 87 "", GV, GV->getThreadLocalMode(), llvm::ADDRESS_SPACE_GLOBAL); 88 NewGV->copyAttributesFrom(GV); 89 GVMap[GV] = NewGV;