@@ -71,7 +71,7 @@ void ComputeValueTypes(const DataLayout &DL, Type *Ty,
7171// /
7272void ComputeValueVTs (const TargetLowering &TLI, const DataLayout &DL, Type *Ty,
7373 SmallVectorImpl<EVT> &ValueVTs,
74- SmallVectorImpl<EVT> *MemVTs,
74+ SmallVectorImpl<EVT> *MemVTs = nullptr ,
7575 SmallVectorImpl<TypeSize> *Offsets = nullptr ,
7676 TypeSize StartingOffset = TypeSize::getZero());
7777void ComputeValueVTs (const TargetLowering &TLI, const DataLayout &DL, Type *Ty,
@@ -80,20 +80,6 @@ void ComputeValueVTs(const TargetLowering &TLI, const DataLayout &DL, Type *Ty,
8080 SmallVectorImpl<uint64_t > *FixedOffsets,
8181 uint64_t StartingOffset);
8282
83- // / Variant of ComputeValueVTs that don't produce memory VTs.
84- inline void ComputeValueVTs (const TargetLowering &TLI, const DataLayout &DL,
85- Type *Ty, SmallVectorImpl<EVT> &ValueVTs,
86- SmallVectorImpl<TypeSize> *Offsets = nullptr ,
87- TypeSize StartingOffset = TypeSize::getZero()) {
88- ComputeValueVTs (TLI, DL, Ty, ValueVTs, nullptr , Offsets, StartingOffset);
89- }
90- inline void ComputeValueVTs (const TargetLowering &TLI, const DataLayout &DL,
91- Type *Ty, SmallVectorImpl<EVT> &ValueVTs,
92- SmallVectorImpl<uint64_t > *FixedOffsets,
93- uint64_t StartingOffset) {
94- ComputeValueVTs (TLI, DL, Ty, ValueVTs, nullptr , FixedOffsets, StartingOffset);
95- }
96-
9783// / computeValueLLTs - Given an LLVM IR type, compute a sequence of
9884// / LLTs that represent all the individual underlying
9985// / non-aggregate types that comprise it.
0 commit comments