Searched refs:SequentialType (Results 1 – 18 of 18) sorted by relevance
343 class SequentialType : public CompositeType {348 SequentialType(TypeID TID, Type *ElType, uint64_t NumElements) in SequentialType() function356 SequentialType(const SequentialType &) = delete;357 SequentialType &operator=(const SequentialType &) = delete;369 class ArrayType : public SequentialType {393 class VectorType : public SequentialType {
79 if (auto *STy = dyn_cast<SequentialType>(Ty)) {
48 class SequentialType; variable633 inline SequentialType *getType() const {634 return cast<SequentialType>(Value::getType());
538 return cast<SequentialType>(this)->getElementType(); in getTypeAtIndex()547 return cast<SequentialType>(this)->getElementType(); in getTypeAtIndex()579 : SequentialType(ArrayTyID, ElType, NumEl) {} in ArrayType()604 : SequentialType(VectorTyID, ElType, NumEl) {} in VectorType()
122 } else if (SequentialType *STy = in FoldBitCast()123 dyn_cast<SequentialType>(ElTy)) { in FoldBitCast()899 NumElts = cast<SequentialType>(Agg->getType())->getNumElements(); in ConstantFoldInsertValueInstruction()2261 auto *STy = cast<SequentialType>(Ty); in ConstantFoldGetElementPtr()
846 if (isa<SequentialType>(getType())) in getElementValue()852 if (isa<SequentialType>(getType())) in getElementValue()879 if (isa<SequentialType>(getType())) in getElementValue()885 if (isa<SequentialType>(getType())) in getElementValue()892 if (auto *ST = dyn_cast<SequentialType>(Ty)) in getNumElements()
751 return wrap(cast<SequentialType>(Ty)->getElementType()); in LLVMGetElementType()
134 SequentialType *STy = cast<SequentialType>(Ty); in isLeakCheckerRoot()508 } else if (SequentialType *STy = dyn_cast<SequentialType>(Ty)) { in SRAGlobal()2383 SequentialType *InitTy = cast<SequentialType>(Init->getType()); in EvaluateStoreInto()2518 NumElts = cast<SequentialType>(Ty)->getNumElements(); in BatchCommitValueTo()
758 if (SequentialType *seqTy = dyn_cast<SequentialType>(type)) in isDenselyPacked()
363 SequentialType *AllocaTy = dyn_cast<SequentialType>(AT); in tryPromoteAllocaToVector()
469 auto *STyL = cast<SequentialType>(TyL); in cmpTypes()470 auto *STyR = cast<SequentialType>(TyR); in cmpTypes()
177 } else if (auto *DSeqTy = dyn_cast<SequentialType>(DstTy)) { in areTypesIsomorphic()179 cast<SequentialType>(SrcTy)->getNumElements()) in areTypesIsomorphic()
1106 if (isa<SequentialType>(Ty)) { in aliasSameBasePointerGEPs()1119 DL.getTypeStoreSize(cast<SequentialType>(Ty)->getElementType()); in aliasSameBasePointerGEPs()
915 } else if (auto *ATy = dyn_cast<SequentialType>(Ty)) { in SymbolicallyEvaluateGEP()
3478 CurTy = cast<SequentialType>(CurTy)->getElementType(); in getGEPExpr()
208 Type *NexTy = cast<SequentialType>(Ty)->getElementType(); in next_type()
3449 if (SequentialType *SeqTy = dyn_cast<SequentialType>(Ty)) { in getTypePartition()
2291 Type *EltTy = cast<SequentialType>(CurTy)->getElementType(); in parseConstants()