Lines Matching full:dyn_cast
60 if (BranchInst *BI = dyn_cast<BranchInst>(T)) {
65 if (ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition())) {
105 if (SwitchInst *SI = dyn_cast<SwitchInst>(T)) {
108 ConstantInt *CI = dyn_cast<ConstantInt>(SI->getCondition());
185 if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(T)) {
188 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) {
232 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) {
237 if (DbgValueInst *DVI = dyn_cast<DbgValueInst>(I)) {
247 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
259 Instruction *I = dyn_cast<Instruction>(V);
280 if (Instruction *OpI = dyn_cast<Instruction>(OpV))
391 while (PHINode *PN = dyn_cast<PHINode>(PhiIt)) {
419 while (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) {
504 PHINode *BBPN = dyn_cast<PHINode>(PN->getIncomingValueForBlock(BB));
571 if (PHINode* PN = dyn_cast<PHINode>(*UI)) {
624 while (PHINode *PN = dyn_cast<PHINode>(&BB->front())) {
660 PHINode *PN = dyn_cast<PHINode>(I++); ) {
718 if (AllocaInst *AI = dyn_cast<AllocaInst>(V)) {
726 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
791 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(SI->getOperand(0)))
792 ExtendedArg = dyn_cast<Argument>(ZExt->getOperand(0));
793 if (SExtInst *SExt = dyn_cast<SExtInst>(SI->getOperand(0)))
794 ExtendedArg = dyn_cast<Argument>(SExt->getOperand(0));
839 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(BI))
852 if (StoreInst *SI = dyn_cast<StoreInst>(*UI))
854 else if (LoadInst *LI = dyn_cast<LoadInst>(*UI))
871 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(*UI))