Home
last modified time | relevance | path

Searched refs:ObjectSize (Results 1 - 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
H A DStreamingMemoryObject.cpp73 if (ObjectSize && address < ObjectSize) in isValidAddress()
79 if (ObjectSize) in getExtent()
80 return ObjectSize; in getExtent()
85 return ObjectSize; in getExtent()
91 // Note: For wrapped bitcode files will set ObjectSize after the in readBytes()
92 // first call to fetchToPos. In such cases, ObjectSize can be in readBytes()
95 (ObjectSize && ObjectSize < BytesRead) ? ObjectSize in readBytes()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DStreamingMemoryObject.h53 mutable size_t ObjectSize; // 0 if unknown, set if wrapper seen or EOF reached member in llvm::StreamingMemoryObject
71 if (ObjectSize == 0) in fetchToPos()
72 ObjectSize = BytesRead; in fetchToPos()
76 return !ObjectSize || Pos < ObjectSize; in fetchToPos()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Support/
H A DStreamingMemoryObject.h53 mutable size_t ObjectSize; // 0 if unknown, set if wrapper seen or EOF reached member in llvm::StreamingMemoryObject
71 if (ObjectSize == 0) in fetchToPos()
72 ObjectSize = BytesRead; in fetchToPos()
76 return !ObjectSize || Pos < ObjectSize; in fetchToPos()
/third_party/node/deps/v8/src/heap/cppgc/
H A Dheap-object-header.cc29 ? LargePage::From(BasePage::FromPayload(this))->ObjectSize() in Finalize()
30 : ObjectSize(); in Finalize()
H A Dobject-view.h55 return is_large_object_ ? LargePage::From(base_page_)->ObjectSize() in Size()
56 : header_.ObjectSize<access_mode>(); in Size()
H A Dexplicit-management.cc46 object_size = LargePage::From(base_page)->ObjectSize(); in FreeUnreferencedObject()
53 object_size = header.ObjectSize(); in FreeUnreferencedObject()
H A Dheap-base.cc39 static size_t ObjectSize(const HeapObjectHeader& header) { in ObjectSize() function in cppgc::internal::__anon14602::ObjectSizeCounter
45 accumulated_size_ += ObjectSize(header); in VisitHeapObjectHeader()
H A Dobject-size-trait.cc30 return header.ObjectSize<AccessMode::kAtomic>(); in GetObjectSizeForGarbageCollectedMixin()
H A Dheap-object-header.h82 inline size_t ObjectSize() const;
245 size_t HeapObjectHeader::ObjectSize() const { in ObjectSize() function in cppgc::internal::HeapObjectHeader
H A Dheap-page.h240 size_t ObjectSize() const { in ObjectSize() function in cppgc::internal::final
245 size_t AllocatedBytesAtLastGC() const { return ObjectSize(); } in AllocatedBytesAtLastGC()
H A Dcompactor.cc149 const size_t size = header.ObjectSize(); in Relocate()
368 ASAN_UNPOISON_MEMORY_REGION(header->ObjectStart(), header->ObjectSize()); in CompactPage()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp502 Value *llvm::lowerObjectSizeCall(IntrinsicInst *ObjectSize, in lowerObjectSizeCall() argument
506 assert(ObjectSize->getIntrinsicID() == Intrinsic::objectsize && in lowerObjectSizeCall()
507 "ObjectSize must be a call to llvm.objectsize!"); in lowerObjectSizeCall()
509 bool MaxVal = cast<ConstantInt>(ObjectSize->getArgOperand(1))->isZero(); in lowerObjectSizeCall()
520 cast<ConstantInt>(ObjectSize->getArgOperand(2))->isOne(); in lowerObjectSizeCall()
522 auto *ResultType = cast<IntegerType>(ObjectSize->getType()); in lowerObjectSizeCall()
523 bool StaticOnly = cast<ConstantInt>(ObjectSize->getArgOperand(3))->isZero(); in lowerObjectSizeCall()
528 if (getObjectSize(ObjectSize->getArgOperand(0), Size, DL, TLI, EvalOptions) && in lowerObjectSizeCall()
532 LLVMContext &Ctx = ObjectSize->getFunction()->getContext(); in lowerObjectSizeCall()
535 Eval.compute(ObjectSize in lowerObjectSizeCall()
[all...]
H A DBasicAliasAnalysis.cpp231 uint64_t ObjectSize = getObjectSize(V, DL, TLI, NullIsValidLoc, in isObjectSmallerThan()
234 return ObjectSize != MemoryLocation::UnknownSize && ObjectSize < Size; in isObjectSmallerThan()
260 uint64_t ObjectSize = getObjectSize(V, DL, TLI, NullIsValidLoc); in isObjectSize() local
261 return ObjectSize != MemoryLocation::UnknownSize && ObjectSize == Size; in isObjectSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h93 uint64_t ObjectSize = 0; member
154 uint64_t minAfterBytes() const { return TM->Bits->ObjectSize - TM->Offset; } in minAfterBytes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp1306 uint64_t ObjectSize; in swapGEPOperand() local
1307 if (!getObjectSize(NewBase, ObjectSize, DAL, TLI) || in swapGEPOperand()
1308 Offset.ugt(ObjectSize)) { in swapGEPOperand()
H A DDeadStoreElimination.cpp395 uint64_t ObjectSize = getPointerSize(UO2, DL, TLI, F); in isOverwrite()
396 if (ObjectSize != MemoryLocation::UnknownSize) in isOverwrite()
397 if (ObjectSize == LaterSize && ObjectSize >= EarlierSize) in isOverwrite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp3016 unsigned ObjectSize = 0; // Size of Object in bytes.
3048 // (double)DensityA = A.ObjectNumUses / A.ObjectSize
3049 // (double)DensityB = B.ObjectNumUses / B.ObjectSize
3054 // A.ObjectSize * B.ObjectSize. This ends up factoring away
3058 static_cast<uint64_t>(B.ObjectSize);
3060 static_cast<uint64_t>(A.ObjectSize);
3104 int ObjectSize = MFI.getObjectSize(Obj);
3105 if (ObjectSize == 0)
3107 SortingObjects[Obj].ObjectSize
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h216 Value *lowerObjectSizeCall(IntrinsicInst *ObjectSize, const DataLayout &DL,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp921 Function *ObjectSize = Intrinsic::getDeclaration(Mod, in handleAlloca() local
927 ObjectSize, in handleAlloca()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp796 Bits.back().ObjectSize = in buildTypeIdentifierMap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp6686 const int64_t ObjectSize = in visitIntrinsicCall() local
6711 Res = DAG.getLifetimeNode(IsStart, sdl, getRoot(), FrameIndex, ObjectSize, in visitIntrinsicCall()

Completed in 39 milliseconds