LLVM 20.0.0git
Typedefs | Functions
AMDGPUMCExpr.cpp File Reference
#include "AMDGPUMCExpr.h"
#include "GCNSubtarget.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/KnownBits.h"
#include "llvm/Support/raw_ostream.h"
#include <optional>

Go to the source code of this file.

Typedefs

using KnownBitsMap = DenseMap< const MCExpr *, KnownBits >
 

Functions

static int64_t op (AMDGPUMCExpr::VariantKind Kind, int64_t Arg1, int64_t Arg2)
 
static KnownBits fromOptionalToKnownBits (std::optional< bool > CompareResult)
 
static void knownBitsMapHelper (const MCExpr *Expr, KnownBitsMap &KBM, unsigned Depth=0)
 
static void binaryOpKnownBitsMapHelper (const MCExpr *Expr, KnownBitsMap &KBM, unsigned Depth)
 
static void unaryOpKnownBitsMapHelper (const MCExpr *Expr, KnownBitsMap &KBM, unsigned Depth)
 
static void targetOpKnownBitsMapHelper (const MCExpr *Expr, KnownBitsMap &KBM, unsigned Depth)
 
static const MCExprtryFoldHelper (const MCExpr *Expr, KnownBitsMap &KBM, MCContext &Ctx)
 

Typedef Documentation

◆ KnownBitsMap

Definition at line 322 of file AMDGPUMCExpr.cpp.

Function Documentation

◆ binaryOpKnownBitsMapHelper()

static void binaryOpKnownBitsMapHelper ( const MCExpr Expr,
KnownBitsMap KBM,
unsigned  Depth 
)
static

◆ fromOptionalToKnownBits()

static KnownBits fromOptionalToKnownBits ( std::optional< bool CompareResult)
static

◆ knownBitsMapHelper()

static void knownBitsMapHelper ( const MCExpr Expr,
KnownBitsMap KBM,
unsigned  Depth = 0 
)
static

◆ op()

static int64_t op ( AMDGPUMCExpr::VariantKind  Kind,
int64_t  Arg1,
int64_t  Arg2 
)
static

◆ targetOpKnownBitsMapHelper()

static void targetOpKnownBitsMapHelper ( const MCExpr Expr,
KnownBitsMap KBM,
unsigned  Depth 
)
static

◆ tryFoldHelper()

static const MCExpr * tryFoldHelper ( const MCExpr Expr,
KnownBitsMap KBM,
MCContext Ctx 
)
static

◆ unaryOpKnownBitsMapHelper()

static void unaryOpKnownBitsMapHelper ( const MCExpr Expr,
KnownBitsMap KBM,
unsigned  Depth 
)
static