Lines Matching defs:ObjectSize
523 Value *llvm::lowerObjectSizeCall(IntrinsicInst *ObjectSize,
527 assert(ObjectSize->getIntrinsicID() == Intrinsic::objectsize &&
528 "ObjectSize must be a call to llvm.objectsize!");
530 bool MaxVal = cast<ConstantInt>(ObjectSize->getArgOperand(1))->isZero();
541 cast<ConstantInt>(ObjectSize->getArgOperand(2))->isOne();
543 auto *ResultType = cast<IntegerType>(ObjectSize->getType());
544 bool StaticOnly = cast<ConstantInt>(ObjectSize->getArgOperand(3))->isZero();
549 if (getObjectSize(ObjectSize->getArgOperand(0), Size, DL, TLI, EvalOptions) &&
553 LLVMContext &Ctx = ObjectSize->getFunction()->getContext();
556 Eval.compute(ObjectSize->getArgOperand(0));
560 Builder.SetInsertPoint(ObjectSize);