Home
last modified time | relevance | path

Searched refs:DstSize (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/CodeGen/
DCGCall.cpp532 uint64_t DstSize, CodeGenFunction &CGF) { in EnterStructPointerForCoercedAccess() argument
542 if (FirstEltSize < DstSize && in EnterStructPointerForCoercedAccess()
553 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF); in EnterStructPointerForCoercedAccess()
606 uint64_t DstSize = CGF.CGM.getTargetData().getTypeAllocSize(Ty); in CreateCoercedLoad() local
609 SrcPtr = EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF); in CreateCoercedLoad()
624 if (SrcSize >= DstSize) { in CreateCoercedLoad()
709 uint64_t DstSize = CGF.CGM.getTargetData().getTypeAllocSize(DstTy); in CreateCoercedStore() local
712 if (SrcSize <= DstSize) { in CreateCoercedStore()
1186 uint64_t DstSize = CGM.getTargetData().getTypeAllocSize(DstTy); in EmitFunctionProlog() local
1188 if (SrcSize <= DstSize) { in EmitFunctionProlog()
[all …]
DCGBuiltin.cpp560 llvm::APSInt Size, DstSize; in EmitBuiltinExpr() local
562 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext())) in EmitBuiltinExpr()
564 if (Size.ugt(DstSize)) in EmitBuiltinExpr()
586 llvm::APSInt Size, DstSize; in EmitBuiltinExpr() local
588 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext())) in EmitBuiltinExpr()
590 if (Size.ugt(DstSize)) in EmitBuiltinExpr()
623 llvm::APSInt Size, DstSize; in EmitBuiltinExpr() local
625 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext())) in EmitBuiltinExpr()
627 if (Size.ugt(DstSize)) in EmitBuiltinExpr()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp800 unsigned DstSize = CI.getType()->getScalarSizeInBits(); in visitZExt() local
805 if (SrcSize < DstSize) { in visitZExt()
812 if (SrcSize == DstSize) { in visitZExt()
817 if (SrcSize > DstSize) { in visitZExt()
819 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
1197 unsigned DstSize = CI.getType()->getScalarSizeInBits(); in visitFPTrunc() local
1200 if (LHSTrunc->getType()->getScalarSizeInBits() <= DstSize && in visitFPTrunc()
1201 RHSTrunc->getType()->getScalarSizeInBits() <= DstSize) { in visitFPTrunc()
DInstCombineShifts.cpp379 unsigned DstSize = TI->getType()->getScalarSizeInBits(); in FoldShiftByConstant() local
380 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant()
/external/llvm/lib/CodeGen/
DRegisterCoalescer.cpp1076 unsigned DstSize = LIS->getApproximateInstructionCount(DstInt); in isWinToJoinCrossClass() local
1082 if (SrcSize <= ThresSize && DstSize <= ThresSize) in isWinToJoinCrossClass()
1091 unsigned NewSize = SrcSize + DstSize; in isWinToJoinCrossClass()
1097 if (DstRC != NewRC && DstSize > ThresSize) { in isWinToJoinCrossClass()
1099 if (NewUses*DstSize*DstRCCount > 2*DstUses*NewSize*NewRCCount) in isWinToJoinCrossClass()
/external/llvm/lib/VMCore/
DInstructions.cpp2225 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() local
2226 if (SrcSize == DstSize) in isEliminableCastPair()
2228 else if (SrcSize < DstSize) in isEliminableCastPair()
2257 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() local
2258 if (SrcSize <= PtrSize && SrcSize == DstSize) in isEliminableCastPair()