Searched refs:CurTy (Results 1 – 7 of 7) sorted by relevance
36 PointerUnion<StructType *, Type *> CurTy; variable45 I.CurTy = Ty; in begin()69 if (auto *T = CurTy.dyn_cast<Type *>()) in getIndexedType()71 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType()79 CurTy = STy->getElementType();82 CurTy = dyn_cast<StructType>(Ty);106 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct()107 bool isSequential() const { return CurTy.is<Type *>(); } in isSequential()109 StructType *getStructType() const { return CurTy.get<StructType *>(); } in getStructType()112 return CurTy.dyn_cast<StructType *>(); in getStructTypeOrNull()
2332 Type *CurTy = Type::getInt32Ty(Context); in parseConstants() local2369 V = UndefValue::get(CurTy); in parseConstants()2379 CurTy = flattenPointerTypes(CurFullTy); in parseConstants()2382 if (CurTy->isVoidTy() || CurTy->isFunctionTy() || CurTy->isLabelTy()) in parseConstants()2384 V = Constant::getNullValue(CurTy); in parseConstants()2387 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()2389 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in parseConstants()2392 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()2396 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth()); in parseConstants()2404 if (CurTy->isHalfTy()) in parseConstants()[all …]
1756 Type *CurTy = nullptr; in visitGetElementPtrInst() local1771 assert(CurTy && "No current type?"); in visitGetElementPtrInst()1772 if (CurTy->isStructTy()) in visitGetElementPtrInst()1791 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()1792 } else if (auto *CT = dyn_cast<CompositeType>(CurTy)) { in visitGetElementPtrInst()1793 CurTy = CT->getTypeAtIndex(Op1->getOperand(J)); in visitGetElementPtrInst()1795 CurTy = nullptr; in visitGetElementPtrInst()
5183 Type *CurTy = UI->getType(); in hasSameExtUse() local5185 if (CurTy == ExtTy) in hasSameExtUse()5205 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()5206 NarrowTy = CurTy; in hasSameExtUse()5210 LargeTy = CurTy; in hasSameExtUse()
1485 LLT CurTy = MRI.getType(SrcReg); in widenScalar() local1491 APInt::getOneBitSet(WideTy.getSizeInBits(), CurTy.getSizeInBits()); in widenScalar()1502 unsigned SizeDiff = WideTy.getSizeInBits() - CurTy.getSizeInBits(); in widenScalar()
3510 Type *CurTy = ArrayType::get(GEP->getSourceElementType(), 0); in getGEPExpr() local3513 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr()3523 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()3526 CurTy = cast<SequentialType>(CurTy)->getElementType(); in getGEPExpr()3528 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy); in getGEPExpr()
2880 Type *CurTy = cast<Instruction>(V)->getOperand(0)->getType(); in buildTree_rec() local2881 if (Ty0 != CurTy) { in buildTree_rec()