Searched refs:GlobalUser (Results 1 – 2 of 2) 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()
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()