LLVM 20.0.0git
Macros
IRNormalizer.cpp File Reference

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/IR/Module.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/PassRegistry.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Transforms/Utils.h"
#include <algorithm>
#include <stack>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "normalize"
 

Detailed Description

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.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "normalize"

Definition at line 35 of file IRNormalizer.cpp.