Home
last modified time | relevance | path

Searched refs:DepLI (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Utils/
DVNCoercion.cpp337 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI, in analyzeLoadFromClobberingLoad() argument
340 if (DepLI->getType()->isStructTy() || DepLI->getType()->isArrayTy()) in analyzeLoadFromClobberingLoad()
343 if (!canCoerceMustAliasedValueToLoad(DepLI, LoadTy, DL)) in analyzeLoadFromClobberingLoad()
346 Value *DepPtr = DepLI->getPointerOperand(); in analyzeLoadFromClobberingLoad()
347 uint64_t DepSize = DL.getTypeSizeInBits(DepLI->getType()).getFixedSize(); in analyzeLoadFromClobberingLoad()
360 getLoadLoadClobberFullWidthSize(LoadBase, LoadOffs, LoadSize, DepLI); in analyzeLoadFromClobberingLoad()
366 assert(DepLI->isSimple() && "Cannot widen volatile/atomic load!"); in analyzeLoadFromClobberingLoad()
367 assert(DepLI->getType()->isIntegerTy() && "Can't widen non-integer load"); in analyzeLoadFromClobberingLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp246 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI, in analyzeLoadFromClobberingLoad() argument
249 if (DepLI->getType()->isStructTy() || DepLI->getType()->isArrayTy()) in analyzeLoadFromClobberingLoad()
253 if (DL.isNonIntegralPointerType(DepLI->getType()->getScalarType()) != in analyzeLoadFromClobberingLoad()
257 Value *DepPtr = DepLI->getPointerOperand(); in analyzeLoadFromClobberingLoad()
258 uint64_t DepSize = DL.getTypeSizeInBits(DepLI->getType()); in analyzeLoadFromClobberingLoad()
271 LoadBase, LoadOffs, LoadSize, DepLI); in analyzeLoadFromClobberingLoad()
277 assert(DepLI->isSimple() && "Cannot widen volatile/atomic load!"); in analyzeLoadFromClobberingLoad()
278 assert(DepLI->getType()->isIntegerTy() && "Can't widen non-integer load"); in analyzeLoadFromClobberingLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DVNCoercion.h62 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI,
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DVNCoercion.h62 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI,
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp903 LoadInst *DepLI, const DataLayout &DL){ in AnalyzeLoadFromClobberingLoad() argument
905 if (DepLI->getType()->isStructTy() || DepLI->getType()->isArrayTy()) in AnalyzeLoadFromClobberingLoad()
908 Value *DepPtr = DepLI->getPointerOperand(); in AnalyzeLoadFromClobberingLoad()
909 uint64_t DepSize = DL.getTypeSizeInBits(DepLI->getType()); in AnalyzeLoadFromClobberingLoad()
921 LoadBase, LoadOffs, LoadSize, DepLI); in AnalyzeLoadFromClobberingLoad()
926 assert(DepLI->isSimple() && "Cannot widen volatile/atomic load!"); in AnalyzeLoadFromClobberingLoad()
927 assert(DepLI->getType()->isIntegerTy() && "Can't widen non-integer load"); in AnalyzeLoadFromClobberingLoad()
1250 if (LoadInst *DepLI = dyn_cast<LoadInst>(DepInfo.getInst())) { in AnalyzeLoadAvailability() local
1254 if (DepLI != LI && Address && LI->isAtomic() <= DepLI->isAtomic()) { in AnalyzeLoadAvailability()
1256 AnalyzeLoadFromClobberingLoad(LI->getType(), Address, DepLI, DL); in AnalyzeLoadAvailability()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVN.cpp889 if (LoadInst *DepLI = dyn_cast<LoadInst>(DepInst)) { in AnalyzeLoadAvailability() local
893 if (DepLI != LI && Address && LI->isAtomic() <= DepLI->isAtomic()) { in AnalyzeLoadAvailability()
895 analyzeLoadFromClobberingLoad(LI->getType(), Address, DepLI, DL); in AnalyzeLoadAvailability()
898 Res = AvailableValue::getLoad(DepLI, Offset); in AnalyzeLoadAvailability()
DNewGVN.cpp1437 } else if (auto *DepLI = dyn_cast<LoadInst>(DepInst)) { in performSymbolicLoadCoercion() local
1439 if (LI->isAtomic() > DepLI->isAtomic()) in performSymbolicLoadCoercion()
1441 int Offset = analyzeLoadFromClobberingLoad(LoadType, LoadPtr, DepLI, DL); in performSymbolicLoadCoercion()
1444 if (auto *C = dyn_cast<Constant>(lookupOperandLeader(DepLI))) in performSymbolicLoadCoercion()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DGVN.cpp989 if (LoadInst *DepLI = dyn_cast<LoadInst>(DepInst)) { in AnalyzeLoadAvailability() local
993 if (DepLI != LI && Address && LI->isAtomic() <= DepLI->isAtomic()) { in AnalyzeLoadAvailability()
995 analyzeLoadFromClobberingLoad(LI->getType(), Address, DepLI, DL); in AnalyzeLoadAvailability()
998 Res = AvailableValue::getLoad(DepLI, Offset); in AnalyzeLoadAvailability()
DNewGVN.cpp1438 } else if (auto *DepLI = dyn_cast<LoadInst>(DepInst)) { in performSymbolicLoadCoercion() local
1440 if (LI->isAtomic() > DepLI->isAtomic()) in performSymbolicLoadCoercion()
1442 int Offset = analyzeLoadFromClobberingLoad(LoadType, LoadPtr, DepLI, DL); in performSymbolicLoadCoercion()
1445 if (auto *C = dyn_cast<Constant>(lookupOperandLeader(DepLI))) in performSymbolicLoadCoercion()