tvm
include
tvm
s_tir
backend
adreno
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/transform.h
>
28
#include <
tvm/s_tir/transform.h
>
29
#include <
tvm/target/target.h
>
30
#include <
tvm/tirx/expr.h
>
31
#include <
tvm/tirx/function.h
>
32
33
#include <string>
34
#include <vector>
35
36
namespace
tvm
{
37
namespace
s_tir {
38
namespace
backend {
39
namespace
adreno {
40
namespace
transform {
41
42
using
tirx::transform::CreatePrimFuncPass
;
43
using
tvm::transform::Pass
;
44
using
tvm::transform::PassContext
;
45
50
TVM_DLL
Pass
TextureFlatten
();
51
56
TVM_DLL
Pass
InjectTextureAlloc
();
57
58
}
// namespace transform
59
}
// namespace adreno
60
}
// namespace backend
61
}
// namespace s_tir
62
}
// namespace tvm
63
64
#endif
// TVM_S_TIR_BACKEND_ADRENO_TRANSFORM_H_
tvm::transform::Pass
Definition:
transform.h:400
transform.h
tvm::relax::transform::PassContext
tvm::transform::PassContext PassContext
Definition:
transform.h:40
tvm::relax::transform::Pass
tvm::transform::Pass Pass
Definition:
transform.h:38
tvm::s_tir::backend::adreno::transform::InjectTextureAlloc
Pass InjectTextureAlloc()
Inject Texture Allocation intrinsic.
tvm::s_tir::backend::adreno::transform::TextureFlatten
Pass TextureFlatten()
Texture flattening pass.
tvm::tirx::transform::CreatePrimFuncPass
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)
tvm
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition:
analyzer.h:37
transform.h
S-TIR specific transformation passes.
target.h
Compilation target object.
expr.h
TIR expressions.
function.h
TIR Function.
Generated by
1.9.1