Searched refs:DstSize (Results 1 - 5 of 5) sorted by relevance

/external/clang/lib/CodeGen/
H A DCGCall.cpp616 /// with an in-memory size smaller than DstSize.
620 uint64_t DstSize, CodeGenFunction &CGF) {
630 if (FirstEltSize < DstSize &&
641 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF);
694 uint64_t DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(Ty);
697 SrcPtr = EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF);
712 if (SrcSize >= DstSize) {
713 // Generally SrcSize is never greater than DstSize, since this means we are
798 uint64_t DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(DstTy); local
801 if (SrcSize <= DstSize) {
618 EnterStructPointerForCoercedAccess(llvm::Value *SrcPtr, llvm::StructType *SrcSTy, uint64_t DstSize, CodeGenFunction &CGF) argument
1343 uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(DstTy); local
2258 uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(STy); local
[all...]
H A DCGBuiltin.cpp632 llvm::APSInt Size, DstSize; local
634 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext()))
636 if (Size.ugt(DstSize))
659 llvm::APSInt Size, DstSize; local
661 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext()))
663 if (Size.ugt(DstSize))
698 llvm::APSInt Size, DstSize; local
700 !E->getArg(3)->EvaluateAsInt(DstSize, CGM.getContext()))
702 if (Size.ugt(DstSize))
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp807 unsigned DstSize = CI.getType()->getScalarSizeInBits(); local
809 // SrcSize < DstSize: zext(a & mask)
810 // SrcSize == DstSize: a & mask
811 // SrcSize > DstSize: trunc(a) & mask
812 if (SrcSize < DstSize) {
819 if (SrcSize == DstSize) {
824 if (SrcSize > DstSize) {
826 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize));
1201 unsigned DstSize = CI.getType()->getScalarSizeInBits(); local
1204 if (LHSTrunc->getType()->getScalarSizeInBits() <= DstSize
[all...]
H A DInstCombineShifts.cpp379 unsigned DstSize = TI->getType()->getScalarSizeInBits(); local
380 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize));
/external/llvm/lib/IR/
H A DInstructions.cpp2242 unsigned DstSize = DstTy->getScalarSizeInBits(); local
2243 if (SrcSize == DstSize)
2245 else if (SrcSize < DstSize)
2269 // inttoptr, ptrtoint -> bitcast if SrcSize<=PtrSize and SrcSize==DstSize
2274 unsigned DstSize = DstTy->getScalarSizeInBits(); local
2275 if (SrcSize <= PtrSize && SrcSize == DstSize)

Completed in 123 milliseconds