Searched refs:isDiscardableIfUnused (Results 1 – 8 of 8) sorted by relevance
221 static bool isDiscardableIfUnused(LinkageTypes Linkage) { in isDiscardableIfUnused() function275 bool isDiscardableIfUnused() const { in isDiscardableIfUnused() function276 return isDiscardableIfUnused(Linkage); in isDiscardableIfUnused()
99 if (!I->isDiscardableIfUnused()) in runOnModule()110 if (!I->isDiscardableIfUnused()) in runOnModule()119 if (!I->isDiscardableIfUnused()) { in runOnModule()
38 assert(!GV.isDiscardableIfUnused()); in makeVisible()
1958 if (GV->isDiscardableIfUnused()) { in OptimizeGlobalVars()3049 if (!GV.isDiscardableIfUnused() || !GV.use_empty()) in runOnModule()3057 if (!GA.isDiscardableIfUnused() || !GA.use_empty()) in runOnModule()
157 if (llvm::GlobalValue::isDiscardableIfUnused(Linkage) && in TryEmitDefinitionAsAlias()
3192 if (llvm::GlobalValue::isDiscardableIfUnused(Linkage)) in getCodegenToUse()
459 assert(!GV.isDiscardableIfUnused()); in keepGlobalValue()679 if (!GV->isDiscardableIfUnused()) in getModuleForFile()
954 !GV->isDiscardableIfUnused() || !dyn_cast<GlobalValue>(GV->getOperand(0))) in isGOTEquivalentCandidate()