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

Lines Matching refs:FullTy

614   std::pair<Type *, Type *> getPointerElementTypes(Type *FullTy) {
615 Type *ElTy = cast<PointerType>(FullTy)->getElementType();
629 Value *getFnValueByID(unsigned ID, Type *Ty, Type **FullTy = nullptr) {
632 return ValueList.getValueFwdRef(ID, Ty, FullTy);
655 Type **FullTy = nullptr) {
664 ResVal = getFnValueByID(ValNo, nullptr, FullTy);
672 if (FullTy)
673 *FullTy = getFullyStructuredTypeByID(TypeNo);
3145 Type *FullTy = getFullyStructuredTypeByID(Record[0]);
3146 Type *Ty = flattenPointerTypes(FullTy);
3158 std::tie(FullTy, Ty) = getPointerElementTypes(FullTy);
3204 FullTy = PointerType::get(FullTy, AddressSpace);
3205 assert(NewGV->getType() == flattenPointerTypes(FullTy) &&
3207 ValueList.push_back(NewGV, FullTy);
3351 Type *FullTy = PointerType::get(FullFTy, AddrSpace);
3352 assert(Func->getType() == flattenPointerTypes(FullTy) &&
3354 ValueList.push_back(Func, FullTy);
3383 Type *FullTy = getFullyStructuredTypeByID(Record[OpNum++]);
3384 Type *Ty = flattenPointerTypes(FullTy);
3393 std::tie(FullTy, Ty) = getPointerElementTypes(FullTy);
3410 assert(NewGA->getValueType() == flattenPointerTypes(FullTy) &&
3441 FullTy = PointerType::get(FullTy, AddrSpace);
3442 assert(NewGA->getType() == flattenPointerTypes(FullTy) &&
3444 ValueList.push_back(NewGA, FullTy);
3857 Type *FullTy = nullptr;
4002 FullTy = getFullyStructuredTypeByID(Record[OpNum]);
4003 Type *ResTy = flattenPointerTypes(FullTy);
4033 FullTy = getFullyStructuredTypeByID(Record[OpNum++]);
4034 Ty = flattenPointerTypes(FullTy);
4046 std::tie(FullTy, Ty) =
4061 FullTy = GetElementPtrInst::getGEPReturnType(FullTy, I, GEPIdx);
4073 if (getValueTypePair(Record, OpNum, NextValueNo, Agg, &FullTy))
4082 bool IsArray = FullTy->isArrayTy();
4083 bool IsStruct = FullTy->isStructTy();
4090 if (IsStruct && Index >= FullTy->getStructNumElements())
4092 if (IsArray && Index >= FullTy->getArrayNumElements())
4097 FullTy = FullTy->getStructElementType(Index);
4099 FullTy = FullTy->getArrayElementType();
4111 if (getValueTypePair(Record, OpNum, NextValueNo, Agg, &FullTy))
4157 if (getValueTypePair(Record, OpNum, NextValueNo, TrueVal, &FullTy) ||
4172 if (getValueTypePair(Record, OpNum, NextValueNo, TrueVal, &FullTy) ||
4202 if (getValueTypePair(Record, OpNum, NextValueNo, Vec, &FullTy) ||
4208 FullTy = cast<VectorType>(FullTy)->getElementType();
4216 if (getValueTypePair(Record, OpNum, NextValueNo, Vec, &FullTy))
4232 if (getValueTypePair(Record, OpNum, NextValueNo, Vec1, &FullTy) ||
4242 FullTy =
4243 VectorType::get(cast<VectorType>(FullTy)->getElementType(),
4562 if (getValueTypePair(Record, OpNum, NextValueNo, Callee, &FullTy))
4570 dyn_cast<FunctionType>(cast<PointerType>(FullTy)->getElementType());
4574 } else if (getPointerElementFlatType(FullTy) != FTy)
4597 Type *FullTy;
4598 if (getValueTypePair(Record, OpNum, NextValueNo, Op, &FullTy))
4601 ArgsFullTys.push_back(FullTy);
4607 FullTy = FullFTy->getReturnType();
4649 if (getValueTypePair(Record, OpNum, NextValueNo, Callee, &FullTy))
4657 dyn_cast<FunctionType>(cast<PointerType>(FullTy)->getElementType());
4661 } else if (getPointerElementFlatType(FullTy) != FTy)
4694 FullTy = FullFTy->getReturnType();
4710 FullTy = getFullyStructuredTypeByID(Record[0]);
4711 Type *Ty = flattenPointerTypes(FullTy);
4763 FullTy = getFullyStructuredTypeByID(Record[Idx++]);
4764 Type *Ty = flattenPointerTypes(FullTy);
4817 FullTy = getFullyStructuredTypeByID(Record[0]);
4818 Type *Ty = flattenPointerTypes(FullTy);
4823 std::tie(FullTy, Ty) = getPointerElementTypes(FullTy);
4848 FullTy = PointerType::get(FullTy, AS);
4855 if (getValueTypePair(Record, OpNum, NextValueNo, Op, &FullTy) ||
4864 FullTy = getFullyStructuredTypeByID(Record[OpNum++]);
4865 Ty = flattenPointerTypes(FullTy);
4867 std::tie(FullTy, Ty) = getPointerElementTypes(FullTy);
4888 if (getValueTypePair(Record, OpNum, NextValueNo, Op, &FullTy) ||
4897 FullTy = getFullyStructuredTypeByID(Record[OpNum++]);
4898 Ty = flattenPointerTypes(FullTy);
4900 std::tie(FullTy, Ty) = getPointerElementTypes(FullTy);
4927 Type *FullTy;
4928 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr, &FullTy) ||
4932 getPointerElementFlatType(FullTy), Val)) ||
4955 Type *FullTy;
4956 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr, &FullTy) ||
4961 getPointerElementFlatType(FullTy), Val)) ||
4991 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr, &FullTy))
4998 if (getValueTypePair(Record, OpNum, NextValueNo, Cmp, &FullTy))
5001 getPointerElementFlatType(FullTy), Cmp))
5004 FullTy = cast<PointerType>(FullTy)->getElementType();
5029 FullTy = StructType::get(Context, {FullTy, Type::getInt1Ty(Context)});
5038 FullTy = cast<StructType>(FullTy)->getElementType(0);
5050 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr, &FullTy) ||
5053 getPointerElementFlatType(FullTy), Val) ||
5068 FullTy = getPointerElementFlatType(FullTy);
5113 if (getValueTypePair(Record, OpNum, NextValueNo, Callee, &FullTy))
5121 dyn_cast<FunctionType>(cast<PointerType>(FullTy)->getElementType());
5125 } else if (getPointerElementFlatType(FullTy) != FTy)
5152 Type *FullTy;
5153 if (getValueTypePair(Record, OpNum, NextValueNo, Op, &FullTy))
5156 ArgsFullTys.push_back(FullTy);
5161 FullTy = FullFTy->getReturnType();
5189 FullTy = getFullyStructuredTypeByID(Record[2]);
5190 Type *ResTy = flattenPointerTypes(FullTy);
5223 if (getValueTypePair(Record, OpNum, NextValueNo, Op, &FullTy))
5254 if (!FullTy) {
5255 FullTy = I->getType();
5257 !FullTy->isPointerTy() && !isa<StructType>(FullTy) &&
5258 !isa<ArrayType>(FullTy) &&
5259 (!isa<VectorType>(FullTy) ||
5260 cast<VectorType>(FullTy)->getElementType()->isFloatingPointTy() ||
5261 cast<VectorType>(FullTy)->getElementType()->isIntegerTy()) &&
5266 assert(I->getType() == flattenPointerTypes(FullTy) &&
5268 ValueList.assignValue(I, NextValueNo++, FullTy);