Lines Matching refs:TruncTy
2742 llvm::Type *TruncTy = ResultTruncRegTypes[i]; in EmitAsmStmt() local
2760 if (TruncTy->isFloatingPointTy()) in EmitAsmStmt()
2761 Tmp = Builder.CreateFPTrunc(Tmp, TruncTy); in EmitAsmStmt()
2762 else if (TruncTy->isPointerTy() && Tmp->getType()->isIntegerTy()) { in EmitAsmStmt()
2763 uint64_t ResSize = CGM.getDataLayout().getTypeSizeInBits(TruncTy); in EmitAsmStmt()
2766 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy); in EmitAsmStmt()
2767 } else if (Tmp->getType()->isPointerTy() && TruncTy->isIntegerTy()) { in EmitAsmStmt()
2771 Tmp = Builder.CreateTrunc(Tmp, TruncTy); in EmitAsmStmt()
2772 } else if (TruncTy->isIntegerTy()) { in EmitAsmStmt()
2773 Tmp = Builder.CreateZExtOrTrunc(Tmp, TruncTy); in EmitAsmStmt()
2774 } else if (TruncTy->isVectorTy()) { in EmitAsmStmt()
2775 Tmp = Builder.CreateBitCast(Tmp, TruncTy); in EmitAsmStmt()
2786 if (getTargetHooks().isScalarizableAsmOperand(*this, TruncTy)) { in EmitAsmStmt()