Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp718 User *GlobalUser = *GUI++; in OptimizeAwayTrappingUsesOfLoads() local
719 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()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp782 User *GlobalUser = *GUI++; in OptimizeAwayTrappingUsesOfLoads() local
783 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()