9#ifndef LLVM_IR_MEMCACHEHINT_H
10#define LLVM_IR_MEMCACHEHINT_H
Represent a constant reference to an array (0 or more elements consecutively in memory),...
LLVM Value Representation.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI void setMemCacheHint(Instruction &I, unsigned OperandNo, MDNode *Hint)
Set the hint payload for operand OperandNo of I, preserving other operands' hints.
LLVM_ABI void propagateMemCacheHint(Instruction &Dest, ArrayRef< Value * > Sources)
Copy identical source cache-hint attachments to Dest, or clear its attachment if propagation fails.
LLVM_ABI MDNode * getMemCacheHint(const Instruction &I, unsigned OperandNo=0)
Return the hint payload for operand OperandNo of I, or nullptr if absent.