Lines Matching refs:CurTy
1166 Type *CurTy = Type::getInt32Ty(Context); in ParseConstants() local
1193 V = UndefValue::get(CurTy); in ParseConstants()
1200 CurTy = TypeList[Record[0]]; in ParseConstants()
1203 V = Constant::getNullValue(CurTy); in ParseConstants()
1206 if (!CurTy->isIntegerTy() || Record.empty()) in ParseConstants()
1208 V = ConstantInt::get(CurTy, DecodeSignRotatedValue(Record[0])); in ParseConstants()
1211 if (!CurTy->isIntegerTy() || Record.empty()) in ParseConstants()
1220 APInt(cast<IntegerType>(CurTy)->getBitWidth(), in ParseConstants()
1227 if (CurTy->isFloatTy()) in ParseConstants()
1229 else if (CurTy->isDoubleTy()) in ParseConstants()
1231 else if (CurTy->isX86_FP80Ty()) { in ParseConstants()
1237 } else if (CurTy->isFP128Ty()) in ParseConstants()
1239 else if (CurTy->isPPC_FP128Ty()) in ParseConstants()
1242 V = UndefValue::get(CurTy); in ParseConstants()
1253 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in ParseConstants()
1258 } else if (ArrayType *ATy = dyn_cast<ArrayType>(CurTy)) { in ParseConstants()
1263 } else if (VectorType *VTy = dyn_cast<VectorType>(CurTy)) { in ParseConstants()
1269 V = UndefValue::get(CurTy); in ParseConstants()
1277 ArrayType *ATy = cast<ArrayType>(CurTy); in ParseConstants()
1291 ArrayType *ATy = cast<ArrayType>(CurTy); in ParseConstants()
1304 int Opc = GetDecodedBinaryOpcode(Record[0], CurTy); in ParseConstants()
1306 V = UndefValue::get(CurTy); // Unknown binop. in ParseConstants()
1308 Constant *LHS = ValueList.getConstantFwdRef(Record[1], CurTy); in ParseConstants()
1309 Constant *RHS = ValueList.getConstantFwdRef(Record[2], CurTy); in ParseConstants()
1336 V = UndefValue::get(CurTy); // Unknown cast. in ParseConstants()
1341 V = ConstantExpr::getCast(Opc, Op, CurTy); in ParseConstants()
1366 ValueList.getConstantFwdRef(Record[1],CurTy), in ParseConstants()
1367 ValueList.getConstantFwdRef(Record[2],CurTy)); in ParseConstants()
1380 VectorType *OpTy = dyn_cast<VectorType>(CurTy); in ParseConstants()
1391 VectorType *OpTy = dyn_cast<VectorType>(CurTy); in ParseConstants()
1403 VectorType *RTy = dyn_cast<VectorType>(CurTy); in ParseConstants()
1445 PointerType *PTy = cast<PointerType>(CurTy); in ParseConstants()