LLVM 22.0.0git
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/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 348 of file AMDGPUMCExpr.cpp.

Function Documentation

◆ binaryOpKnownBitsMapHelper()

◆ fromOptionalToKnownBits()

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

◆ knownBitsMapHelper()

◆ op()

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

◆ targetOpKnownBitsMapHelper()

◆ tryFoldHelper()

◆ unaryOpKnownBitsMapHelper()