Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp314 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI, in analyzeLoadFromClobberingLoad() argument
317 if (DepLI->getType()->isStructTy() || DepLI->getType()->isArrayTy()) in analyzeLoadFromClobberingLoad()
320 if (!canCoerceMustAliasedValueToLoad(DepLI, LoadTy, DL)) in analyzeLoadFromClobberingLoad()
323 Value *DepPtr = DepLI->getPointerOperand(); in analyzeLoadFromClobberingLoad()
324 uint64_t DepSize = DL.getTypeSizeInBits(DepLI->getType()).getFixedSize(); in analyzeLoadFromClobberingLoad()
337 getLoadLoadClobberFullWidthSize(LoadBase, LoadOffs, LoadSize, DepLI); in analyzeLoadFromClobberingLoad()
343 assert(DepLI->isSimple() && "Cannot widen volatile/atomic load!"); in analyzeLoadFromClobberingLoad()
344 assert(DepLI->getType()->isIntegerTy() && "Can't widen non-integer load"); in analyzeLoadFromClobberingLoad()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DVNCoercion.h62 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI,
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp1468 } else if (auto *DepLI = dyn_cast<LoadInst>(DepInst)) { in performSymbolicLoadCoercion() local
1470 if (LI->isAtomic() > DepLI->isAtomic()) in performSymbolicLoadCoercion()
1472 int Offset = analyzeLoadFromClobberingLoad(LoadType, LoadPtr, DepLI, DL); in performSymbolicLoadCoercion()
1475 if (auto *C = dyn_cast<Constant>(lookupOperandLeader(DepLI))) in performSymbolicLoadCoercion()