Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp675 if (auto *CastUser = dyn_cast<CastInst>(Load.user_back())) { in combineLoadToOperationType() local
676 Type *DestTy = CastUser->getDestTy(); in combineLoadToOperationType()
677 if (CastUser->isNoopCast(IC.getDataLayout()) && in combineLoadToOperationType()
681 CastUser->replaceAllUsesWith(NewLoad); in combineLoadToOperationType()
682 IC.eraseInstFromFunction(*CastUser); in combineLoadToOperationType()