Determine if an instruction with Custom uniformity can be proven uniform based on which operands are uniform.
Synopsis
Declared in <llvm/Analysis/TargetTransformInfo.h>
bool
isUniform(
Instruction const* I,
SmallBitVector const& UniformArgs) const;
Return Value
true if the instruction result can be proven uniform given the uniform operands, false otherwise.
Parameters
Name |
Description |
I |
The instruction to check. |
UniformArgs |
A bitvector indicating which operands are known to be uniform (bit N corresponds to operand N). |
Created with MrDocs