Searched refs:isDiscardableIfUnused (Results 1 – 7 of 7) sorted by relevance
99 if (!F.isDiscardableIfUnused()) in runOnModule()108 if (!GV.isDiscardableIfUnused()) in runOnModule()115 if (!GA.isDiscardableIfUnused()) in runOnModule()
38 assert(!GV.isDiscardableIfUnused()); in makeVisible()
2094 if (GV->isDiscardableIfUnused()) { in OptimizeGlobalVars()3186 if (!GV.isDiscardableIfUnused() || !GV.use_empty()) in runOnModule()3194 if (!GA.isDiscardableIfUnused() || !GA.use_empty()) in runOnModule()
239 static bool isDiscardableIfUnused(LinkageTypes Linkage) { in isDiscardableIfUnused() function293 bool isDiscardableIfUnused() const { in isDiscardableIfUnused() function294 return isDiscardableIfUnused(Linkage); in isDiscardableIfUnused()
159 if (llvm::GlobalValue::isDiscardableIfUnused(Linkage) && in TryEmitDefinitionAsAlias()
3391 if (llvm::GlobalValue::isDiscardableIfUnused(Linkage)) in getCodegenToUse()
1004 !GV->isDiscardableIfUnused() || !dyn_cast<GlobalValue>(GV->getOperand(0))) in isGOTEquivalentCandidate()