|
LLVM 23.0.0git
|
This file implements the IRNormalizer class which aims to transform LLVM Modules into a normal form by reordering and renaming instructions while preserving the same semantics. More...
#include "llvm/Transforms/Utils/IRNormalizer.h"#include "llvm/ADT/SetVector.h"#include "llvm/ADT/SmallPtrSet.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/SmallVector.h"#include "llvm/IR/BasicBlock.h"#include "llvm/IR/Function.h"#include "llvm/IR/IRBuilder.h"#include "llvm/IR/InstIterator.h"#include "llvm/Pass.h"#include <stack>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "normalize" |
Functions | |
| static constexpr uint64_t | hash_16_bytes (uint64_t low, uint64_t high) |
This file implements the IRNormalizer class which aims to transform LLVM Modules into a normal form by reordering and renaming instructions while preserving the same semantics.
The normalizer makes it easier to spot semantic differences while diffing two modules which have undergone different passes.
Definition in file IRNormalizer.cpp.
| #define DEBUG_TYPE "normalize" |
Definition at line 29 of file IRNormalizer.cpp.
Definition at line 36 of file IRNormalizer.cpp.