Home
last modified time | relevance | path

Searched refs:ByteBits (Results 1 – 25 of 38) sorted by relevance

12

/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/VectorCompiler/lib/GenXCodeGen/
H A DGenX.h127 constexpr unsigned ByteBits = vc::ByteBits; variable
133 constexpr unsigned ByteBytes = ByteBits / ByteBits;
134 constexpr unsigned WordBytes = WordBits / ByteBits;
135 constexpr unsigned DWordBytes = DWordBits / ByteBits;
136 constexpr unsigned QWordBytes = QWordBits / ByteBits;
137 constexpr unsigned OWordBytes = OWordBits / ByteBits;
H A DGenXPrologEpilogInsertion.cpp250 genx::ByteBits); in visitAllocaInst()
346 unsigned ArgSize = DL->getTypeSizeInBits(Arg.getType()) / genx::ByteBits; in generateFunctionProlog()
400 RetSize = DL->getTypeSizeInBits(RetVal->getType()) / genx::ByteBits; in generateFunctionEpilog()
445 DL->getTypeSizeInBits(RetVal->getType()) / genx::ByteBits > in generateFunctionEpilog()
453 genx::ByteBits)); in generateFunctionEpilog()
493 auto ArgSize = DL->getTypeSizeInBits(Arg->getType()) / genx::ByteBits; in writeArgs()
497 genx::ByteBits)); in writeArgs()
552 DL->getTypeSizeInBits(CI->getType()) / genx::ByteBits > RetRegSize; in extractResults()
610 genx::ByteBits)); in extractResults()
655 genx::ByteBits), in generateStackCall()
[all …]
H A DGenXInstCombineCleanup.cpp74 if (isPowerOf2_32(Size) && !(genx::BoolBits < Size && Size < genx::ByteBits)) in typeMustBeChanged()
105 CondSize < genx::ByteBits ? genx::ByteBits : NextPowerOf2(CondSize); in runOnFunction()
H A DConstantEncoder.h88 auto Size = API.getBitWidth() / llvm::genx::ByteBits; in encodeLeafConstImpl()
219 IGC_ASSERT_MESSAGE((llvm::isUIntN(llvm::genx::ByteBits * Size, Value) || in emitIntValue()
220 llvm::isIntN(llvm::genx::ByteBits * Size, Value)), in emitIntValue()
225 auto Shifted = Value >> (i * llvm::genx::ByteBits); in emitIntValue()
227 llvm::genx::ByteBits); in emitIntValue()
H A DGenXVisa.cpp43 genx::ByteBits, in isLegal()
46 DL.getTypeSizeInBits(Ty.getElementType()) / genx::ByteBits, in isLegal()
H A DGenXLoadStoreLowering.cpp206 DL_->getTypeSizeInBits(FromTy->getScalarType()) / genx::ByteBits; in NormalizeVector()
224 EltSz = I32Ty->getPrimitiveSizeInBits() / genx::ByteBits; in NormalizeVector()
244 EltSz = I64Ty->getPrimitiveSizeInBits() / genx::ByteBits; in NormalizeVector()
361 IGC_ASSERT(I->getType()->getScalarType()->isIntegerTy(genx::ByteBits)); in NormalizeFuncPtrVec()
H A DGenXThreadPrivateMemory.cpp225 IGC_ASSERT(I->getType()->getScalarType()->isIntegerTy(genx::ByteBits)); in NormalizeFuncPtrVec()
251 static_assert(genx::ByteBits); in NormalizeVector()
253 m_DL->getTypeSizeInBits(FromTy->getScalarType()) / genx::ByteBits; in NormalizeVector()
270 EltSz = I32Ty->getPrimitiveSizeInBits() / genx::ByteBits; in NormalizeVector()
290 EltSz = I64Ty->getPrimitiveSizeInBits() / genx::ByteBits; in NormalizeVector()
294 EltSz = I32Ty->getPrimitiveSizeInBits() / genx::ByteBits; in NormalizeVector()
601 unsigned ValueEltSz = m_DL->getTypeSizeInBits(LdEltTy) / genx::ByteBits; in replaceLoad()
799 m_DL->getTypeSizeInBits(NewDstTy->getScalarType()) / genx::ByteBits; in replaceGatherPrivate()
H A DGenXConstants.cpp1148 DL.getTypeSizeInBits(VT->getElementType()) / genx::ByteBits); in loadNonSimple()
1376 const unsigned GRFWidthInBits = Subtarget.getGRFByteSize() * genx::ByteBits; in loadBig()
1412 const int GRFSizeInBits = Subtarget.getGRFByteSize() * genx::ByteBits; in isLegalSize()
1534 DL.getTypeSizeInBits(VT->getElementType()) / genx::ByteBits; in getConsolidatedConstant()
1595 unsigned ElmSz = VT->getScalarSizeInBits() / genx::ByteBits; in analyze()
H A DGenXLowerAggrCopies.cpp107 genx::ByteBits, in memSetCanBeCoalesced()
H A DGenXStackUsage.cpp136 genx::ByteBits); in visitAllocaInst()
H A DGenXRegionUtils.cpp193 static_assert(genx::ByteBits); in makeRegionFromBaleInfo()
194 IGC_ASSERT(DL.getTypeSizeInBits(Result.ElementTy) % genx::ByteBits == 0); in makeRegionFromBaleInfo()
195 Result.ElementBytes = DL.getTypeSizeInBits(Result.ElementTy) / genx::ByteBits; in makeRegionFromBaleInfo()
H A DGenXPromoteArray.cpp74 return ElementSizeInBits / genx::ByteBits; in getElementSizeInBytes()
556 auto AllocaSize = MaybeSize.getValue() / genx::ByteBits; in CheckIfAllocaPromotable()
614 genx::ByteBits; in selectAllocasToHandle()
996 genx::ByteBits)); in handleStoreInst()
H A DGenXVectorCombiner.cpp237 unsigned ElementSize = ElementSizeInBits / ByteBits; in checkRdRegions()
H A DGenXOCLRuntimeInfo.cpp220 return ArgTy->getPrimitiveSizeInBits() / genx::ByteBits; in getArgSizeInBytes()
H A DGenXCisaBuilder.cpp362 Result = getVisaTypeFromBytesNumber(VT->getNumElements() / genx::ByteBits, in llvmToVisaType()
1215 return DL.getTypeSizeInBits(Ty) / genx::ByteBits; in getInputSizeInBytes()
3409 DataSize = DL.getTypeSizeInBits(VT) / genx::ByteBits; in buildIntrinsic()
3411 DataSize = DL.getTypeSizeInBits(DataType) / genx::ByteBits; in buildIntrinsic()
3836 IntegerType::get(Ctx, TypeSize * genx::ByteBits), Elements)); in buildIntrinsic()
4690 unsigned Padding = DL.getTypeSizeInBits(AllocaEltTy) / genx::ByteBits; in buildAlloca()
4715 (DL.getLargestLegalIntTypeSizeInBits() / genx::ByteBits); in buildAlloca()
H A DGenXStructSplitter.cpp1294 uint64_t const SizeOfElm = DL.getTypeAllocSizeInBits(Elm) / genx::ByteBits; in processPTI()
H A DGenXLowering.cpp1863 static_assert(genx::ByteBits); in scaleInsertExtractElementIndex()
1864 unsigned ElementBytes = DL->getTypeSizeInBits(ElTy) / genx::ByteBits; in scaleInsertExtractElementIndex()
3979 unsigned NumBytes = VecWidth * (NumBits / ByteBits); in isSupported()
H A DGenXArgIndirection.cpp1143 if (MainInst->Inst->getType()->getPrimitiveSizeInBits() / genx::ByteBits > in checkIndirectBale()
H A DGenXPatternMatch.cpp3391 (InstTy->getScalarSizeInBits() == genx::ByteBits) && (Op0 || Op1); in canExtendMask()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/VectorCompiler/include/vc/Utils/GenX/
H A DTypeSize.h26 constexpr unsigned ByteBits = 8; variable
60 SzType inBytesCeil() const { return asIntegralCeil<ByteBits>(); } in inBytesCeil()
67 SzType inBytes() const { return asIntegralStrict<ByteBits>(); } in inBytes()
/dports/x11-toolkits/p5-Prima/Prima-1.63/unix/
H A Dapc_img.c17 #define ByteBits 8 macro
/dports/devel/llvm70/llvm-7.0.1.src/lib/Target/X86/
H A DX86ISelLowering.cpp6195 uint64_t ByteBits = EltBits[i].getZExtValue(); in getFauxShuffleMask() local
6196 if (ByteBits != 0 && ByteBits != 255) in getFauxShuffleMask()
6198 Mask.push_back(ByteBits == ZeroMask ? SM_SentinelZero : i); in getFauxShuffleMask()
/dports/devel/llvm80/llvm-8.0.1.src/lib/Target/X86/
H A DX86ISelLowering.cpp6518 uint64_t ByteBits = EltBits[i].getZExtValue(); in getFauxShuffleMask() local
6519 if (ByteBits != 0 && ByteBits != 255) in getFauxShuffleMask()
6521 Mask.push_back(ByteBits == ZeroMask ? SM_SentinelZero : i); in getFauxShuffleMask()
/dports/devel/llvm90/llvm-9.0.1.src/lib/Target/X86/
H A DX86ISelLowering.cpp6702 uint64_t ByteBits = EltBits[i].getZExtValue(); in getFauxShuffleMask() local
6703 if (ByteBits != 0 && ByteBits != 255) in getFauxShuffleMask()
6705 Mask.push_back(ByteBits == ZeroMask ? SM_SentinelZero : i); in getFauxShuffleMask()
/dports/devel/llvm10/llvm-10.0.1.src/lib/Target/X86/
H A DX86ISelLowering.cpp7165 const APInt &ByteBits = EltBits[i]; in getFauxShuffleMask() local
7166 if (ByteBits != 0 && ByteBits != 255) in getFauxShuffleMask()
7168 Mask.push_back(ByteBits == ZeroMask ? SM_SentinelZero : i); in getFauxShuffleMask()

12