Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Dutcache.c178 UINT16 ObjectSize, in AcpiOsCreateCache() argument
188 if (!CacheName || !ReturnCache || !ObjectSize) in AcpiOsCreateCache()
205 Cache->ObjectSize = ObjectSize; in AcpiOsCreateCache()
353 memset (Object, 0xCA, Cache->ObjectSize); in AcpiOsReleaseObject()
430 memset (Object, 0, Cache->ObjectSize); in AcpiOsAcquireObject()
453 Object = ACPI_ALLOCATE_ZEROED (Cache->ObjectSize); in AcpiOsAcquireObject()
H A Duttrack.c212 UINT16 ObjectSize, in AcpiUtCreateList() argument
225 Cache->ObjectSize = ObjectSize; in AcpiUtCreateList()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmWriter.cpp49 size_t ObjectSize = sizeof(WasmMagic) + sizeof(WasmVersion); in finalize() local
55 ObjectSize += SectionSize; in finalize()
57 return ObjectSize; in finalize()
/freebsd/sys/contrib/dev/acpica/components/debugger/
H A Ddbstats.c243 (List->CurrentDepth * List->ObjectSize)); in AcpiDbListInfo()
255 List->ObjectSize); in AcpiDbListInfo()
260 if (List->ObjectSize) in AcpiDbListInfo()
268 Outstanding * List->ObjectSize, in AcpiDbListInfo()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp603 Value *llvm::lowerObjectSizeCall(IntrinsicInst *ObjectSize, in lowerObjectSizeCall() argument
607 return lowerObjectSizeCall(ObjectSize, DL, TLI, /*AAResults=*/nullptr, in lowerObjectSizeCall()
612 IntrinsicInst *ObjectSize, const DataLayout &DL, in lowerObjectSizeCall() argument
615 assert(ObjectSize->getIntrinsicID() == Intrinsic::objectsize && in lowerObjectSizeCall()
618 bool MaxVal = cast<ConstantInt>(ObjectSize->getArgOperand(1))->isZero(); in lowerObjectSizeCall()
631 cast<ConstantInt>(ObjectSize->getArgOperand(2))->isOne(); in lowerObjectSizeCall()
633 auto *ResultType = cast<IntegerType>(ObjectSize->getType()); in lowerObjectSizeCall()
634 bool StaticOnly = cast<ConstantInt>(ObjectSize->getArgOperand(3))->isZero(); in lowerObjectSizeCall()
639 if (getObjectSize(ObjectSize->getArgOperand(0), Size, DL, TLI, EvalOptions) && in lowerObjectSizeCall()
643 LLVMContext &Ctx = ObjectSize->getFunction()->getContext(); in lowerObjectSizeCall()
[all …]
H A DBasicAliasAnalysis.cpp156 std::optional<TypeSize> ObjectSize = getObjectSize(V, DL, TLI, NullIsValidLoc, in isObjectSmallerThan() local
159 return ObjectSize && TypeSize::isKnownLT(*ObjectSize, Size); in isObjectSmallerThan()
187 std::optional<TypeSize> ObjectSize = in isObjectSize() local
189 return ObjectSize && *ObjectSize == Size; in isObjectSize()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h94 uint64_t ObjectSize = 0; member
155 uint64_t minAfterBytes() const { return TM->Bits->ObjectSize - TM->Offset; } in minAfterBytes()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp76 uint64_t ObjectSize = 0; // Size of Object in bytes. member
97 SortingObjects[Obj].ObjectSize = MFI.getObjectSize(Obj); in orderFrameObjects()
132 if (!A.ObjectSize || !B.ObjectSize) in orderFrameObjects()
133 return A.ObjectSize > 0; in orderFrameObjects()
134 uint64_t ADensityCmp = A.D12Count * B.ObjectSize; in orderFrameObjects()
135 uint64_t BDensityCmp = B.D12Count * A.ObjectSize; in orderFrameObjects()
138 return A.DPairCount * B.ObjectSize < B.DPairCount * A.ObjectSize; in orderFrameObjects()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h183 Value *lowerObjectSizeCall(IntrinsicInst *ObjectSize, const DataLayout &DL,
186 IntrinsicInst *ObjectSize, const DataLayout &DL,
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizers.def102 SANITIZER("object-size", ObjectSize)
147 IntegerDivideByZero | NonnullAttribute | Null | ObjectSize |
H A DBuiltins.td975 def ObjectSize : Builtin {
/freebsd/sys/contrib/dev/acpica/include/
H A Dacpiosxf.h387 UINT16 ObjectSize,
H A Dacutils.h1190 UINT16 ObjectSize,
H A Dactypes.h1497 UINT16 ObjectSize; member
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp1380 uint64_t ObjectSize; in swapGEPOperand() local
1381 if (!getObjectSize(NewBase, ObjectSize, DAL, TLI) || in swapGEPOperand()
1382 Offset.ugt(ObjectSize)) { in swapGEPOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp1092 int64_t ObjectSize = MFI.getObjectSize(FI); in assignRVVStackObjectOffsets() local
1096 if (ObjectSize < 8) in assignRVVStackObjectOffsets()
1097 ObjectSize = 8; in assignRVVStackObjectOffsets()
1098 Offset = alignTo(Offset + ObjectSize, ObjectAlign); in assignRVVStackObjectOffsets()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp3987 unsigned ObjectSize = 0; // Size of Object in bytes. member
4029 static_cast<uint64_t>(B.ObjectSize); in operator ()()
4031 static_cast<uint64_t>(A.ObjectSize); in operator ()()
4075 int ObjectSize = MFI.getObjectSize(Obj); in orderFrameObjects() local
4076 if (ObjectSize == 0) in orderFrameObjects()
4078 SortingObjects[Obj].ObjectSize = 4; in orderFrameObjects()
4080 SortingObjects[Obj].ObjectSize = ObjectSize; in orderFrameObjects()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp1573 Function *ObjectSize = Intrinsic::getDeclaration( in tryPromoteAllocaToLDS() local
1579 ObjectSize, in tryPromoteAllocaToLDS()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DSanitizerArgs.cpp357 AllRemove |= SanitizerKind::ObjectSize; in SanitizerArgs()
361 if ((Add & SanitizerKind::ObjectSize) && DiagnoseErrors) in SanitizerArgs()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp679 SanOpts.has(SanitizerKind::ObjectSize) || in sanitizePerformTypeCheck()
741 if (SanOpts.has(SanitizerKind::ObjectSize) && in EmitTypeCheck()
742 !SkippedChecks.has(SanitizerKind::ObjectSize) && in EmitTypeCheck()
763 Checks.push_back(std::make_pair(LargeEnough, SanitizerKind::ObjectSize)); in EmitTypeCheck()
H A DCodeGenFunction.cpp1283 SkippedChecks.set(SanitizerKind::ObjectSize, true); in StartFunction()
H A DCGBuiltin.cpp826 uint64_t ObjectSize; in evaluateOrEmitBuiltinObjectSize() local
827 if (!E->tryEvaluateObjectSize(ObjectSize, getContext(), Type)) in evaluateOrEmitBuiltinObjectSize()
829 return ConstantInt::get(ResType, ObjectSize, /*isSigned=*/true); in evaluateOrEmitBuiltinObjectSize()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1037 Bits.back().ObjectSize = in buildTypeIdentifierMap()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp270 LocationSize ObjectSize = isObjectScalable in getStackAlignedMMO() local
274 ObjectSize, MFI.getObjectAlign(FI)); in getStackAlignedMMO()
H A DSelectionDAGBuilder.cpp7541 const int64_t ObjectSize = in visitIntrinsicCall() local
7565 Res = DAG.getLifetimeNode(IsStart, sdl, getRoot(), FrameIndex, ObjectSize, in visitIntrinsicCall()