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

/external/clang/lib/CodeGen/
H A DCGStmt.cpp1648 llvm::Type *TruncTy = ResultTruncRegTypes[i]; local
1650 // Truncate the integer result to the right size, note that TruncTy can be
1652 if (TruncTy->isFloatingPointTy())
1653 Tmp = Builder.CreateFPTrunc(Tmp, TruncTy);
1654 else if (TruncTy->isPointerTy() && Tmp->getType()->isIntegerTy()) {
1655 uint64_t ResSize = CGM.getTargetData().getTypeSizeInBits(TruncTy);
1658 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy);
1659 } else if (Tmp->getType()->isPointerTy() && TruncTy->isIntegerTy()) {
1663 Tmp = Builder.CreateTrunc(Tmp, TruncTy);
1664 } else if (TruncTy
[all...]

Completed in 131 milliseconds