Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h48 ValT AvailableVal; // Value to use in this block. variable
57 : BB(ThisBB), AvailableVal(V), DefBB(V ? this : nullptr), BlkNum(0), in BBInfo()
95 return BBMap[BB]->DefBB->AvailableVal; in GetValue()
142 if (PredInfo->AvailableVal) { in BuildBlockList()
171 if (!Info->AvailableVal) in BuildBlockList()
244 Pred->AvailableVal = Traits::GetUndefVal(Pred->BB, Updater); in FindDominators()
245 (*AvailableVals)[Pred->BB] = Pred->AvailableVal; in FindDominators()
332 if (Info->AvailableVal) in FindAvailableVals()
336 Info->AvailableVal = PHI; in FindAvailableVals()
350 (*AvailableVals)[Info->BB] = Info->DefBB->AvailableVal; in FindAvailableVals()
[all …]
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp950 if (Value *AvailableVal = in SimplifyPartiallyRedundantLoad() local
958 if (AvailableVal == LI) AvailableVal = UndefValue::get(LI->getType()); in SimplifyPartiallyRedundantLoad()
959 if (AvailableVal->getType() != LI->getType()) in SimplifyPartiallyRedundantLoad()
960 AvailableVal = in SimplifyPartiallyRedundantLoad()
961 CastInst::CreateBitOrPointerCast(AvailableVal, LI->getType(), "", LI); in SimplifyPartiallyRedundantLoad()
962 LI->replaceAllUsesWith(AvailableVal); in SimplifyPartiallyRedundantLoad()
DGVN.cpp2011 Value *AvailableVal = DepLI; in processLoad() local
2018 AvailableVal = in processLoad()
2020 if (!AvailableVal) in processLoad()
2023 DEBUG(dbgs() << "GVN COERCED LOAD:\n" << *DepLI << "\n" << *AvailableVal in processLoad()
2028 patchAndReplaceAllUsesWith(L, AvailableVal); in processLoad()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp793 if (Value *AvailableVal = in visitLoadInst() local
796 if (LoadInst *NLI = dyn_cast<LoadInst>(AvailableVal)) { in visitLoadInst()
808 LI, Builder->CreateBitOrPointerCast(AvailableVal, LI.getType(), in visitLoadInst()