Home | History | Annotate | Download | only in Analysis

Lines Matching refs:dyn_cast

52       if (CastInst *CI = dyn_cast<CastInst>(U))
101 if (CastInst *CI = dyn_cast<CastInst>(V)) {
109 if (CastInst *CI = dyn_cast<CastInst>(V))
115 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V))
124 if (Constant *C = dyn_cast<Constant>(V))
129 if (Argument *A = dyn_cast<Argument>(V)) {
143 if (InvokeInst *II = dyn_cast<InvokeInst>(I))
155 if (Constant *CLHS = dyn_cast<Constant>(LHS))
156 if (Constant *CRHS = dyn_cast<Constant>(RHS))
227 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(S)) {
232 if (const SCEVConstant *FC = dyn_cast<SCEVConstant>(Factor)) {
254 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(S)) {
260 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(M->getOperand(0)))
287 if (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(S)) {
325 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum))
344 while (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(Ops[i])) {
353 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Start)) {
456 while (StructType *STy = dyn_cast<StructType>(ElTy)) {
464 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(Ops[0]))
483 if (const SCEVUnknown *U = dyn_cast<SCEVUnknown>(Ops[i])) {
507 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy))
528 if (Constant *CLHS = dyn_cast<Constant>(V))
529 if (Constant *CRHS = dyn_cast<Constant>(Idx))
646 if (const SCEVUnknown *U = dyn_cast<SCEVUnknown>(S)) {
647 if (const Instruction *I = dyn_cast<Instruction>(U->getValue()))
652 if (const SCEVNAryExpr *N = dyn_cast<SCEVNAryExpr>(S)) {
654 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S))
661 if (const SCEVCastExpr *C = dyn_cast<SCEVCastExpr>(S)) {
665 if (const SCEVUDivExpr *D = dyn_cast<SCEVUDivExpr>(S)) {
737 } else if (PointerType *PTy = dyn_cast<PointerType>(Sum->getType())) {
745 if (const SCEVUnknown *U = dyn_cast<SCEVUnknown>(X))
751 } else if (PointerType *PTy = dyn_cast<PointerType>(Op->getType())) {
827 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(S->getRHS())) {
843 while (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(Base)) {
852 if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(Base)) {
874 if (Instruction *OInst = dyn_cast<Instruction>(OI))
879 IncV = dyn_cast<Instruction>(IncV->getOperand(0));
913 Instruction *OInst = dyn_cast<Instruction>(IncV->getOperand(1));
915 return dyn_cast<Instruction>(IncV->getOperand(0));
919 return dyn_cast<Instruction>(IncV->getOperand(0));
925 if (Instruction *OInst = dyn_cast<Instruction>(*I)) {
945 return dyn_cast<Instruction>(IncV->getOperand(0));
1041 PHINode *PN = dyn_cast<PHINode>(I); ++I) {
1256 if (PointerType *PTy = dyn_cast<PointerType>(ExpandTy)) {
1320 if (PointerType *PTy = dyn_cast<PointerType>(Base->getType())) {
1606 PHINode *Phi = dyn_cast<PHINode>(I); ++I) {
1734 const SCEVUDivExpr *D = dyn_cast<SCEVUDivExpr>(S);
1737 const SCEVConstant *SC = dyn_cast<SCEVConstant>(D->getRHS());