tvm
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_TIR_BACKEND_ADRENO_TRANSFORM_H_
25 #define TVM_TIR_BACKEND_ADRENO_TRANSFORM_H_
26 
27 #include <tvm/ir/transform.h>
28 #include <tvm/target/target.h>
29 #include <tvm/tir/expr.h>
30 #include <tvm/tir/function.h>
31 #include <tvm/tir/transform.h>
32 
33 #include <string>
34 #include <vector>
35 
36 namespace tvm {
37 namespace tir {
38 namespace backend {
39 namespace adreno {
40 namespace transform {
41 
50 
55 TVM_DLL Pass TextureFlatten();
56 
62 
63 } // namespace transform
64 } // namespace adreno
65 } // namespace backend
66 } // namespace tir
67 } // namespace tvm
68 
69 #endif // TVM_TIR_BACKEND_ADRENO_TRANSFORM_H_
PassContextNode contains the information that a pass can rely on, such as analysis results.
Definition: transform.h:79
Meta data that will be used to help optimization and analysis.
Definition: transform.h:319
PassNode is the base type of differnt types of optimization passes. It is designed as a pure class an...
Definition: transform.h:370
Definition: transform.h:400
Definition: transform.h:491
tvm::transform::PassContext PassContext
Definition: transform.h:40
tvm::transform::PassInfo PassInfo
Definition: transform.h:39
tvm::transform::Pass Pass
Definition: transform.h:38
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)
Performance counters for profiling via the PAPI library.
Definition: analyzer.h:37
Compilation target object.
TIR expressions.
TIR Function.
TIR specific transformation passes.