tvm
Loading...
Searching...
No Matches
transform.h
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
24#ifndef TVM_S_TIR_BACKEND_ADRENO_TRANSFORM_H_
25#define TVM_S_TIR_BACKEND_ADRENO_TRANSFORM_H_
26
27#include <tvm/ir/prim/expr.h>
28#include <tvm/ir/transform.h>
29#include <tvm/s_tir/transform.h>
30#include <tvm/target/target.h>
31#include <tvm/tirx/function.h>
32
33#include <string>
34#include <vector>
35
36namespace tvm {
37namespace s_tir {
38using namespace tvm::prim;
39namespace backend {
40namespace adreno {
41namespace transform {
42
46
52
58
59} // namespace transform
60} // namespace adreno
61} // namespace backend
62} // namespace s_tir
63} // namespace tvm
64
65#endif // TVM_S_TIR_BACKEND_ADRENO_TRANSFORM_H_
RAII wrapper function to enter and exit a context object similar to python's with syntax.
Definition with_context.h:59
PassContext that is used to configure the pass behavior.
Definition transform.h:151
Definition transform.h:417
TIR expressions.
Definition builtin.h:25
Pass InjectTextureAlloc()
Inject Texture Allocation intrinsic.
Pass TextureFlatten()
Texture flattening pass.
Pass CreatePrimFuncPass(std::function< PrimFunc(PrimFunc, IRModule, PassContext)> pass_func, int opt_level, ffi::String name, tvm::ffi::Array< ffi::String > required, bool traceable=false)
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analyzer.h:40
S-TIR specific transformation passes.
Compilation target object.
TIR Function.