Lines Matching refs:dyn_cast
55 if (const Constant *CU = dyn_cast<Constant>(U)) in isSafeToDestroyConstant()
66 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V)) in analyzeGlobalAux()
72 if (const Constant *C = dyn_cast<Constant>(UR)) { in analyzeGlobalAux()
73 const ConstantExpr *CE = dyn_cast<ConstantExpr>(C); in analyzeGlobalAux()
84 } else if (const Instruction *I = dyn_cast<Instruction>(UR)) { in analyzeGlobalAux()
92 if (const LoadInst *LI = dyn_cast<LoadInst>(I)) { in analyzeGlobalAux()
98 } else if (const StoreInst *SI = dyn_cast<StoreInst>(I)) { in analyzeGlobalAux()
116 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(Ptr)) { in analyzeGlobalAux()
119 if (Constant *C = dyn_cast<Constant>(StoredVal)) { in analyzeGlobalAux()
162 } else if (const MemTransferInst *MTI = dyn_cast<MemTransferInst>(I)) { in analyzeGlobalAux()
169 } else if (const MemSetInst *MSI = dyn_cast<MemSetInst>(I)) { in analyzeGlobalAux()
174 } else if (const auto *CB = dyn_cast<CallBase>(I)) { in analyzeGlobalAux()