Lines Matching full:dyn_cast
51 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i));
57 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
78 GetElementPtrInst *GEP1 = dyn_cast<GetElementPtrInst>(Ptr1);
79 GetElementPtrInst *GEP2 = dyn_cast<GetElementPtrInst>(Ptr2);
205 if (StoreInst *SI = dyn_cast<StoreInst>(Inst))
385 if (StoreInst *NextStore = dyn_cast<StoreInst>(BI)) {
489 if (LoadInst *LI = dyn_cast<LoadInst>(SI->getOperand(0))) {
495 C = dyn_cast<CallInst>(ldep.getInst());
582 AllocaInst *srcAlloca = dyn_cast<AllocaInst>(cpySrc);
589 ConstantInt *srcArraySize = dyn_cast<ConstantInt>(srcAlloca->getArraySize());
602 if (AllocaInst *A = dyn_cast<AllocaInst>(cpyDest)) {
604 ConstantInt *destArraySize = dyn_cast<ConstantInt>(A->getArraySize());
613 } else if (Argument *A = dyn_cast<Argument>(cpyDest)) {
641 } else if (GetElementPtrInst *G = dyn_cast<GetElementPtrInst>(UI)) {
656 if (Instruction *cpyDestInst = dyn_cast<Instruction>(cpyDest))
718 ConstantInt *MDepLen = dyn_cast<ConstantInt>(MDep->getLength());
719 ConstantInt *MLen = dyn_cast<ConstantInt>(M->getLength());
782 ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength());
793 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(M->getSource()))
812 if (MemCpyInst *MDep = dyn_cast<MemCpyInst>(DepInfo.getInst()))
815 if (CallInst *C = dyn_cast<CallInst>(DepInfo.getInst())) {
875 MemCpyInst *MDep = dyn_cast<MemCpyInst>(DepInfo.getInst());
881 ConstantInt *C1 = dyn_cast<ConstantInt>(MDep->getLength());
938 if (StoreInst *SI = dyn_cast<StoreInst>(I))
940 else if (MemSetInst *M = dyn_cast<MemSetInst>(I))
942 else if (MemCpyInst *M = dyn_cast<MemCpyInst>(I))
944 else if (MemMoveInst *M = dyn_cast<MemMoveInst>(I))