Lines Matching refs:getType

705   Type *AliaseeType = Aliasee->getType();
748 if (GVal->getType() != GA->getType())
1103 if (Val->getType() == Ty) return Val;
1105 getTypeString(Val->getType()) + "'");
1134 if (Val->getType() == Ty) return Val;
1136 getTypeString(Val->getType()) + "'");
2294 UndefValue::get(P.second.first->getType()));
2302 UndefValue::get(P.second.first->getType()));
2338 if (Val->getType() == Ty) return Val;
2343 getTypeString(Val->getType()) + "'");
2379 if (Val->getType() == Ty) return Val;
2384 getTypeString(Val->getType()) + "'");
2411 if (Inst->getType()->isVoidTy()) {
2431 if (Sentinel->getType() != Inst->getType())
2433 getTypeString(FI->second.first->getType()) + "'");
2448 if (Sentinel->getType() != Inst->getType())
2450 getTypeString(FI->second.first->getType()) + "'");
2599 if (!Elts[0]->getType()->isIntegerTy() &&
2600 !Elts[0]->getType()->isFloatingPointTy() &&
2601 !Elts[0]->getType()->isPointerTy())
2607 if (Elts[i]->getType() != Elts[0]->getType())
2610 " is not of type '" + getTypeString(Elts[0]->getType()));
2632 if (!Elts[0]->getType()->isFirstClassType())
2634 getTypeString(Elts[0]->getType()));
2636 ArrayType *ATy = ArrayType::get(Elts[0]->getType(), Elts.size());
2640 if (Elts[i]->getType() != Elts[0]->getType())
2643 " is not of type '" + getTypeString(Elts[0]->getType()));
2779 getTypeString(SrcVal->getType()) + "' to '" +
2796 if (!Val->getType()->isAggregateType())
2798 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices))
2815 if (!Val0->getType()->isAggregateType())
2818 ExtractValueInst::getIndexedType(Val0->getType(), Indices);
2821 if (IndexedType != Val1->getType())
2823 getTypeString(Val1->getType()) +
2843 if (Val0->getType() != Val1->getType())
2849 if (!Val0->getType()->isFPOrFPVectorTy())
2854 if (!Val0->getType()->isIntOrIntVectorTy() &&
2855 !Val0->getType()->getScalarType()->isPointerTy())
2906 if (Val0->getType() != Val1->getType())
2908 if (!Val0->getType()->isIntOrIntVectorTy()) {
2926 if (!Val0->getType()->isIntOrIntVectorTy())
2934 if (!Val0->getType()->isFPOrFPVectorTy())
2962 if (Val0->getType() != Val1->getType())
2964 if (!Val0->getType()->isIntOrIntVectorTy())
3002 !Elts[0]->getType()->getScalarType()->isPointerTy())
3005 Type *BaseType = Elts[0]->getType();
3014 Type *ValTy = Val->getType();
4211 if (V->getType() != Ty)
4244 if (ID.ConstantVal->getType() != Ty)
4260 if (ID.ConstantStructElts[i]->getType() != ST->getElementType(i))
4480 if (Fn->getType() != PFT)
4499 if (Fn->getType() != PFT)
4897 if (ResType != RV->getType())
4920 if (Op0->getType() != Type::getInt1Ty(Context))
4948 if (!Cond->getType()->isIntegerTy())
4991 if (!Address->getType()->isPointerTy())
5057 ParamTypes.push_back(ArgList[i].V->getType());
5093 if (ExpectedTy && ExpectedTy != ArgList[i].V->getType())
5330 ParseValue(LHS->getType(), RHS, PFS))
5337 Valid = LHS->getType()->isIntOrIntVectorTy() ||
5338 LHS->getType()->isFPOrFPVectorTy();
5340 case 1: Valid = LHS->getType()->isIntOrIntVectorTy(); break;
5341 case 2: Valid = LHS->getType()->isFPOrFPVectorTy(); break;
5358 ParseValue(LHS->getType(), RHS, PFS))
5361 if (!LHS->getType()->isIntOrIntVectorTy())
5381 ParseValue(LHS->getType(), RHS, PFS))
5385 if (!LHS->getType()->isFPOrFPVectorTy())
5390 if (!LHS->getType()->isIntOrIntVectorTy() &&
5391 !LHS->getType()->getScalarType()->isPointerTy())
5418 getTypeString(Op->getType()) + "' to '" +
5594 if (isa<ArrayType>(V->getType()))
5597 if (!isa<ArrayType>(V->getType()))
5661 ParamTypes.push_back(ArgList[i].V->getType());
5697 if (ExpectedTy && ExpectedTy != ArgList[i].V->getType())
5765 if (Size && !Size->getType()->isIntegerTy())
5806 if (!Val->getType()->isPointerTy() || !Ty->isFirstClassType())
5813 if (Ty != cast<PointerType>(Val->getType())->getElementType())
5852 if (!Ptr->getType()->isPointerTy())
5854 if (!Val->getType()->isFirstClassType())
5856 if (cast<PointerType>(Ptr->getType())->getElementType() != Val->getType())
5900 if (!Ptr->getType()->isPointerTy())
5902 if (cast<PointerType>(Ptr->getType())->getElementType() != Cmp->getType())
5904 if (cast<PointerType>(Ptr->getType())->getElementType() != New->getType())
5906 if (!New->getType()->isIntegerTy())
5908 unsigned Size = New->getType()->getPrimitiveSizeInBits();
5959 if (!Ptr->getType()->isPointerTy())
5961 if (cast<PointerType>(Ptr->getType())->getElementType() != Val->getType())
5963 if (!Val->getType()->isIntegerTy())
5965 unsigned Size = Val->getType()->getPrimitiveSizeInBits();
6010 Type *BaseType = Ptr->getType();
6032 if (!Val->getType()->getScalarType()->isIntegerTy())
6035 if (Val->getType()->isVectorTy()) {
6036 unsigned ValNumEl = Val->getType()->getVectorNumElements();
6067 if (!Val->getType()->isAggregateType())
6070 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices))
6088 if (!Val0->getType()->isAggregateType())
6091 Type *IndexedType = ExtractValueInst::getIndexedType(Val0->getType(), Indices);
6094 if (IndexedType != Val1->getType())
6096 getTypeString(Val1->getType()) + "' instead of '" +