Lines Matching refs:TruncTy
2058 llvm::Type *TruncTy = ResultTruncRegTypes[i]; in EmitAsmStmt() local
2062 if (TruncTy->isFloatingPointTy()) in EmitAsmStmt()
2063 Tmp = Builder.CreateFPTrunc(Tmp, TruncTy); in EmitAsmStmt()
2064 else if (TruncTy->isPointerTy() && Tmp->getType()->isIntegerTy()) { in EmitAsmStmt()
2065 uint64_t ResSize = CGM.getDataLayout().getTypeSizeInBits(TruncTy); in EmitAsmStmt()
2068 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy); in EmitAsmStmt()
2069 } else if (Tmp->getType()->isPointerTy() && TruncTy->isIntegerTy()) { in EmitAsmStmt()
2073 Tmp = Builder.CreateTrunc(Tmp, TruncTy); in EmitAsmStmt()
2074 } else if (TruncTy->isIntegerTy()) { in EmitAsmStmt()
2075 Tmp = Builder.CreateTrunc(Tmp, TruncTy); in EmitAsmStmt()
2076 } else if (TruncTy->isVectorTy()) { in EmitAsmStmt()
2077 Tmp = Builder.CreateBitCast(Tmp, TruncTy); in EmitAsmStmt()