Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h38 ValT AvailableVal; // Value to use in this block. variable
47 : BB(ThisBB), AvailableVal(V), DefBB(V ? this : 0), BlkNum(0), IDom(0), in BBInfo()
85 return BBMap[BB]->DefBB->AvailableVal; in GetValue()
132 if (PredInfo->AvailableVal) { in BuildBlockList()
161 if (!Info->AvailableVal) in BuildBlockList()
234 Pred->AvailableVal = Traits::GetUndefVal(Pred->BB, Updater); in FindDominators()
235 (*AvailableVals)[Pred->BB] = Pred->AvailableVal; in FindDominators()
322 if (Info->AvailableVal) in FindAvailableVals()
326 Info->AvailableVal = PHI; in FindAvailableVals()
340 (*AvailableVals)[Info->BB] = Info->DefBB->AvailableVal; in FindAvailableVals()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h49 ValT AvailableVal; variable
70 : BB(ThisBB), AvailableVal(V), DefBB(V ? this : nullptr) {} in BBInfo()
109 return BBMap[BB]->DefBB->AvailableVal; in GetValue()
155 if (PredInfo->AvailableVal) { in BuildBlockList()
184 if (!Info->AvailableVal) in BuildBlockList()
257 Pred->AvailableVal = Traits::GetUndefVal(Pred->BB, Updater); in FindDominators()
258 (*AvailableVals)[Pred->BB] = Pred->AvailableVal; in FindDominators()
345 if (Info->AvailableVal) in FindAvailableVals()
349 Info->AvailableVal = PHI; in FindAvailableVals()
362 (*AvailableVals)[Info->BB] = Info->DefBB->AvailableVal; in FindAvailableVals()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h49 ValT AvailableVal; // Value to use in this block. variable
58 : BB(ThisBB), AvailableVal(V), DefBB(V ? this : nullptr), BlkNum(0), in BBInfo()
96 return BBMap[BB]->DefBB->AvailableVal; in GetValue()
143 if (PredInfo->AvailableVal) { in BuildBlockList()
172 if (!Info->AvailableVal) in BuildBlockList()
245 Pred->AvailableVal = Traits::GetUndefVal(Pred->BB, Updater); in FindDominators()
246 (*AvailableVals)[Pred->BB] = Pred->AvailableVal; in FindDominators()
333 if (Info->AvailableVal) in FindAvailableVals()
337 Info->AvailableVal = PHI; in FindAvailableVals()
351 (*AvailableVals)[Info->BB] = Info->DefBB->AvailableVal; in FindAvailableVals()
[all …]
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp954 if (Value *AvailableVal = in SimplifyPartiallyRedundantLoad() local
961 if (AvailableVal == LI) AvailableVal = UndefValue::get(LI->getType()); in SimplifyPartiallyRedundantLoad()
962 if (AvailableVal->getType() != LI->getType()) in SimplifyPartiallyRedundantLoad()
963 AvailableVal = in SimplifyPartiallyRedundantLoad()
964 CastInst::CreateBitOrPointerCast(AvailableVal, LI->getType(), "", LI); in SimplifyPartiallyRedundantLoad()
965 LI->replaceAllUsesWith(AvailableVal); in SimplifyPartiallyRedundantLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1292 if (Value *AvailableVal = FindAvailableLoadedValue( in SimplifyPartiallyRedundantLoad() local
1298 LoadInst *NLoadI = cast<LoadInst>(AvailableVal); in SimplifyPartiallyRedundantLoad()
1304 if (AvailableVal == LoadI) in SimplifyPartiallyRedundantLoad()
1305 AvailableVal = UndefValue::get(LoadI->getType()); in SimplifyPartiallyRedundantLoad()
1306 if (AvailableVal->getType() != LoadI->getType()) in SimplifyPartiallyRedundantLoad()
1307 AvailableVal = CastInst::CreateBitOrPointerCast( in SimplifyPartiallyRedundantLoad()
1308 AvailableVal, LoadI->getType(), "", LoadI); in SimplifyPartiallyRedundantLoad()
1309 LoadI->replaceAllUsesWith(AvailableVal); in SimplifyPartiallyRedundantLoad()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp174 if (Value *AvailableVal = FindAvailableLoadedValue(Op, LI.getParent(), BBI,6)) in visitLoadInst() local
175 return ReplaceInstUsesWith(LI, AvailableVal); in visitLoadInst()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DJumpThreading.cpp835 if (Value *AvailableVal = in SimplifyPartiallyRedundantLoad() local
843 if (AvailableVal == LI) AvailableVal = UndefValue::get(LI->getType()); in SimplifyPartiallyRedundantLoad()
844 LI->replaceAllUsesWith(AvailableVal); in SimplifyPartiallyRedundantLoad()
DGVN.cpp1811 Value *AvailableVal = DepLI; in processLoad() local
1818 AvailableVal = CoerceAvailableValueToLoadType(DepLI, L->getType(), in processLoad()
1820 if (AvailableVal == 0) in processLoad()
1823 DEBUG(dbgs() << "GVN COERCED LOAD:\n" << *DepLI << "\n" << *AvailableVal in processLoad()
1831 L->replaceAllUsesWith(AvailableVal); in processLoad()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp823 if (Value *AvailableVal = in visitLoadInst() local
827 LoadInst *NLI = cast<LoadInst>(AvailableVal); in visitLoadInst()
839 LI, Builder->CreateBitOrPointerCast(AvailableVal, LI.getType(), in visitLoadInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp1024 if (Value *AvailableVal = FindAvailableLoadedValue( in visitLoadInst() local
1027 combineMetadataForCSE(cast<LoadInst>(AvailableVal), &LI); in visitLoadInst()
1030 LI, Builder.CreateBitOrPointerCast(AvailableVal, LI.getType(), in visitLoadInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp1292 Value *AvailableVal = FindAvailableLoadedValue(LI, CBB, BBI, MaxScan, AA); in fold_sincos() local
1293 if (AvailableVal) { in fold_sincos()
1294 CArgVal->replaceAllUsesWith(AvailableVal); in fold_sincos()