Home
last modified time | relevance | path

Searched refs:SizeOffsetAPInt (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h217 struct SizeOffsetAPInt : public SizeOffsetType<APInt, SizeOffsetAPInt> { struct
218 SizeOffsetAPInt() = default;
219 SizeOffsetAPInt(APInt Size, APInt Offset) in SizeOffsetAPInt() function
228 : public InstVisitor<ObjectSizeOffsetVisitor, SizeOffsetAPInt> { argument
234 SmallDenseMap<Instruction *, SizeOffsetAPInt, 8> SeenInsts;
239 static SizeOffsetAPInt unknown() { return SizeOffsetAPInt(); } in unknown()
245 SizeOffsetAPInt compute(Value *V);
249 SizeOffsetAPInt visitAllocaInst(AllocaInst &I);
250 SizeOffsetAPInt visitArgument(Argument &A);
251 SizeOffsetAPInt visitCallBase(CallBase &CB);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp580 static APInt getSizeWithOverflow(const SizeOffsetAPInt &Data) { in getSizeWithOverflow()
595 SizeOffsetAPInt Data = Visitor.compute(const_cast<Value *>(Ptr)); in getObjectSize()
701 SizeOffsetAPInt ObjectSizeOffsetVisitor::compute(Value *V) { in compute()
706 SizeOffsetAPInt ObjectSizeOffsetVisitor::computeImpl(Value *V) { in computeImpl()
723 SizeOffsetAPInt SOT = computeValue(V); in computeImpl()
744 SizeOffsetAPInt ObjectSizeOffsetVisitor::computeValue(Value *V) { in computeValue()
754 SizeOffsetAPInt Res = visit(*I); in computeValue()
780 SizeOffsetAPInt ObjectSizeOffsetVisitor::visitAllocaInst(AllocaInst &I) { in visitAllocaInst()
786 return SizeOffsetAPInt(align(Size, I.getAlign()), Zero); in visitAllocaInst()
797 : SizeOffsetAPInt(align(Size, I.getAlign()), Zero); in visitAllocaInst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp3768 SizeOffsetAPInt SizeOffset = ObjSizeVis.compute(Addr); in isSafeAccess()