Analysis that computes KnownBits and related facts for GlobalISel.
Synopsis
Declared in <llvm/CodeGen/GlobalISel/GISelValueTracking.h>
class GISelValueTracking
: public GISelChangeObserver
Description
Clients query known‐zero/one bits, sign bits, alignment, shift amounts, and floating‐point class information for registers in a MachineFunction.
Base Classes
Name |
Description |
Abstract base for clients that observe GlobalISel instruction changes. |
Member Functions
Name |
Description |
|
Construct value tracking for machine function |
|
Destroy the value tracking analysis. |
|
Observe that instruction |
Notify that all instructions using |
|
|
Observe that instruction |
Return the known alignment for the pointer‐like value |
|
Compute known bits for register |
|
|
|
Compute the number of sign bits for register |
|
|
Observe that instruction |
|
Observe that instruction |
All instructions reported as changing by changingAllUsesOfReg() have finished being changed. |
|
Return the data layout for the machine function. |
|
|
|
Return the known‐one bits for register |
|
Return the known‐zero bits for register |
|
Return the machine function being analyzed. |
|
Return the minimum valid shift amount for shift operand |
|
Return the valid constant shift‐amount range for shift operand |
|
Return true if |
|
Return true if |
|
Return true if the value defined by |
|
Return true if Val & Mask is known to be zero. |
|
Return true if the sign bit of Op is known to be zero. |
Static Member Functions
Name |
Description |
Update |
Protected Member Functions
Name |
Description |
Return the maximum recursion depth for known‐bits queries. |
Created with MrDocs