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.cpp690 if (auto *CastUser = dyn_cast<CastInst>(Load.user_back())) { in combineLoadToOperationType() local
691 Type *DestTy = CastUser->getDestTy(); in combineLoadToOperationType()
692 if (CastUser->isNoopCast(IC.getDataLayout()) && in combineLoadToOperationType()
696 CastUser->replaceAllUsesWith(NewLoad); in combineLoadToOperationType()
697 IC.eraseInstFromFunction(*CastUser); in combineLoadToOperationType()