Lines Matching refs:Ty

71 /// ComputePTXValueVTs - For the given Type \p Ty, returns the set of primitive
77 static void ComputePTXValueVTs(const TargetLowering &TLI, Type *Ty,
84 ComputeValueVTs(TLI, Ty, TempVTs, &TempOffsets, StartingOffset);
545 Type *Ty = Args[i].Ty;
552 if (Ty->isAggregateType() || Ty->isVectorTy()) {
558 align = TD->getABITypeAlignment(Ty);
559 unsigned sz = TD->getTypeAllocSize(Ty);
565 ComputeValueVTs(*this, Ty, vtparts);
571 assert((getValueType(Ty) == Outs[OIdx].VT ||
572 (getValueType(Ty) == MVT::i8 && Outs[OIdx].VT == MVT::i16)) &&
576 if (isa<IntegerType>(Ty)) {
577 sz = cast<IntegerType>(Ty)->getBitWidth();
580 } else if (isa<PointerType>(Ty))
583 sz = Ty->getPrimitiveSizeInBits();
588 const PointerType *PTy = dyn_cast<PointerType>(Ty);
605 Type *Ty,
648 return TD->getABITypeAlignment(Ty);
694 Type *Ty = Args[i].Ty;
697 if (Ty->isAggregateType()) {
701 ComputePTXValueVTs(*this, Ty, vtparts, &Offsets, 0);
703 unsigned align = getArgumentAlignment(Callee, CS, Ty, paramCount + 1);
705 unsigned sz = TD->getTypeAllocSize(Ty);
739 if (Ty->isVectorTy()) {
740 EVT ObjectVT = getValueType(Ty);
741 unsigned align = getArgumentAlignment(Callee, CS, Ty, paramCount + 1);
743 unsigned sz = TD->getTypeAllocSize(Ty);
795 // We have at least 4 elements (<3 x Ty> expands to 4 elements) and
918 const PointerType *PTy = dyn_cast<PointerType>(Args[i].Ty);
1607 const Type *Ty = arg->getType();
1608 const PointerType *PTy = dyn_cast<PointerType>(Ty);
1666 Type *Ty = argTypes[i];
1682 if (Ty->isAggregateType()) {
1685 ComputePTXValueVTs(*this, Ty, vtparts);
1696 if (Ty->isVectorTy()) {
1697 EVT ObjectVT = getValueType(Ty);
1716 if (Ty->isAggregateType()) {
1723 ComputePTXValueVTs(*this, Ty, vtparts, &offsets, 0);
1726 if (StructType *STy = llvm::dyn_cast<StructType>(Ty))
1764 if (Ty->isVectorTy()) {
1765 EVT ObjectVT = getValueType(Ty);
1824 // We have at least 4 elements (<3 x Ty> expands to 4 elements) and
1871 EVT ObjectVT = getValueType(Ty);
1901 EVT ObjectVT = getValueType(Ty);
1989 // We have at least 4 elements (<3 x Ty> expands to 4 elements) and the
2558 Type *Ty) const {