|
LLVM 24.0.0git
|
Classes | |
| class | AnyValue |
| class | AnyValuePrinter |
| struct | Byte |
| Representation of a byte in memory. More... | |
| class | BytesView |
| Endianness aware accessor for bytes. More... | |
| class | ByteValue |
| Represents a scalar byte value. More... | |
| class | Context |
| The global context for the interpreter. More... | |
| class | DiagnosticReporter |
| class | EventHandler |
| An interface for handling events and managing outputs during interpretation. More... | |
| class | ExecutorBase |
| struct | Frame |
| Context for a function call. More... | |
| class | InstExecutor |
| Instruction executor using the visitor pattern. More... | |
| class | Library |
| class | MaterializedConstant |
| class | MemoryObject |
| class | Pointer |
| struct | ProgramExitInfo |
| class | Provenance |
| Components of a pointer excluding address. More... | |
| class | WildcardProvenance |
| A set of previously exposed provenances. More... | |
Typedefs | |
| using | ConstBytesView = BytesView<ArrayRef<Byte>> |
| using | MutableBytesView = BytesView<MutableArrayRef<Byte>> |
Enumerations | |
| enum class | MemInitKind { Zeroed , Uninitialized , Poisoned } |
| enum class | MemAllocKind { Global , BlockAddress , Stack , Malloc , New , NewArray } |
| enum class | MemoryObjectState { Alive , Dead , Freed } |
| enum class | UndefValueBehavior { NonDeterministic , Zero } |
| enum class | NaNPropagationBehavior { NonDeterministic , PreferredNaN , QuietingNaN , UnchangedNaN , TargetSpecificNaN } |
| enum class | StorageKind { Integer , Float , Pointer , Byte , Poison , None , Aggregate } |
| enum class | BooleanKind { False , True , Poison } |
| Tri-state boolean value. More... | |
| enum class | FrameState { Entry , Running , Pending , Exit } |
| enum class | DiagnosticKind { ImmediateUB , Error } |
Functions | |
| raw_ostream & | operator<< (raw_ostream &OS, const Pointer &P) |
| AnyValue | addNoWrap (const APInt &LHS, const APInt &RHS, bool HasNSW, bool HasNUW) |
| AnyValue | subNoWrap (const APInt &LHS, const APInt &RHS, bool HasNSW, bool HasNUW) |
| AnyValue | mulNoWrap (const APInt &LHS, const APInt &RHS, bool HasNSW, bool HasNUW) |
| static void | forEachScalarValue (AnyValue &V, function_ref< void(AnyValue &)> Visit) |
| Visit the scalar values recursively. | |
| static void | applyRangeAttr (AnyValue &V, const ConstantRange &CR) |
| static void | applyNoFPClassAttr (AnyValue &V, FPClassTest NoFPClass) |
| static void | applyNonNullAttr (AnyValue &V, unsigned AS, const DataLayout &DL) |
| static void | applyAlignAttr (AnyValue &V, Align Alignment) |
| static bool | violatesNoUndefAttr (const AnyValue &V) |
| static bool | violatesDereferenceableBytesAttr (const AnyValue &V, uint64_t Bytes, bool OrNull, unsigned AS, Context &Ctx) |
| Assumes V is either a poison or a pointer. | |
| static uint64_t | getMaxAlign (const DataLayout &DL, unsigned AS) |
| using llvm::ubi::ConstBytesView = BytesView<ArrayRef<Byte>> |
|
strong |
|
strong |
| Enumerator | |
|---|---|
| ImmediateUB | |
| Error | |
Definition at line 79 of file ExecutorBase.h.
|
strong |
| Enumerator | |
|---|---|
| Entry | |
| Running | |
| Pending | |
| Exit | |
Definition at line 26 of file ExecutorBase.h.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
inline |
Definition at line 476 of file Value.h.
References llvm::APInt::isNonNegative(), LHS, llvm::ubi::AnyValue::poison(), RHS, and llvm::APInt::ult().
Referenced by llvm::ubi::InstExecutor::visitAdd().
Definition at line 71 of file Interpreter.cpp.
References forEachScalarValue(), llvm::Log2(), llvm::ubi::AnyValue::poison(), and V.
Referenced by llvm::ubi::InstExecutor::handleAttributes(), and llvm::ubi::InstExecutor::handleMetadata().
|
static |
Definition at line 59 of file Interpreter.cpp.
References forEachScalarValue(), llvm::ubi::AnyValue::poison(), and V.
Referenced by llvm::ubi::InstExecutor::handleAttributes(), and llvm::ubi::InstExecutor::handleMetadata().
|
static |
Definition at line 66 of file Interpreter.cpp.
References DL, llvm::ubi::AnyValue::poison(), and V.
Referenced by llvm::ubi::InstExecutor::handleAttributes(), and llvm::ubi::InstExecutor::handleMetadata().
|
static |
Definition at line 52 of file Interpreter.cpp.
References llvm::ConstantRange::contains(), forEachScalarValue(), llvm::ubi::AnyValue::poison(), and V.
Referenced by llvm::ubi::InstExecutor::callIntrinsic(), and llvm::ubi::InstExecutor::handleAttributes().
|
static |
Visit the scalar values recursively.
The callback function may modify the value in-place.
Definition at line 38 of file Interpreter.cpp.
References forEachScalarValue(), and V.
Referenced by applyAlignAttr(), applyNoFPClassAttr(), applyRangeAttr(), forEachScalarValue(), llvm::ubi::InstExecutor::handleMetadata(), and violatesNoUndefAttr().
|
static |
Definition at line 22 of file Library.cpp.
|
inline |
Definition at line 498 of file Value.h.
References LHS, llvm::ubi::AnyValue::poison(), and RHS.
Referenced by llvm::ubi::Context::computeScaledPtrAdd(), and llvm::ubi::InstExecutor::visitMul().
|
inline |
|
inline |
Definition at line 487 of file Value.h.
References llvm::APInt::isNonNegative(), LHS, llvm::ubi::AnyValue::poison(), RHS, and llvm::APInt::ugt().
Referenced by llvm::ubi::InstExecutor::visitSub().
|
static |
Assumes V is either a poison or a pointer.
Definition at line 98 of file Interpreter.cpp.
References Freed, llvm::APInt::ugt(), uint64_t, llvm::APInt::ult(), and V.
Referenced by llvm::ubi::InstExecutor::callIntrinsic(), llvm::ubi::InstExecutor::handleAttributes(), and llvm::ubi::InstExecutor::handleMetadata().
Definition at line 79 of file Interpreter.cpp.
References llvm::any_of(), forEachScalarValue(), and V.
Referenced by llvm::ubi::InstExecutor::callIntrinsic(), llvm::ubi::InstExecutor::handleAttributes(), and llvm::ubi::InstExecutor::handleMetadata().