Searched refs:AvailableVal (Results 1 – 4 of 4) sorted by relevance
/external/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 48 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/ |
D | JumpThreading.cpp | 894 if (Value *AvailableVal = in SimplifyPartiallyRedundantLoad() local 902 if (AvailableVal == LI) AvailableVal = UndefValue::get(LI->getType()); in SimplifyPartiallyRedundantLoad() 903 if (AvailableVal->getType() != LI->getType()) in SimplifyPartiallyRedundantLoad() 904 AvailableVal = in SimplifyPartiallyRedundantLoad() 905 CastInst::CreateBitOrPointerCast(AvailableVal, LI->getType(), "", LI); in SimplifyPartiallyRedundantLoad() 906 LI->replaceAllUsesWith(AvailableVal); in SimplifyPartiallyRedundantLoad()
|
D | GVN.cpp | 1952 Value *AvailableVal = DepLI; in processLoad() local 1958 AvailableVal = CoerceAvailableValueToLoadType(DepLI, L->getType(), L, DL); in processLoad() 1959 if (!AvailableVal) in processLoad() 1962 DEBUG(dbgs() << "GVN COERCED LOAD:\n" << *DepLI << "\n" << *AvailableVal in processLoad() 1967 patchAndReplaceAllUsesWith(L, AvailableVal); in processLoad()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 708 if (Value *AvailableVal = FindAvailableLoadedValue(Op, LI.getParent(), BBI,6)) in visitLoadInst() local 710 LI, Builder->CreateBitOrPointerCast(AvailableVal, LI.getType(), in visitLoadInst()
|