Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h48 ValT AvailableVal; variable
69 : BB(ThisBB), AvailableVal(V), DefBB(V ? this : nullptr) {} in BBInfo()
108 return BBMap[BB]->DefBB->AvailableVal; in GetValue()
154 if (PredInfo->AvailableVal) { in BuildBlockList()
183 if (!Info->AvailableVal) in BuildBlockList()
256 Pred->AvailableVal = Traits::GetUndefVal(Pred->BB, Updater); in FindDominators()
257 (*AvailableVals)[Pred->BB] = Pred->AvailableVal; in FindDominators()
344 if (Info->AvailableVal) in FindAvailableVals()
348 Info->AvailableVal = PHI; in FindAvailableVals()
361 (*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-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1279 if (Value *AvailableVal = FindAvailableLoadedValue( in SimplifyPartiallyRedundantLoad() local
1285 LoadInst *NLoadI = cast<LoadInst>(AvailableVal); in SimplifyPartiallyRedundantLoad()
1291 if (AvailableVal == LoadI) in SimplifyPartiallyRedundantLoad()
1292 AvailableVal = UndefValue::get(LoadI->getType()); in SimplifyPartiallyRedundantLoad()
1293 if (AvailableVal->getType() != LoadI->getType()) in SimplifyPartiallyRedundantLoad()
1294 AvailableVal = CastInst::CreateBitOrPointerCast( in SimplifyPartiallyRedundantLoad()
1295 AvailableVal, LoadI->getType(), "", LoadI); in SimplifyPartiallyRedundantLoad()
1296 LoadI->replaceAllUsesWith(AvailableVal); in SimplifyPartiallyRedundantLoad()
/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-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp992 if (Value *AvailableVal = FindAvailableLoadedValue( in visitLoadInst() local
995 combineMetadataForCSE(cast<LoadInst>(AvailableVal), &LI, false); in visitLoadInst()
998 LI, Builder.CreateBitOrPointerCast(AvailableVal, LI.getType(), in visitLoadInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp1301 Value *AvailableVal = FindAvailableLoadedValue(LI, CBB, BBI, MaxScan, AA); in fold_sincos() local
1302 if (AvailableVal) { in fold_sincos()
1303 CArgVal->replaceAllUsesWith(AvailableVal); in fold_sincos()