Searched refs:CurTy (Results 1 – 9 of 9) sorted by relevance
34 PointerUnion<StructType *, Type *> CurTy; variable47 I.CurTy = Ty; in begin()71 if (auto *T = CurTy.dyn_cast<Type *>()) in getIndexedType()73 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()81 CurTy = ATy->getElementType();83 CurTy = VTy->getElementType();85 CurTy = dyn_cast<StructType>(Ty);111 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct()112 bool isSequential() const { return CurTy.is<Type *>(); } in isSequential()114 StructType *getStructType() const { return CurTy.get<StructType *>(); } in getStructType()[all …]
2881 V = UndefValue::get(CurTy); in parseConstants()2884 V = PoisonValue::get(CurTy); in parseConstants()2894 CurTy = TypeList[CurTyID]; in parseConstants()2898 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy()) in parseConstants()2920 if (CurTy->isHalfTy()) in parseConstants()2926 else if (CurTy->isFloatTy()) in parseConstants()3241 Alloc, CurTy, in parseConstants()3375 Alloc, CurTy, in parseConstants()4905 CurTy = CurTy->getStructElementType(Index); in parseFunctionBody()4907 CurTy = CurTy->getArrayElementType(); in parseFunctionBody()[all …]
2364 Type *CurTy = nullptr; in visitGetElementPtrInst() local2379 assert(CurTy && "No current type?"); in visitGetElementPtrInst()2380 if (CurTy->isStructTy()) in visitGetElementPtrInst()2399 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()2401 CurTy = in visitGetElementPtrInst()2402 GetElementPtrInst::getTypeAtIndex(CurTy, Op1->getOperand(J)); in visitGetElementPtrInst()
441 const Type *CurTy = Qs.strip(Cur); in getSplitDesugaredType() local442 switch (CurTy->getTypeClass()) { in getSplitDesugaredType()446 const auto *Ty = cast<Class##Type>(CurTy); \ in getSplitDesugaredType()
2718 QualType CurTy = Element.Base->getType(); in ComputeThisOffset() local2720 *CurRD = CurTy->getAsCXXRecordDecl(); in ComputeThisOffset()
5687 Type *CurTy = UI->getType(); in hasSameExtUse() local5689 if (CurTy == ExtTy) in hasSameExtUse()5709 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()5710 NarrowTy = CurTy; in hasSameExtUse()5714 LargeTy = CurTy; in hasSameExtUse()
3691 Type *CurTy = GEP->getType(); in getGEPExpr() local3696 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr()3704 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()3708 assert(isa<PointerType>(CurTy) && in getGEPExpr()3710 CurTy = GEP->getSourceElementType(); in getGEPExpr()3713 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()3716 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy); in getGEPExpr()
2114 LLT CurTy = MRI.getType(SrcReg); in widenScalar() local2121 APInt::getOneBitSet(WideTy.getSizeInBits(), CurTy.getSizeInBits()); in widenScalar()2134 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits(); in widenScalar()
5206 Type *CurTy = GEP->getSourceElementType(); in buildTree_rec() local5207 if (Ty0 != CurTy) { in buildTree_rec()