Lines Matching refs:dyn_cast
151 if (GEPOperator *GEP = dyn_cast<GEPOperator>(FromVal)) {
154 if (GEPOperator *GEP = dyn_cast<GEPOperator>(ToVal)) {
192 PHINode *PHI = dyn_cast<PHINode>(User);
247 dyn_cast<ConstantFP>(PN->getIncomingValue(IncomingEdge));
256 dyn_cast<BinaryOperator>(PN->getIncomingValue(BackEdge));
261 ConstantFP *IncValueVal = dyn_cast<ConstantFP>(Incr->getOperand(1));
277 FCmpInst *Compare = dyn_cast<FCmpInst>(U1);
279 Compare = dyn_cast<FCmpInst>(U2);
299 ConstantFP *ExitValueVal = dyn_cast<ConstantFP>(Compare->getOperand(1));
448 PHINode *PN = dyn_cast<PHINode>(I); ++I)
492 PHINode *PN = dyn_cast<PHINode>(ExitBB->begin());
499 while ((PN = dyn_cast<PHINode>(BBI++))) {
723 Instruction *Inst = dyn_cast<Instruction>(V);
781 dyn_cast<OverflowingBinaryOperator>(NarrowBO)) {
820 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(
848 const SCEVAddRecExpr *AddRec = dyn_cast
974 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(OrigPhi));
987 AddRec = dyn_cast<SCEVAddRecExpr>(WideIVExpr);
1115 ICmpInst *OrigCond = dyn_cast<ICmpInst>(BI->getCondition());
1130 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) {
1172 BranchInst *BI = dyn_cast<BranchInst>(L->getExitingBlock()->getTerminator());
1186 Instruction *IncI = dyn_cast<Instruction>(IncV);
1202 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0));
1212 Phi = dyn_cast<PHINode>(IncI->getOperand(1));
1229 BranchInst *BI = dyn_cast<BranchInst>(L->getExitingBlock()->getTerminator());
1232 return dyn_cast<ICmpInst>(BI->getCondition());
1257 PHINode *Phi = dyn_cast<PHINode>(LHS);
1287 Instruction *I = dyn_cast<Instruction>(V);
1370 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Phi));
1381 const SCEV *Step = dyn_cast<SCEVConstant>(AR->getStepRecurrence(*SE));
1432 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(IndVar));
1650 if (PHINode *P = dyn_cast<PHINode>(U)) {
1758 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(BackedgeTakenCount);