Home | History | Annotate | Download | only in Analysis

Lines Matching full:dyn_cast

37       if (CastInst *CI = dyn_cast<CastInst>(U))
81 if (CastInst *CI = dyn_cast<CastInst>(V))
87 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V))
96 if (Constant *C = dyn_cast<Constant>(V))
101 if (Argument *A = dyn_cast<Argument>(V)) {
114 if (InvokeInst *II = dyn_cast<InvokeInst>(I))
125 if (Constant *CLHS = dyn_cast<Constant>(LHS))
126 if (Constant *CRHS = dyn_cast<Constant>(RHS))
197 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(S)) {
202 if (const SCEVConstant *FC = dyn_cast<SCEVConstant>(Factor)) {
224 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(S)) {
230 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(M->getOperand(0)))
257 if (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(S)) {
295 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum))
314 while (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(Ops[i])) {
323 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Start)) {
426 while (StructType *STy = dyn_cast<StructType>(ElTy)) {
434 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(Ops[0]))
453 if (const SCEVUnknown *U = dyn_cast<SCEVUnknown>(Ops[i])) {
477 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy))
495 if (Constant *CLHS = dyn_cast<Constant>(V))
496 if (Constant *CRHS = dyn_cast<Constant>(Idx))
591 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(F);
595 const SCEVConstant *SC = dyn_cast<SCEVConstant>(Mul->getOperand(0));
628 if (const SCEVUnknown *U = dyn_cast<SCEVUnknown>(S)) {
629 if (const Instruction *I = dyn_cast<Instruction>(U->getValue()))
634 if (const SCEVNAryExpr *N = dyn_cast<SCEVNAryExpr>(S)) {
636 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S))
643 if (const SCEVCastExpr *C = dyn_cast<SCEVCastExpr>(S)) {
647 if (const SCEVUDivExpr *D = dyn_cast<SCEVUDivExpr>(S)) {
720 } else if (PointerType *PTy = dyn_cast<PointerType>(Sum->getType())) {
728 if (const SCEVUnknown *U = dyn_cast<SCEVUnknown>(X))
734 } else if (PointerType *PTy = dyn_cast<PointerType>(Op->getType())) {
810 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(S->getRHS())) {
826 while (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(Base)) {
835 if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(Base)) {
856 PHINode *PN = dyn_cast<PHINode>(I); ++I)
881 if (Instruction *OInst = dyn_cast<Instruction>(OI))
890 IncV = dyn_cast<Instruction>(IncV->getOperand(0));
1072 if (PointerType *PTy = dyn_cast<PointerType>(ExpandTy)) {
1135 if (PointerType *PTy = dyn_cast<PointerType>(Base->getType())) {