Home
last modified time | relevance | path

Searched refs:SrcSize (Results 1 – 25 of 39) sorted by relevance

12

/external/vboot_reference/utility/
Defidecompress.c679 IN UINT32 SrcSize, in GetInfo() argument
708 if (SrcSize < 8) { in GetInfo()
719 IN UINT32 SrcSize, in Decompress() argument
769 if (SrcSize < 8) { in Decompress()
783 if (SrcSize < CompSize + 8) { in Decompress()
846 IN UINT32 SrcSize, in EfiGetInfo() argument
873 SrcSize, in EfiGetInfo()
883 IN UINT32 SrcSize, in EfiDecompress() argument
917 SrcSize, in EfiDecompress()
930 IN UINT32 SrcSize, in TianoGetInfo() argument
[all …]
Deficompress.c282 IN UINT32 SrcSize, in EfiCompress() argument
325 mSrcUpperLimit = mSrc + SrcSize; in EfiCompress()
/external/vboot_reference/utility/include/
Deficompress.h63 IN UINT32 SrcSize,
72 IN UINT32 SrcSize,
81 IN UINT32 SrcSize,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterBankInfo.cpp337 unsigned SrcSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local
339 OpdsMapping[1] = AMDGPU::getValueMapping(BankID, SrcSize); in getInstrMapping()
347 unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in getInstrMapping() local
352 OpdsMapping[i] = AMDGPU::getValueMapping(Bank, SrcSize); in getInstrMapping()
366 unsigned SrcSize = getSizeInBits(Src, MRI, *TRI); in getInstrMapping() local
368 OpdsMapping[1] = AMDGPU::getValueMapping(Bank, SrcSize); in getInstrMapping()
375 unsigned SrcSize = getSizeInBits(Src, MRI, *TRI); in getInstrMapping() local
377 SrcSize == 1 ? AMDGPU::SGPRRegBankID : in getInstrMapping()
380 if (SrcSize == 1) { in getInstrMapping()
388 OpdsMapping[1] = AMDGPU::getValueMapping(SrcBank, SrcSize); in getInstrMapping()
DSIRegisterInfo.cpp1518 unsigned SrcSize = getRegSizeInBits(*SrcRC); in shouldCoalesce() local
1526 if (SrcSize <= 32 || DstSize <= 32) in shouldCoalesce()
1529 return NewSize <= DstSize || NewSize <= SrcSize; in shouldCoalesce()
/external/deqp/modules/glshared/
DglsLongStressCase.hpp114 template <typename T, int SrcSize, int DstSize>
115 static inline void vecToArr (const tcu::Vector<T, SrcSize>& src, T (&dst)[DstSize]) in vecToArr()
117 DE_STATIC_ASSERT(DstSize >= SrcSize); in vecToArr()
118 for (int i = 0; i < SrcSize; i++) in vecToArr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1109 Value *SrcSize = MemCpy->getLength(); in processMemSetMemCpyDependence() local
1118 if (ConstantInt *SrcSizeC = dyn_cast<ConstantInt>(SrcSize)) in processMemSetMemCpyDependence()
1124 if (DestSize->getType() != SrcSize->getType()) { in processMemSetMemCpyDependence()
1126 SrcSize->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()
1136 Builder.CreateMemSet(Builder.CreateGEP(Dest, SrcSize), MemSet->getOperand(1), in processMemSetMemCpyDependence()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1062 Value *SrcSize = MemCpy->getLength(); in processMemSetMemCpyDependence() local
1071 if (ConstantInt *SrcSizeC = dyn_cast<ConstantInt>(SrcSize)) in processMemSetMemCpyDependence()
1077 if (DestSize->getType() != SrcSize->getType()) { in processMemSetMemCpyDependence()
1079 SrcSize->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()
1088 Builder.CreateSub(DestSize, SrcSize)); in processMemSetMemCpyDependence()
1089 Builder.CreateMemSet(Builder.CreateGEP(Dest, SrcSize), MemSet->getOperand(1), in processMemSetMemCpyDependence()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DLinkModules.cpp196 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind() local
203 LinkFromSrc = SrcSize > DstSize; in computeResultingSelectionKind()
205 if (SrcSize != DstSize) in computeResultingSelectionKind()
297 uint64_t SrcSize = DL.getTypeAllocSize(Src.getValueType()); in shouldLinkFromSource() local
298 LinkFromSrc = SrcSize > DestSize; in shouldLinkFromSource()
/external/llvm/lib/Linker/
DLinkModules.cpp212 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind() local
219 LinkFromSrc = SrcSize > DstSize; in computeResultingSelectionKind()
221 if (SrcSize != DstSize) in computeResultingSelectionKind()
321 uint64_t SrcSize = DL.getTypeAllocSize(Src.getValueType()); in shouldLinkFromSource() local
322 LinkFromSrc = SrcSize > DestSize; in shouldLinkFromSource()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64GenRegisterBankInfo.def236 unsigned SrcSize) {
250 if (SrcSize == 16) {
257 if (SrcSize == 32) {
261 assert((SrcSize == 64 || DstSize == 128) && "Unexpected vector extension");
DAArch64InstructionSelector.cpp365 const unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI); in selectCopy() local
366 (void)SrcSize; in selectCopy()
370 (DstSize == SrcSize || in selectCopy()
378 (((DstSize + 31) / 32 == (SrcSize + 31) / 32) && DstSize > SrcSize)) && in selectCopy()
433 const unsigned SrcSize = SrcTy.getSizeInBits(); in selectFPConvOpc() local
437 switch (SrcSize) { in selectFPConvOpc()
468 switch (SrcSize) { in selectFPConvOpc()
893 unsigned SrcSize = SrcTy.getSizeInBits(); in select() local
899 I.setDesc(TII.get(SrcSize == 64 ? AArch64::UBFMXri : AArch64::UBFMWri)); in select()
903 if (SrcSize < 64) { in select()
[all …]
DAArch64RegisterBankInfo.cpp178 #define CHECK_VALUEMAP_FPEXT(DstSize, SrcSize) \ in AArch64RegisterBankInfo() argument
181 unsigned PartialMapSrcIdx = PMI_FPR##SrcSize - PMI_Min; \ in AArch64RegisterBankInfo()
184 const ValueMapping *Map = getFPExtMapping(DstSize, SrcSize); \ in AArch64RegisterBankInfo()
192 Map[1].NumBreakDowns == 1 && "FPR" #SrcSize \ in AArch64RegisterBankInfo()
DAArch64RegisterBankInfo.h96 getFPExtMapping(unsigned DstSize, unsigned SrcSize);
/external/clang/lib/CodeGen/
DCGCall.cpp1110 uint64_t SrcSize = DL.getTypeSizeInBits(Val->getType()); in CoerceIntOrPtrToIntOrPtr() local
1113 if (SrcSize > DstSize) { in CoerceIntOrPtrToIntOrPtr()
1114 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr()
1118 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr()
1155 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); in CreateCoercedLoad() local
1166 if (SrcSize >= DstSize) { in CreateCoercedLoad()
1182 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize), in CreateCoercedLoad()
1227 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); in CreateCoercedStore() local
1230 Dst = EnterStructPointerForCoercedAccess(Dst, DstSTy, SrcSize, CGF); in CreateCoercedStore()
1246 if (SrcSize <= DstSize) { in CreateCoercedStore()
[all …]
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp139 unsigned SrcSize = Cast->getSrcTy()->getPrimitiveSizeInBits(); in getSourceExtensionKind() local
140 if (SrcSize > DstSize) in getSourceExtensionKind()
155 if (SrcSize == DstSize) in getSourceExtensionKind()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp804 unsigned SrcSize = A->getType()->getScalarSizeInBits(); in visitZExt() local
811 if (SrcSize < DstSize) { in visitZExt()
812 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt()
818 if (SrcSize == DstSize) { in visitZExt()
819 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt()
823 if (SrcSize > DstSize) { in visitZExt()
DInstCombineShifts.cpp377 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant() local
379 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstructionSelector.cpp238 const unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI); in selectCopy() local
244 if (DstSize > SrcSize && SrcRegBank.getID() == X86::GPRRegBankID && in selectCopy()
270 assert((DstSize == SrcSize || in selectCopy()
281 DstRegBank.getID() == X86::GPRRegBankID && SrcSize > DstSize && in selectCopy()
1258 unsigned SrcSize = SrcTy.getSizeInBits(); in selectMergeValues() local
1276 .addImm((Idx - 1) * SrcSize); in selectMergeValues()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineVerifier.cpp1026 unsigned SrcSize = SrcElTy.getSizeInBits(); in visitMachineInstrBefore() local
1029 if (DstSize <= SrcSize) in visitMachineInstrBefore()
1034 if (DstSize >= SrcSize) in visitMachineInstrBefore()
1058 unsigned SrcSize = TRI->getRegSizeInBits(SrcOp.getReg(), *MRI); in visitMachineInstrBefore() local
1060 assert(SrcSize && "Expecting size here"); in visitMachineInstrBefore()
1062 if (SrcSize != DstSize) in visitMachineInstrBefore()
1065 errs() << "Def Size = " << DstSize << ", Src Size = " << SrcSize in visitMachineInstrBefore()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp892 unsigned SrcSize = A->getType()->getScalarSizeInBits(); in visitZExt() local
899 if (SrcSize < DstSize) { in visitZExt()
900 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt()
906 if (SrcSize == DstSize) { in visitZExt()
907 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt()
911 if (SrcSize > DstSize) { in visitZExt()
DInstCombineShifts.cpp389 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant() local
391 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMInstructionSelector.cpp701 unsigned SrcSize = SrcTy.getSizeInBits(); in select() local
702 switch (SrcSize) { in select()
730 unsigned NewOpc = selectSimpleExtOpc(I.getOpcode(), SrcSize); in select()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegisterCoalescer.cpp1118 unsigned SrcSize = LIS->getApproximateInstructionCount(SrcInt); in isWinToJoinCrossClass() local
1125 if (SrcSize <= ThresSize && DstSize <= ThresSize) in isWinToJoinCrossClass()
1134 unsigned NewSize = SrcSize + DstSize; in isWinToJoinCrossClass()
1135 if (SrcRC != NewRC && SrcSize > ThresSize) { in isWinToJoinCrossClass()
1137 if (NewUses*SrcSize*SrcRCCount > 2*SrcUses*NewSize*NewRCCount) in isWinToJoinCrossClass()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1113 unsigned SrcSize = A->getType()->getScalarSizeInBits(); in visitZExt() local
1120 if (SrcSize < DstSize) { in visitZExt()
1121 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt()
1127 if (SrcSize == DstSize) { in visitZExt()
1128 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt()
1132 if (SrcSize > DstSize) { in visitZExt()

12