Lines Matching refs:TruncTy
2058 llvm::Type *TruncTy = ResultTruncRegTypes[i];
2060 // Truncate the integer result to the right size, note that TruncTy can be
2062 if (TruncTy->isFloatingPointTy())
2063 Tmp = Builder.CreateFPTrunc(Tmp, TruncTy);
2064 else if (TruncTy->isPointerTy() && Tmp->getType()->isIntegerTy()) {
2065 uint64_t ResSize = CGM.getDataLayout().getTypeSizeInBits(TruncTy);
2068 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy);
2069 } else if (Tmp->getType()->isPointerTy() && TruncTy->isIntegerTy()) {
2073 Tmp = Builder.CreateTrunc(Tmp, TruncTy);
2074 } else if (TruncTy->isIntegerTy()) {
2075 Tmp = Builder.CreateTrunc(Tmp, TruncTy);
2076 } else if (TruncTy->isVectorTy()) {
2077 Tmp = Builder.CreateBitCast(Tmp, TruncTy);