|
LLVM 22.0.0git
|
#include "VPlanUtils.h"#include "VPlanCFG.h"#include "VPlanDominatorTree.h"#include "VPlanPatternMatch.h"#include "llvm/ADT/TypeSwitch.h"#include "llvm/Analysis/MemoryLocation.h"#include "llvm/Analysis/ScalarEvolutionExpressions.h"Go to the source code of this file.
Functions | |
| static bool | preservesUniformity (unsigned Opcode) |
Returns true if Opcode preserves uniformity, i.e., if all operands are uniform, the result will also be uniform. | |
Returns true if Opcode preserves uniformity, i.e., if all operands are uniform, the result will also be uniform.
Definition at line 155 of file VPlanUtils.cpp.
References llvm::VPInstruction::Broadcast, llvm::Instruction::isBinaryOp(), llvm::Instruction::isCast(), llvm::VPInstruction::Not, and llvm::VPInstruction::PtrAdd.
Referenced by llvm::vputils::isSingleScalar(), and llvm::vputils::isUniformAcrossVFsAndUFs().