Lines Matching refs:FullTy

613   std::pair<Type *, Type *> getPointerElementTypes(Type *FullTy) {  in getPointerElementTypes()  argument
614 Type *ElTy = cast<PointerType>(FullTy)->getElementType(); in getPointerElementTypes()
628 Value *getFnValueByID(unsigned ID, Type *Ty, Type **FullTy = nullptr) { in getFnValueByID() argument
631 return ValueList.getValueFwdRef(ID, Ty, FullTy); in getFnValueByID()
654 Type **FullTy = nullptr) { in getValueTypePair() argument
663 ResVal = getFnValueByID(ValNo, nullptr, FullTy); in getValueTypePair()
671 if (FullTy) in getValueTypePair()
672 *FullTy = getFullyStructuredTypeByID(TypeNo); in getValueTypePair()
3162 Type *FullTy = getFullyStructuredTypeByID(Record[0]); in parseGlobalVarRecord() local
3163 Type *Ty = flattenPointerTypes(FullTy); in parseGlobalVarRecord()
3175 std::tie(FullTy, Ty) = getPointerElementTypes(FullTy); in parseGlobalVarRecord()
3221 FullTy = PointerType::get(FullTy, AddressSpace); in parseGlobalVarRecord()
3222 assert(NewGV->getType() == flattenPointerTypes(FullTy) && in parseGlobalVarRecord()
3224 ValueList.push_back(NewGV, FullTy); in parseGlobalVarRecord()
3375 Type *FullTy = PointerType::get(FullFTy, AddrSpace); in parseFunctionRecord() local
3376 assert(Func->getType() == flattenPointerTypes(FullTy) && in parseFunctionRecord()
3378 ValueList.push_back(Func, FullTy); in parseFunctionRecord()
3407 Type *FullTy = getFullyStructuredTypeByID(Record[OpNum++]); in parseGlobalIndirectSymbolRecord() local
3408 Type *Ty = flattenPointerTypes(FullTy); in parseGlobalIndirectSymbolRecord()
3417 std::tie(FullTy, Ty) = getPointerElementTypes(FullTy); in parseGlobalIndirectSymbolRecord()
3434 assert(NewGA->getValueType() == flattenPointerTypes(FullTy) && in parseGlobalIndirectSymbolRecord()
3465 FullTy = PointerType::get(FullTy, AddrSpace); in parseGlobalIndirectSymbolRecord()
3466 assert(NewGA->getType() == flattenPointerTypes(FullTy) && in parseGlobalIndirectSymbolRecord()
3468 ValueList.push_back(NewGA, FullTy); in parseGlobalIndirectSymbolRecord()
3887 Type *FullTy = nullptr; in parseFunctionBody() local
4032 FullTy = getFullyStructuredTypeByID(Record[OpNum]); in parseFunctionBody()
4033 Type *ResTy = flattenPointerTypes(FullTy); in parseFunctionBody()
4063 FullTy = getFullyStructuredTypeByID(Record[OpNum++]); in parseFunctionBody()
4064 Ty = flattenPointerTypes(FullTy); in parseFunctionBody()
4076 std::tie(FullTy, Ty) = in parseFunctionBody()
4091 FullTy = GetElementPtrInst::getGEPReturnType(FullTy, I, GEPIdx); in parseFunctionBody()
4103 if (getValueTypePair(Record, OpNum, NextValueNo, Agg, &FullTy)) in parseFunctionBody()
4112 bool IsArray = FullTy->isArrayTy(); in parseFunctionBody()
4113 bool IsStruct = FullTy->isStructTy(); in parseFunctionBody()
4120 if (IsStruct && Index >= FullTy->getStructNumElements()) in parseFunctionBody()
4122 if (IsArray && Index >= FullTy->getArrayNumElements()) in parseFunctionBody()
4127 FullTy = FullTy->getStructElementType(Index); in parseFunctionBody()
4129 FullTy = FullTy->getArrayElementType(); in parseFunctionBody()
4141 if (getValueTypePair(Record, OpNum, NextValueNo, Agg, &FullTy)) in parseFunctionBody()
4187 if (getValueTypePair(Record, OpNum, NextValueNo, TrueVal, &FullTy) || in parseFunctionBody()
4202 if (getValueTypePair(Record, OpNum, NextValueNo, TrueVal, &FullTy) || in parseFunctionBody()
4232 if (getValueTypePair(Record, OpNum, NextValueNo, Vec, &FullTy) || in parseFunctionBody()
4238 FullTy = cast<VectorType>(FullTy)->getElementType(); in parseFunctionBody()
4246 if (getValueTypePair(Record, OpNum, NextValueNo, Vec, &FullTy)) in parseFunctionBody()
4262 if (getValueTypePair(Record, OpNum, NextValueNo, Vec1, &FullTy) || in parseFunctionBody()
4272 FullTy = in parseFunctionBody()
4273 VectorType::get(cast<VectorType>(FullTy)->getElementType(), in parseFunctionBody()
4592 if (getValueTypePair(Record, OpNum, NextValueNo, Callee, &FullTy)) in parseFunctionBody()
4600 dyn_cast<FunctionType>(cast<PointerType>(FullTy)->getElementType()); in parseFunctionBody()
4604 } else if (getPointerElementFlatType(FullTy) != FTy) in parseFunctionBody()
4627 Type *FullTy; in parseFunctionBody() local
4628 if (getValueTypePair(Record, OpNum, NextValueNo, Op, &FullTy)) in parseFunctionBody()
4631 ArgsFullTys.push_back(FullTy); in parseFunctionBody()
4637 FullTy = FullFTy->getReturnType(); in parseFunctionBody()
4679 if (getValueTypePair(Record, OpNum, NextValueNo, Callee, &FullTy)) in parseFunctionBody()
4687 dyn_cast<FunctionType>(cast<PointerType>(FullTy)->getElementType()); in parseFunctionBody()
4691 } else if (getPointerElementFlatType(FullTy) != FTy) in parseFunctionBody()
4724 FullTy = FullFTy->getReturnType(); in parseFunctionBody()
4740 FullTy = getFullyStructuredTypeByID(Record[0]); in parseFunctionBody()
4741 Type *Ty = flattenPointerTypes(FullTy); in parseFunctionBody()
4793 FullTy = getFullyStructuredTypeByID(Record[Idx++]); in parseFunctionBody()
4794 Type *Ty = flattenPointerTypes(FullTy); in parseFunctionBody()
4843 FullTy = getFullyStructuredTypeByID(Record[0]); in parseFunctionBody()
4844 Type *Ty = flattenPointerTypes(FullTy); in parseFunctionBody()
4849 std::tie(FullTy, Ty) = getPointerElementTypes(FullTy); in parseFunctionBody()
4875 FullTy = PointerType::get(FullTy, AS); in parseFunctionBody()
4882 if (getValueTypePair(Record, OpNum, NextValueNo, Op, &FullTy) || in parseFunctionBody()
4891 FullTy = getFullyStructuredTypeByID(Record[OpNum++]); in parseFunctionBody()
4892 Ty = flattenPointerTypes(FullTy); in parseFunctionBody()
4894 std::tie(FullTy, Ty) = getPointerElementTypes(FullTy); in parseFunctionBody()
4915 if (getValueTypePair(Record, OpNum, NextValueNo, Op, &FullTy) || in parseFunctionBody()
4924 FullTy = getFullyStructuredTypeByID(Record[OpNum++]); in parseFunctionBody()
4925 Ty = flattenPointerTypes(FullTy); in parseFunctionBody()
4927 std::tie(FullTy, Ty) = getPointerElementTypes(FullTy); in parseFunctionBody()
4954 Type *FullTy; in parseFunctionBody() local
4955 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr, &FullTy) || in parseFunctionBody()
4959 getPointerElementFlatType(FullTy), Val)) || in parseFunctionBody()
4982 Type *FullTy; in parseFunctionBody() local
4983 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr, &FullTy) || in parseFunctionBody()
4988 getPointerElementFlatType(FullTy), Val)) || in parseFunctionBody()
5018 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr, &FullTy)) in parseFunctionBody()
5026 getPointerElementFlatType(FullTy), Cmp)) in parseFunctionBody()
5029 FullTy = cast<PointerType>(FullTy)->getElementType(); in parseFunctionBody()
5058 FullTy = StructType::get(Context, {FullTy, Type::getInt1Ty(Context)}); in parseFunctionBody()
5066 FullTy = cast<StructType>(FullTy)->getElementType(0); in parseFunctionBody()
5080 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr, &FullTy)) in parseFunctionBody()
5087 if (getValueTypePair(Record, OpNum, NextValueNo, Cmp, &FullTy)) in parseFunctionBody()
5114 FullTy = StructType::get(Context, {FullTy, Type::getInt1Ty(Context)}); in parseFunctionBody()
5125 if (getValueTypePair(Record, OpNum, NextValueNo, Ptr, &FullTy) || in parseFunctionBody()
5128 getPointerElementFlatType(FullTy), Val) || in parseFunctionBody()
5143 FullTy = getPointerElementFlatType(FullTy); in parseFunctionBody()
5188 if (getValueTypePair(Record, OpNum, NextValueNo, Callee, &FullTy)) in parseFunctionBody()
5196 dyn_cast<FunctionType>(cast<PointerType>(FullTy)->getElementType()); in parseFunctionBody()
5200 } else if (getPointerElementFlatType(FullTy) != FTy) in parseFunctionBody()
5227 Type *FullTy; in parseFunctionBody() local
5228 if (getValueTypePair(Record, OpNum, NextValueNo, Op, &FullTy)) in parseFunctionBody()
5231 ArgsFullTys.push_back(FullTy); in parseFunctionBody()
5236 FullTy = FullFTy->getReturnType(); in parseFunctionBody()
5264 FullTy = getFullyStructuredTypeByID(Record[2]); in parseFunctionBody()
5265 Type *ResTy = flattenPointerTypes(FullTy); in parseFunctionBody()
5298 if (getValueTypePair(Record, OpNum, NextValueNo, Op, &FullTy)) in parseFunctionBody()
5329 if (!FullTy) { in parseFunctionBody()
5330 FullTy = I->getType(); in parseFunctionBody()
5332 !FullTy->isPointerTy() && !isa<StructType>(FullTy) && in parseFunctionBody()
5333 !isa<ArrayType>(FullTy) && in parseFunctionBody()
5334 (!isa<VectorType>(FullTy) || in parseFunctionBody()
5335 cast<VectorType>(FullTy)->getElementType()->isFloatingPointTy() || in parseFunctionBody()
5336 cast<VectorType>(FullTy)->getElementType()->isIntegerTy()) && in parseFunctionBody()
5341 assert(I->getType() == flattenPointerTypes(FullTy) && in parseFunctionBody()
5343 ValueList.assignValue(I, NextValueNo++, FullTy); in parseFunctionBody()