Lines Matching defs:CurTy

2873   Type *CurTy = Type::getInt32Ty(Context);
2903 V = UndefValue::get(CurTy);
2912 CurTy = TypeList[Record[0]];
2915 V = Constant::getNullValue(CurTy);
2918 if (!CurTy->isIntegerTy() || Record.empty())
2920 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0]));
2923 if (!CurTy->isIntegerTy() || Record.empty())
2927 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth());
2935 if (CurTy->isHalfTy())
2938 else if (CurTy->isFloatTy())
2941 else if (CurTy->isDoubleTy())
2944 else if (CurTy->isX86_FP80Ty()) {
2951 } else if (CurTy->isFP128Ty())
2954 else if (CurTy->isPPC_FP128Ty())
2958 V = UndefValue::get(CurTy);
2969 if (StructType *STy = dyn_cast<StructType>(CurTy)) {
2974 } else if (ArrayType *ATy = dyn_cast<ArrayType>(CurTy)) {
2979 } else if (VectorType *VTy = dyn_cast<VectorType>(CurTy)) {
2985 V = UndefValue::get(CurTy);
3003 Type *EltTy = cast<SequentialType>(CurTy)->getElementType();
3006 if (isa<VectorType>(CurTy))
3012 if (isa<VectorType>(CurTy))
3018 if (isa<VectorType>(CurTy))
3024 if (isa<VectorType>(CurTy))
3030 if (isa<VectorType>(CurTy))
3036 if (isa<VectorType>(CurTy))
3042 if (isa<VectorType>(CurTy))
3054 int Opc = getDecodedBinaryOpcode(Record[0], CurTy);
3056 V = UndefValue::get(CurTy); // Unknown binop.
3058 Constant *LHS = ValueList.getConstantFwdRef(Record[1], CurTy);
3059 Constant *RHS = ValueList.getConstantFwdRef(Record[2], CurTy);
3087 V = UndefValue::get(CurTy); // Unknown cast.
3093 V = UpgradeBitCastExpr(Opc, Op, CurTy);
3094 if (!V) V = ConstantExpr::getCast(Opc, Op, CurTy);
3136 if (VectorType *VTy = dyn_cast<VectorType>(CurTy))
3143 ValueList.getConstantFwdRef(Record[1],CurTy),
3144 ValueList.getConstantFwdRef(Record[2],CurTy));
3171 VectorType *OpTy = dyn_cast<VectorType>(CurTy);
3191 VectorType *OpTy = dyn_cast<VectorType>(CurTy);
3203 VectorType *RTy = dyn_cast<VectorType>(CurTy);
3250 PointerType *PTy = cast<PointerType>(CurTy);
3275 PointerType *PTy = cast<PointerType>(CurTy);
4637 Type *CurTy = Agg->getType();
4639 bool IsArray = CurTy->isArrayTy();
4640 bool IsStruct = CurTy->isStructTy();
4647 if (IsStruct && Index >= CurTy->subtypes().size())
4649 if (IsArray && Index >= CurTy->getArrayNumElements())
4654 CurTy = CurTy->subtypes()[Index];
4656 CurTy = CurTy->subtypes()[0];
4679 Type *CurTy = Agg->getType();
4681 bool IsArray = CurTy->isArrayTy();
4682 bool IsStruct = CurTy->isStructTy();
4689 if (IsStruct && Index >= CurTy->subtypes().size())
4691 if (IsArray && Index >= CurTy->getArrayNumElements())
4696 CurTy = CurTy->subtypes()[Index];
4698 CurTy = CurTy->subtypes()[0];
4701 if (CurTy != Val->getType())