Searched refs:CurTy (Results 1 – 9 of 9) sorted by relevance
34 PointerUnion<StructType *, Type *> CurTy; variable49 I.CurTy = Ty; in begin()73 if (auto *T = CurTy.dyn_cast<Type *>()) in getIndexedType()75 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()83 CurTy = ATy->getElementType();86 CurTy = VTy->getElementType();92 CurTy = dyn_cast<StructType>(Ty);118 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct()119 bool isSequential() const { return CurTy.is<Type *>(); } in isSequential()121 StructType *getStructType() const { return CurTy.get<StructType *>(); } in getStructType()[all …]
2342 Type *CurTy = Type::getInt32Ty(Context); in parseConstants() local2411 V = UndefValue::get(CurTy); in parseConstants()2414 V = PoisonValue::get(CurTy); in parseConstants()2423 CurTy = TypeList[Record[0]]; in parseConstants()2426 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy()) in parseConstants()2428 V = Constant::getNullValue(CurTy); in parseConstants()2431 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()2433 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in parseConstants()2436 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()2440 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth()); in parseConstants()[all …]
1993 Type *CurTy = nullptr; in visitGetElementPtrInst() local2008 assert(CurTy && "No current type?"); in visitGetElementPtrInst()2009 if (CurTy->isStructTy()) in visitGetElementPtrInst()2028 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()2030 CurTy = in visitGetElementPtrInst()2031 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()
5665 Type *CurTy = UI->getType(); in hasSameExtUse() local5667 if (CurTy == ExtTy) in hasSameExtUse()5687 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()5688 NarrowTy = CurTy; in hasSameExtUse()5692 LargeTy = CurTy; in hasSameExtUse()
3604 Type *CurTy = GEP->getType(); in getGEPExpr() local3609 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr()3617 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()3621 assert(isa<PointerType>(CurTy) && in getGEPExpr()3623 CurTy = GEP->getSourceElementType(); in getGEPExpr()3626 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0); in getGEPExpr()3629 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy); in getGEPExpr()
2056 LLT CurTy = MRI.getType(SrcReg); in widenScalar() local2062 APInt::getOneBitSet(WideTy.getSizeInBits(), CurTy.getSizeInBits()); in widenScalar()2073 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits(); in widenScalar()
3184 Type *CurTy = cast<Instruction>(V)->getOperand(0)->getType(); in buildTree_rec() local3185 if (Ty0 != CurTy) { in buildTree_rec()