Home | History | Annotate | Download | only in Analysis

Lines Matching refs:dyn_cast

56   if (IntegerType *IT = dyn_cast<IntegerType>(DestTy)) {
57 VectorType *VTy = dyn_cast<VectorType>(C->getType());
74 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C);
94 VectorType *DestVTy = dyn_cast<VectorType>(DestTy);
172 Constant *Src =dyn_cast<ConstantInt>(C->getAggregateElement(SrcElt++));
198 Constant *Src = dyn_cast<ConstantInt>(C->getAggregateElement(i));
225 if ((GV = dyn_cast<GlobalValue>(C))) {
231 ConstantExpr *CE = dyn_cast<ConstantExpr>(C);
240 if (GEPOperator *GEP = dyn_cast<GEPOperator>(CE)) {
267 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) {
285 if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) {
301 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(C)) {
345 if (ArrayType *AT = dyn_cast<ArrayType>(C->getType()))
367 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(C)) {
381 IntegerType *IntType = dyn_cast<IntegerType>(LoadTy);
417 GlobalVariable *GV = dyn_cast<GlobalVariable>(GVal);
460 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(C))
465 ConstantExpr *CE = dyn_cast<ConstantExpr>(C);
469 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(CE->getOperand(0)))
514 dyn_cast<GlobalVariable>(GetUnderlyingObject(CE, TD))) {
533 if (Constant *C = dyn_cast<Constant>(LI->getOperand(0)))
625 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(C))
668 ConstantExpr *CE = dyn_cast<ConstantExpr>(Ops[1]);
676 if (ConstantExpr *ResCE = dyn_cast<ConstantExpr>(Res))
693 while (GEPOperator *GEP = dyn_cast<GEPOperator>(Ptr)) {
715 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Ptr))
717 if (ConstantInt *Base = dyn_cast<ConstantInt>(CE->getOperand(0)))
732 if (SequentialType *ATy = dyn_cast<SequentialType>(Ty)) {
759 } else if (StructType *STy = dyn_cast<StructType>(Ty)) {
817 if (PHINode *PN = dyn_cast<PHINode>(I)) {
829 Constant *C = dyn_cast<Constant>(Incoming);
833 if (ConstantExpr *NewC = dyn_cast<ConstantExpr>(C))
851 Constant *Op = dyn_cast<Constant>(*i);
856 if (ConstantExpr *NewCE = dyn_cast<ConstantExpr>(Op))
862 if (const CmpInst *CI = dyn_cast<CmpInst>(I))
866 if (const LoadInst *LI = dyn_cast<LoadInst>(I))
869 if (InsertValueInst *IVI = dyn_cast<InsertValueInst>(I))
875 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I))
894 if (ConstantExpr *NewCE = dyn_cast<ConstantExpr>(NewC))
933 if (Function *F = dyn_cast<Function>(Ops.back()))
940 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Ops[0])) {
959 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Ops[0]))
1013 if (ConstantExpr *CE0 = dyn_cast<ConstantExpr>(Ops0)) {
1035 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(Ops1)) {
1267 if (ConstantFP *Op = dyn_cast<ConstantFP>(Operands[0])) {
1404 if (ConstantInt *Op = dyn_cast<ConstantInt>(Operands[0])) {
1464 if (ConstantFP *Op1 = dyn_cast<ConstantFP>(Operands[0])) {
1479 if (ConstantFP *Op2 = dyn_cast<ConstantFP>(Operands[1])) {
1506 } else if (ConstantInt *Op2C = dyn_cast<ConstantInt>(Operands[1])) {
1523 if (ConstantInt *Op1 = dyn_cast<ConstantInt>(Operands[0])) {
1524 if (ConstantInt *Op2 = dyn_cast<ConstantInt>(Operands[1])) {