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)) {
144 class CompositeType : public Type {146 explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) { } in CompositeType() function187 class StructType : public CompositeType {191 : CompositeType(C, StructTyID), SymbolTableEntry(0) {} in StructType()306 class SequentialType : public CompositeType {313 : CompositeType(ElType->getContext(), TID), ContainedType(ElType) { in SequentialType()
631 Type *CompositeType::getTypeAtIndex(const Value *V) { in getTypeAtIndex()641 Type *CompositeType::getTypeAtIndex(unsigned Idx) { in getTypeAtIndex()649 bool CompositeType::indexValid(const Value *V) const { in indexValid()666 bool CompositeType::indexValid(unsigned Idx) const { in indexValid()
1375 CompositeType *CT = dyn_cast<CompositeType>(Agg); in getIndexedTypeInternal()1723 Agg = cast<CompositeType>(Agg)->getTypeAtIndex(Index); in getIndexedType()
2009 Prev = Ty, Ty = cast<CompositeType>(Ty)->getTypeAtIndex(Idxs[i]), ++i) { in ConstantFoldGetElementPtrImpl()
154 if (isa<CompositeType>(C->getType())) in RemoveDeadConstant()
697 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(*II); in DoPromotion()
339 if (isa<CompositeType>(InnerTy)) in isLeakCheckerRoot()
1699 isa<CompositeType>(SrcElTy) && !SrcElTy->isPointerTy() && in visitBitCast()1701 SrcElTy = cast<CompositeType>(SrcElTy)->getTypeAtIndex(ZeroUInt); in visitBitCast()
2092 GepTy = cast<CompositeType>(GepTy)->getTypeAtIndex(0U); in RewriteGEP()