|
picceler
|
#include "mlir_gen.h"#include <cmath>#include <limits>#include "llvm/ADT/APFloat.h"#include "spdlog/spdlog.h"#include "mlir/Dialect/Arith/IR/Arith.h"#include "mlir/Dialect/Func/IR/FuncOps.h"#include "mlir/IR/Dialect.h"#include "ops.h"#include "types.h"Namespaces | |
| namespace | picceler |
Functions | |
| mlir::Value | picceler::coerceValueToInt64 (mlir::OpBuilder &builder, mlir::Location loc, mlir::Value value, llvm::StringRef opName, llvm::StringRef argName) |
| Coerces a given MLIR value to a 64-bit integer if possible, with special handling for constants. | |