|
LLVM 24.0.0git
|
#include "SPIRVTargetTransformInfo.h"#include "SPIRVSubtarget.h"#include "SPIRVUtils.h"#include "llvm/Analysis/ValueTracking.h"#include "llvm/IR/IntrinsicsSPIRV.h"Go to the source code of this file.
Functions | |
| static bool | isBuiltInVariable (const Value *Ptr) |
| static bool | isSourceOfDivergence (const Value *V) |
Definition at line 19 of file SPIRVTargetTransformInfo.cpp.
References llvm::any_of(), llvm::dyn_cast(), llvm::getSpirvBuiltInIdByName(), llvm::getUnderlyingObject(), and llvm::MDNode::operands().
Referenced by isSourceOfDivergence().
Definition at line 39 of file SPIRVTargetTransformInfo.cpp.
References llvm::dyn_cast(), llvm::SPIRVAS::Function, llvm::SPIRVAS::Generic, llvm::SPIRVAS::Input, llvm::isa(), isBuiltInVariable(), llvm::isEntryPoint(), llvm::SPIRVAS::Output, llvm::SPIRVAS::Private, and V.
Referenced by llvm::SPIRVTTIImpl::getValueUniformity().