Lines Matching full:opty
6061 llvm::Type *OpTy = CallOperandVal->getType();
6067 llvm::PointerType *PtrTy = dyn_cast<PointerType>(OpTy);
6070 OpTy = PtrTy->getElementType();
6074 if (StructType *STy = dyn_cast<StructType>(OpTy))
6076 OpTy = STy->getElementType(0);
6078 // If OpTy is not a single value, it may be a struct/union that we
6080 if (!OpTy->isSingleValueType() && OpTy->isSized()) {
6081 unsigned BitSize = DL->getTypeSizeInBits(OpTy);
6090 OpTy = IntegerType::get(Context, BitSize);
6095 return TLI.getValueType(OpTy, true);