Lines Matching refs:dyn_cast
60 Instruction *I = dyn_cast<Instruction>(Expr); in VerifySubExpr()
118 Instruction *Inst = dyn_cast<Instruction>(Addr); in IsPotentiallyPHITranslatable()
125 Instruction *I = dyn_cast<Instruction>(V); in RemoveInstInputs()
140 if (Instruction *Op = dyn_cast<Instruction>(I->getOperand(i))) in RemoveInstInputs()
149 Instruction *Inst = dyn_cast<Instruction>(V); in PHITranslateSubExpr()
170 if (PHINode *PN = dyn_cast<PHINode>(Inst)) in PHITranslateSubExpr()
181 if (Instruction *Op = dyn_cast<Instruction>(Inst->getOperand(i))) in PHITranslateSubExpr()
189 if (CastInst *Cast = dyn_cast<CastInst>(Inst)) { in PHITranslateSubExpr()
199 if (Constant *C = dyn_cast<Constant>(PHIIn)) in PHITranslateSubExpr()
206 if (CastInst *CastI = dyn_cast<CastInst>(U)) in PHITranslateSubExpr()
216 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in PHITranslateSubExpr()
241 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) in PHITranslateSubExpr()
271 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS)) in PHITranslateSubExpr()
273 if (ConstantInt *CI = dyn_cast<ConstantInt>(BOp->getOperand(1))) { in PHITranslateSubExpr()
299 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(U)) in PHITranslateSubExpr()
381 if (CastInst *Cast = dyn_cast<CastInst>(Inst)) { in InsertPHITranslatedSubExpr()
397 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in InsertPHITranslatedSubExpr()