ΒΆllvm::Value* getRuntimeVF(llvm::IRBuilderBase& B,
llvm::Type* Ty,
llvm::ElementCount VF)
llvm::Value* getRuntimeVF(llvm::IRBuilderBase& B,
llvm::Type* Ty,
llvm::ElementCount VF)
Description
Returns a calculation for the total number of elements for a given \p VF. For fixed width vectors this value is a constant, whereas for scalable vectors it is an expression determined at runtime.
Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:70