Searched defs:DstSize (Results 1 - 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp379 unsigned DstSize = TI->getType()->getScalarSizeInBits(); local
380 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize));
H A DInstCombineCasts.cpp800 unsigned DstSize = CI.getType()->getScalarSizeInBits(); local
802 // SrcSize < DstSize: zext(a & mask)
803 // SrcSize == DstSize: a & mask
804 // SrcSize > DstSize: trunc(a) & mask
805 if (SrcSize < DstSize) {
812 if (SrcSize == DstSize) {
817 if (SrcSize > DstSize) {
819 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize));
1197 unsigned DstSize = CI.getType()->getScalarSizeInBits(); local
1200 if (LHSTrunc->getType()->getScalarSizeInBits() <= DstSize
[all...]
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp560 llvm::APSInt Size, DstSize; local
562 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext()))
564 if (Size.ugt(DstSize))
586 llvm::APSInt Size, DstSize; local
588 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext()))
590 if (Size.ugt(DstSize))
623 llvm::APSInt Size, DstSize; local
625 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext()))
627 if (Size.ugt(DstSize))
H A DCGCall.cpp528 /// with an in-memory size smaller than DstSize.
532 uint64_t DstSize, CodeGenFunction &CGF) {
542 if (FirstEltSize < DstSize &&
553 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF);
606 uint64_t DstSize = CGF.CGM.getTargetData().getTypeAllocSize(Ty);
609 SrcPtr = EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF);
624 if (SrcSize >= DstSize) {
625 // Generally SrcSize is never greater than DstSize, since this means we are
709 uint64_t DstSize = CGF.CGM.getTargetData().getTypeAllocSize(DstTy); local
712 if (SrcSize <= DstSize) {
530 EnterStructPointerForCoercedAccess(llvm::Value *SrcPtr, llvm::StructType *SrcSTy, uint64_t DstSize, CodeGenFunction &CGF) argument
1186 uint64_t DstSize = CGM.getTargetData().getTypeAllocSize(DstTy); local
[all...]
/external/llvm/lib/CodeGen/
H A DRegisterCoalescer.cpp1076 unsigned DstSize = LIS->getApproximateInstructionCount(DstInt); local
1082 if (SrcSize <= ThresSize && DstSize <= ThresSize)
1091 unsigned NewSize = SrcSize + DstSize;
1097 if (DstRC != NewRC && DstSize > ThresSize) {
1099 if (NewUses*DstSize*DstRCCount > 2*DstUses*NewSize*NewRCCount)
/external/llvm/lib/VMCore/
H A DInstructions.cpp2225 unsigned DstSize = DstTy->getScalarSizeInBits(); local
2226 if (SrcSize == DstSize)
2228 else if (SrcSize < DstSize)
2252 // inttoptr, ptrtoint -> bitcast if SrcSize<=PtrSize and SrcSize==DstSize
2257 unsigned DstSize = DstTy->getScalarSizeInBits(); local
2258 if (SrcSize <= PtrSize && SrcSize == DstSize)

Completed in 208 milliseconds