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

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp382 unsigned DstSize = TI->getType()->getScalarSizeInBits(); local
383 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize));
H A DInstCombineCasts.cpp820 unsigned DstSize = CI.getType()->getScalarSizeInBits(); local
822 // SrcSize < DstSize: zext(a & mask)
823 // SrcSize == DstSize: a & mask
824 // SrcSize > DstSize: trunc(a) & mask
825 if (SrcSize < DstSize) {
832 if (SrcSize == DstSize) {
837 if (SrcSize > DstSize) {
839 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize));
/external/llvm/lib/Linker/
H A DLinkModules.cpp618 uint64_t DstSize = local
628 LinkFromSrc = SrcSize > DstSize;
630 if (SrcSize != DstSize)
/external/llvm/lib/IR/
H A DInstructions.cpp2288 unsigned DstSize = DstTy->getScalarSizeInBits(); local
2289 if (SrcSize == DstSize)
2291 else if (SrcSize < DstSize)
2305 // inttoptr, ptrtoint -> bitcast if SrcSize<=PtrSize and SrcSize==DstSize
2310 unsigned DstSize = DstTy->getScalarSizeInBits(); local
2311 if (SrcSize <= PtrSize && SrcSize == DstSize)
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp644 llvm::APSInt Size, DstSize; local
646 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext()))
648 if (Size.ugt(DstSize))
671 llvm::APSInt Size, DstSize; local
673 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext()))
675 if (Size.ugt(DstSize))
710 llvm::APSInt Size, DstSize; local
712 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext()))
714 if (Size.ugt(DstSize))
H A DCGCall.cpp659 /// with an in-memory size smaller than DstSize.
663 uint64_t DstSize, CodeGenFunction &CGF) {
673 if (FirstEltSize < DstSize &&
684 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF);
721 uint64_t DstSize = DL.getTypeSizeInBits(DestIntTy); local
723 if (SrcSize > DstSize) {
724 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits");
728 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits");
759 uint64_t DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(Ty);
762 SrcPtr = EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CG
661 EnterStructPointerForCoercedAccess(llvm::Value *SrcPtr, llvm::StructType *SrcSTy, uint64_t DstSize, CodeGenFunction &CGF) argument
863 uint64_t DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(DstTy); local
1533 uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(DstTy); local
2812 uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(STy); local
[all...]

Completed in 2883 milliseconds