|
LLVM 24.0.0git
|
#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) |
|
static |
Definition at line 90 of file MemCacheHint.cpp.
References llvm::dyn_cast(), llvm::ArrayRef< T >::empty(), llvm::First, llvm::ArrayRef< T >::front(), getPointerOperandIndex(), and V.
Referenced by llvm::propagateMemCacheHint().
|
static |
Definition at line 70 of file MemCacheHint.cpp.
References llvm::dyn_cast(), llvm::LoadInst::getPointerOperandIndex(), llvm::StoreInst::getPointerOperandIndex(), I, II, and llvm::isa().
Referenced by getCommonCacheHint().