Home
last modified time | relevance | path

Searched refs:getSizeInBytes (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DStackMapParser.h122 unsigned getSizeInBytes() const { in getSizeInBytes() function
181 unsigned getSizeInBytes() const { in getSizeInBytes() function
282 unsigned getSizeInBytes() const { in getSizeInBytes() function
289 return RecordAccessor(P + getSizeInBytes()); in next()
320 RecordAccessor(&StackMapSection[CurrentRecordOffset]).getSizeInBytes(); in StackMapParser()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DStackMapPrinter.h67 OS << ", size: " << Loc.getSizeInBytes() << "\n"; in prettyPrintStackMap()
74 << LO.getSizeInBytes() << "-bytes) "; in prettyPrintStackMap()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineConstantPool.h46 virtual unsigned getSizeInBytes(const DataLayout &DL) const;
97 unsigned getSizeInBytes(const DataLayout &DL) const;
H A DMachineMemOperand.h236 return MemoryType.isValid() ? MemoryType.getSizeInBytes() : ~UINT64_C(0); in getSize()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp214 LS->getMMO().getMemoryType().getSizeInBytes()); in instMayAlias()
412 << NV("OrigWidth", SmallTy.getSizeInBytes()) in doSingleStoreMerge()
414 << NV("NewWidth", WideValueTy.getSizeInBytes()) << " bytes"; in doSingleStoreMerge()
526 if (StoreOffCst < ValueTy.getSizeInBytes()) in addStoreToCandidate()
549 if ((C.CurrentLowestOffset - ValueTy.getSizeInBytes()) != in addStoreToCandidate()
555 C.CurrentLowestOffset = C.CurrentLowestOffset - ValueTy.getSizeInBytes(); in addStoreToCandidate()
H A DLegalityPredicates.cpp187 return !isPowerOf2_32(Query.MMODescrs[MMOIdx].MemoryTy.getSizeInBytes()); in memSizeInBytesNotPow2()
194 return !MemTy.isByteSized() || !isPowerOf2_32(MemTy.getSizeInBytes()); in memSizeNotByteSizePow2()
H A DLegalizerHelper.cpp6599 unsigned EltBytes = EltTy.getSizeInBytes(); in lowerExtractInsertVectorElt()
7359 Ty = LLT::scalar(Ty.getSizeInBytes()); in findGISelOptimalMemOpLowering()
7367 unsigned TySize = Ty.getSizeInBytes(); in findGISelOptimalMemOpLowering()
7376 unsigned NewTySize = NewTy.getSizeInBytes(); in findGISelOptimalMemOpLowering()
7518 unsigned TySize = Ty.getSizeInBytes(); in lowerMemset()
7551 DstOff += Ty.getSizeInBytes(); in lowerMemset()
7673 if (CopyTy.getSizeInBytes() > Size) in lowerMemcpy()
7700 CurrOffset += CopyTy.getSizeInBytes(); in lowerMemcpy()
7701 Size -= CopyTy.getSizeInBytes(); in lowerMemcpy()
7790 CurrOffset += CopyTy.getSizeInBytes(); in lowerMemmove()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVTypes.h75 Optional<int64_t> getSizeInBytes();
95 Optional<int64_t> getSizeInBytes();
123 Optional<int64_t> getSizeInBytes();
153 Optional<int64_t> getSizeInBytes();
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVTypes.cpp77 Optional<int64_t> ArrayType::getSizeInBytes() { in getSizeInBytes() function in ArrayType
79 Optional<int64_t> size = elementType.getSizeInBytes(); in getSizeInBytes()
180 Optional<int64_t> CompositeType::getSizeInBytes() { in getSizeInBytes() function in CompositeType
182 return arrayType.getSizeInBytes(); in getSizeInBytes()
184 return structType.getSizeInBytes(); in getSizeInBytes()
187 vectorType.getElementType().cast<ScalarType>().getSizeInBytes(); in getSizeInBytes()
634 Optional<int64_t> ScalarType::getSizeInBytes() { in getSizeInBytes() function in ScalarType
705 Optional<int64_t> SPIRVType::getSizeInBytes() { in getSizeInBytes() function in SPIRVType
707 return scalarType.getSizeInBytes(); in getSizeInBytes()
709 return compositeType.getSizeInBytes(); in getSizeInBytes()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/
H A DUnifyAliasedResourcePass.cpp91 Optional<int64_t> numBytes = type.getSizeInBytes(); in deduceCanonicalResource()
358 int srcNumBits = *srcElemType.getSizeInBytes(); in matchAndRewrite()
359 int dstNumBits = *dstElemType.getSizeInBytes(); in matchAndRewrite()
381 int srcNumBits = *srcElemType.getSizeInBytes(); in matchAndRewrite()
382 int dstNumBits = *dstElemType.getSizeInBytes(); in matchAndRewrite()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DMemoryOpRemark.cpp147 static Optional<uint64_t> getSizeInBytes(Optional<uint64_t> SizeInBits) { in getSizeInBytes() function
324 Optional<uint64_t> DISize = getSizeInBytes(DILV->getSizeInBits()); in visitVariable()
344 TySize ? getSizeInBytes(TySize->getFixedSize()) : None; in visitVariable()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMOpsInterfaces.td49 /*methodName=*/"getSizeInBytes",
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp87 ? SL->getSizeInBytes() in splitGlobal()
/llvm-project-15.0.7/mlir/include/mlir/Conversion/LLVMCommon/
H A DPattern.h105 Value getSizeInBytes(Location loc, Type type,
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp142 if (Offset >= SL->getSizeInBytes()) in getPointerAtOffset()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineFunction.cpp1383 unsigned MachineConstantPoolValue::getSizeInBytes(const DataLayout &DL) const { in getSizeInBytes() function in MachineConstantPoolValue
1387 unsigned MachineConstantPoolEntry::getSizeInBytes(const DataLayout &DL) const { in getSizeInBytes() function in MachineConstantPoolEntry
1389 return Val.MachineCPVal->getSizeInBytes(DL); in getSizeInBytes()
1403 switch (getSizeInBytes(*DL)) { in getSectionKind()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/OpenACC/
H A DOpenACCToLLVMIRTranslation.cpp111 static llvm::Value *getSizeInBytes(llvm::IRBuilderBase &builder, in getSizeInBytes() function
156 dataSize = getSizeInBytes(builder, dataValue); in processOperands()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h162 TypeSize getSizeInBytes() const { in getSizeInBytes() function
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDataLayout.h629 uint64_t getSizeInBytes() const { return StructSize; } in getSizeInBytes() function
/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DPattern.cpp171 Value ConvertToLLVMPattern::getSizeInBytes( in getSizeInBytes() function in ConvertToLLVMPattern
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCExpr.h174 unsigned getSizeInBytes() const { in getSizeInBytes() function
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp356 DL.getStructLayout(cast<StructType>(CS->getType()))->getSizeInBytes(); in getConstantFieldValue()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDataLayout.cpp948 if (IntOffset >= SL->getSizeInBytes()) in getGEPIndexForOffset()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCExpr.cpp48 auto SizeInBytes = cast<MCConstantExpr>(*this).getSizeInBytes(); in print()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/
H A DGPUToLLVMConversion.cpp434 auto elementSize = getSizeInBytes(loc, elementType, rewriter); in matchAndRewrite()

12