Home | History | Annotate | Download | only in Scalar

Lines Matching refs:dyn_cast

51     ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i));
57 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
78 GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1);
79 GEPOperator *GEP2 = dyn_cast<GEPOperator>(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());
591 AllocaInst *srcAlloca = dyn_cast<AllocaInst>(cpySrc);
598 ConstantInt *srcArraySize = dyn_cast<ConstantInt>(srcAlloca->getArraySize());
611 if (AllocaInst *A = dyn_cast<AllocaInst>(cpyDest)) {
613 ConstantInt *destArraySize = dyn_cast<ConstantInt>(A->getArraySize());
622 } else if (Argument *A = dyn_cast<Argument>(cpyDest)) {
660 } else if (GetElementPtrInst *G = dyn_cast<GetElementPtrInst>(UI)) {
675 if (Instruction *cpyDestInst = dyn_cast<Instruction>(cpyDest))
747 ConstantInt *MDepLen = dyn_cast<ConstantInt>(MDep->getLength());
748 ConstantInt *MLen = dyn_cast<ConstantInt>(M->getLength());
811 ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength());
822 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(M->getSource()))
839 if (CallInst *C = dyn_cast<CallInst>(DepInfo.getInst())) {
854 if (MemCpyInst *MDep = dyn_cast<MemCpyInst>(SrcDepInfo.getInst()))
909 MemCpyInst *MDep = dyn_cast<MemCpyInst>(DepInfo.getInst());
915 ConstantInt *C1 = dyn_cast<ConstantInt>(MDep->getLength());
972 if (StoreInst *SI = dyn_cast<StoreInst>(I))
974 else if (MemSetInst *M = dyn_cast<MemSetInst>(I))
976 else if (MemCpyInst *M = dyn_cast<MemCpyInst>(I))
978 else if (MemMoveInst *M = dyn_cast<MemMoveInst>(I))