LLVM 24.0.0git
MemCacheHint.h File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

LLVM_ABI MDNode * llvm::getMemCacheHint (const Instruction &I, unsigned OperandNo=0)
 Return the hint payload for operand OperandNo of I, or nullptr if absent.
LLVM_ABI void llvm::setMemCacheHint (Instruction &I, unsigned OperandNo, MDNode *Hint)
 Set the hint payload for operand OperandNo of I, preserving other operands' hints.
LLVM_ABI void llvm::propagateMemCacheHint (Instruction &Dest, ArrayRef< Value * > Sources)
 Copy identical source cache-hint attachments to Dest, or clear its attachment if propagation fails.