LLVM 24.0.0git
MemCacheHint.cpp File Reference
#include "llvm/IR/MemCacheHint.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Metadata.h"
#include <optional>
#include <utility>

Go to the source code of this file.

Functions

static std::optional< unsigned > getPointerOperandIndex (const Instruction &I)
static MDNode * getCommonCacheHint (const Instruction &Dest, ArrayRef< Value * > Sources)

Function Documentation

◆ getCommonCacheHint()

MDNode * getCommonCacheHint ( const Instruction & Dest,
ArrayRef< Value * > Sources )
static

◆ getPointerOperandIndex()

std::optional< unsigned > getPointerOperandIndex ( const Instruction & I)
static