reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGStmt.cpp
 2309       if (TruncTy->isFloatingPointTy())
 2310         Tmp = Builder.CreateFPTrunc(Tmp, TruncTy);
 2311       else if (TruncTy->isPointerTy() && Tmp->getType()->isIntegerTy()) {
 2312         uint64_t ResSize = CGM.getDataLayout().getTypeSizeInBits(TruncTy);
 2315         Tmp = Builder.CreateIntToPtr(Tmp, TruncTy);
 2316       } else if (Tmp->getType()->isPointerTy() && TruncTy->isIntegerTy()) {
 2320         Tmp = Builder.CreateTrunc(Tmp, TruncTy);
 2321       } else if (TruncTy->isIntegerTy()) {
 2322         Tmp = Builder.CreateZExtOrTrunc(Tmp, TruncTy);
 2323       } else if (TruncTy->isVectorTy()) {
 2324         Tmp = Builder.CreateBitCast(Tmp, TruncTy);