Home
last modified time | relevance | path

Searched refs:getTypeStoreSize (Results 1 – 25 of 56) sorted by relevance

123

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DMemoryLocation.cpp42 LocationSize::precise(DL.getTypeStoreSize(LI->getType())), AATags); in get()
51 LocationSize::precise(DL.getTypeStoreSize( in get()
70 LocationSize::precise(DL.getTypeStoreSize( in get()
81 LocationSize::precise(DL.getTypeStoreSize( in get()
179 Arg, LocationSize::precise(DL.getTypeStoreSize(II->getType())), in getForArgument()
185 LocationSize::precise(DL.getTypeStoreSize( in getForArgument()
H A DLoads.cpp149 V, Align, APInt(DL.getIndexTypeSizeInBits(VTy), DL.getTypeStoreSize(Ty)), DL, in isDereferenceableAndAlignedPointer()
239 uint64_t LoadSize = DL.getTypeStoreSize(AddrTy->getElementType()); in isSafeToLoadUnconditionally()
303 LoadSize <= DL.getTypeStoreSize(AccessedTy)) in isSafeToLoadUnconditionally()
348 auto AccessSize = LocationSize::precise(DL.getTypeStoreSize(AccessTy)); in FindAvailablePtrLoadStore()
H A DAliasAnalysisEvaluator.cpp146 I1Size = LocationSize::precise(DL.getTypeStoreSize(I1ElTy)); in runInternal()
152 I2Size = LocationSize::precise(DL.getTypeStoreSize(I2ElTy)); in runInternal()
237 Size = LocationSize::precise(DL.getTypeStoreSize(ElTy)); in runInternal()
H A DLint.cpp288 visitMemoryReference(I, Actual, DL->getTypeStoreSize(Ty), in visitCallSite()
504 DL->getTypeStoreSize(I.getType()), I.getAlignment(), in visitLoadInst()
510 DL->getTypeStoreSize(I.getOperand(0)->getType()), in visitStoreInst()
H A DStackSafetyAnalysis.cpp297 getAccessRange(UI, Ptr, DL.getTypeStoreSize(I->getType()))); in analyzeAllUses()
311 UI, Ptr, DL.getTypeStoreSize(I->getOperand(0)->getType()))); in analyzeAllUses()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp56 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeStoreSize() function
57 return CharUnits::fromQuantity(CGM.getDataLayout().getTypeStoreSize(type)); in getTypeStoreSize()
196 addTypedData(type, begin, begin + getTypeStoreSize(CGM, type)); in addTypedData()
202 assert(getTypeStoreSize(CGM, type) == end - begin); in addTypedData()
213 auto componentSize = getTypeStoreSize(CGM, componentTy); in addTypedData()
244 assert(eltSize == getTypeStoreSize(CGM, eltTy)); in addLegalTypedData()
325 assert(eltSize == getTypeStoreSize(CGM, eltTy)); in addEntry()
389 CharUnits eltSize = getTypeStoreSize(CGM, eltTy); in splitVectorEntry()
648 auto size = (unsigned long long) getTypeStoreSize(CGM, type).getQuantity(); in getNaturalAlignment()
H A DConstantInitBuilder.cpp195 offset += CharUnits::fromQuantity(layout.getTypeStoreSize(type)); in addPlaceholderWithSize()
235 offset += CharUnits::fromQuantity(layout.getTypeStoreSize(elementType)); in getOffsetFromGlobalTo()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp77 if (DL.getTypeStoreSize(LI->getType()) < MaxAggrCopySize) in runOnFunction()
110 unsigned NumLoads = DL.getTypeStoreSize(LI->getType()); in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp242 unsigned LoadSize = DL.getTypeStoreSize(LoadTy); in analyzeLoadFromClobberingLoad()
373 unsigned SrcValStoreSize = DL.getTypeStoreSize(SrcVal->getType()); in getLoadValueForLoad()
374 unsigned LoadSize = DL.getTypeStoreSize(LoadTy); in getLoadValueForLoad()
417 unsigned SrcValStoreSize = DL.getTypeStoreSize(SrcVal->getType()); in getConstantLoadValueForLoad()
418 unsigned LoadSize = DL.getTypeStoreSize(LoadTy); in getConstantLoadValueForLoad()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDataLayout.h419 uint64_t getTypeStoreSize(Type *Ty) const { in getTypeStoreSize() function
428 return 8 * getTypeStoreSize(Ty); in getTypeStoreSizeInBits()
438 return alignTo(getTypeStoreSize(Ty), getABITypeAlignment(Ty)); in getTypeAllocSize()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp197 DL->getTypeStoreSize(ArgTy->getPointerElementType()) > MaxOutArgSizeBytes) { in isOutArgumentCandidate()
241 ReturnNumRegs = DL->getTypeStoreSize(RetTy) / 4; in runOnFunction()
297 unsigned ArgNumRegs = DL->getTypeStoreSize(ArgTy) / 4; in runOnFunction()
H A DAMDGPULowerKernelAttributes.cpp113 unsigned LoadSize = DL.getTypeStoreSize(Load->getType()); in processUse()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DSafeStack.cpp297 if (!IsAccessSafe(UI, DL.getTypeStoreSize(I->getType()), AllocaPtr, in IsSafeStackAlloca()
314 if (!IsAccessSafe(UI, DL.getTypeStoreSize(I->getOperand(0)->getType()), in IsSafeStackAlloca()
418 DL.getTypeStoreSize(Arg.getType()->getPointerElementType()); in findInsts()
511 uint64_t Size = DL.getTypeStoreSize(Ty); in moveStaticAllocasToUnsafeStack()
568 uint64_t Size = DL.getTypeStoreSize(Ty); in moveStaticAllocasToUnsafeStack()
H A DAtomicExpandPass.cpp137 return DL.getTypeStoreSize(LI->getType()); in getAtomicOpSize()
142 return DL.getTypeStoreSize(SI->getValueOperand()->getType()); in getAtomicOpSize()
147 return DL.getTypeStoreSize(RMWI->getValOperand()->getType()); in getAtomicOpSize()
152 return DL.getTypeStoreSize(CASI->getCompareOperand()->getType()); in getAtomicOpSize()
179 return DL.getTypeStoreSize(RMWI->getValOperand()->getType()); in getAtomicOpAlign()
185 return DL.getTypeStoreSize(CASI->getCompareOperand()->getType()); in getAtomicOpAlign()
625 unsigned ValueSize = DL.getTypeStoreSize(ValueType); in createMaskInstrs()
H A DLowerEmuTLS.cpp152 ConstantInt::get(WordType, DL.getTypeStoreSize(GVType)), in addEmuTlsVar()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp788 uint64_t Size = DL.getTypeStoreSize(LI.getType()); in visitLoadInst()
800 uint64_t Size = DL.getTypeStoreSize(ValOp->getType()); in visitStoreInst()
1963 uint64_t Size = DL.getTypeStoreSize(AllocaTy); in isIntegerWideningViableForSlice()
1979 if (DL.getTypeStoreSize(LI->getType()) > Size) in isIntegerWideningViableForSlice()
2004 if (DL.getTypeStoreSize(ValueTy) > Size) in isIntegerWideningViableForSlice()
2092 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) && in extractInteger()
2096 ShAmt = 8 * (DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset); in extractInteger()
2121 assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) && in insertInteger()
2125 ShAmt = 8 * (DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset); in insertInteger()
2618 if (SliceSize < DL.getTypeStoreSize(V->getType())) { in visitStoreInst()
[all …]
H A DMemCpyOptimizer.cpp258 int64_t StoreSize = DL.getTypeStoreSize(SI->getOperand(0)->getType()); in addStore()
670 uint64_t Size = DL.getTypeStoreSize(T); in processStore()
732 DL.getTypeStoreSize(SI->getOperand(0)->getType()), in processStore()
765 uint64_t Size = DL.getTypeStoreSize(T); in processStore()
H A DLoopIdiomRecognize.cpp460 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore()
598 unsigned FirstStoreSize = DL->getTypeStoreSize(SL[i]->getValueOperand()->getType()); in processLoopStores()
695 StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType()); in processLoopStores()
973 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processLoopStoreOfLoopLoad()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp213 ArgBytes += TD.getTypeStoreSize(ArgTy); in ffiInvoke()
225 ArgDataPtr += TD.getTypeStoreSize(ArgTy); in ffiInvoke()
235 ret.resize(TD.getTypeStoreSize(RetTy)); in ffiInvoke()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/
H A DIRInterpreter.cpp153 size_t type_size = m_target_data.getTypeStoreSize(type); in AssignToMatchType()
179 size_t value_size = m_target_data.getTypeStoreSize(value->getType()); in EvaluateValue()
212 size_t value_byte_size = m_target_data.getTypeStoreSize(value->getType()); in AssignValue()
345 size_t constant_size = m_target_data.getTypeStoreSize(constant->getType()); in ResolveConstant()
385 size_t length = m_target_data.getTypeStoreSize(type); in PrintData()
1359 size_t target_size = data_layout.getTypeStoreSize(target_ty); in Interpret()
1452 size_t target_size = data_layout.getTypeStoreSize(target_ty); in Interpret()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp328 DL.getTypeStoreSize(PtrATy) != DL.getTypeStoreSize(PtrBTy) || in isConsecutiveAccess()
329 DL.getTypeStoreSize(PtrATy->getScalarType()) != in isConsecutiveAccess()
330 DL.getTypeStoreSize(PtrBTy->getScalarType())) in isConsecutiveAccess()
334 APInt Size(PtrBitWidth, DL.getTypeStoreSize(PtrATy)); in isConsecutiveAccess()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp252 unsigned ElementSize = DL->getTypeStoreSize(AI.getAllocatedType()); in getOrCreateFrameIndex()
282 Alignment = DL.getTypeStoreSize(AI->getCompareOperand()->getType()); in getMemOpAlignment()
289 Alignment = DL.getTypeStoreSize(AI->getValOperand()->getType()); in getMemOpAlignment()
379 if (Ret && DL->getTypeStoreSize(Ret->getType()) == 0) in translateRet()
486 if (DL->getTypeStoreSize(LI.getType()) == 0) in translateLoad()
515 if (DL->getTypeStoreSize(SI.getValueOperand()->getType()) == 0) in translateStore()
1493 Flags, DL->getTypeStoreSize(ValType), in translateAtomicCmpXchg()
1557 Flags, DL->getTypeStoreSize(ResType), in translateAtomicRMW()
1769 if (DL->getTypeStoreSize(Arg.getType()) == 0) in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/lib/Target/
H A DTarget.cpp107 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); in LLVMStoreSizeOfType()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DValue.cpp604 DerefBytes = DL.getTypeStoreSize(PT); in getPointerDereferenceableBytes()
632 DerefBytes = DL.getTypeStoreSize(AI->getAllocatedType()); in getPointerDereferenceableBytes()
639 DerefBytes = DL.getTypeStoreSize(GV->getValueType()); in getPointerDereferenceableBytes()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp61 uint64_t NeededSize = DL.getTypeStoreSize(InstVal->getType()); in getBoundsCheckCond()

123