Lines Matching refs:TruncTy
2123 llvm::Type *TruncTy = ResultTruncRegTypes[i]; in EmitAsmStmt() local
2127 if (TruncTy->isFloatingPointTy()) in EmitAsmStmt()
2128 Tmp = Builder.CreateFPTrunc(Tmp, TruncTy); in EmitAsmStmt()
2129 else if (TruncTy->isPointerTy() && Tmp->getType()->isIntegerTy()) { in EmitAsmStmt()
2130 uint64_t ResSize = CGM.getDataLayout().getTypeSizeInBits(TruncTy); in EmitAsmStmt()
2133 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy); in EmitAsmStmt()
2134 } else if (Tmp->getType()->isPointerTy() && TruncTy->isIntegerTy()) { in EmitAsmStmt()
2138 Tmp = Builder.CreateTrunc(Tmp, TruncTy); in EmitAsmStmt()
2139 } else if (TruncTy->isIntegerTy()) { in EmitAsmStmt()
2140 Tmp = Builder.CreateTrunc(Tmp, TruncTy); in EmitAsmStmt()
2141 } else if (TruncTy->isVectorTy()) { in EmitAsmStmt()
2142 Tmp = Builder.CreateBitCast(Tmp, TruncTy); in EmitAsmStmt()