Searched refs:TruncTy (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmt.cpp1748 llvm::Type *TruncTy = ResultTruncRegTypes[i]; local
1750 // Truncate the integer result to the right size, note that TruncTy can be
1752 if (TruncTy->isFloatingPointTy())
1753 Tmp = Builder.CreateFPTrunc(Tmp, TruncTy);
1754 else if (TruncTy->isPointerTy() && Tmp->getType()->isIntegerTy()) {
1755 uint64_t ResSize = CGM.getDataLayout().getTypeSizeInBits(TruncTy);
1758 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy);
1759 } else if (Tmp->getType()->isPointerTy() && TruncTy->isIntegerTy()) {
1763 Tmp = Builder.CreateTrunc(Tmp, TruncTy);
1764 } else if (TruncTy
[all...]

Completed in 101 milliseconds