Lines Matching full:dyn_cast
25 SelectInst *SI = dyn_cast<SelectInst>(V);
28 ICmpInst *ICI = dyn_cast<ICmpInst>(SI->getCondition());
179 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TI)) {
190 ConstantInt *C1I = dyn_cast<ConstantInt>(C1);
193 ConstantInt *C2I = dyn_cast<ConstantInt>(C2);
208 if (Instruction *TVI = dyn_cast<Instruction>(TrueVal)) {
243 if (Instruction *FVI = dyn_cast<Instruction>(FalseVal)) {
289 Instruction *I = dyn_cast<Instruction>(V);
294 if (BinaryOperator *B = dyn_cast<BinaryOperator>(I)) {
302 if (CmpInst *C = dyn_cast<CmpInst>(I)) {
313 if (Constant *CRepOp = dyn_cast<Constant>(RepOp)) {
319 else if (Constant *COp = dyn_cast<Constant>(I->getOperand(i)))
350 if (ConstantInt *CI = dyn_cast<ConstantInt>(CmpRHS)) {
366 IntegerType *SelectTy = dyn_cast<IntegerType>(SI.getType());
446 if (IntegerType *Ty = dyn_cast<IntegerType>(CmpLHS->getType())) {
448 if (ConstantInt *Cmp = dyn_cast<ConstantInt>(CmpRHS)) {
451 C1 = dyn_cast<ConstantInt>(TrueVal);
452 C2 = dyn_cast<ConstantInt>(FalseVal);
454 C1 = dyn_cast<ConstantInt>(FalseVal);
455 C2 = dyn_cast<ConstantInt>(TrueVal);
518 const Instruction *I = dyn_cast<Instruction>(V);
525 if (const PHINode *VP = dyn_cast<PHINode>(I))
574 const ICmpInst *IC = dyn_cast<ICmpInst>(SI.getCondition());
646 if (ConstantInt *C = dyn_cast<ConstantInt>(TrueVal)) {
654 } else if (ConstantInt *C = dyn_cast<ConstantInt>(FalseVal)) {
673 if (ConstantInt *TrueValC = dyn_cast<ConstantInt>(TrueVal))
674 if (ConstantInt *FalseValC = dyn_cast<ConstantInt>(FalseVal)) {
700 if (FCmpInst *FCI = dyn_cast<FCmpInst>(CondVal)) {
708 if (((CFPt = dyn_cast<ConstantFP>(TrueVal)) &&
710 ((CFPf = dyn_cast<ConstantFP>(FalseVal)) &&
720 if (((CFPt = dyn_cast<ConstantFP>(TrueVal)) &&
722 ((CFPf = dyn_cast<ConstantFP>(FalseVal)) &&
735 if (((CFPt = dyn_cast<ConstantFP>(TrueVal)) &&
737 ((CFPf = dyn_cast<ConstantFP>(FalseVal)) &&
747 if (((CFPt = dyn_cast<ConstantFP>(TrueVal)) &&
749 ((CFPf = dyn_cast<ConstantFP>(FalseVal)) &&
759 if (ICmpInst *ICI = dyn_cast<ICmpInst>(CondVal))
763 if (Instruction *TI = dyn_cast<Instruction>(TrueVal))
764 if (Instruction *FI = dyn_cast<Instruction>(FalseVal))
855 if (SelectInst *TrueSI = dyn_cast<SelectInst>(TrueVal)) {
861 if (SelectInst *FalseSI = dyn_cast<SelectInst>(FalseVal)) {