HomeSort by: relevance | last modified time | path
    Searched defs:SrcSize (Results 1 - 25 of 25) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Linker/
LinkModules.cpp 195 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType());
202 LinkFromSrc = SrcSize > DstSize;
204 if (SrcSize != DstSize)
296 uint64_t SrcSize = DL.getTypeAllocSize(Src.getValueType());
297 LinkFromSrc = SrcSize > DestSize;
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUPostLegalizerCombiner.cpp 171 unsigned SrcSize = MRI.getType(SrcReg).getSizeInBits();
172 assert(SrcSize == 16 || SrcSize == 32 || SrcSize == 64);
173 const APInt Mask = APInt::getHighBitsSet(SrcSize, SrcSize - 8);
SIRegisterInfo.cpp 2264 unsigned SrcSize = getRegSizeInBits(*SrcRC);
2272 if (SrcSize <= 32 || DstSize <= 32)
2275 return NewSize <= DstSize || NewSize <= SrcSize;
AMDGPUInstructionSelector.cpp 464 const unsigned SrcSize = SrcTy.getSizeInBits();
484 TRI.getRegClassForSizeOnBank(SrcSize, *SrcBank, *MRI);
509 const unsigned SrcSize = SrcTy.getSizeInBits();
510 if (SrcSize < 32)
521 ArrayRef<int16_t> SubRegs = TRI.getRegSplitParts(DstRC, SrcSize / 8);
554 const unsigned SrcSize = SrcTy.getSizeInBits();
559 TRI.getRegClassForSizeOnBank(SrcSize, *SrcBank, *MRI);
1854 unsigned SrcSize = SrcTy.getSizeInBits();
1857 = TRI.getRegClassForSizeOnBank(SrcSize, *SrcRB, *MRI);
1928 if (SrcSize > 32)
    [all...]
AMDGPUISelLowering.cpp 875 unsigned SrcSize = Source.getSizeInBits();
878 return DestSize < SrcSize && DestSize % 32 == 0 ;
884 unsigned SrcSize = Source->getScalarSizeInBits();
888 return SrcSize >= 32;
890 return DestSize < SrcSize && DestSize % 32 == 0;
894 unsigned SrcSize = Src->getScalarSizeInBits();
897 if (SrcSize == 16 && Subtarget->has16BitInsts())
900 return SrcSize == 32 && DestSize == 64;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
CallLowering.cpp 358 unsigned SrcSize = PartLLT.getSizeInBits() * Regs.size();
359 if (SrcSize == OrigTy.getSizeInBits())
362 auto Widened = B.buildMerge(LLT::scalar(SrcSize), Regs);
489 const unsigned SrcSize = SrcTy.getSizeInBits();
492 if (LCMSize != SrcSize) {
496 for (unsigned Size = SrcSize; Size != LCMSize; Size += SrcSize)
InlineAsmLowering.cpp 251 unsigned SrcSize = TRI->getRegSizeInBits(Src, *MRI);
254 if (DstSize < SrcSize) {
260 if (DstSize > SrcSize) {
624 unsigned SrcSize = TRI->getRegSizeInBits(SrcReg, *MRI);
625 if (MRI->getType(ResRegs[i]).getSizeInBits() < SrcSize) {
629 MRI->createGenericVirtualRegister(LLT::scalar(SrcSize));
LegalizerHelper.cpp 1067 uint64_t SrcSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
1068 if (NarrowSize * 2 != SrcSize)
1350 const int SrcSize = SrcTy.getSizeInBits();
1409 const int GCD = greatestCommonDivisor(SrcSize, WideSize);
1420 if (GCD == SrcSize) {
4828 unsigned SrcSize = MRI.getType(Src1).getSizeInBits();
4831 if (DstSize % NarrowSize != 0 || SrcSize % NarrowSize != 0)
4835 unsigned NumSrcParts = SrcSize / NarrowSize;
  /src/sys/external/bsd/gnu-efi/dist/lib/
dpath.c 407 UINTN SrcSize;
413 SrcSize = DevicePathSize(Src);
415 Ptr = AllocatePool (SrcSize + InstanceSize);
419 CopyMem (Ptr, Src, SrcSize);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
AArch64InstructionSelector.cpp 778 const unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI);
782 (DstSize == SrcSize ||
785 (Register::isPhysicalRegister(SrcReg) && DstSize <= SrcSize) ||
789 (((DstSize + 31) / 32 == (SrcSize + 31) / 32) && DstSize > SrcSize)) &&
838 unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI);
848 if (SrcRegBank != DstRegBank && (DstSize == 1 && SrcSize == 1))
849 SrcSize = DstSize = 32;
851 return {getMinClassForRegBank(SrcRegBank, SrcSize, true),
907 unsigned SrcSize = TRI.getRegSizeInBits(*SrcRC)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMInstructionSelector.cpp 870 unsigned SrcSize = SrcTy.getSizeInBits();
871 switch (SrcSize) {
899 unsigned NewOpc = selectSimpleExtOpc(I.getOpcode(), SrcSize);
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86InstructionSelector.cpp 239 const unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI);
245 if (DstSize > SrcSize && SrcRegBank.getID() == X86::GPRRegBankID &&
271 assert((DstSize == SrcSize ||
282 DstRegBank.getID() == X86::GPRRegBankID && SrcSize > DstSize &&
1321 unsigned SrcSize = SrcTy.getSizeInBits();
1339 .addImm((Idx - 1) * SrcSize);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineShifts.cpp 715 unsigned SrcSize = SrcTy->getScalarSizeInBits();
717 ConstantInt::get(SrcTy, APInt::getLowBitsSet(SrcSize, TypeBits));
InstCombineCasts.cpp 1239 unsigned SrcSize = A->getType()->getScalarSizeInBits();
1243 // SrcSize < DstSize: zext(a & mask)
1244 // SrcSize == DstSize: a & mask
1245 // SrcSize > DstSize: trunc(a) & mask
1246 if (SrcSize < DstSize) {
1247 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize));
1253 if (SrcSize == DstSize) {
1254 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize));
1258 if (SrcSize > DstSize) {
1643 int SrcSize = (int)SrcTy->getScalarSizeInBits() - IsSigned
    [all...]
InstructionCombining.cpp 2292 uint64_t SrcSize = DL.getTypeAllocSize(StrippedPtrEltTy).getFixedSize();
2293 if (ResSize && SrcSize % ResSize == 0) {
2296 uint64_t Scale = SrcSize / ResSize;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
MemCpyOptimizer.cpp 893 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) *
896 if (cpyLen < srcSize)
899 // Check that accessing the first srcSize bytes of dest will not cause a
980 ModRefInfo MR = AA->getModRefInfo(C, cpyDest, LocationSize::precise(srcSize));
983 MR = AA->callCapturesBefore(C, cpyDest, LocationSize::precise(srcSize), DT);
1180 Value *SrcSize = MemCpy->getLength();
1187 if (DestSize == SrcSize) {
1194 // If Dest is aligned, and SrcSize is constant, use the minimum alignment
1199 if (ConstantInt *SrcSizeC = dyn_cast<ConstantInt>(SrcSize))
1205 if (DestSize->getType() != SrcSize->getType())
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCall.cpp 1198 uint64_t SrcSize = DL.getTypeSizeInBits(Val->getType());
1201 if (SrcSize > DstSize) {
1202 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits");
1206 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits");
1244 llvm::TypeSize SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
1255 if (!SrcSize.isScalable() && !DstSize.isScalable() &&
1256 SrcSize.getFixedSize() >= DstSize.getFixedSize()) {
1257 // Generally SrcSize is never greater than DstSize, since this means we are
1289 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize.getKnownMinSize()));
1328 llvm::TypeSize SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy)
    [all...]
CGExprScalar.cpp 1378 unsigned SrcSize = SrcTy->getPrimitiveSizeInBits();
1380 if (SrcSize == DstSize)
1406 if (SrcSize > DstSize)
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetTransformInfoImpl.h 485 unsigned SrcSize = Src->getScalarSizeInBits();
486 if (DL.isLegalInteger(SrcSize) &&
487 SrcSize <= DL.getPointerTypeSizeInBits(Dst))
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
BasicTTIImpl.h 867 TypeSize SrcSize = SrcLT.second.getSizeInBits();
884 SrcSize == DstSize)
940 if (SrcLT.first == DstLT.first && SrcSize == DstSize) {
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ConstantFolding.cpp 356 uint64_t SrcSize = DL.getTypeSizeInBits(SrcTy);
357 if (SrcSize < DestSize)
376 if (SrcSize == DestSize &&
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineVerifier.cpp 1174 unsigned SrcSize = SrcElTy.getSizeInBits();
1177 if (DstSize <= SrcSize)
1182 if (DstSize >= SrcSize)
1327 unsigned SrcSize = MRI->getType(SrcOp.getReg()).getSizeInBits();
1328 if (SrcSize == DstSize)
1331 if (DstSize + OffsetOp.getImm() > SrcSize)
1349 unsigned SrcSize = MRI->getType(SrcOp.getReg()).getSizeInBits();
1351 if (DstSize <= SrcSize)
1354 if (SrcSize + OffsetOp.getImm() > DstSize)
1701 unsigned SrcSize = 0
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Instructions.cpp 2862 unsigned SrcSize = SrcTy->getScalarSizeInBits();
2864 if (SrcSize == DstSize)
2866 else if (SrcSize < DstSize)
2874 // inttoptr, ptrtoint -> bitcast if SrcSize<=PtrSize and SrcSize==DstSize
2878 unsigned SrcSize = SrcTy->getScalarSizeInBits();
2880 if (SrcSize <= PtrSize && SrcSize == DstSize)
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp 7738 unsigned SrcSize = SrcVT.getSizeInBits();
7739 if (SrcSize > 256 ||
7743 if (SrcSize == 256 && SrcVT.getVectorNumElements() < 2)
7751 if (SrcSize == 256) {
7762 Op1 = SrcSize == 128 ? N1 : widenVec(DAG, N1, DL);
7767 unsigned SizeMult = SrcSize / TrgVT.getSizeInBits();
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
DAGCombiner.cpp 19167 unsigned SrcSize = Extract.getValueSizeInBits();
19168 if (DestSize % SrcSize != 0 ||
19174 int ZextRatio = DestSize / SrcSize;

Completed in 108 milliseconds