Lines Matching defs:CurTy
3127 Type *CurTy = Type::getInt32Ty(Context);
3128 unsigned Int32TyID = getVirtualTypeID(CurTy);
3162 V = UndefValue::get(CurTy);
3165 V = PoisonValue::get(CurTy);
3175 CurTy = TypeList[CurTyID];
3179 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy())
3181 if (auto *TETy = dyn_cast<TargetExtType>(CurTy))
3184 V = Constant::getNullValue(CurTy);
3187 if (!CurTy->isIntOrIntVectorTy() || Record.empty())
3189 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0]));
3192 if (!CurTy->isIntOrIntVectorTy() || Record.empty())
3195 auto *ScalarTy = cast<IntegerType>(CurTy->getScalarType());
3197 V = ConstantInt::get(CurTy, VInt);
3204 auto *ScalarTy = CurTy->getScalarType();
3206 V = ConstantFP::get(CurTy, APFloat(APFloat::IEEEhalf(),
3210 CurTy, APFloat(APFloat::BFloat(), APInt(16, (uint32_t)Record[0])));
3212 V = ConstantFP::get(CurTy, APFloat(APFloat::IEEEsingle(),
3216 CurTy, APFloat(APFloat::IEEEdouble(), APInt(64, Record[0])));
3223 CurTy, APFloat(APFloat::x87DoubleExtended(), APInt(80, Rearrange)));
3225 V = ConstantFP::get(CurTy,
3229 CurTy, APFloat(APFloat::PPCDoubleDouble(), APInt(128, Record)));
3231 V = PoisonValue::get(CurTy);
3244 if (isa<StructType>(CurTy)) {
3246 Alloc, CurTy, BitcodeConstant::ConstantStructOpcode, Elts);
3247 } else if (isa<ArrayType>(CurTy)) {
3248 V = BitcodeConstant::create(Alloc, CurTy,
3250 } else if (isa<VectorType>(CurTy)) {
3252 Alloc, CurTy, BitcodeConstant::ConstantVectorOpcode, Elts);
3254 V = PoisonValue::get(CurTy);
3273 if (auto *Array = dyn_cast<ArrayType>(CurTy))
3276 EltTy = cast<VectorType>(CurTy)->getElementType();
3279 if (isa<VectorType>(CurTy))
3285 if (isa<VectorType>(CurTy))
3291 if (isa<VectorType>(CurTy))
3297 if (isa<VectorType>(CurTy))
3303 if (isa<VectorType>(CurTy))
3309 if (isa<VectorType>(CurTy))
3315 if (isa<VectorType>(CurTy))
3321 if (isa<VectorType>(CurTy))
3333 int Opc = getDecodedUnaryOpcode(Record[0], CurTy);
3335 V = PoisonValue::get(CurTy); // Unknown unop.
3337 V = BitcodeConstant::create(Alloc, CurTy, Opc, (unsigned)Record[1]);
3344 int Opc = getDecodedBinaryOpcode(Record[0], CurTy);
3346 V = PoisonValue::get(CurTy); // Unknown binop.
3366 V = BitcodeConstant::create(Alloc, CurTy, {(uint8_t)Opc, Flags},
3376 V = PoisonValue::get(CurTy); // Unknown cast.
3382 V = BitcodeConstant::create(Alloc, CurTy, Opc, (unsigned)Record[2]);
3453 Alloc, CurTy,
3463 Alloc, CurTy, Instruction::Select,
3487 V = BitcodeConstant::create(Alloc, CurTy, Instruction::ExtractElement,
3493 VectorType *OpTy = dyn_cast<VectorType>(CurTy);
3508 Alloc, CurTy, Instruction::InsertElement,
3513 VectorType *OpTy = dyn_cast<VectorType>(CurTy);
3517 Alloc, CurTy, Instruction::ShuffleVector,
3522 VectorType *RTy = dyn_cast<VectorType>(CurTy);
3528 Alloc, CurTy, Instruction::ShuffleVector,
3540 Alloc, CurTy,
3674 Alloc, CurTy,
3687 Alloc, CurTy, BitcodeConstant::DSOLocalEquivalentOpcode, Record[1]);
3697 V = BitcodeConstant::create(Alloc, CurTy, BitcodeConstant::NoCFIOpcode,
3705 V = BitcodeConstant::create(Alloc, CurTy,
5269 Type *CurTy = Agg->getType();
5271 bool IsArray = CurTy->isArrayTy();
5272 bool IsStruct = CurTy->isStructTy();
5279 if (IsStruct && Index >= CurTy->getStructNumElements())
5281 if (IsArray && Index >= CurTy->getArrayNumElements())
5286 CurTy = CurTy->getStructElementType(Index);
5288 CurTy = CurTy->getArrayElementType();
5291 if (CurTy != Val->getType())