Home
last modified time | relevance | path

Searched refs:GlobalUser (Results 1 – 3 of 3) 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-7.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp759 User *GlobalUser = *GUI++; in OptimizeAwayTrappingUsesOfLoads() local
760 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()
/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()