Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp317 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI, in analyzeLoadFromClobberingLoad() argument
320 if (DepLI->getType()->isStructTy() || DepLI->getType()->isArrayTy()) in analyzeLoadFromClobberingLoad()
323 if (!canCoerceMustAliasedValueToLoad(DepLI, LoadTy, DL)) in analyzeLoadFromClobberingLoad()
326 Value *DepPtr = DepLI->getPointerOperand(); in analyzeLoadFromClobberingLoad()
327 uint64_t DepSize = DL.getTypeSizeInBits(DepLI->getType()).getFixedValue(); in analyzeLoadFromClobberingLoad()
340 getLoadLoadClobberFullWidthSize(LoadBase, LoadOffs, LoadSize, DepLI); in analyzeLoadFromClobberingLoad()
346 assert(DepLI->isSimple() && "Cannot widen volatile/atomic load!"); in analyzeLoadFromClobberingLoad()
347 assert(DepLI->getType()->isIntegerTy() && "Can't widen non-integer load"); in analyzeLoadFromClobberingLoad()
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DVNCoercion.h62 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI,
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp1464 } else if (auto *DepLI = dyn_cast<LoadInst>(DepInst)) { in performSymbolicLoadCoercion() local
1466 if (LI->isAtomic() > DepLI->isAtomic()) in performSymbolicLoadCoercion()
1468 int Offset = analyzeLoadFromClobberingLoad(LoadType, LoadPtr, DepLI, DL); in performSymbolicLoadCoercion()
1471 if (auto *C = dyn_cast<Constant>(lookupOperandLeader(DepLI))) in performSymbolicLoadCoercion()