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

Lines Matching refs:CurTy

2332   Type *CurTy = Type::getInt32Ty(Context);
2369 V = UndefValue::get(CurTy);
2379 CurTy = flattenPointerTypes(CurFullTy);
2382 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy())
2384 V = Constant::getNullValue(CurTy);
2387 if (!CurTy->isIntegerTy() || Record.empty())
2389 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0]));
2392 if (!CurTy->isIntegerTy() || Record.empty())
2396 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth());
2404 if (CurTy->isHalfTy())
2407 else if (CurTy->isFloatTy())
2410 else if (CurTy->isDoubleTy())
2413 else if (CurTy->isX86_FP80Ty()) {
2420 } else if (CurTy->isFP128Ty())
2423 else if (CurTy->isPPC_FP128Ty())
2427 V = UndefValue::get(CurTy);
2438 if (StructType *STy = dyn_cast<StructType>(CurTy)) {
2443 } else if (ArrayType *ATy = dyn_cast<ArrayType>(CurTy)) {
2448 } else if (VectorType *VTy = dyn_cast<VectorType>(CurTy)) {
2454 V = UndefValue::get(CurTy);
2472 Type *EltTy = cast<SequentialType>(CurTy)->getElementType();
2475 if (isa<VectorType>(CurTy))
2481 if (isa<VectorType>(CurTy))
2487 if (isa<VectorType>(CurTy))
2493 if (isa<VectorType>(CurTy))
2499 if (isa<VectorType>(CurTy))
2505 if (isa<VectorType>(CurTy))
2511 if (isa<VectorType>(CurTy))
2523 int Opc = getDecodedUnaryOpcode(Record[0], CurTy);
2525 V = UndefValue::get(CurTy); // Unknown unop.
2527 Constant *LHS = ValueList.getConstantFwdRef(Record[1], CurTy);
2536 int Opc = getDecodedBinaryOpcode(Record[0], CurTy);
2538 V = UndefValue::get(CurTy); // Unknown binop.
2540 Constant *LHS = ValueList.getConstantFwdRef(Record[1], CurTy);
2541 Constant *RHS = ValueList.getConstantFwdRef(Record[2], CurTy);
2569 V = UndefValue::get(CurTy); // Unknown cast.
2575 V = UpgradeBitCastExpr(Opc, Op, CurTy);
2576 if (!V) V = ConstantExpr::getCast(Opc, Op, CurTy);
2634 if (VectorType *VTy = dyn_cast<VectorType>(CurTy))
2641 ValueList.getConstantFwdRef(Record[1],CurTy),
2642 ValueList.getConstantFwdRef(Record[2],CurTy));
2669 VectorType *OpTy = dyn_cast<VectorType>(CurTy);
2689 VectorType *OpTy = dyn_cast<VectorType>(CurTy);
2701 VectorType *RTy = dyn_cast<VectorType>(CurTy);
4052 Type *CurTy = Agg->getType();
4054 bool IsArray = CurTy->isArrayTy();
4055 bool IsStruct = CurTy->isStructTy();
4062 if (IsStruct && Index >= CurTy->getStructNumElements())
4064 if (IsArray && Index >= CurTy->getArrayNumElements())
4069 CurTy = CurTy->getStructElementType(Index);
4071 CurTy = CurTy->getArrayElementType();
4074 if (CurTy != Val->getType())