Home
last modified time | relevance | path

Searched refs:DestSize (Results 1 – 13 of 13) sorted by relevance

/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp508 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); in Act() local
511 if ((Ran->Rand() & 1) && VSize == DestSize) { in Act()
519 if (VSize > DestSize) { in Act()
523 assert(VSize < DestSize && "Different int types with the same size?"); in Act()
553 if (VSize > DestSize) { in Act()
556 } else if (VSize < DestSize) { in Act()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-stress/
Dllvm-stress.cpp564 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); in Act() local
567 if ((getRandom() & 1) && VSize == DestSize) { in Act()
574 if (VSize > DestSize) { in Act()
578 assert(VSize < DestSize && "Different int types with the same size?"); in Act()
604 if (VSize > DestSize) { in Act()
607 } else if (VSize < DestSize) { in Act()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1108 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence() local
1124 if (DestSize->getType() != SrcSize->getType()) { in processMemSetMemCpyDependence()
1125 if (DestSize->getType()->getIntegerBitWidth() > in processMemSetMemCpyDependence()
1127 SrcSize = Builder.CreateZExt(SrcSize, DestSize->getType()); in processMemSetMemCpyDependence()
1129 DestSize = Builder.CreateZExt(DestSize, SrcSize->getType()); in processMemSetMemCpyDependence()
1132 Value *Ule = Builder.CreateICmpULE(DestSize, SrcSize); in processMemSetMemCpyDependence()
1133 Value *SizeDiff = Builder.CreateSub(DestSize, SrcSize); in processMemSetMemCpyDependence()
1135 Ule, ConstantInt::getNullValue(DestSize->getType()), SizeDiff); in processMemSetMemCpyDependence()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1061 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence() local
1077 if (DestSize->getType() != SrcSize->getType()) { in processMemSetMemCpyDependence()
1078 if (DestSize->getType()->getIntegerBitWidth() > in processMemSetMemCpyDependence()
1080 SrcSize = Builder.CreateZExt(SrcSize, DestSize->getType()); in processMemSetMemCpyDependence()
1082 DestSize = Builder.CreateZExt(DestSize, SrcSize->getType()); in processMemSetMemCpyDependence()
1086 Builder.CreateSelect(Builder.CreateICmpULE(DestSize, SrcSize), in processMemSetMemCpyDependence()
1087 ConstantInt::getNullValue(DestSize->getType()), in processMemSetMemCpyDependence()
1088 Builder.CreateSub(DestSize, SrcSize)); in processMemSetMemCpyDependence()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h87 unsigned DestSize = Ty->getScalarSizeInBits(); in getOperationCost() local
88 if (DL.isLegalInteger(DestSize) && in getOperationCost()
89 DestSize >= DL.getPointerTypeSizeInBits(OpTy)) in getOperationCost()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h88 unsigned DestSize = Ty->getScalarSizeInBits(); in getOperationCost() local
89 if (DL.isLegalInteger(DestSize) && in getOperationCost()
90 DestSize >= DL.getPointerTypeSizeInBits(OpTy)) in getOperationCost()
/external/llvm/lib/Linker/
DLinkModules.cpp320 uint64_t DestSize = DL.getTypeAllocSize(Dest.getValueType()); in shouldLinkFromSource() local
322 LinkFromSrc = SrcSize > DestSize; in shouldLinkFromSource()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DLinkModules.cpp296 uint64_t DestSize = DL.getTypeAllocSize(Dest.getValueType()); in shouldLinkFromSource() local
298 LinkFromSrc = SrcSize > DestSize; in shouldLinkFromSource()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp774 unsigned DestSize = Dest.getSizeInBits(); in isTruncateFree() local
776 return DestSize < SrcSize && DestSize % 32 == 0 ; in isTruncateFree()
783 unsigned DestSize = Dest->getScalarSizeInBits(); in isTruncateFree() local
785 if (DestSize== 16 && Subtarget->has16BitInsts()) in isTruncateFree()
788 return DestSize < SrcSize && DestSize % 32 == 0; in isTruncateFree()
793 unsigned DestSize = Dest->getScalarSizeInBits(); in isZExtFree() local
796 return DestSize >= 32; in isZExtFree()
798 return SrcSize == 32 && DestSize == 64; in isZExtFree()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp792 const unsigned DestSize = DestTy->getScalarSizeInBits(); in visitTrunc() local
793 if (Cst->getValue().ult(DestSize)) { in visitTrunc()
798 ConstantInt::get(DestTy, Cst->getValue().trunc(DestSize))); in visitTrunc()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1681 unsigned DestSize = DestVT.getSizeInBits(); in EmitStackConvert() local
1699 if (SlotSize == DestSize) in EmitStackConvert()
1703 assert(SlotSize < DestSize && "Unknown extension!"); in EmitStackConvert()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1707 unsigned DestSize = DestVT.getSizeInBits(); in EmitStackConvert() local
1725 if (SlotSize == DestSize) in EmitStackConvert()
1728 assert(SlotSize < DestSize && "Unknown extension!"); in EmitStackConvert()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp607 unsigned DestSize = Dest->getScalarSizeInBits(); in isZExtFree() local
609 return SrcSize == 32 && DestSize == 64; in isZExtFree()