LLVM 23.0.0git
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...

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)

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 29 of file IRNormalizer.cpp.

Function Documentation

◆ hash_16_bytes()

constexpr uint64_t hash_16_bytes ( uint64_t low,
uint64_t high )
staticconstexpr

Definition at line 36 of file IRNormalizer.cpp.