LLVM 20.0.0git
Classes | Namespaces | Functions
BypassSlowDivision.h File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseMapInfo.h"
#include "llvm/IR/ValueHandle.h"
#include <cstdint>

Go to the source code of this file.

Classes

struct  llvm::DivRemMapKey
 
struct  llvm::DenseMapInfo< DivRemMapKey >
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

bool llvm::bypassSlowDivision (BasicBlock *BB, const DenseMap< unsigned int, unsigned int > &BypassWidth)
 This optimization identifies DIV instructions in a BB that can be profitably bypassed and carried out with a shorter, faster divide.