Lines Matching refs:Ty

70 /// ComputePTXValueVTs - For the given Type \p Ty, returns the set of primitive
76 static void ComputePTXValueVTs(const TargetLowering &TLI, Type *Ty,
83 ComputeValueVTs(TLI, Ty, TempVTs, &TempOffsets, StartingOffset);
413 Type *Ty = Args[i].Ty;
420 if (Ty->isAggregateType() || Ty->isVectorTy()) {
426 align = TD->getABITypeAlignment(Ty);
427 unsigned sz = TD->getTypeAllocSize(Ty);
433 ComputeValueVTs(*this, Ty, vtparts);
439 assert((getValueType(Ty) == Outs[OIdx].VT ||
440 (getValueType(Ty) == MVT::i8 && Outs[OIdx].VT == MVT::i16)) &&
444 if (isa<IntegerType>(Ty)) {
445 sz = cast<IntegerType>(Ty)->getBitWidth();
448 } else if (isa<PointerType>(Ty))
451 sz = Ty->getPrimitiveSizeInBits();
456 const PointerType *PTy = dyn_cast<PointerType>(Ty);
473 Type *Ty,
516 return TD->getABITypeAlignment(Ty);
562 Type *Ty = Args[i].Ty;
565 if (Ty->isAggregateType()) {
568 ComputeValueVTs(*this, Ty, vtparts);
570 unsigned align = getArgumentAlignment(Callee, CS, Ty, paramCount + 1);
572 unsigned sz = TD->getTypeAllocSize(Ty);
614 if (Ty->isVectorTy()) {
615 EVT ObjectVT = getValueType(Ty);
616 unsigned align = getArgumentAlignment(Callee, CS, Ty, paramCount + 1);
618 unsigned sz = TD->getTypeAllocSize(Ty);
670 // We have at least 4 elements (<3 x Ty> expands to 4 elements) and
793 const PointerType *PTy = dyn_cast<PointerType>(Args[i].Ty);
1366 const Type *Ty = arg->getType();
1367 const PointerType *PTy = dyn_cast<PointerType>(Ty);
1425 Type *Ty = argTypes[i];
1441 if (Ty->isAggregateType()) {
1444 ComputePTXValueVTs(*this, Ty, vtparts);
1456 if (Ty->isVectorTy()) {
1457 EVT ObjectVT = getValueType(Ty);
1476 if (Ty->isAggregateType()) {
1483 ComputePTXValueVTs(*this, Ty, vtparts, &offsets, 0);
1486 if (StructType *STy = llvm::dyn_cast<StructType>(Ty))
1524 if (Ty->isVectorTy()) {
1525 EVT ObjectVT = getValueType(Ty);
1584 // We have at least 4 elements (<3 x Ty> expands to 4 elements) and
1631 EVT ObjectVT = getValueType(Ty);
1661 EVT ObjectVT = getValueType(Ty);
1750 // We have at least 4 elements (<3 x Ty> expands to 4 elements) and the
1958 Type *Ty) const {