|
LLVM 24.0.0git
|
Instruction executor using the visitor pattern. More...
Additional Inherited Members | |
| Protected Member Functions inherited from llvm::ubi::ExecutorBase | |
| ExecutorBase (Context &C, EventHandler &H) | |
| ~ExecutorBase ()=default | |
| Protected Attributes inherited from llvm::ubi::ExecutorBase | |
| Context & | Ctx |
| EventHandler & | Handler |
| Frame * | CurrentFrame = nullptr |
| std::optional< ProgramExitInfo > | ExitInfo |
Instruction executor using the visitor pattern.
Unlike the Context class that manages the global state, InstExecutor only maintains the state for call frames.
Definition at line 130 of file Interpreter.cpp.
|
inline |
Definition at line 1072 of file Interpreter.cpp.
References C(), llvm::ubi::ExecutorBase::Ctx, llvm::ubi::ExecutorBase::ExecutorBase(), F, H, and llvm::ubi::ExecutorBase::Handler.
Definition at line 1427 of file Interpreter.cpp.
References llvm::abs(), llvm::APInt::abs(), llvm::ubi::Pointer::address(), llvm::ubi::Alive, llvm::ubi::applyRangeAttr(), llvm::ubi::AnyValue::asFloat(), llvm::ubi::AnyValue::asInteger(), llvm::ubi::AnyValue::asPointer(), assert(), llvm::sampleprof::Base, llvm::BitWidth, llvm::ubi::AnyValue::boolean(), llvm::APInt::byteSwap(), callVectorReduction(), llvm::cast(), llvm::APIntOps::clmul(), computeSelect(), Cond, llvm::APFloat::convertToInteger(), llvm::APFloat::copySign(), llvm::APInt::countl_zero(), llvm::APInt::countr_zero(), countTrailingZeroElements(), llvm::ubi::ExecutorBase::Ctx, llvm::Data, llvm::ubi::Dead, E(), llvm::ubi::ExecutorBase::executeMemSet(), llvm::ubi::ExecutorBase::executeMemTransfer(), llvm::ubi::False, llvm::fill(), llvm::APFloat::fusedMultiplyAdd(), llvm::APInt::getActiveBits(), llvm::APInt::getAllOnes(), llvm::CallBase::getArgOperand(), llvm::APInt::getBitWidth(), llvm::getBundleAttrFromOBU(), llvm::getDeinterleaveIntrinsicFactor(), llvm::Instruction::getFastMathFlagsOrNone(), llvm::getInterleaveIntrinsicFactor(), llvm::CallBase::getIntrinsicID(), llvm::APInt::getLimitedValue(), llvm::CallBase::getNumOperandBundles(), llvm::CallBase::getOperandBundleAt(), llvm::Type::getPointerAddressSpace(), llvm::ubi::AnyValue::getPoisonValue(), llvm::Type::getScalarSizeInBits(), llvm::Type::getScalarType(), llvm::Value::getType(), llvm::APInt::getZero(), llvm::APInt::getZExtValue(), llvm::ubi::ExecutorBase::Handler, llvm::ubi::ExecutorBase::hasProgramExited(), I, llvm::OperandBundleUse::Inputs, llvm::APInt::isIntN(), llvm::isIntN(), llvm::APInt::isMinSignedValue(), llvm::ubi::Pointer::isNullPtr(), llvm::Type::isPointerTy(), llvm::ubi::AnyValue::isPoison(), llvm::APInt::isZero(), LHS, llvm_unreachable, llvm::Lower, llvm::APInt::lshr(), llvm::APIntOps::mulhs(), llvm::APIntOps::mulhu(), N, llvm::NearestTiesToEven, llvm::FastMathFlags::noSignedZeros(), llvm::Off, llvm::Offset, llvm::APIntOps::pdep(), llvm::APIntOps::pext(), llvm::ubi::Poison, llvm::ubi::AnyValue::poison(), llvm::ubi::Byte::poison(), llvm::APInt::popcount(), Range, llvm::ubi::ExecutorBase::reportImmediateUB(), llvm::APInt::reverseBits(), RHS, llvm::APFloatBase::rmTowardZero, llvm::APIntOps::RoundingUDiv(), llvm::ubi::ExecutorBase::setFailed(), llvm::FastMathFlags::setNoSignedZeros(), llvm::APInt::shl(), llvm::APIntOps::smax(), llvm::APIntOps::smin(), llvm::ubi::True, llvm::APInt::ugt(), uint64_t, llvm::APIntOps::umax(), llvm::APIntOps::umin(), llvm::ubi::Byte::undef(), llvm::APInt::UP, llvm::Upper, llvm::APInt::urem(), V, llvm::ubi::violatesDereferenceableBytesAttr(), llvm::ubi::violatesNoUndefAttr(), and llvm::APInt::zextOrTrunc().
Referenced by enterCall().
|
inline |
Definition at line 2287 of file Interpreter.cpp.
References llvm::ubi::ExecutorBase::CurrentFrame, llvm::ubi::ExecutorBase::ExitInfo, llvm::CallBase::getFunctionType(), llvm::Value::getName(), llvm::ubi::ExecutorBase::Handler, llvm::CallBase::isNoBuiltin(), and llvm::ubi::ExecutorBase::setFailed().
Referenced by enterCall().
|
inline |
Definition at line 1244 of file Interpreter.cpp.
References llvm::any_of(), llvm::ubi::AnyValue::asFloat(), assert(), llvm::SmallVectorTemplateCommon< T, typename >::back(), llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::ubi::ExecutorBase::Ctx, llvm::SmallVectorTemplateCommon< T, typename >::empty(), llvm::SmallVectorImpl< T >::erase(), llvm::SmallVectorTemplateCommon< T, typename >::front(), llvm::ubi::AnyValue::isPoison(), LHS, llvm_unreachable, llvm::FastMathFlags::noSignedZeros(), llvm::ubi::AnyValue::poison(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::SmallVectorImpl< T >::reserve(), RHS, llvm::FastMathFlags::setNoSignedZeros(), llvm::size(), llvm::SmallVectorTemplateCommon< T, typename >::size(), llvm::APIntOps::smax(), llvm::APIntOps::smin(), std::swap(), llvm::transform(), llvm::APIntOps::umax(), llvm::APIntOps::umin(), V, and llvm::Vector.
Referenced by callIntrinsic().
|
inline |
Definition at line 1202 of file Interpreter.cpp.
References llvm::APInt::isAllOnes(), llvm::APInt::isMinSignedValue(), llvm::APInt::isZero(), LHS, llvm::ubi::AnyValue::poison(), llvm::ubi::ExecutorBase::reportImmediateUB(), RHS, llvm::APInt::sdivrem(), and llvm::APInt::udivrem().
Referenced by visitSDiv(), visitSRem(), visitUDiv(), and visitURem().
|
inline |
Computes select CondVal, TVVal, FVVal of type Ty with fast-math flags FMF.
CondVal is either an i1 or a vector of i1.
Definition at line 2945 of file Interpreter.cpp.
References llvm::FastMathFlags::any(), llvm::ubi::AnyValue::asAggregate(), llvm::ubi::AnyValue::asBoolean(), Cond, llvm::ubi::ExecutorBase::Ctx, llvm::ubi::False, llvm::ubi::AnyValue::getPoisonValue(), I, llvm::ubi::AnyValue::isAggregate(), llvm::ubi::Poison, and llvm::ubi::True.
Referenced by callIntrinsic(), and visitSelect().
|
inline |
Definition at line 1413 of file Interpreter.cpp.
References llvm::Type::getIntegerBitWidth(), I, llvm::isUIntN(), isZero(), llvm::Length, llvm::ubi::AnyValue::poison(), llvm::ArrayRef< T >::size(), llvm::ArrayRef< T >::take_front(), and V.
Referenced by callIntrinsic().
|
inline |
Definition at line 2451 of file Interpreter.cpp.
References llvm::CallBase::args(), llvm::ubi::AnyValue::asPointer(), assert(), callIntrinsic(), callLibFunc(), llvm::copy(), llvm::ubi::ExecutorBase::Ctx, llvm::ubi::ExecutorBase::CurrentFrame, llvm::enumerate(), llvm::AttributeSet::getAlignment(), llvm::AttributeSet::getByValType(), llvm::CallBase::getCalledFunction(), llvm::CallBase::getCalledOperand(), llvm::CallBase::getCallingConv(), llvm::CallBase::getFunctionType(), llvm::CallBase::getParamAttributes(), llvm::Type::getPointerAddressSpace(), llvm::Value::getType(), handleAttributes(), llvm::ubi::ExecutorBase::Handler, llvm::ubi::ExecutorBase::hasProgramExited(), I, llvm::isa(), llvm::Type::isPointerTy(), llvm::ubi::AnyValue::isPoison(), llvm::CallBase::isTailCall(), llvm::Offset, llvm::ubi::Pending, llvm::ubi::ExecutorBase::reportError(), llvm::ubi::ExecutorBase::reportImmediateUB(), returnFromCallee(), llvm::ubi::ExecutorBase::setFailed(), setFrameStackInaccessible(), llvm::Size, llvm::ubi::Stack, uint64_t, llvm::ubi::Uninitialized, llvm::MaybeAlign::valueOrOne(), llvm::ubi::ExecutorBase::verifyMemAccess(), and llvm::zip_equal().
Referenced by visitCallInst(), and visitInvokeInst().
|
inline |
Handle both poison-generating and UB-implying attributes for parameters and return values.
Definition at line 2311 of file Interpreter.cpp.
References llvm::ubi::applyAlignAttr(), llvm::ubi::applyNoFPClassAttr(), llvm::ubi::applyNonNullAttr(), llvm::ubi::applyRangeAttr(), llvm::ubi::ExecutorBase::Ctx, llvm::AttributeSet::getAlignment(), llvm::AttributeSet::getAttribute(), llvm::AttributeSet::getDereferenceableBytes(), llvm::AttributeSet::getDereferenceableOrNullBytes(), llvm::AttributeSet::hasAttribute(), llvm::Attribute::isValid(), llvm::ubi::ExecutorBase::reportImmediateUB(), uint64_t, V, llvm::ubi::violatesDereferenceableBytesAttr(), and llvm::ubi::violatesNoUndefAttr().
Referenced by enterCall(), and returnFromCallee().
|
inline |
Handle both poison-generating and UB-implying metadata on instructions.
Definition at line 2372 of file Interpreter.cpp.
References llvm::ubi::applyAlignAttr(), llvm::ubi::applyNoFPClassAttr(), llvm::ubi::applyNonNullAttr(), llvm::ubi::ExecutorBase::Ctx, llvm::SmallVectorImpl< T >::emplace_back(), llvm::mdconst::extract(), llvm::ubi::forEachScalarValue(), I, llvm::ubi::AnyValue::poison(), llvm::ubi::ExecutorBase::reportImmediateUB(), uint64_t, V, llvm::ubi::violatesDereferenceableBytesAttr(), and llvm::ubi::violatesNoUndefAttr().
Referenced by returnFromCallee(), and visitLoadInst().
|
inline |
Definition at line 1153 of file Interpreter.cpp.
References llvm::FastMathFlags::any(), llvm::cast(), llvm::ubi::ExecutorBase::Ctx, llvm::ubi::ExecutorBase::CurrentFrame, llvm::CallBase::doesNotReturn(), llvm::dyn_cast(), llvm::CallBase::getRetAttributes(), llvm::Value::getType(), handleAttributes(), handleMetadata(), llvm::ubi::ExecutorBase::hasProgramExited(), II, llvm::Type::isVoidTy(), llvm::ubi::Pending, llvm::ubi::ExecutorBase::reportImmediateUB(), and setFrameStackInaccessible().
Referenced by enterCall(), and runMainLoop().
|
inline |
This function implements the main interpreter loop.
It handles function calls in a non-recursive manner to avoid stack overflows.
Definition at line 3224 of file Interpreter.cpp.
References llvm::ubi::Frame::Allocas, llvm::ubi::Frame::Args, assert(), llvm::ubi::Frame::CallSite, llvm::ubi::ExecutorBase::Ctx, llvm::ubi::ExecutorBase::CurrentFrame, llvm::ubi::Entry, llvm::ubi::Exit, llvm::ubi::Frame::Func, llvm::ubi::ExecutorBase::getExitInfo(), llvm::Function::getReturnType(), llvm::ubi::ExecutorBase::Handler, llvm::ubi::ExecutorBase::hasProgramExited(), I, llvm::ubi::AnyValue::isNone(), llvm::Type::isVoidTy(), llvm::ubi::Frame::PC, llvm::ubi::Pending, llvm::ubi::ExecutorBase::reportError(), llvm::ubi::ExecutorBase::requestProgramExit(), llvm::ubi::ProgramExitInfo::Returned, returnFromCallee(), llvm::ubi::Frame::RetVal, llvm::ubi::Running, llvm::ubi::Frame::State, and llvm::InstVisitor< InstExecutor, void >::visit().
Referenced by llvm::ubi::Context::runFunction().
Definition at line 2436 of file Interpreter.cpp.
Referenced by enterCall(), and returnFromCallee().
|
inline |
Definition at line 2632 of file Interpreter.cpp.
References llvm::ubi::addNoWrap(), I, LHS, and RHS.
|
inline |
Definition at line 2997 of file Interpreter.cpp.
References llvm::any_of(), llvm::ubi::ExecutorBase::Ctx, llvm::ubi::ExecutorBase::CurrentFrame, llvm::AllocaInst::getAddressSpace(), llvm::AllocaInst::getAllocationBaseSize(), llvm::AllocaInst::getArraySize(), llvm::Value::getName(), llvm::Value::getPointerAlignment(), llvm::AllocaInst::isArrayAllocation(), llvm::ubi::Poisoned, llvm::ubi::ExecutorBase::reportError(), llvm::ubi::ExecutorBase::reportImmediateUB(), llvm::SaturatingMultiply(), llvm::Size, llvm::ubi::Stack, uint64_t, llvm::ubi::Uninitialized, llvm::Instruction::users(), and llvm::Align::value().
|
inline |
Definition at line 2846 of file Interpreter.cpp.
|
inline |
Definition at line 2888 of file Interpreter.cpp.
References llvm::cast(), I, LHS, llvm::ubi::AnyValue::poison(), and RHS.
|
inline |
Definition at line 3171 of file Interpreter.cpp.
References llvm::ubi::Byte::concrete(), llvm::ubi::ExecutorBase::Ctx, llvm::User::getOperand(), llvm::Value::getType(), and llvm::SmallVectorImpl< T >::resize().
|
inline |
Definition at line 3200 of file Interpreter.cpp.
References llvm::ubi::ExecutorBase::Ctx, llvm::ubi::ByteValue::getBitWidth(), llvm::ubi::AnyValue::getPoisonValue(), llvm::Type::getScalarType(), llvm::Value::getType(), llvm::Offset, and uint64_t.
|
inline |
Definition at line 3182 of file Interpreter.cpp.
References llvm::sampleprof::Base, llvm::ubi::ExecutorBase::Ctx, llvm::ubi::ByteValue::getBitWidth(), llvm::User::getOperand(), llvm::ubi::AnyValue::getPoisonValue(), llvm::Type::getScalarType(), llvm::Value::getType(), llvm::Offset, and uint64_t.
|
inline |
Definition at line 1125 of file Interpreter.cpp.
References llvm::CallBase::getCalledOperand(), llvm::CallBrInst::getDefaultDest(), llvm::Value::getType(), llvm::ubi::ExecutorBase::Handler, and llvm::ubi::ExecutorBase::setFailed().
|
inline |
Definition at line 2625 of file Interpreter.cpp.
References enterCall().
|
inline |
Definition at line 1092 of file Interpreter.cpp.
References llvm::ubi::False, llvm::CondBrInst::getCondition(), llvm::CondBrInst::getSuccessor(), llvm::ubi::Poison, llvm::ubi::ExecutorBase::reportImmediateUB(), and llvm::ubi::True.
|
inline |
Definition at line 3135 of file Interpreter.cpp.
References llvm::ubi::ExecutorBase::Ctx, llvm::User::getOperand(), llvm::ubi::AnyValue::getPoisonValue(), and llvm::Value::getType().
|
inline |
Definition at line 3106 of file Interpreter.cpp.
References llvm::ubi::AnyValue::asAggregate(), llvm::ExtractValueInst::getAggregateOperand(), and llvm::ExtractValueInst::indices().
|
inline |
Definition at line 2674 of file Interpreter.cpp.
References llvm::APFloat::add(), I, LHS, RHS, and llvm::APFloatBase::rmNearestTiesToEven.
|
inline |
Definition at line 2918 of file Interpreter.cpp.
References llvm::ubi::AnyValue::boolean(), llvm::FCmpInst::compare(), I, llvm::DenormalMode::Input, LHS, llvm::ubi::AnyValue::poison(), and RHS.
|
inline |
Definition at line 2698 of file Interpreter.cpp.
References llvm::APFloat::divide(), I, LHS, RHS, and llvm::APFloatBase::rmNearestTiesToEven.
|
inline |
Definition at line 2690 of file Interpreter.cpp.
References I, LHS, llvm::APFloat::multiply(), RHS, and llvm::APFloatBase::rmNearestTiesToEven.
|
inline |
Definition at line 2714 of file Interpreter.cpp.
References I.
|
inline |
Definition at line 2750 of file Interpreter.cpp.
References llvm::cast(), llvm::APFloat::convert(), llvm::ubi::ExecutorBase::Ctx, I, llvm::DenormalMode::Input, llvm::ubi::AnyValue::isPoison(), llvm::DenormalMode::Output, llvm::ubi::AnyValue::poison(), and llvm::ubi::ExecutorBase::reportImmediateUB().
Referenced by visitFPExtInst(), and visitFPTruncInst().
|
inline |
Definition at line 2746 of file Interpreter.cpp.
References visitFPConvInst().
|
inline |
Definition at line 2795 of file Interpreter.cpp.
References llvm::ubi::AnyValue::asFloat(), llvm::APFloat::convertToInteger(), I, llvm::ubi::AnyValue::isPoison(), llvm::APFloatBase::opInvalidOp, llvm::ubi::AnyValue::poison(), and llvm::APFloatBase::rmTowardZero.
Referenced by visitFPToSIInst(), and visitFPToUIInst().
|
inline |
Definition at line 2787 of file Interpreter.cpp.
References visitFPToIntInst().
|
inline |
Definition at line 2791 of file Interpreter.cpp.
References visitFPToIntInst().
|
inline |
Definition at line 2748 of file Interpreter.cpp.
References visitFPConvInst().
|
inline |
Definition at line 3215 of file Interpreter.cpp.
References llvm::ubi::ExecutorBase::Ctx, llvm::User::getOperand(), and llvm::Value::getType().
|
inline |
Definition at line 2706 of file Interpreter.cpp.
References I, LHS, llvm::APFloat::mod(), and RHS.
|
inline |
Definition at line 2682 of file Interpreter.cpp.
References I, LHS, RHS, llvm::APFloatBase::rmNearestTiesToEven, and llvm::APFloat::subtract().
|
inline |
Definition at line 3045 of file Interpreter.cpp.
References llvm::cast(), llvm::ubi::ExecutorBase::Ctx, GEP, and V.
|
inline |
Definition at line 2898 of file Interpreter.cpp.
References llvm::ubi::AnyValue::boolean(), llvm::ICmpInst::compare(), I, llvm::APInt::isNonNegative(), LHS, llvm::ubi::AnyValue::poison(), and RHS.
|
inline |
Definition at line 1135 of file Interpreter.cpp.
References llvm::any_of(), llvm::ubi::ExecutorBase::Ctx, llvm::IndirectBrInst::getAddress(), llvm::ubi::ExecutorBase::reportImmediateUB(), and llvm::IndirectBrInst::successors().
|
inline |
Definition at line 3123 of file Interpreter.cpp.
References llvm::ubi::ExecutorBase::Ctx, llvm::User::getOperand(), llvm::ubi::AnyValue::getPoisonValue(), and llvm::InsertElementInst::getType().
|
inline |
Definition at line 3114 of file Interpreter.cpp.
References llvm::ubi::AnyValue::asAggregate(), llvm::InsertValueInst::getAggregateOperand(), llvm::InsertValueInst::getInsertedValueOperand(), and llvm::InsertValueInst::indices().
|
inline |
Definition at line 3101 of file Interpreter.cpp.
References llvm::ubi::ExecutorBase::Handler, I, and llvm::ubi::ExecutorBase::setFailed().
|
inline |
Definition at line 2822 of file Interpreter.cpp.
References llvm::ubi::AnyValue::asInteger(), llvm::cast(), llvm::APFloat::convertFromAPInt(), llvm::ubi::ExecutorBase::Ctx, I, llvm::isa(), llvm::APInt::isNegative(), llvm::ubi::AnyValue::isPoison(), and llvm::ubi::AnyValue::poison().
Referenced by visitSIToFPInst(), and visitUIToFPInst().
|
inline |
Definition at line 3062 of file Interpreter.cpp.
References llvm::ubi::ExecutorBase::Ctx, I, llvm::ubi::Pointer, llvm::ubi::AnyValue::poison(), and V.
|
inline |
Definition at line 2627 of file Interpreter.cpp.
References enterCall(), and II.
|
inline |
Definition at line 3083 of file Interpreter.cpp.
References llvm::LoadInst::getAlign(), llvm::LoadInst::getPointerOperand(), llvm::Value::getType(), handleMetadata(), llvm::Instruction::hasMetadata(), and load.
|
inline |
Definition at line 2878 of file Interpreter.cpp.
References llvm::cast(), I, LHS, llvm::ubi::AnyValue::poison(), and RHS.
|
inline |
Definition at line 2644 of file Interpreter.cpp.
References I, LHS, llvm::ubi::mulNoWrap(), and RHS.
|
inline |
Definition at line 2858 of file Interpreter.cpp.
References llvm::cast(), I, LHS, llvm::ubi::AnyValue::poison(), and RHS.
|
inline |
Definition at line 3074 of file Interpreter.cpp.
References llvm::BitWidth, I, llvm::ubi::AnyValue::poison(), and V.
|
inline |
Definition at line 3052 of file Interpreter.cpp.
References llvm::BitWidth, llvm::ubi::ExecutorBase::Ctx, I, llvm::ubi::AnyValue::poison(), and V.
|
inline |
Definition at line 1080 of file Interpreter.cpp.
References llvm::ubi::ExecutorBase::CurrentFrame, llvm::ubi::Exit, llvm::ReturnInst::getReturnValue(), llvm::ubi::ExecutorBase::Handler, and llvm::ubi::ExecutorBase::setFailed().
|
inline |
Definition at line 2650 of file Interpreter.cpp.
References computeDivRem(), I, LHS, and RHS.
|
inline |
Definition at line 2990 of file Interpreter.cpp.
References computeSelect().
|
inline |
Definition at line 2739 of file Interpreter.cpp.
References llvm::CastInst::getDestTy(), llvm::Type::getScalarSizeInBits(), and llvm::APInt::sext().
|
inline |
Definition at line 2866 of file Interpreter.cpp.
References I, LHS, llvm::ubi::AnyValue::poison(), and RHS.
|
inline |
Definition at line 3145 of file Interpreter.cpp.
References llvm::cast(), llvm::ubi::ExecutorBase::Ctx, llvm::VectorType::getElementCount(), llvm::User::getOperand(), llvm::ubi::AnyValue::getPoisonValue(), llvm::Type::getScalarType(), llvm::ShuffleVectorInst::getShuffleMask(), llvm::ShuffleVectorInst::getType(), llvm::Value::getType(), llvm::Off, llvm::PoisonMaskElem, and llvm::Size.
|
inline |
Definition at line 2814 of file Interpreter.cpp.
References visitIntToFPInst().
|
inline |
Definition at line 2656 of file Interpreter.cpp.
References computeDivRem(), I, LHS, and RHS.
|
inline |
Definition at line 3091 of file Interpreter.cpp.
References llvm::ubi::ExecutorBase::Handler, llvm::ubi::ExecutorBase::hasProgramExited(), llvm::ubi::ExecutorBase::setFailed(), and llvm::ubi::ExecutorBase::store().
|
inline |
Definition at line 2638 of file Interpreter.cpp.
References I, LHS, RHS, and llvm::ubi::subNoWrap().
|
inline |
Definition at line 1106 of file Interpreter.cpp.
References Cond, and llvm::ubi::ExecutorBase::reportImmediateUB().
|
inline |
Definition at line 2719 of file Interpreter.cpp.
References llvm::APInt::getActiveBits(), llvm::APInt::getSignificantBits(), llvm::ubi::AnyValue::poison(), llvm::Trunc, and llvm::APInt::trunc().
|
inline |
Definition at line 2662 of file Interpreter.cpp.
References computeDivRem(), I, LHS, and RHS.
|
inline |
Definition at line 2818 of file Interpreter.cpp.
References visitIntToFPInst().
|
inline |
Definition at line 1090 of file Interpreter.cpp.
References llvm::UncondBrInst::getSuccessor().
|
inline |
Definition at line 1121 of file Interpreter.cpp.
References llvm::ubi::ExecutorBase::reportImmediateUB().
|
inline |
Definition at line 2668 of file Interpreter.cpp.
References computeDivRem(), I, LHS, and RHS.
|
inline |
Definition at line 2852 of file Interpreter.cpp.
|
inline |
Definition at line 2730 of file Interpreter.cpp.
References llvm::CastInst::getDestTy(), llvm::Type::getScalarSizeInBits(), llvm::Instruction::hasNonNeg(), llvm::APInt::isNegative(), llvm::ubi::AnyValue::poison(), and llvm::APInt::zext().