LLVM: llvm::InstructionPrecedenceTracking Class Reference (original) (raw)
#include "[llvm/Analysis/InstructionPrecedenceTracking.h](InstructionPrecedenceTracking%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| LLVM_ABI void | insertInstructionTo (const Instruction *Inst, const BasicBlock *BB) |
| Notifies this tracking that we are going to insert a new instruction Inst to the basic block BB. | |
| LLVM_ABI void | removeInstruction (const Instruction *Inst) |
| Notifies this tracking that we are going to remove the instruction Inst It makes all necessary updates to internal caches to keep them consistent. | |
| LLVM_ABI void | removeUsersOf (const Instruction *Inst) |
| Notifies this tracking that we are going to replace all uses of Inst. | |
| LLVM_ABI void | clear () |
| Invalidates all information from this tracking. |
| Protected Member Functions | |
|---|---|
| LLVM_ABI const Instruction * | getFirstSpecialInstruction (const BasicBlock *BB) |
| Returns the topmost special instruction from the block BB. | |
| LLVM_ABI bool | hasSpecialInstructions (const BasicBlock *BB) |
| Returns true iff at least one instruction from the basic block BB is special. | |
| LLVM_ABI bool | isPreceededBySpecialInstruction (const Instruction *Insn) |
| Returns true iff the first special instruction of Insn's block exists and dominates Insn. | |
| virtual bool | isSpecialInstruction (const Instruction *Insn) const =0 |
| A predicate that defines whether or not the instruction Insn is considered special and needs to be tracked. | |
| virtual | ~InstructionPrecedenceTracking ()=default |
| virtual llvm::InstructionPrecedenceTracking::~InstructionPrecedenceTracking ( ) | protectedvirtualdefault |
|---|
◆ clear()
| void InstructionPrecedenceTracking::clear | ( | ) |
|---|
◆ getFirstSpecialInstruction()
◆ hasSpecialInstructions()
◆ insertInstructionTo()
Notifies this tracking that we are going to insert a new instruction Inst to the basic block BB.
It makes all necessary updates to internal caches to keep them consistent.
Definition at line 96 of file InstructionPrecedenceTracking.cpp.
References isSpecialInstruction().
◆ isPreceededBySpecialInstruction()
| bool InstructionPrecedenceTracking::isPreceededBySpecialInstruction ( const Instruction * Insn) | protected |
|---|
◆ isSpecialInstruction()
| virtual bool llvm::InstructionPrecedenceTracking::isSpecialInstruction ( const Instruction * Insn) const | protectedpure virtual |
|---|
◆ removeInstruction()
| void InstructionPrecedenceTracking::removeInstruction | ( | const Instruction * | Inst | ) |
|---|
◆ removeUsersOf()
The documentation for this class was generated from the following files:
- include/llvm/Analysis/InstructionPrecedenceTracking.h
- lib/Analysis/InstructionPrecedenceTracking.cpp