Searched refs:CompositeType (Results 1 – 10 of 10) sorted by relevance
58 CompositeType *CT = cast<CompositeType>(CurTy); in getIndexedType()69 if (CompositeType *CT = dyn_cast<CompositeType>(CurTy)) {
145 class CompositeType : public Type {147 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) { } in CompositeType() function159 static inline bool classof(const CompositeType *) { return true; } in classof() argument189 class StructType : public CompositeType {193 : CompositeType(C, StructTyID), SymbolTableEntry(0) {} in StructType()309 class SequentialType : public CompositeType {316 : CompositeType(ElType->getContext(), TID), ContainedType(ElType) { in SequentialType()
656 Type *CompositeType::getTypeAtIndex(const Value *V) { in getTypeAtIndex()665 Type *CompositeType::getTypeAtIndex(unsigned Idx) { in getTypeAtIndex()673 bool CompositeType::indexValid(const Value *V) const { in indexValid()686 bool CompositeType::indexValid(unsigned Idx) const { in indexValid()
1362 CompositeType *CT = dyn_cast<CompositeType>(Agg); in getIndexedTypeInternal()1716 Agg = cast<CompositeType>(Agg)->getTypeAtIndex(Index); in getIndexedType()
2011 Prev = Ty, Ty = cast<CompositeType>(Ty)->getTypeAtIndex(Idxs[i]), ++i) { in ConstantFoldGetElementPtrImpl()
154 if (isa<CompositeType>(C->getType())) in RemoveDeadConstant()
695 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(*II); in DoPromotion()
335 if (isa<CompositeType>(InnerTy)) in isLeakCheckerRoot()
1675 isa<CompositeType>(SrcElTy) && !SrcElTy->isPointerTy() && in visitBitCast()1677 SrcElTy = cast<CompositeType>(SrcElTy)->getTypeAtIndex(ZeroUInt); in visitBitCast()
2092 GepTy = cast<CompositeType>(GepTy)->getTypeAtIndex(0U); in RewriteGEP()