Searched refs:GlobalUser (Results 1 – 3 of 3) sorted by relevance
718 User *GlobalUser = *GUI++; in OptimizeAwayTrappingUsesOfLoads() local719 if (LoadInst *LI = dyn_cast<LoadInst>(GlobalUser)) { in OptimizeAwayTrappingUsesOfLoads()728 } else if (isa<StoreInst>(GlobalUser)) { in OptimizeAwayTrappingUsesOfLoads()730 assert(GlobalUser->getOperand(1) == GV && in OptimizeAwayTrappingUsesOfLoads()737 assert((isa<PHINode>(GlobalUser) || isa<SelectInst>(GlobalUser) || in OptimizeAwayTrappingUsesOfLoads()738 isa<ConstantExpr>(GlobalUser) || isa<CmpInst>(GlobalUser) || in OptimizeAwayTrappingUsesOfLoads()739 isa<BitCastInst>(GlobalUser) || in OptimizeAwayTrappingUsesOfLoads()740 isa<GetElementPtrInst>(GlobalUser)) && in OptimizeAwayTrappingUsesOfLoads()
759 User *GlobalUser = *GUI++; in OptimizeAwayTrappingUsesOfLoads() local760 if (LoadInst *LI = dyn_cast<LoadInst>(GlobalUser)) { in OptimizeAwayTrappingUsesOfLoads()769 } else if (isa<StoreInst>(GlobalUser)) { in OptimizeAwayTrappingUsesOfLoads()771 assert(GlobalUser->getOperand(1) == GV && in OptimizeAwayTrappingUsesOfLoads()778 assert((isa<PHINode>(GlobalUser) || isa<SelectInst>(GlobalUser) || in OptimizeAwayTrappingUsesOfLoads()779 isa<ConstantExpr>(GlobalUser) || isa<CmpInst>(GlobalUser) || in OptimizeAwayTrappingUsesOfLoads()780 isa<BitCastInst>(GlobalUser) || in OptimizeAwayTrappingUsesOfLoads()781 isa<GetElementPtrInst>(GlobalUser)) && in OptimizeAwayTrappingUsesOfLoads()
782 User *GlobalUser = *GUI++; in OptimizeAwayTrappingUsesOfLoads() local783 if (LoadInst *LI = dyn_cast<LoadInst>(GlobalUser)) { in OptimizeAwayTrappingUsesOfLoads()792 } else if (isa<StoreInst>(GlobalUser)) { in OptimizeAwayTrappingUsesOfLoads()794 assert(GlobalUser->getOperand(1) == GV && in OptimizeAwayTrappingUsesOfLoads()801 assert((isa<PHINode>(GlobalUser) || isa<SelectInst>(GlobalUser) || in OptimizeAwayTrappingUsesOfLoads()802 isa<ConstantExpr>(GlobalUser) || isa<CmpInst>(GlobalUser)) && in OptimizeAwayTrappingUsesOfLoads()