klee
|
Handles KLEE-specific LLVM IR meta-data. More...
#include <KLEEIRMetaData.h>
Inherits llvm::MDBuilder.
Public Member Functions | |
KleeIRMetaData (llvm::LLVMContext &context) | |
llvm::MDNode * | createStringNode (llvm::StringRef value) |
Return a string node reflecting the value. More... | |
void | addAnnotation (llvm::Instruction &inst, llvm::StringRef key, llvm::StringRef value) |
Static Public Member Functions | |
static bool | hasAnnotation (const llvm::Instruction &inst, llvm::StringRef key, llvm::StringRef value) |
Check if the instruction has the key/value meta data. More... | |
Private Attributes | |
llvm::LLVMContext & | Context |
Handles KLEE-specific LLVM IR meta-data.
Definition at line 18 of file KLEEIRMetaData.h.
|
inline |
Definition at line 23 of file KLEEIRMetaData.h.
|
inline |
Definition at line 31 of file KLEEIRMetaData.h.
References createStringNode().
Referenced by klee::DivCheckPass::runOnModule(), and klee::OvershiftCheckPass::runOnModule().
|
inline |
Return a string node reflecting the value.
Definition at line 27 of file KLEEIRMetaData.h.
Referenced by addAnnotation().
|
inlinestatic |
Check if the instruction has the key/value meta data.
Definition at line 37 of file KLEEIRMetaData.h.
Referenced by klee::DivCheckPass::runOnModule(), and klee::OvershiftCheckPass::runOnModule().
|
private |
Definition at line 20 of file KLEEIRMetaData.h.