Lines Matching refs:ObjectSize
603 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()
645 SizeOffsetValue SizeOffsetPair = Eval.compute(ObjectSize->getArgOperand(0)); in lowerObjectSizeCall()
653 Builder.SetInsertPoint(ObjectSize); in lowerObjectSizeCall()