/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/VectorCompiler/lib/GenXCodeGen/ |
H A D | GenX.h | 127 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 D | GenXPrologEpilogInsertion.cpp | 250 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 D | GenXInstCombineCleanup.cpp | 74 if (isPowerOf2_32(Size) && !(genx::BoolBits < Size && Size < genx::ByteBits)) in typeMustBeChanged() 105 CondSize < genx::ByteBits ? genx::ByteBits : NextPowerOf2(CondSize); in runOnFunction()
|
H A D | ConstantEncoder.h | 88 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 D | GenXVisa.cpp | 43 genx::ByteBits, in isLegal() 46 DL.getTypeSizeInBits(Ty.getElementType()) / genx::ByteBits, in isLegal()
|
H A D | GenXLoadStoreLowering.cpp | 206 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 D | GenXThreadPrivateMemory.cpp | 225 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 D | GenXConstants.cpp | 1148 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 D | GenXLowerAggrCopies.cpp | 107 genx::ByteBits, in memSetCanBeCoalesced()
|
H A D | GenXStackUsage.cpp | 136 genx::ByteBits); in visitAllocaInst()
|
H A D | GenXRegionUtils.cpp | 193 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 D | GenXPromoteArray.cpp | 74 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 D | GenXVectorCombiner.cpp | 237 unsigned ElementSize = ElementSizeInBits / ByteBits; in checkRdRegions()
|
H A D | GenXOCLRuntimeInfo.cpp | 220 return ArgTy->getPrimitiveSizeInBits() / genx::ByteBits; in getArgSizeInBytes()
|
H A D | GenXCisaBuilder.cpp | 362 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 D | GenXStructSplitter.cpp | 1294 uint64_t const SizeOfElm = DL.getTypeAllocSizeInBits(Elm) / genx::ByteBits; in processPTI()
|
H A D | GenXLowering.cpp | 1863 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 D | GenXArgIndirection.cpp | 1143 if (MainInst->Inst->getType()->getPrimitiveSizeInBits() / genx::ByteBits > in checkIndirectBale()
|
H A D | GenXPatternMatch.cpp | 3391 (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 D | TypeSize.h | 26 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 D | apc_img.c | 17 #define ByteBits 8 macro
|
/dports/devel/llvm70/llvm-7.0.1.src/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 6195 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 D | X86ISelLowering.cpp | 6518 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 D | X86ISelLowering.cpp | 6702 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 D | X86ISelLowering.cpp | 7165 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()
|