Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1418 const Value *StoredOnceValue = StoredOnceStore->getValueOperand(); in forwardStoredOnceStore() local
1422 if (!isa<Constant>(StoredOnceValue)) in forwardStoredOnceStore()
1429 LI->getType() == StoredOnceValue->getType() && LI->isSimple()) in forwardStoredOnceStore()
1439 LI->replaceAllUsesWith(const_cast<Value *>(StoredOnceValue)); in forwardStoredOnceStore()
1547 Value *StoredOnceValue = GS.getStoredOnceValue(); in processInternalGlobal() local
1548 if (GS.StoredType == GlobalStatus::StoredOnce && StoredOnceValue) { in processInternalGlobal()
1561 auto *SOVConstant = dyn_cast<Constant>(StoredOnceValue); in processInternalGlobal()
1597 if (optimizeOnceStoredGlobal(GV, StoredOnceValue, DL, GetTLI)) in processInternalGlobal()