LLVM  13.0.0git
Macros | Functions
GISelKnownBits.cpp File Reference
#include "llvm/CodeGen/GlobalISel/GISelKnownBits.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/GlobalISel/Utils.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetOpcodes.h"
#include "llvm/IR/Module.h"
Include dependency graph for GISelKnownBits.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "gisel-known-bits"
 Provides analysis for querying information about KnownBits during GISel passes. More...
 

Functions

 INITIALIZE_PASS (GISelKnownBitsAnalysis, DEBUG_TYPE, "Analysis for ComputingKnownBits", false, true) GISelKnownBits
 
static LLVM_ATTRIBUTE_UNUSED void dumpResult (const MachineInstr &MI, const KnownBits &Known, unsigned Depth)
 
static KnownBits extractBits (unsigned BitWidth, const KnownBits &SrcOpKnown, const KnownBits &OffsetKnown, const KnownBits &WidthKnown)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "gisel-known-bits"

Provides analysis for querying information about KnownBits during GISel passes.

Definition at line 22 of file GISelKnownBits.cpp.

Function Documentation

◆ dumpResult()

static LLVM_ATTRIBUTE_UNUSED void dumpResult ( const MachineInstr MI,
const KnownBits Known,
unsigned  Depth 
)
static

◆ extractBits()

static KnownBits extractBits ( unsigned  BitWidth,
const KnownBits SrcOpKnown,
const KnownBits OffsetKnown,
const KnownBits WidthKnown 
)
static

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( GISelKnownBitsAnalysis  ,
DEBUG_TYPE  ,
"Analysis for ComputingKnownBits"  ,
false  ,
true   
)

Definition at line 28 of file GISelKnownBits.cpp.