MLIR
20.0.0git
|
#include "llvm/Support/MathExtras.h"
#include <iostream>
#include <stdint.h>
#include <string_view>
Go to the source code of this file.
Macros | |
#define | MLIR_ARMRUNNERUTILS_EXPORTED __attribute__((visibility("default"))) |
#define | PR_SVE_SET_VL 50 |
#define | PR_SME_SET_VL 63 |
#define | PR_VL_LEN_MASK 0xffff |
Functions | |
static void | setArmVectorLength (std::string_view helper_name, int option, uint32_t bits) |
void MLIR_ARMRUNNERUTILS_EXPORTED | setArmVLBits (uint32_t bits) |
Sets the SVE vector length (in bits) to bits . More... | |
void MLIR_ARMRUNNERUTILS_EXPORTED | setArmSVLBits (uint32_t bits) |
Sets the SME streaming vector length (in bits) to bits . More... | |
#define MLIR_ARMRUNNERUTILS_EXPORTED __attribute__((visibility("default"))) |
Definition at line 17 of file ArmRunnerUtils.cpp.
#define PR_SME_SET_VL 63 |
Definition at line 35 of file ArmRunnerUtils.cpp.
#define PR_SVE_SET_VL 50 |
Definition at line 31 of file ArmRunnerUtils.cpp.
#define PR_VL_LEN_MASK 0xffff |
Definition at line 39 of file ArmRunnerUtils.cpp.
void MLIR_ARMRUNNERUTILS_EXPORTED setArmSVLBits | ( | uint32_t | bits | ) |
Sets the SME streaming vector length (in bits) to bits
.
Definition at line 66 of file ArmRunnerUtils.cpp.
References PR_SME_SET_VL, and setArmVectorLength().
|
static |
Definition at line 41 of file ArmRunnerUtils.cpp.
References PR_VL_LEN_MASK.
Referenced by setArmSVLBits(), and setArmVLBits().
void MLIR_ARMRUNNERUTILS_EXPORTED setArmVLBits | ( | uint32_t | bits | ) |
Sets the SVE vector length (in bits) to bits
.
Definition at line 61 of file ArmRunnerUtils.cpp.
References PR_SVE_SET_VL, and setArmVectorLength().