• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/

Lines Matching defs:CurTy

2329   Type *CurTy = Type::getInt32Ty(Context);
2400 V = UndefValue::get(CurTy);
2410 CurTy = flattenPointerTypes(CurFullTy);
2413 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy())
2415 V = Constant::getNullValue(CurTy);
2418 if (!CurTy->isIntegerTy() || Record.empty())
2420 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0]));
2423 if (!CurTy->isIntegerTy() || Record.empty())
2427 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth());
2435 if (CurTy->isHalfTy())
2438 else if (CurTy->isBFloatTy())
2441 else if (CurTy->isFloatTy())
2444 else if (CurTy->isDoubleTy())
2447 else if (CurTy->isX86_FP80Ty()) {
2454 } else if (CurTy->isFP128Ty())
2457 else if (CurTy->isPPC_FP128Ty())
2461 V = UndefValue::get(CurTy);
2472 if (StructType *STy = dyn_cast<StructType>(CurTy)) {
2477 } else if (ArrayType *ATy = dyn_cast<ArrayType>(CurTy)) {
2482 } else if (VectorType *VTy = dyn_cast<VectorType>(CurTy)) {
2488 V = UndefValue::get(CurTy);
2507 if (auto *Array = dyn_cast<ArrayType>(CurTy))
2510 EltTy = cast<VectorType>(CurTy)->getElementType();
2513 if (isa<VectorType>(CurTy))
2519 if (isa<VectorType>(CurTy))
2525 if (isa<VectorType>(CurTy))
2531 if (isa<VectorType>(CurTy))
2537 if (isa<VectorType>(CurTy))
2543 if (isa<VectorType>(CurTy))
2549 if (isa<VectorType>(CurTy))
2555 if (isa<VectorType>(CurTy))
2567 int Opc = getDecodedUnaryOpcode(Record[0], CurTy);
2569 V = UndefValue::get(CurTy); // Unknown unop.
2571 Constant *LHS = ValueList.getConstantFwdRef(Record[1], CurTy);
2580 int Opc = getDecodedBinaryOpcode(Record[0], CurTy);
2582 V = UndefValue::get(CurTy); // Unknown binop.
2584 Constant *LHS = ValueList.getConstantFwdRef(Record[1], CurTy);
2585 Constant *RHS = ValueList.getConstantFwdRef(Record[2], CurTy);
2613 V = UndefValue::get(CurTy); // Unknown cast.
2619 V = UpgradeBitCastExpr(Opc, Op, CurTy);
2620 if (!V) V = ConstantExpr::getCast(Opc, Op, CurTy);
2678 if (VectorType *VTy = dyn_cast<VectorType>(CurTy))
2686 ValueList.getConstantFwdRef(Record[1],CurTy),
2687 ValueList.getConstantFwdRef(Record[2],CurTy));
2716 VectorType *OpTy = dyn_cast<VectorType>(CurTy);
2738 VectorType *OpTy = dyn_cast<VectorType>(CurTy);
2747 VectorType *RTy = dyn_cast<VectorType>(CurTy);
4122 Type *CurTy = Agg->getType();
4124 bool IsArray = CurTy->isArrayTy();
4125 bool IsStruct = CurTy->isStructTy();
4132 if (IsStruct && Index >= CurTy->getStructNumElements())
4134 if (IsArray && Index >= CurTy->getArrayNumElements())
4139 CurTy = CurTy->getStructElementType(Index);
4141 CurTy = CurTy->getArrayElementType();
4144 if (CurTy != Val->getType())