Home
last modified time | relevance | path

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

123

/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 …]
/external/vboot_reference/utility/include/
Deficompress.h63 IN UINT32 SrcSize,
72 IN UINT32 SrcSize,
81 IN UINT32 SrcSize,
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUPostLegalizerCombiner.cpp169 unsigned SrcSize = MRI.getType(SrcReg).getSizeInBits(); in matchUCharToFloat() local
170 assert(SrcSize == 16 || SrcSize == 32 || SrcSize == 64); in matchUCharToFloat()
171 const APInt Mask = APInt::getHighBitsSet(SrcSize, SrcSize - 8); in matchUCharToFloat()
DAMDGPURegisterBankInfo.cpp3678 unsigned SrcSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local
3681 OpdsMapping[1] = AMDGPU::getValueMapping(BankID, SrcSize); in getInstrMapping()
3689 unsigned SrcSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local
3691 OpdsMapping[1] = AMDGPU::getValueMapping(BankID, SrcSize); in getInstrMapping()
3700 unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in getInstrMapping() local
3706 OpdsMapping[1] = AMDGPU::getValueMapping(Src0BankID, SrcSize); in getInstrMapping()
3707 OpdsMapping[2] = AMDGPU::getValueMapping(Src1BankID, SrcSize); in getInstrMapping()
3717 unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in getInstrMapping() local
3722 OpdsMapping[i] = AMDGPU::getValueMapping(Bank, SrcSize); in getInstrMapping()
3754 unsigned SrcSize = getSizeInBits(Src, MRI, *TRI); in getInstrMapping() local
[all …]
DAMDGPUCallLowering.cpp393 const unsigned SrcSize = SrcTy.getSizeInBits(); in unpackRegsToOrigType() local
396 if (LCMSize != SrcSize) { in unpackRegsToOrigType()
400 for (unsigned Size = SrcSize; Size != LCMSize; Size += SrcSize) in unpackRegsToOrigType()
715 unsigned SrcSize = PartLLT.getSizeInBits() * Regs.size(); in packSplitRegsToOrigType() local
716 if (SrcSize == OrigTy.getSizeInBits()) in packSplitRegsToOrigType()
719 auto Widened = B.buildMerge(LLT::scalar(SrcSize), Regs); in packSplitRegsToOrigType()
/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/llvm-project/llvm/lib/CodeGen/GlobalISel/
DInlineAsmLowering.cpp251 unsigned SrcSize = TRI->getRegSizeInBits(Src, *MRI); in buildAnyextOrCopy() local
254 if (DstSize < SrcSize) { in buildAnyextOrCopy()
260 if (DstSize > SrcSize) { in buildAnyextOrCopy()
624 unsigned SrcSize = TRI->getRegSizeInBits(SrcReg, *MRI); in lowerInlineAsm() local
625 if (MRI->getType(ResRegs[i]).getSizeInBits() < SrcSize) { in lowerInlineAsm()
629 MRI->createGenericVirtualRegister(LLT::scalar(SrcSize)); in lowerInlineAsm()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1022 Value *SrcSize = MemCpy->getLength(); in processMemSetMemCpyDependence() local
1031 if (ConstantInt *SrcSizeC = dyn_cast<ConstantInt>(SrcSize)) in processMemSetMemCpyDependence()
1037 if (DestSize->getType() != SrcSize->getType()) { in processMemSetMemCpyDependence()
1039 SrcSize->getType()->getIntegerBitWidth()) in processMemSetMemCpyDependence()
1040 SrcSize = Builder.CreateZExt(SrcSize, DestSize->getType()); in processMemSetMemCpyDependence()
1042 DestSize = Builder.CreateZExt(DestSize, SrcSize->getType()); in processMemSetMemCpyDependence()
1045 Value *Ule = Builder.CreateICmpULE(DestSize, SrcSize); in processMemSetMemCpyDependence()
1046 Value *SizeDiff = Builder.CreateSub(DestSize, SrcSize); in processMemSetMemCpyDependence()
1051 SrcSize), in processMemSetMemCpyDependence()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64GenRegisterBankInfo.def239 unsigned SrcSize) {
253 if (SrcSize == 16) {
260 if (SrcSize == 32) {
264 assert((SrcSize == 64 || DstSize == 128) && "Unexpected vector extension");
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64GenRegisterBankInfo.def239 unsigned SrcSize) {
253 if (SrcSize == 16) {
260 if (SrcSize == 32) {
264 assert((SrcSize == 64 || DstSize == 128) && "Unexpected vector extension");
DAArch64RegisterBankInfo.h96 getFPExtMapping(unsigned DstSize, unsigned SrcSize);
DAArch64RegisterBankInfo.cpp177 #define CHECK_VALUEMAP_FPEXT(DstSize, SrcSize) \ in AArch64RegisterBankInfo() argument
180 unsigned PartialMapSrcIdx = PMI_FPR##SrcSize - PMI_Min; \ in AArch64RegisterBankInfo()
183 const ValueMapping *Map = getFPExtMapping(DstSize, SrcSize); \ in AArch64RegisterBankInfo()
191 Map[1].NumBreakDowns == 1 && "FPR" #SrcSize \ in AArch64RegisterBankInfo()
DAArch64InstructionSelector.cpp590 const unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI); in isValidCopy() local
594 (DstSize == SrcSize || in isValidCopy()
597 (Register::isPhysicalRegister(SrcReg) && DstSize <= SrcSize) || in isValidCopy()
601 (((DstSize + 31) / 32 == (SrcSize + 31) / 32) && DstSize > SrcSize)) && in isValidCopy()
653 unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI); in getRegClassesForCopy() local
663 if (SrcRegBank != DstRegBank && (DstSize == 1 && SrcSize == 1)) in getRegClassesForCopy()
664 SrcSize = DstSize = 32; in getRegClassesForCopy()
666 return {getMinClassForRegBank(SrcRegBank, SrcSize, true), in getRegClassesForCopy()
720 unsigned SrcSize = TRI.getRegSizeInBits(*SrcRC); in selectCopy() local
725 if (SrcSize > DstSize) { in selectCopy()
[all …]
/external/llvm-project/llvm/lib/Linker/
DLinkModules.cpp195 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind() local
202 LinkFromSrc = SrcSize > DstSize; in computeResultingSelectionKind()
204 if (SrcSize != DstSize) in computeResultingSelectionKind()
296 uint64_t SrcSize = DL.getTypeAllocSize(Src.getValueType()); in shouldLinkFromSource() local
297 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-10.0/llvm/lib/Linker/
DLinkModules.cpp195 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind() local
202 LinkFromSrc = SrcSize > DstSize; in computeResultingSelectionKind()
204 if (SrcSize != DstSize) in computeResultingSelectionKind()
296 uint64_t SrcSize = DL.getTypeAllocSize(Src.getValueType()); in shouldLinkFromSource() local
297 LinkFromSrc = SrcSize > DestSize; in shouldLinkFromSource()
/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-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp454 const unsigned SrcSize = SrcTy.getSizeInBits(); in selectG_EXTRACT() local
464 TRI.getRegClassForSizeOnBank(SrcSize, *SrcBank, *MRI); in selectG_EXTRACT()
491 const unsigned SrcSize = SrcTy.getSizeInBits(); in selectG_MERGE_VALUES() local
492 if (SrcSize < 32) in selectG_MERGE_VALUES()
503 ArrayRef<int16_t> SubRegs = TRI.getRegSplitParts(DstRC, SrcSize / 8); in selectG_MERGE_VALUES()
536 const unsigned SrcSize = SrcTy.getSizeInBits(); in selectG_UNMERGE_VALUES() local
541 TRI.getRegClassForSizeOnBank(SrcSize, *SrcBank, *MRI); in selectG_UNMERGE_VALUES()
1268 unsigned SrcSize = SrcTy.getSizeInBits(); in selectG_TRUNC() local
1271 = TRI.getRegClassForSizeOnBank(SrcSize, *SrcRB, *MRI); in selectG_TRUNC()
1275 if (SrcSize > 32) { in selectG_TRUNC()
[all …]
DAMDGPURegisterBankInfo.cpp2671 unsigned SrcSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local
2674 OpdsMapping[1] = AMDGPU::getValueMapping(BankID, SrcSize); in getInstrMapping()
2682 unsigned SrcSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local
2684 OpdsMapping[1] = AMDGPU::getValueMapping(BankID, SrcSize); in getInstrMapping()
2693 unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in getInstrMapping() local
2699 OpdsMapping[1] = AMDGPU::getValueMapping(Src0BankID, SrcSize); in getInstrMapping()
2700 OpdsMapping[2] = AMDGPU::getValueMapping(Src1BankID, SrcSize); in getInstrMapping()
2711 unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in getInstrMapping() local
2716 OpdsMapping[i] = AMDGPU::getValueMapping(Bank, SrcSize); in getInstrMapping()
2741 unsigned SrcSize = getSizeInBits(Src, MRI, *TRI); in getInstrMapping() local
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1173 Value *SrcSize = MemCpy->getLength(); in processMemSetMemCpyDependence() local
1185 if (ConstantInt *SrcSizeC = dyn_cast<ConstantInt>(SrcSize)) in processMemSetMemCpyDependence()
1191 if (DestSize->getType() != SrcSize->getType()) { in processMemSetMemCpyDependence()
1193 SrcSize->getType()->getIntegerBitWidth()) in processMemSetMemCpyDependence()
1194 SrcSize = Builder.CreateZExt(SrcSize, DestSize->getType()); in processMemSetMemCpyDependence()
1196 DestSize = Builder.CreateZExt(DestSize, SrcSize->getType()); in processMemSetMemCpyDependence()
1199 Value *Ule = Builder.CreateICmpULE(DestSize, SrcSize); in processMemSetMemCpyDependence()
1200 Value *SizeDiff = Builder.CreateSub(DestSize, SrcSize); in processMemSetMemCpyDependence()
1205 SrcSize), in processMemSetMemCpyDependence()
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64RegisterBankInfo.h96 getFPExtMapping(unsigned DstSize, unsigned SrcSize);
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()
DAArch64InstructionSelector.cpp749 const unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI); in isValidCopy() local
753 (DstSize == SrcSize || in isValidCopy()
756 (Register::isPhysicalRegister(SrcReg) && DstSize <= SrcSize) || in isValidCopy()
760 (((DstSize + 31) / 32 == (SrcSize + 31) / 32) && DstSize > SrcSize)) && in isValidCopy()
809 unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI); in getRegClassesForCopy() local
819 if (SrcRegBank != DstRegBank && (DstSize == 1 && SrcSize == 1)) in getRegClassesForCopy()
820 SrcSize = DstSize = 32; in getRegClassesForCopy()
822 return {getMinClassForRegBank(SrcRegBank, SrcSize, true), in getRegClassesForCopy()
877 unsigned SrcSize = TRI.getRegSizeInBits(*SrcRC); in selectCopy() local
885 getMinClassForRegBank(DstRegBank, SrcSize, /* GetAllRegSet */ true); in selectCopy()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DMachineVerifier.cpp1132 unsigned SrcSize = SrcElTy.getSizeInBits(); in verifyPreISelGenericInstruction() local
1135 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction()
1140 if (DstSize >= SrcSize) in verifyPreISelGenericInstruction()
1281 unsigned SrcSize = MRI->getType(SrcOp.getReg()).getSizeInBits(); in verifyPreISelGenericInstruction() local
1282 if (SrcSize == DstSize) in verifyPreISelGenericInstruction()
1285 if (DstSize + OffsetOp.getImm() > SrcSize) in verifyPreISelGenericInstruction()
1303 unsigned SrcSize = MRI->getType(SrcOp.getReg()).getSizeInBits(); in verifyPreISelGenericInstruction() local
1305 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction()
1308 if (SrcSize + OffsetOp.getImm() > DstSize) in verifyPreISelGenericInstruction()
1617 unsigned SrcSize = TRI->getRegSizeInBits(SrcOp.getReg(), *MRI); in visitMachineInstrBefore() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineVerifier.cpp1143 unsigned SrcSize = SrcElTy.getSizeInBits(); in verifyPreISelGenericInstruction() local
1146 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction()
1151 if (DstSize >= SrcSize) in verifyPreISelGenericInstruction()
1292 unsigned SrcSize = MRI->getType(SrcOp.getReg()).getSizeInBits(); in verifyPreISelGenericInstruction() local
1293 if (SrcSize == DstSize) in verifyPreISelGenericInstruction()
1296 if (DstSize + OffsetOp.getImm() > SrcSize) in verifyPreISelGenericInstruction()
1314 unsigned SrcSize = MRI->getType(SrcOp.getReg()).getSizeInBits(); in verifyPreISelGenericInstruction() local
1316 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction()
1319 if (SrcSize + OffsetOp.getImm() > DstSize) in verifyPreISelGenericInstruction()
1542 unsigned SrcSize = TRI->getRegSizeInBits(SrcOp.getReg(), *MRI); in visitMachineInstrBefore() local
[all …]

123