HomeSort by relevance Sort by last modified time
    Searched defs:StoredVal (Results 1 - 2 of 2) sorted by null

  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp 211 Value *StoredVal = SI->getOperand(0);
212 if (StoredVal == GV->getInitializer()) {
215 } else if (isa<LoadInst>(StoredVal) &&
216 cast<LoadInst>(StoredVal)->getOperand(0) == GV) {
221 GS.StoredOnceValue = StoredVal;
223 GS.StoredOnceValue == StoredVal) {
    [all...]
  /external/llvm/lib/Transforms/Scalar/
GVN.cpp 657 static bool CanCoerceMustAliasedValueToLoad(Value *StoredVal,
663 StoredVal->getType()->isStructTy() ||
664 StoredVal->getType()->isArrayTy())
668 if (TD.getTypeSizeInBits(StoredVal->getType()) <
682 static Value *CoerceAvailableValueToLoadType(Value *StoredVal,
686 if (!CanCoerceMustAliasedValueToLoad(StoredVal, LoadedTy, TD))
690 Type *StoredValTy = StoredVal->getType();
699 return new BitCastInst(StoredVal, LoadedTy, "", InsertPt);
704 StoredVal = new PtrToIntInst(StoredVal, StoredValTy, "", InsertPt)
    [all...]

Completed in 24 milliseconds