Lines Matching refs:CurTy
1154 Type *CurTy = Type::getInt32Ty(Context); in ParseConstants() local
1183 V = UndefValue::get(CurTy); in ParseConstants()
1190 CurTy = TypeList[Record[0]]; in ParseConstants()
1193 V = Constant::getNullValue(CurTy); in ParseConstants()
1196 if (!CurTy->isIntegerTy() || Record.empty()) in ParseConstants()
1198 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in ParseConstants()
1201 if (!CurTy->isIntegerTy() || Record.empty()) in ParseConstants()
1205 cast<IntegerType>(CurTy)->getBitWidth()); in ParseConstants()
1213 if (CurTy->isHalfTy()) in ParseConstants()
1216 else if (CurTy->isFloatTy()) in ParseConstants()
1219 else if (CurTy->isDoubleTy()) in ParseConstants()
1222 else if (CurTy->isX86_FP80Ty()) { in ParseConstants()
1229 } else if (CurTy->isFP128Ty()) in ParseConstants()
1232 else if (CurTy->isPPC_FP128Ty()) in ParseConstants()
1236 V = UndefValue::get(CurTy); in ParseConstants()
1247 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in ParseConstants()
1252 } else if (ArrayType *ATy = dyn_cast<ArrayType>(CurTy)) { in ParseConstants()
1257 } else if (VectorType *VTy = dyn_cast<VectorType>(CurTy)) { in ParseConstants()
1263 V = UndefValue::get(CurTy); in ParseConstants()
1281 Type *EltTy = cast<SequentialType>(CurTy)->getElementType(); in ParseConstants()
1286 if (isa<VectorType>(CurTy)) in ParseConstants()
1292 if (isa<VectorType>(CurTy)) in ParseConstants()
1298 if (isa<VectorType>(CurTy)) in ParseConstants()
1304 if (isa<VectorType>(CurTy)) in ParseConstants()
1311 if (isa<VectorType>(CurTy)) in ParseConstants()
1319 if (isa<VectorType>(CurTy)) in ParseConstants()
1331 int Opc = GetDecodedBinaryOpcode(Record[0], CurTy); in ParseConstants()
1333 V = UndefValue::get(CurTy); // Unknown binop. in ParseConstants()
1335 Constant *LHS = ValueList.getConstantFwdRef(Record[1], CurTy); in ParseConstants()
1336 Constant *RHS = ValueList.getConstantFwdRef(Record[2], CurTy); in ParseConstants()
1363 V = UndefValue::get(CurTy); // Unknown cast. in ParseConstants()
1368 V = ConstantExpr::getCast(Opc, Op, CurTy); in ParseConstants()
1392 ValueList.getConstantFwdRef(Record[1],CurTy), in ParseConstants()
1393 ValueList.getConstantFwdRef(Record[2],CurTy)); in ParseConstants()
1407 VectorType *OpTy = dyn_cast<VectorType>(CurTy); in ParseConstants()
1419 VectorType *OpTy = dyn_cast<VectorType>(CurTy); in ParseConstants()
1431 VectorType *RTy = dyn_cast<VectorType>(CurTy); in ParseConstants()
1475 PointerType *PTy = cast<PointerType>(CurTy); in ParseConstants()
1499 PointerType *PTy = cast<PointerType>(CurTy); in ParseConstants()