Searched refs:StoredOnceVal (Results 1 – 3 of 3) sorted by relevance
1517 static bool optimizeOnceStoredGlobal(GlobalVariable *GV, Value *StoredOnceVal, in optimizeOnceStoredGlobal() argument1522 StoredOnceVal = StoredOnceVal->stripPointerCasts(); in optimizeOnceStoredGlobal()1530 if (Constant *SOVC = dyn_cast<Constant>(StoredOnceVal)) { in optimizeOnceStoredGlobal()1537 } else if (CallInst *CI = extractMallocCall(StoredOnceVal, TLI)) { in optimizeOnceStoredGlobal()
1561 static bool optimizeOnceStoredGlobal(GlobalVariable *GV, Value *StoredOnceVal, in optimizeOnceStoredGlobal() argument1566 StoredOnceVal = StoredOnceVal->stripPointerCasts(); in optimizeOnceStoredGlobal()1577 if (Constant *SOVC = dyn_cast<Constant>(StoredOnceVal)) { in optimizeOnceStoredGlobal()1584 } else if (CallInst *CI = extractMallocCall(StoredOnceVal, TLI)) { in optimizeOnceStoredGlobal()
1575 static bool OptimizeOnceStoredGlobal(GlobalVariable *GV, Value *StoredOnceVal, in OptimizeOnceStoredGlobal() argument1579 StoredOnceVal = StoredOnceVal->stripPointerCasts(); in OptimizeOnceStoredGlobal()1587 if (Constant *SOVC = dyn_cast<Constant>(StoredOnceVal)) { in OptimizeOnceStoredGlobal()1594 } else if (CallInst *CI = extractMallocCall(StoredOnceVal)) { in OptimizeOnceStoredGlobal()