日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人文社科 > 生活经验 >内容正文

生活经验

AI基础架构Pass Infrastructure

發布時間:2023/11/28 生活经验 87 豆豆
生活随笔 收集整理的這篇文章主要介紹了 AI基础架构Pass Infrastructure 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

AI基礎架構Pass Infrastructure
? Operation Pass
o OperationPass : Op-Specific
o OperationPass : Op-Agnostic
o Dependent Dialects
o Initialization
? Analysis Management
o Querying Analyses
o Preserving Analyses
? Pass Failure
? Pass Manager
o OpPassManager
? Dynamic Pass Pipelines
? Instance Specific Pass Options
? Pass Statistics
? Pass Registration
o Pass Pipeline Registration
o Textual Pass Pipeline Specification
? Declarative Pass Specification
o Tablegen Specification
? Pass Instrumentation
o Standard Instrumentations
? Crash and Failure Reproduction
o Local Reproducer Generation
Passes represent the basic infrastructure for transformation and optimization. This document provides an overview of the pass infrastructure in MLIR and how to use it.
See MLIR specification for more information about MLIR and its core aspects, such as the IR structure and operations.
See MLIR Rewrites for a quick start on graph rewriting in MLIR. If a transformation involves pattern matching operation DAGs, this is a great place to start.
Passes代表了轉換和優化的基本基礎架構。本文概述了MLIR中的Passes基礎結構以及如何使用。
有關MLIR 及其核心方面(如IR結構和算子)的更多信息,請參見 MLIR規范。
有關 在MLIR中進行圖形重寫的快速入門,請參見 MLIR Rewrites。如果轉換涉及模式匹配算子作DAG,那么這是一個很好的起點。
Operation Pass
In MLIR, the main unit of abstraction and transformation is an operation . As such, the pass manager is designed to work on instances of operations at different levels of nesting. The structure of the pass manager , and the concept of nesting, is detailed further below. All passes in MLIR derive from OperationPass and adhere to the following restrictions; any noncompliance will lead to problematic behavior in multithreaded and other advanced scenarios:
? Modify any state referenced or relied upon outside the current being operated on. This includes adding or removing operations from the parent block, changing the attributes(depending on the contract of the current operation)/operands/results/successors of the current operation.
? Modify the state of another operation not nested within the current operation being operated on.
o Other threads may be operating on these operations simultaneously.
? Inspect the state of sibling operations.
o Other threads may be modifying these operations in parallel.
o Inspecting the state of ancestor/parent operations is permitted.
? Maintain mutable pass state across invocations of runOnOperation. A pass may be run on many different operations with no guarantee of execution order.
o When multithreading, a specific pass instance may not even execute on all operations within the IR. As such, a pass should not rely on running on all operations.
? Maintain any global mutable state, e.g. static variables within the source file. All mutable state should be maintained by an instance of the pass.
? Must be copy-constructible
o Multiple instances of the pass may be created by the pass manager to process operations in parallel.
When creating an operation pass, there are two different types to choose from depending on the usage scenario:
在MLIR中,抽象和轉換的主要單元是一個 算子 。這樣,通過管理器被設計為在不同嵌套級別上的算子實例上工作。Passes管理器的結構 和嵌套的概念將詳細介紹。MLIR中的所有Passes均源自OperationPass并遵守限制;在多線程和其它高級方案中,任何不符合都會導致有問題的行為:
? 修改正在算子的電流之外引用或依賴的任何狀態。這包括在父塊中添加或刪除算子,更改屬性(取決于當前算子的協議)/當前算子的算子數/結果/后繼對象。
? 修改另一個未嵌套在當前算子中的算子的狀態。
o 其它線程可能同時在這些算子上運行。
? 檢查同級算子的狀態。
o 其它線程可能正在并行修改這些算子。
o 允許檢查祖先/父項算子的狀態。
? 跨調用保持可變的通過狀態runOnOperation。傳遞可能在許多不同的算子上運行,而不能保證執行順序。
o 在進行多線程處理時,特定的傳遞實例甚至可能不會在IR內的所有算子上執行。因此,傳遞不應該依賴于所有算子上的運行。
? 保持任何全局可變狀態,例如源文件中的靜態變量。所有可變狀態都應通過傳遞實例來維護。
? 必須是可復制的
o 流程管理器可以創建流程的多個實例,以并行處理算子。
創建算子傳遞時,根據使用情況,有兩種不同的類型可供選擇:
OperationPass : Op-Specific
An op-specific operation pass operates explicitly on a given operation type. This operation type must adhere to the restrictions set by the pass manager for pass execution.
To define an op-specific operation pass, a derived class must adhere to the following:
? Inherit from the CRTP class OperationPass and provide the operation type as an additional template parameter.
? Override the virtual void runOnOperation() method.
A simple pass may look like:
在op-specific算子上傳遞給定類型明確的算子。此類型必須遵守pass管理器為pass執行設置的限制。
要定義特定于算子的通道,派生類必須遵守以下規定:
? 繼承自CRTP類,OperationPass并提供算子類型作為附加模板參數。
? 覆蓋虛擬void runOnOperation()方法。
一個簡單的pass可能看起來像:
namespace {
/// Here we utilize the CRTP PassWrapper utility class to provide some
/// necessary utility hooks. This is only necessary for passes defined directly
/// in C++. Passes defined declaratively use a cleaner mechanism for providing
/// these utilities.
struct MyFunctionPass : public PassWrapper<OperationPass,
MyFunctionPass> {
void runOnOperation() override {
// Get the current FuncOp operation being operated on.
FuncOp f = getOperation();

// Walk the operations within the function.
f.walk([](Operation *inst) {....
});

}
};
} // end anonymous namespace

/// Register this pass so that it can be built via from a textual pass pipeline.
/// (Pass registration is discussed more below)
void registerMyPass() {
PassRegistration(
“flag-name-to-invoke-pass-via-mlir-opt”, “Pass description here”);
}
OperationPass : Op-Agnostic
An op-agnostic pass operates on the operation type of the pass manager that it is added to. This means that passes of this type may operate on several different operation types. Passes of this type are generally written generically using operation interfaces and traits . Examples of this type of pass are Common Sub-Expression Elimination and Inlining .
To create an operation pass, a derived class must adhere to the following:
? Inherit from the CRTP class OperationPass.
? Override the virtual void runOnOperation() method.
A simple pass may look like:
op-agnostic上,被添加到管理器的算子類型進行運算。這意味著這種類型的通道可以在幾種不同的算子類型上進行運算。通常使用算子接口 和 特征來寫這種類型的pass 。此類傳遞的示例包括“ 常見子表達式消除” 和“ 內聯” 。
要創建算子傳遞,派生類必須遵守以下內容:
? 繼承自CRTP類OperationPass。
? 覆蓋虛擬void runOnOperation()方法。
一個簡單的pass可能看起來像:
/// Here we utilize the CRTP PassWrapper utility class to provide some
/// necessary utility hooks. This is only necessary for passes defined directly
/// in C++. Passes defined declaratively use a cleaner mechanism for providing
/// these utilities.
struct MyOperationPass : public PassWrapper<OperationPass<>, MyOperationPass> {
void runOnOperation() override {
// Get the current operation being operated on.
Operation *op = getOperation();

}
};
Dependent Dialects
Dialects must be loaded in the MLIRContext before entities from these dialects (operations, types, attributes, …) can be created. Dialects must also be loaded before starting the execution of a multi-threaded pass pipeline. To this end, a pass that may create an entity from a dialect that isn’t guaranteed to already ne loaded must express this by overriding the getDependentDialects() method and declare this list of Dialects explicitly.
必須先在MLIRContext中加載語言對話,然后才能從這些語言對話創建實體(算子,類型,屬性等)。在開始執行多線程傳遞pass之前,還必須加載語言對話。可能無法保證已從其加載的語言對話創建實體的pass,必須通過重寫getDependentDialects() 方法并明確聲明此語言對話列表來表達。
Initialization
In certain situations, a Pass may contain state that is constructed dynamically, but is potentially expensive to recompute in successive runs of the Pass. One such example is when using PDL-based patterns , which are compiled into a bytecode during runtime. In these situations, a pass may override the following hook to initialize this heavy state:
? LogicalResult initialize(MLIRContext context)
This hook is executed once per run of a full pass pipeline, meaning that it does not have access to the state available during a runOnOperation call. More concretely, all necessary accesses to an MLIRContext should be driven via the provided context parameter, and methods that utilize “per-run” state such as getContext/getOperation/getAnalysis/etc. must not be used. In case of an error during initialization, the pass is expected to emit an error diagnostic and return a failure() which will abort the pass pipeline execution.
在某些情況下,通過可能包含動態構造的狀態,但是在連續運行過程中重新計算可能會很費時。一個這樣的例子就是使用 PDL基于 模式的模式 ,該模式在運行時被編譯成字節碼。在這些情況下,通過可能會覆蓋以下hook,初始化此重載狀態:
? LogicalResult initialize(MLIRContext context)
此hook在一次完整pass管道的每次運行中執行一次,意味著無法訪問runOnOperation調用期間的可用狀態。更具體地,所有必要的訪問的MLIRContext應通過提供驅動context參數,利用 “per-run”狀態,諸如 getContext/ getOperation/ getAnalysis/等,不得使用。如果初始化期間發生錯誤,則該傳遞將發出錯誤診斷并返回a failure(),中止pass管道的執行。
Analysis Management
An important concept, along with transformation passes, are analyses. These are conceptually similar to transformation passes, except that they compute information on a specific operation without modifying it. In MLIR, analyses are not passes but free-standing classes that are computed lazily on-demand and cached to avoid unnecessary recomputation. An analysis in MLIR must adhere to the following:
? Provide a valid constructor taking an Operation
.
? Must not modify the given operation.
An analysis may provide additional hooks to control various behavior:
? bool isInvalidated(const AnalysisManager::PreservedAnalyses &)
Given a preserved analysis set, the analysis returns true if it should truly be invalidated. This allows for more fine-tuned invalidation in cases where an analysis wasn’t explicitly marked preserved, but may be preserved (or invalidated) based upon other properties such as analyses sets.
一個重要的概念,以及轉換過程,都是分析。這些在概念上與轉換過程相似,除了在不修改計算信息的特定算子情況下。在MLIR中,分析不是pass,而是pass獨立式類,這些類是按需延遲計算并緩存,以避免不必要的重新計算。MLIR中的分析必須遵循以下條件:
? 提供有效構造函數Operation

? 一定不能修改給定的算子。
分析可能會提供其它hook來控制各種行為:
? bool isInvalidated(const AnalysisManager::PreservedAnalyses &)
給定一個保留的分析集,如果該分析真無效,則分析返回true。如果沒有明確標記保留分析,但可以根據其它屬性(例如分析集)保留(或使之無效),則可以進行更精細的無效化。
Querying Analyses
The base OperationPass class provides utilities for querying and preserving analyses for the current operation being processed.
? OperationPass automatically provides the following utilities for querying analyses:
o getAnalysis<>
? Get an analysis for the current operation, constructing it if necessary.
o getCachedAnalysis<>
? Get an analysis for the current operation, if it already exists.
o getCachedParentAnalysis<>
? Get an analysis for a given parent operation, if it exists.
o getCachedChildAnalysis<>
? Get an analysis for a given child operation, if it exists.
o getChildAnalysis<>
? Get an analysis for a given child operation, constructing it if necessary.
Using the example passes defined above, let’s see some examples:
OperationPass基類提供用于查詢和保留當前正在處理算子和分析的實用程序。
? OperationPass自動提供以下實用程序來查詢分析:
o getAnalysis<>
? 獲得當前算子的分析,并在必要時進行構建。
o getCachedAnalysis<>
? 獲取當前算子的分析(如果已經存在)。
o getCachedParentAnalysis<>
? 獲取給定父算子的分析(如果存在)。
o getCachedChildAnalysis<>
? 對給定的子算子(如果存在)進行分析。
o getChildAnalysis<>
? 對給定的子算子進行分析,并在必要時進行構造。
使用上面定義的示例傳遞,看一些示例:
/// An interesting analysis.
struct MyOperationAnalysis {
// Compute this analysis with the provided operation.
MyOperationAnalysis(Operation *op);
};

void MyOperationPass::runOnOperation() {
// Query MyOperationAnalysis for the current operation.
MyOperationAnalysis &myAnalysis = getAnalysis();

// Query a cached instance of MyOperationAnalysis for the current operation.
// It will not be computed if it doesn’t exist.
auto optionalAnalysis = getCachedAnalysis();
if (optionalAnalysis)

// Query a cached instance of MyOperationAnalysis for the parent operation of
// the current operation. It will not be computed if it doesn’t exist.
auto optionalAnalysis = getCachedParentAnalysis();
if (optionalAnalysis)

}
Preserving Analyses
Analyses that are constructed after being queried by a pass are cached to avoid unnecessary computation if they are requested again later. To avoid stale analyses, all analyses are assumed to be invalidated by a pass. To avoid invalidation, a pass must specifically mark analyses that are known to be preserved.
? All Pass classes automatically provide the following utilities for preserving analyses:
o markAllAnalysesPreserved
o markAnalysesPreserved<>
通過查詢后構造的分析將被緩存,以避免不必要的計算(如果稍后再次請求的話)。為了避免過時的分析,假定所有分析都通過了一次pass驗證就無效了。為避免無效,pass必須特別標記已知保留的分析。
? 所有Pass類都會自動提供以下用于保留分析的實用程序:
o markAllAnalysesPreserved
o markAnalysesPreserved<>
void MyOperationPass::runOnOperation() {
// Mark all analyses as preserved. This is useful if a pass can guarantee
// that no transformation was performed.
markAllAnalysesPreserved();

// Mark specific analyses as preserved. This is used if some transformation
// was performed, but some analyses were either unaffected or explicitly
// preserved.
markAnalysesPreserved<MyAnalysis, MyAnalyses…>();
}
Pass Failure
Passes in MLIR are allowed to gracefully fail. This may happen if some invariant of the pass was broken, potentially leaving the IR in some invalid state. If such a situation occurs, the pass can directly signal a failure to the pass manager via the signalPassFailure method. If a pass signaled a failure when executing, no other passes in the pipeline will execute and the top-level call to PassManager::run will return failure.
允許MLIR中的傳遞正常失敗。如果pass的某些不變式被破壞,可能會使IR處于某種無效狀態,則可能會發生這種情況。如果發生這種情況,則pass可以該signalPassFailure方法直接向pass管理器發出故障信號。如果在執行過程中pass指示失敗,則流水線中將不會執行其它任何傳遞,并且對PassManager::run頂級調用,返回failure。
void MyOperationPass::runOnOperation() {
// Signal failure on a broken invariant.
if (some_broken_invariant)
return signalPassFailure();
}
Pass Manager
The above sections introduced the different types of passes and their invariants. This section introduces the concept of a PassManager, and how it can be used to configure and schedule a pass pipeline. There are two main classes related to pass management, the PassManager and the OpPassManager. The PassManager class acts as the top-level entry point, and contains various configurations used for the entire pass pipeline. The OpPassManager class is used to schedule passes to run at a specific level of nesting. The top-level PassManager also functions as an OpPassManager.
以上各節介紹了pass的不同類型及其不變性。本節介紹PassManager的概念,以及如何配置和計劃pass管道。與pass管理相關的主要類別有兩種:PassManager和OpPassManager。PassManager類作為頂層的入口點,包含用于整個pass管道的各種配置。該OpPassManager用于調度類會將以嵌套的一個特定的水平上運行。頂級 PassManager還用作OpPassManager。
OpPassManager
An OpPassManager is essentially a collection of passes to execute on an operation of a specific type. This operation type must adhere to the following requirement:
? Must be registered and marked IsolatedFromAbove .
o Passes are expected to not modify operations at or above the current operation being processed. If the operation is not isolated, it may inadvertently modify or traverse the SSA use-list of an operation it is not supposed to.
Passes can be added to a pass manager via addPass. The pass must either be an op-specific pass operating on the same operation type as OpPassManager, or an op-agnostic pass.
An OpPassManager is generally created by explicitly nesting a pipeline within another existing OpPassManager via the nest<> method. This method takes the operation type that the nested pass manager will operate on. At the top-level, a PassManager acts as an OpPassManager. Nesting in this sense, corresponds to the structural nesting within Regions of the IR.
For example, the following .mlir:
AnOpPassManager本質上是要在特定類型的算子上執行的pass的集合。算子類型必須符合以下要求:
? 必須注冊并標記 IsolatedFromAbove 。
o 預期pass不會修改正在處理的當前操作或更高的操作。如果操作不是孤立的,則可能會無意間修改或遍歷不應執行的操作的SSA使用列表。
可以通過將pass添加到pass管理器addPass。該pass必須是采用 op-specific與相同的算子類型進行操作OpPassManager的op-agnosticpass,或者是pass。
OpPassManager通常OpPassManager通過將該nest<>方法顯式嵌套在另一個現有pass中來創建An 。此方法采用嵌套pass管理器,將對其進行操作的操作類型。在頂層,a PassManager充當OpPassManager。從這個意義上講,嵌套對應 于 IR區域內的 結構嵌套 。
例如,以下內容.mlir:
module {
spv.module “Logical” “GLSL450” {
func @foo() {

}
}
}
Has the nesting structure of:
module
spv.module
function
Below is an example of constructing a pipeline that operates on the above structure:
// Create a top-level PassManager class. If an operation type is not
// explicitly specific, the default is the builtin module operation.
PassManager pm(ctx);
// Note: We could also create the above PassManager this way.
PassManager pm(ctx, /operationName=/“module”);

// Add a pass on the top-level module operation.
pm.addPass(std::make_unique());

// Nest a pass manager that operates on spirv.module operations nested
// directly under the top-level module.
OpPassManager &nestedModulePM = pm.nestspirv::ModuleOp();
nestedModulePM.addPass(std::make_unique());

// Nest a pass manager that operates on functions within the nested SPIRV
// module.
OpPassManager &nestedFunctionPM = nestedModulePM.nest();
nestedFunctionPM.addPass(std::make_unique());

// Run the pass manager on the top-level module.
ModuleOp m = …;
if (failed(pm.run(m)))
… // One of the passes signaled a failure.
The above pass manager contains the following pipeline structure:
OpPassManager
MyModulePass
OpPassManagerspirv::ModuleOp
MySPIRVModulePass
OpPassManager
MyFunctionPass
These pipelines are then run over a single operation at a time. This means that, for example, given a series of consecutive passes on FuncOp, it will execute all on the first function, then all on the second function, etc. until the entire program has been run through the passes. This provides several benefits:
? This improves the cache behavior of the compiler, because it is only touching a single function at a time, instead of traversing the entire program.
? This improves multi-threading performance by reducing the number of jobs that need to be scheduled, as well as increasing the efficiency of each job. An entire function pipeline can be run on each function asynchronously.
Dynamic Pass Pipelines
In some situations it may be useful to run a pass pipeline within another pass, to allow configuring or filtering based on some invariants of the current operation being operated on. For example, the Inliner Pass may want to run intraprocedural simplification passes while it is inlining to produce a better cost model, and provide more optimal inlining. To enable this, passes may run an arbitrary OpPassManager on the current operation being operated on or any operation nested within the current operation via the LogicalResult Pass::runPipeline(OpPassManager &, Operation *) method. This method returns whether the dynamic pipeline succeeded or failed, similarly to the result of the top-level PassManager::run method. A simple example is shown below:
void MyModulePass::runOnOperation() {
ModuleOp module = getOperation();
if (hasSomeSpecificProperty(module)) {
OpPassManager dynamicPM(“module”);
…; // Build the dynamic pipeline.
if (failed(runPipeline(dynamicPM, module)))
return signalPassFailure();
}
}
Note: though above the dynamic pipeline was constructed within the runOnOperation method, this is not necessary and pipelines should be cached when possible as the OpPassManager class can be safely copy constructed.
The mechanism described in this section should be used whenever a pass pipeline should run in a nested fashion, i.e. when the nested pipeline cannot be scheduled statically along with the rest of the main pass pipeline. More specifically, a PassManager should generally never need to be constructed within a Pass. Using runPipeline also ensures that all analyses, instrumentations , and other pass manager related components are integrated with the dynamic pipeline being executed.
Instance Specific Pass Options
MLIR provides a builtin mechanism for passes to specify options that configure its behavior. These options are parsed at pass construction time independently for each instance of the pass. Options are defined using the Option<> and ListOption<> classes, and follow the LLVM command line flag definition rules. See below for a few examples:
struct MyPass … {
/// Make sure that we have a valid default constructor and copy constructor to
/// ensure that the options are initialized properly.
MyPass() = default;
MyPass(const MyPass& pass) {}

/// Any parameters after the description are forwarded to llvm:🆑:list and
/// llvm:🆑:opt respectively.
Option exampleOption{*this, “flag-name”, llvm:🆑:desc("…")};
ListOption exampleListOption{*this, “list-flag-name”,
llvm:🆑:desc("…")};
};
For pass pipelines, the PassPipelineRegistration templates take an additional template parameter for an optional Option struct definition. This struct should inherit from mlir::PassPipelineOptions and contain the desired pipeline options. When using PassPipelineRegistration, the constructor now takes a function with the signature void (OpPassManager &pm, const MyPipelineOptions&) which should construct the passes from the options and pass them to the pm:
struct MyPipelineOptions : public PassPipelineOptions {
// The structure of these options is the same as those for pass options.
Option exampleOption{*this, “flag-name”, llvm:🆑:desc("…")};
ListOption exampleListOption{*this, “list-flag-name”,
llvm:🆑:desc("…")};
};

void registerMyPasses() {
PassPipelineRegistration(
“example-pipeline”, “Run an example pipeline.”,
[](OpPassManager &pm, const MyPipelineOptions &pipelineOptions) {
// Initialize the pass manager.
});
}
Pass Statistics
Statistics are a way to keep track of what the compiler is doing and how effective various transformations are. It is often useful to see what effect specific transformations have on a particular input, and how often they trigger. Pass statistics are specific to each pass instance, which allow for seeing the effect of placing a particular transformation at specific places within the pass pipeline. For example, they help answer questions like “What happens if I run CSE again here?”.
Statistics can be added to a pass by using the ‘Pass::Statistic’ class. This class takes as a constructor arguments: the parent pass, a name, and a description. This class acts like an atomic unsigned integer, and may be incremented and updated accordingly. These statistics rely on the same infrastructure as llvm::Statistic and thus have similar usage constraints. Collected statistics can be dumped by the pass manager programmatically via PassManager::enableStatistics; or via -pass-statistics and -pass-statistics-display on the command line.
An example is shown below:
struct MyPass … {
/// Make sure that we have a valid default constructor and copy constructor to
/// ensure that the options are initialized properly.
MyPass() = default;
MyPass(const MyPass& pass) {}

/// Define the statistic to track during the execution of MyPass.
Statistic exampleStat{this, “exampleStat”, “An example statistic”};

void runOnOperation() {

// Update the statistic after some invariant was hit.
++exampleStat;...

}
};
The collected statistics may be aggregated in two types of views:
A pipeline view that models the structure of the pass manager, this is the default view:
$ mlir-opt -pass-pipeline=‘func(my-pass,my-pass)’ foo.mlir -pass-statistics

=-------------------------------------------------------------------------=
… Pass statistics report …
=-------------------------------------------------------------------------=
‘func’ Pipeline
MyPass
(S) 15 exampleStat - An example statistic
VerifierPass
MyPass
(S) 6 exampleStat - An example statistic
VerifierPass
VerifierPass
A list view that aggregates the statistics of all instances of a specific pass together:
$ mlir-opt -pass-pipeline=‘func(my-pass, my-pass)’ foo.mlir -pass-statistics -pass-statistics-display=list

=-------------------------------------------------------------------------=
… Pass statistics report …
=-------------------------------------------------------------------------=
MyPass
(S) 21 exampleStat - An example statistic
Pass Registration
Briefly shown in the example definitions of the various pass types is the PassRegistration class. This mechanism allows for registering pass classes so that they may be created within a textual pass pipeline description . An example registration is shown below:
void registerMyPass() {
PassRegistration(“argument”, “description”);
}
? MyPass is the name of the derived pass class.
? “argument” is the argument used to refer to the pass in the textual format.
? “description” is a brief description of the pass.
For passes that cannot be default-constructed, PassRegistration accepts an optional third argument that takes a callback to create the pass:
void registerMyPass() {
PassRegistration(
“argument”, “description”,
-> std::unique_ptr {
std::unique_ptr p = std::make_unique(/options/);
/… non-trivial-logic to configure the pass …/;
return p;
});
}
This variant of registration can be used, for example, to accept the configuration of a pass from command-line arguments and pass it to the pass constructor.
Note: Make sure that the pass is copy-constructible in a way that does not share data as the pass manager may create copies of the pass to run in parallel.
Pass Pipeline Registration
Described above is the mechanism used for registering a specific derived pass class. On top of that, MLIR allows for registering custom pass pipelines in a similar fashion. This allows for custom pipelines to be available to tools like mlir-opt in the same way that passes are, which is useful for encapsulating common pipelines like the “-O1” series of passes. Pipelines are registered via a similar mechanism to passes in the form of PassPipelineRegistration. Compared to PassRegistration, this class takes an additional parameter in the form of a pipeline builder that modifies a provided OpPassManager.
void pipelineBuilder(OpPassManager &pm) {
pm.addPass(std::make_unique());
pm.addPass(std::make_unique());
}

void registerMyPasses() {
// Register an existing pipeline builder function.
PassPipelineRegistration<>(
“argument”, “description”, pipelineBuilder);

// Register an inline pipeline builder.
PassPipelineRegistration<>(
“argument”, “description”, [](OpPassManager &pm) {
pm.addPass(std::make_unique());
pm.addPass(std::make_unique());
});
}
Textual Pass Pipeline Specification
The previous sections detailed how to register passes and pass pipelines with a specific argument and description. Once registered, these can be used to configure a pass manager from a string description. This is especially useful for tools like mlir-opt, that configure pass managers from the command line, or as options to passes that utilize dynamic pass pipelines .
To support the ability to describe the full structure of pass pipelines, MLIR supports a custom textual description of pass pipelines. The textual description includes the nesting structure, the arguments of the passes and pass pipelines to run, and any options for those passes and pipelines. A textual pipeline is defined as a series of names, each of which may in itself recursively contain a nested pipeline description. The syntax for this specification is as follows:
pipeline ::= op-name ( pipeline-element (, pipeline-element)* )
pipeline-element ::= pipeline | (pass-name | pass-pipeline-name) options?
options ::= ‘{’ (key (’=’ value)?)+ ‘}’
? op-name
o This corresponds to the mnemonic name of an operation to run passes on, e.g. func or module.
? pass-name | pass-pipeline-name
o This corresponds to the argument of a registered pass or pass pipeline, e.g. cse or canonicalize.
? options
o Options are specific key value pairs representing options defined by a pass or pass pipeline, as described in the “Instance Specific Pass Options” section. See this section for an example usage in a textual pipeline.
For example, the following pipeline:
$ mlir-opt foo.mlir -cse -canonicalize -convert-std-to-llvm=‘use-bare-ptr-memref-call-conv=1’
Can also be specified as (via the -pass-pipeline flag):
$ mlir-opt foo.mlir -pass-pipeline=‘func(cse,canonicalize),convert-std-to-llvm{use-bare-ptr-memref-call-conv=1}’
In order to support round-tripping a pass to the textual representation using OpPassManager::printAsTextualPipeline(raw_ostream&), override StringRef Pass::getArgument() to specify the argument used when registering a pass.
Declarative Pass Specification
Some aspects of a Pass may be specified declaratively, in a form similar to operations . This specification simplifies several mechanisms used when defining passes. It can be used for generating pass registration calls, defining boilerplate pass utilities, and generating pass documentation.
Consider the following pass specified in C++:
struct MyPass : PassWrapper<MyPass, OperationPass> {
MyPass() = default;
MyPass(const MyPass &) {}

// Specify any options.
Option option{
*this, “example-option”,
llvm:🆑:desc(“An example option”), llvm:🆑:init(true)};
ListOption<int64_t> listOption{
*this, “example-list”,
llvm:🆑:desc(“An example list option”), llvm:🆑:ZeroOrMore,
llvm:🆑:MiscFlags::CommaSeparated};

// Specify any statistics.
Statistic statistic{this, “example-statistic”, “An example statistic”};
};

/// Expose this pass to the outside world.
std::unique_ptr foo::createMyPass() {
return std::make_unique();
}

/// Register this pass.
void foo::registerMyPass() {
PassRegistration(“my-pass”, “My pass summary”);
}
This pass may be specified declaratively as so:
def MyPass : Pass<“my-pass”, “ModuleOp”> {
let summary = “My Pass Summary”;
let description = [{
Here we can now give a much larger description of MyPass, including all of
its various constraints and behavior.
}];

// A constructor must be provided to specify how to create a default instance
// of MyPass.
let constructor = “foo::createMyPass()”;

// Specify any options.
let options = [
Option<“option”, “example-option”, “bool”, /default=/“true”,
“An example option”>,
ListOption<“listOption”, “example-list”, “int64_t”,
“An example list option”,
“llvm:🆑:ZeroOrMore, llvm:🆑:MiscFlags::CommaSeparated”>
];

// Specify any statistics.
let statistics = [
Statistic<“statistic”, “example-statistic”, “An example statistic”>
];
}
Using the gen-pass-decls generator, we can generate most of the boilerplate above automatically. This generator takes as an input a -name parameter, that provides a tag for the group of passes that are being generated. This generator produces two chunks of output:
The first is a code block for registering the declarative passes with the global registry. For each pass, the generator produces a registerFooPass where Foo is the name of the definition specified in tablegen. It also generates a registerGroupPasses, where Group is the tag provided via the -name input parameter, that registers all of the passes present.
// gen-pass-decls -name=“Example”

#define GEN_PASS_REGISTRATION
#include “Passes.h.inc”

void registerMyPasses() {
// Register all of the passes.
registerExamplePasses();

// Register MyPass specifically.
registerMyPassPass();
}
The second is a base class for each of the passes, containing most of the boiler plate related to pass definitions. These classes are named in the form of MyPassBase, where MyPass is the name of the pass definition in tablegen. We can update the original C++ pass definition as so:
/// Include the generated base pass class definitions.
#define GEN_PASS_CLASSES
#include “Passes.h.inc”

/// Define the main class as deriving from the generated base class.
struct MyPass : MyPassBase {
/// The explicit constructor is no longer explicitly necessary when defining
/// pass options and statistics, the base class takes care of that
/// automatically.

/// The definitions of the options and statistics are now generated within
/// the base class, but are accessible in the same way.
};

/// Expose this pass to the outside world.
std::unique_ptr foo::createMyPass() {
return std::make_unique();
}
Using the gen-pass-doc generator, markdown documentation for each of the passes can be generated. See Passes.md for example output of real MLIR passes.
Tablegen Specification
The Pass class is used to begin a new pass definition. This class takes as an argument the registry argument to attribute to the pass, as well as an optional string corresponding to the operation type that the pass operates on. The class contains the following fields:
? summary
o A short one line summary of the pass, used as the description when registering the pass.
? description
o A longer, more detailed description of the pass. This is used when generating pass documentation.
? dependentDialects
o A list of strings representing the Dialect classes this pass may introduce entities, Attributes/Operations/Types/etc., of.
? constructor
o A code block used to create a default instance of the pass.
? options
o A list of pass options used by the pass.
? statistics
o A list of pass statistics used by the pass.
Options
Options may be specified via the Option and ListOption classes. The Option class takes the following template parameters:
? C++ variable name
o A name to use for the generated option variable.
? argument
o The argument name of the option.
? type
o The C++ type of the option.
? default value
o The default option value.
? description
o A one line description of the option.
? additional option flags
o A string containing any additional options necessary to construct the option.
def MyPass : Pass<“my-pass”> {
let options = [
Option<“option”, “example-option”, “bool”, /default=/“true”,
“An example option”>,
];
}
The ListOption class takes the following fields:
? C++ variable name
o A name to use for the generated option variable.
? argument
o The argument name of the option.
? element type
o The C++ type of the list element.
? description
o A one line description of the option.
? additional option flags
o A string containing any additional options necessary to construct the option.
def MyPass : Pass<“my-pass”> {
let options = [
ListOption<“listOption”, “example-list”, “int64_t”,
“An example list option”,
“llvm:🆑:ZeroOrMore, llvm:🆑:MiscFlags::CommaSeparated”>
];
}
Statistic
Statistics may be specified via the Statistic, which takes the following template parameters:
? C++ variable name
o A name to use for the generated statistic variable.
? display name
o The name used when displaying the statistic.
? description
o A one line description of the statistic.
def MyPass : Pass<“my-pass”> {
let statistics = [
Statistic<“statistic”, “example-statistic”, “An example statistic”>
];
}
Pass Instrumentation
MLIR provides a customizable framework to instrument pass execution and analysis computation, via the PassInstrumentation class. This class provides hooks into the PassManager that observe various events:
? runBeforePipeline
o This callback is run just before a pass pipeline, i.e. pass manager, is executed.
? runAfterPipeline
o This callback is run right after a pass pipeline has been executed, successfully or not.
? runBeforePass
o This callback is run just before a pass is executed.
? runAfterPass
o This callback is run right after a pass has been successfully executed. If this hook is executed, runAfterPassFailed will not be.
? runAfterPassFailed
o This callback is run right after a pass execution fails. If this hook is executed, runAfterPass will not be.
? runBeforeAnalysis
o This callback is run just before an analysis is computed.
? runAfterAnalysis
o This callback is run right after an analysis is computed.
PassInstrumentation instances may be registered directly with a PassManager instance via the addInstrumentation method. Instrumentations added to the PassManager are run in a stack like fashion, i.e. the last instrumentation to execute a runBefore* hook will be the first to execute the respective runAfter* hook. The hooks of a PassInstrumentation class are guaranteed to be executed in a thread safe fashion, so additional synchronization is not necessary. Below in an example instrumentation that counts the number of times the DominanceInfo analysis is computed:
struct DominanceCounterInstrumentation : public PassInstrumentation {
/// The cumulative count of how many times dominance has been calculated.
unsigned &count;

DominanceCounterInstrumentation(unsigned &count) : count(count) {}
void runAfterAnalysis(llvm::StringRef, TypeID id, Operation *) override {
if (id == TypeID::get())
++count;
}
};

MLIRContext *ctx = …;
PassManager pm(ctx);

// Add the instrumentation to the pass manager.
unsigned domInfoCount;
pm.addInstrumentation(
std::make_unique(domInfoCount));

// Run the pass manager on a module operation.
ModuleOp m = …;
if (failed(pm.run(m)))

llvm::errs() << “DominanceInfo was computed " << domInfoCount << " times!\n”;
Standard Instrumentations
MLIR utilizes the pass instrumentation framework to provide a few useful developer tools and utilities. Each of these instrumentations are directly available to all users of the MLIR pass framework.
Pass Timing
The PassTiming instrumentation provides timing information about the execution of passes and computation of analyses. This provides a quick glimpse into what passes are taking the most time to execute, as well as how much of an effect a pass has on the total execution time of the pipeline. Users can enable this instrumentation directly on the PassManager via enableTiming. This instrumentation is also made available in mlir-opt via the -pass-timing flag. The PassTiming instrumentation provides several different display modes for the timing results, each of which is described below:
List Display Mode
In this mode, the results are displayed in a list sorted by total time with each pass/analysis instance aggregated into one unique result. This view is useful for getting an overview of what analyses/passes are taking the most time in a pipeline. This display mode is available in mlir-opt via -pass-timing-display=list.
$ mlir-opt foo.mlir -mlir-disable-threading -pass-pipeline=‘func(cse,canonicalize)’ -convert-std-to-llvm -pass-timing -pass-timing-display=list

=-------------------------------------------------------------------------=
… Pass execution timing report …
=-------------------------------------------------------------------------=
Total Execution Time: 0.0203 seconds

—Wall Time— — Name —
0.0047 ( 55.9%) Canonicalizer
0.0019 ( 22.2%) VerifierPass
0.0016 ( 18.5%) LLVMLoweringPass
0.0003 ( 3.4%) CSE
0.0002 ( 1.9%) (A) DominanceInfo
0.0084 (100.0%) Total
Pipeline Display Mode
In this mode, the results are displayed in a nested pipeline view that mirrors the internal pass pipeline that is being executed in the pass manager. This view is useful for understanding specifically which parts of the pipeline are taking the most time, and can also be used to identify when analyses are being invalidated and recomputed. This is the default display mode.
$ mlir-opt foo.mlir -mlir-disable-threading -pass-pipeline=‘func(cse,canonicalize)’ -convert-std-to-llvm -pass-timing

=-------------------------------------------------------------------------=
… Pass execution timing report …
=-------------------------------------------------------------------------=
Total Execution Time: 0.0249 seconds

—Wall Time— — Name —
0.0058 ( 70.8%) ‘func’ Pipeline
0.0004 ( 4.3%) CSE
0.0002 ( 2.6%) (A) DominanceInfo
0.0004 ( 4.8%) VerifierPass
0.0046 ( 55.4%) Canonicalizer
0.0005 ( 6.2%) VerifierPass
0.0005 ( 5.8%) VerifierPass
0.0014 ( 17.2%) LLVMLoweringPass
0.0005 ( 6.2%) VerifierPass
0.0082 (100.0%) Total
Multi-threaded Pass Timing
When multi-threading is enabled in the pass manager the meaning of the display slightly changes. First, a new timing column is added, User Time, that displays the total time spent across all threads. Secondly, the Wall Time column displays the longest individual time spent amongst all of the threads. This means that the Wall Time column will continue to give an indicator on the perceived time, or clock time, whereas the User Time will display the total cpu time.
$ mlir-opt foo.mlir -pass-pipeline=‘func(cse,canonicalize)’ -convert-std-to-llvm -pass-timing

=-------------------------------------------------------------------------=
… Pass execution timing report …
=-------------------------------------------------------------------------=
Total Execution Time: 0.0078 seconds

—User Time— —Wall Time— — Name —
0.0177 ( 88.5%) 0.0057 ( 71.3%) ‘func’ Pipeline
0.0044 ( 22.0%) 0.0015 ( 18.9%) CSE
0.0029 ( 14.5%) 0.0012 ( 15.2%) (A) DominanceInfo
0.0038 ( 18.9%) 0.0015 ( 18.7%) VerifierPass
0.0089 ( 44.6%) 0.0025 ( 31.1%) Canonicalizer
0.0006 ( 3.0%) 0.0002 ( 2.6%) VerifierPass
0.0004 ( 2.2%) 0.0004 ( 5.4%) VerifierPass
0.0013 ( 6.5%) 0.0013 ( 16.3%) LLVMLoweringPass
0.0006 ( 2.8%) 0.0006 ( 7.0%) VerifierPass
0.0200 (100.0%) 0.0081 (100.0%) Total
IR Printing
When debugging it is often useful to dump the IR at various stages of a pass pipeline. This is where the IR printing instrumentation comes into play. This instrumentation allows for conditionally printing the IR before and after pass execution by optionally filtering on the pass being executed. This instrumentation can be added directly to the PassManager via the enableIRPrinting method. mlir-opt provides a few useful flags for utilizing this instrumentation:
? print-ir-before=(comma-separated-pass-list)
o Print the IR before each of the passes provided within the pass list.
? print-ir-before-all
o Print the IR before every pass in the pipeline.
$ mlir-opt foo.mlir -pass-pipeline=‘func(cse)’ -print-ir-before=cse

*** IR Dump Before CSE ***
func @simple_constant() -> (i32, i32) {
%c1_i32 = constant 1 : i32
%c1_i32_0 = constant 1 : i32
return %c1_i32, %c1_i32_0 : i32, i32
}
? print-ir-after=(comma-separated-pass-list)
o Print the IR after each of the passes provided within the pass list.
? print-ir-after-all
o Print the IR after every pass in the pipeline.
$ mlir-opt foo.mlir -pass-pipeline=‘func(cse)’ -print-ir-after=cse

*** IR Dump After CSE ***
func @simple_constant() -> (i32, i32) {
%c1_i32 = constant 1 : i32
return %c1_i32, %c1_i32 : i32, i32
}
? print-ir-after-change
o Only print the IR after a pass if the pass mutated the IR. This helps to reduce the number of IR dumps for “uninteresting” passes.
o Note: Changes are detected by comparing a hash of the operation before and after the pass. This adds additional run-time to compute the hash of the IR, and in some rare cases may result in false-positives depending on the collision rate of the hash algorithm used.
o Note: This option should be used in unison with one of the other ‘print-ir-after’ options above, as this option alone does not enable printing.
$ mlir-opt foo.mlir -pass-pipeline=‘func(cse,cse)’ -print-ir-after=cse -print-ir-after-change

*** IR Dump After CSE ***
func @simple_constant() -> (i32, i32) {
%c1_i32 = constant 1 : i32
return %c1_i32, %c1_i32 : i32, i32
}
? print-ir-module-scope
o Always print the top-level module operation, regardless of pass type or operation nesting level.
o Note: Printing at module scope should only be used when multi-threading is disabled(-mlir-disable-threading)
$ mlir-opt foo.mlir -mlir-disable-threading -pass-pipeline=‘func(cse)’ -print-ir-after=cse -print-ir-module-scope

*** IR Dump After CSE *** (‘func’ operation: @bar)
func @bar(%arg0: f32, %arg1: f32) -> f32 {

}

func @simple_constant() -> (i32, i32) {
%c1_i32 = constant 1 : i32
%c1_i32_0 = constant 1 : i32
return %c1_i32, %c1_i32_0 : i32, i32
}

*** IR Dump After CSE *** (‘func’ operation: @simple_constant)
func @bar(%arg0: f32, %arg1: f32) -> f32 {

}

func @simple_constant() -> (i32, i32) {
%c1_i32 = constant 1 : i32
return %c1_i32, %c1_i32 : i32, i32
}
Crash and Failure Reproduction
The pass manager in MLIR contains a builtin mechanism to generate reproducibles in the event of a crash, or a pass failure . This functionality can be enabled via PassManager::enableCrashReproducerGeneration or via the command line flag pass-pipeline-crash-reproducer. In either case, an argument is provided that corresponds to the output .mlir file name that the reproducible should be written to. The reproducible contains the configuration of the pass manager that was executing, as well as the initial IR before any passes were run. A potential reproducible may have the form:
// configuration: -pass-pipeline=‘func(cse,canonicalize),inline’ -verify-each

module {
func @foo() {

}
}
The configuration dumped can be passed to mlir-opt by specifying -run-reproducer flag. This will result in parsing the first line configuration of the reproducer and adding those to the command line options.
Beyond specifying a filename, one can also register a ReproducerStreamFactory function that would be invoked in the case of a crash and the reproducer written to its stream.
Local Reproducer Generation
An additional flag may be passed to PassManager::enableCrashReproducerGeneration, and specified via pass-pipeline-local-reproducer on the command line, that signals that the pass manager should attempt to generate a “local” reproducer. This will attempt to generate a reproducer containing IR right before the pass that fails. This is useful for situations where the crash is known to be within a specific pass, or when the original input relies on components (like dialects or passes) that may not always be available.
For example, if the failure in the previous example came from canonicalize, the following reproducer will be generated:
// configuration: -pass-pipeline=‘func(canonicalize)’ -verify-each

module {
func @foo() {

}
}

總結

以上是生活随笔為你收集整理的AI基础架构Pass Infrastructure的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

亚洲激精日韩激精欧美精品 | 亚州成人av在线 | 久久视频免费在线观看 | 人人超碰人人 | 国产精品18久久久 | 久久婷婷国产色一区二区三区 | 521色香蕉网站在线观看 | 天天色天天搞 | 国产精品国产亚洲精品看不卡 | 国产精品3 | 国产精品乱码在线 | av免费在线观看网站 | 天天色天天干天天 | 狠狠狠干狠狠 | 国产精品成久久久久 | 国产麻豆果冻传媒在线观看 | 国产裸体bbb视频 | 九九热在线精品视频 | 日日干,天天干 | 国产成人福利在线观看 | 国产99久久久国产 | 天天干夜夜操视频 | 天天干夜夜操视频 | 狠狠躁夜夜躁人人爽超碰97香蕉 | 91中文在线| 精品久久久久久一区二区里番 | 偷拍精品一区二区三区 | 又黄又爽又刺激的视频 | 国产精品久久久久久69 | 国产 中文 日韩 欧美 | 日韩av网页| 天天干天天操天天拍 | 中文字幕免费一区 | 欧美久久久久久久久久久久 | 精品你懂的| 久草免费在线观看视频 | 国产精品99久久久久久有的能看 | 国色天香第二季 | 亚洲在线视频网站 | 国产视频1区2区3区 久久夜视频 | 国产综合小视频 | 久久久久久视频 | 久久免费视频国产 | 国产大尺度视频 | 亚洲不卡av一区二区三区 | 亚洲视频免费视频 | 伊人天堂久久 | 成人网444ppp| 97在线看| 亚洲专区欧美专区 | 日日操日日 | 超碰国产人人 | 玖玖视频精品 | 日韩av一区二区在线播放 | 91tv国产成人福利 | 毛片无卡免费无播放器 | 狠狠操操| 97在线观看免费高清完整版在线观看 | 日韩啪啪小视频 | 国产亚洲精品久久久久5区 成人h电影在线观看 | 97超碰在线资源 | 日本女人逼 | 亚洲砖区区免费 | 成人黄色电影视频 | 国产精品久久久久久久久久久久午夜 | 日韩午夜av电影 | 一级黄色片在线 | 日本 在线 视频 中文 有码 | 成人动漫精品一区二区 | 国产精品每日更新 | 中文字幕亚洲精品日韩 | 天天干天天射天天操 | 狠狠色婷婷丁香六月 | 亚洲国产精品一区二区久久hs | 国产精品毛片一区视频播 | 欧美a级在线播放 | 成年人免费电影 | 在线视频区 | 日精品 | 亚洲尺码电影av久久 | 有码中文在线 | 99久久综合精品五月天 | 97国产小视频 | 中文字幕在线观看视频免费 | 中文视频在线 | 国产成人精品亚洲 | 久久国产影视 | 国产又粗又猛又黄又爽视频 | 亚洲狠狠婷婷综合久久久 | 日本精品中文字幕在线观看 | 精品国产乱码久久久久 | 欧美日韩精 | 91完整版| 91久久久国产精品 | 国产精品99久久久精品免费观看 | 啪啪免费视频网站 | 国产精品久久久久久久久久了 | 午夜在线免费观看视频 | 热久在线| 果冻av在线| 九九久久电影 | 久久国产精品99久久久久久丝袜 | 欧美一区二区三区四区夜夜大片 | 日韩av成人在线观看 | 手机版av在线 | 国产精品成人免费一区久久羞羞 | 免费网址你懂的 | 国产成a人亚洲精v品在线观看 | 青青草在久久免费久久免费 | 91热在线 | 激情小说网站亚洲综合网 | 99久久精品国产一区 | 69国产盗摄一区二区三区五区 | 在线91精品 | 黄色三级免费观看 | 国产精品久久久久久欧美 | 国产精品美女视频网站 | 天天操天天能 | 成人午夜电影网 | 91九色蝌蚪在线 | 久久精品一区二区三区中文字幕 | 一本到视频在线观看 | 日韩欧美在线第一页 | 欧美国产大片 | 中文一区二区三区在线观看 | 91麻豆精品国产91久久久无需广告 | 黄色国产成人 | 天天添夜夜操 | 亚洲精品美女在线观看 | 国产a视频免费观看 | 亚洲一区二区精品视频 | 日日操日日干 | 天天天天天天天天操 | 日本精品一区二区三区在线播放视频 | 天天干天天操天天爱 | 亚洲最新av | 国产日韩精品一区二区三区在线 | 国产精品久久久久久麻豆一区 | 超碰在线人人 | 99精品在线免费视频 | 毛片3| 久草综合在线 | 91精品国产乱码在线观看 | 夜夜操天天操 | 91九色蝌蚪视频 | 亚洲日韩欧美视频 | 蜜臀av性久久久久蜜臀aⅴ涩爱 | 久久爱资源网 | 国产精品二区在线 | 精品国产一区二区三区久久影院 | 黄色av成人在线 | 国产亚洲综合精品 | 97av色| 亚洲精品免费观看视频 | 美女国产网站 | 91亚洲精品久久久蜜桃网站 | 亚洲久草网 | 日韩免费观看高清 | 九九导航| 免费看的黄色 | 午夜精品久久久久久久久久 | 天天综合天天做天天综合 | 中文字幕电影一区 | 一级成人网 | 丁香午夜| 中文字幕中文 | 国产精品久久久久久久久久久免费 | 日韩av在线不卡 | 天天久久夜夜 | 亚洲精品在线观 | 久艹在线观看视频 | 日韩在线不卡视频 | 天天玩天天干 | 97视频在线免费播放 | 久久久精品欧美 | 在线免费观看黄色 | 国产v在线播放 | 久久综合日| 操高跟美女 | 欧美小视频在线 | 欧美一区二区在线免费看 | 国产剧情一区在线 | 日韩精品免费一线在线观看 | 亚洲成av人电影 | 国产专区一 | 夜夜操网站 | 中文字幕在线观看的网站 | 欧美成人亚洲 | 成人资源在线播放 | 夜色资源网 | 午夜精品久久久99热福利 | 亚在线播放中文视频 | 日韩在线视频免费播放 | 成年人免费在线播放 | 久久在现 | 丁香视频| 国产第一页在线观看 | 国产精品久久久久毛片大屁完整版 | 久久国产精品99国产精 | 中文字幕在线观看视频一区 | 久草在线视频免赞 | 日韩成人精品一区二区三区 | 91精品一区国产高清在线gif | av日韩不卡 | 91桃色在线播放 | 久久人人爽人人 | 欧美国产精品久久久久久免费 | 在线免费中文字幕 | 国产午夜一区 | 色视频在线看 | 99视频在线精品免费观看2 | 网站免费黄 | 国产在线精品一区二区 | 一区二区成人国产精品 | 婷婷播播网 | 500部大龄熟乱视频 欧美日本三级 | 午夜视频色 | 国产一二区免费视频 | 亚洲国内精品在线 | 亚洲天天综合网 | 日韩欧美电影在线观看 | 97碰碰视频 | 久色 网 | 精品久久久久久久久中文字幕 | 亚州天堂 | 国产精品久久久久久久久久久免费看 | 福利视频| 国产精品99精品久久免费 | 日韩高清黄色 | 免费碰碰| 激情欧美一区二区三区免费看 | 久久久久久久久久网站 | 香蕉视频在线视频 | 久久国产精品99精国产 | 精久久久久 | 日韩欧美在线免费 | 久久久受www免费人成 | 日韩成人邪恶影片 | 91视频 - 114av | 亚洲国产偷 | 国产精品久久久久久久久费观看 | 婷婷色中文网 | 国产亚洲精品久久久久久移动网络 | 五月婷婷久草 | 日韩美女av在线 | 成人蜜桃网 | 国产青草视频在线观看 | 91丨九色丨国产在线 | 99产精品成人啪免费网站 | 天天操天天干天天玩 | 热久久国产精品 | 久久精品五月 | 五月天亚洲精品 | www.色五月.com | 欧美色图30p | 国产麻豆电影 | 久久字幕 | 国产精品原创在线 | 日韩在线小视频 | 五月天视频网站 | 久久国产精品精品国产色婷婷 | 午夜成人影视 | 99视频播放| 国产精品精品国产 | 午夜资源站 | 亚洲精品字幕 | 伊人黄色网 | 中文字幕视频三区 | 欧美成人手机版 | 久久麻豆视频 | 一二三区视频在线 | 日本中文字幕网 | 欧美日韩大片在线观看 | 探花视频免费在线观看 | 伊甸园永久入口www 99热 精品在线 | 婷婷六月综合网 | 五月婷婷综合久久 | 99这里只有精品99 | 国产999精品久久久久久 | 国产黄色大全 | 久久久综合色 | se婷婷| 成人在线视频一区 | 日本黄区免费视频观看 | 久久久精品高清 | 亚洲精品乱码久久久久久9色 | 天堂av免费看 | 久久成人午夜 | 最新av电影网站 | 521色香蕉网站在线观看 | 91精品久久久久久综合乱菊 | 国产精品毛片久久久久久久 | 日日添夜夜添 | 四虎影视成人永久免费观看亚洲欧美 | 中文字幕刺激在线 | 九九有精品 | 91av官网| 亚洲国产成人精品电影在线观看 | 99免费在线视频观看 | www.91国产 | av中文字幕亚洲 | 波多野结衣日韩 | 成年人视频免费在线播放 | 91网站在线视频 | 91麻豆操| 欧美日韩视频一区二区三区 | 欧美亚洲国产一卡 | 国产精品久久久久久久久久ktv | 色综合中文字幕 | 日韩精品免费一区二区在线观看 | 国产精品久久久久四虎 | 黄色福利视频网站 | 激情小说 五月 | 狠狠网 | 天天天天天干 | 永久免费观看视频 | 亚洲高清在线视频 | 网址你懂的在线观看 | 亚洲激情精品 | 色偷偷网站视频 | 日日操天天爽 | 日韩国产精品久久久久久亚洲 | 91麻豆精品91久久久久同性 | 婷婷社区五月天 | 久热精品国产 | 国产精品一区免费观看 | 国模精品一区二区三区 | 成年人免费在线观看网站 | 国产精品18久久久久久首页狼 | 六月天综合网 | 欧美日韩久久不卡 | 亚洲国产偷 | 日韩免费| 天天爱天天干天天爽 | 国产日产精品久久久久快鸭 | 亚洲片在线资源 | 成人在线观看影院 | 五月天中文字幕mv在线 | 国产高清专区 | 国产精品免费在线观看视频 | 日韩在线视频免费播放 | 午夜视频在线观看一区二区三区 | 国产精品99久久久精品 | 成年人免费观看国产 | 中文字幕av日韩 | 久操视频在线免费看 | 欧美一级视频免费 | 亚洲2019精品 | 国产精品免费视频一区二区 | 五月天婷亚洲天综合网鲁鲁鲁 | 久艹在线观看视频 | 国产婷婷视频在线 | 天天色草 | 97在线公开视频 | 日韩最新理论电影 | 久久免费av | av在线色 | 日韩中文字幕免费在线播放 | 欧美性生活免费看 | 美女视频黄频大全免费 | 久插视频 | www在线观看视频 | 婷婷在线资源 | 福利区在线观看 | 日韩欧美一区二区三区视频 | 国产视频精品久久 | 超碰在线日本 | 91热这里只有精品 | 日日日日干 | 久久成人在线视频 | 伊人六月 | 日韩高清在线一区二区三区 | 成人久久久久久久久久 | 91.麻豆视频 | 欧美一区免费观看 | 精品视频中文字幕 | 日日干影院 | 日韩免费电影在线观看 | 五月婷婷视频在线观看 | 精品人人人 | av在线色 | 992tv在线成人免费观看 | 国产精品入口麻豆www | 精品久久久一区二区 | 国产视频日韩 | 国产精品精品久久久久久 | 色天天综合久久久久综合片 | www..com毛片 | 欧美午夜精品久久久久久孕妇 | 久久69av| 超碰人人乐| 欧美日韩p片 | 97在线看片 | 亚洲蜜桃av | 国产高清中文字幕 | 美女搞黄国产视频网站 | 激情欧美丁香 | 久久国产免费看 | 亚洲毛片久久 | 亚洲精色 | 国产精品免费观看在线 | 久草电影免费在线观看 | 激情丁香月 | 97超碰人人澡 | 亚洲成人二区 | 人人插人人干 | 国产精品视频免费看 | 一级精品视频在线观看宜春院 | 九九热国产视频 | 美女网站在线免费观看 | 成人在线播放av | 国产精品一级视频 | 激情av在线播放 | 久久99热精品这里久久精品 | 91人人插 | 成人网页在线免费观看 | 99国产成+人+综合+亚洲 欧美 | av中文字幕网站 | 在线观看91精品国产网站 | 亚洲国产三级在线 | 天天干天天做天天操 | av在观看 | a级国产乱理论片在线观看 伊人宗合网 | 午夜国产福利在线观看 | 亚洲精品激情 | 99精品观看 | 国产精品video | 美女黄频免费 | 午夜国产一区二区三区四区 | 久久久久免费精品国产 | 久久久激情网 | wwwwwww黄| 一区二区三区在线免费观看视频 | 日韩免费高清在线观看 | 成人免费视频视频在线观看 免费 | 日韩天堂在线观看 | 麻豆小视频在线观看 | 国产视频日本 | 婷婷深爱激情 | 人人玩人人添人人澡97 | 免费看成年人 | 国产精品自产拍在线观看 | 国产精品免费在线观看视频 | 久草在线最新免费 | 伊人宗合网 | 国产精品欧美一区二区 | 日韩av资源在线观看 | 天天射天天添 | 免费色黄 | 91久久人澡人人添人人爽欧美 | 天天操天天操天天 | 国产精品成久久久久三级 | av网站免费在线 | 亚州av网站大全 | 天天躁日日躁狠狠躁av麻豆 | 亚洲精品综合欧美二区变态 | 国产精品一区二区三区久久久 | 久久久久久免费 | 欧美日韩高清国产 | 天天操天天爽天天干 | 99精品系列| 欧美国产日韩在线观看 | av丝袜美腿 | 日韩精品一区二区三区免费观看 | 中文字幕888 | 亚洲高清久久久 | 国产一区二区在线免费播放 | 九热在线 | 少妇搡bbbb搡bbb搡69 | 欧美日韩视频网站 | 成人免费看视频 | 在线黄色毛片 | av综合av| 日本久久影视 | 人人干97| 一级欧美日韩 | 青草视频免费观看 | 国产精品高清在线 | 99热在线看| 国产亚洲精品久久久久久移动网络 | 在线观看午夜av | 天天干com | 亚洲成a人片77777kkkk1在线观看 | 狠狠操.com | 一区二区高清在线 | 婷婷综合影院 | 中文字幕在线观看第三页 | 日韩精品一区二区三区视频播放 | 人人澡人摸人人添学生av | 正在播放国产一区二区 | 久久成人国产精品入口 | 一区二区不卡视频在线观看 | 欧美在线视频不卡 | www日日夜夜| 国产日韩av在线 | www.狠狠插.com| 国产九九精品 | 视频成人永久免费视频 | 欧美在线视频一区二区三区 | 美女黄频免费 | 成人久久视频 | 亚洲在线看 | 一区二区三区在线电影 | 天天色综合天天 | 中文字幕中文字幕中文字幕 | 久久久国产日韩 | 美女黄视频免费看 | 欧美在线资源 | 91人人爽久久涩噜噜噜 | 成人av在线亚洲 | 992tv在线观看网站 | 久久久久国产精品午夜一区 | 久草在线最新视频 | 射九九| 最新日韩视频在线观看 | 九九九九热精品免费视频点播观看 | 91精品国产三级a在线观看 | 91网站在线视频 | 亚洲欧美精品在线 | 一区二区三区在线免费观看 | 99精品国产高清在线观看 | 又长又大又黑又粗欧美 | 最近能播放的中文字幕 | 亚洲在线看 | 日韩中文字幕在线 | 91精品入口 | 成人在线免费视频观看 | 精品视频区 | 粉嫩av一区二区三区四区在线观看 | 婷婷 综合 色 | 五月激情姐姐 | 国产91精品一区二区麻豆亚洲 | 午夜性色 | 99热这里只有精品国产首页 | 亚洲天堂网视频 | a色视频 | 午夜电影久久久 | 五月婷婷激情六月 | 久久专区| 超碰成人网 | 中文字幕在线色 | 久久色中文字幕 | 亚洲精品自拍视频在线观看 | 国产一级片一区二区三区 | 91免费视频网站在线观看 | 日韩高清国产精品 | 精品欧美一区二区精品久久 | 国产精品入口66mio女同 | 午夜精品av在线 | 操操操日日日干干干 | 超碰成人网 | 亚洲午夜精品久久久久久久久 | 日韩av手机在线观看 | 久久国产亚洲视频 | 深爱激情五月网 | 国产999精品| 最近中文字幕在线播放 | 99夜色 | 99热在| 日韩av片无码一区二区不卡电影 | 国产午夜精品一区二区三区在线观看 | 中午字幕在线观看 | 成人久久久久 | 久久国产精品成人免费浪潮 | 999男人的天堂 | 国产精品女同一区二区三区久久夜 | 久久免费视频播放 | 久香蕉 | 国产精品自拍在线 | 国产精品中文字幕av | 99热官网 | 黄色软件视频网站 | 免费av网址在线观看 | 亚洲国产精品一区二区久久,亚洲午夜 | 麻豆影视在线免费观看 | 18久久久 | 久久国产高清视频 | 手机看片国产 | 成年人在线观看网站 | 啪啪资源 | 国产精品久久网站 | 国产麻豆精品传媒av国产下载 | 激情丁香5月 | 免费观看的av| 日韩mv欧美mv国产精品 | av成人在线观看 | 日韩在线第一区 | 亚洲高清视频一区二区三区 | 亚洲精品免费在线播放 | 久久精品5 | 91人人澡人人爽 | 丁香婷婷深情五月亚洲 | 免费一级特黄毛大片 | 精品国产亚洲在线 | 国产一区二区久久久久 | 色婷婷a| 久久99视频精品 | 99精品久久精品一区二区 | 日本成人a| 亚一亚二国产专区 | 在线观看亚洲a | 欧美a在线看 | 91在线看黄| 伊人色综合久久天天 | 国产伦精品一区二区三区在线 | 国产一区视频免费在线观看 | 日韩电影黄色 | 国产亚洲精品久久久久动 | 欧美精品久久久久久久免费 | 久草网站在线观看 | av在线免费在线观看 | 五月天久久 | 色99网| 久久久久久久久久久久国产精品 | 中文字幕一区二区三区四区视频 | 久久成人亚洲欧美电影 | av在线看片 | 欧美激情第八页 | 久久香蕉国产 | 伊人狠狠色 | 国产精品免费观看网站 | japanese黑人亚洲人4k | 国产日韩在线视频 | 狠狠色丁香久久婷婷综合五月 | 久久精品9 | 日本中文一级片 | 日韩精品中文字幕av | 成人在线免费小视频 | 五月天婷亚洲天综合网鲁鲁鲁 | 免费观看全黄做爰大片国产 | 亚洲第五色综合网 | 91精品视频免费看 | 国产永久免费观看 | 中文av影院 | 亚洲韩国一区二区三区 | 色欲综合视频天天天 | 亚洲人在线7777777精品 | 日韩在线免费不卡 | 国产成人精品久久久久 | 免费在线国产黄色 | 中文字幕av网站 | 久久人人干| 天天干天天干天天色 | 天天操天天综合网 | 偷拍福利视频一区二区三区 | av网站播放 | 国产99久久久国产精品免费二区 | 九九热国产视频 | 在线 国产一区 | 手机av资源 | 一级理论片在线观看 | 国产亚洲一区 | 麻豆视频网址 | 国产精品v欧美精品v日韩 | 波多野结衣视频一区 | 福利在线看片 | 国产精品久久久久久五月尺 | 91在线公开视频 | 亚洲高清精品在线 | 色婷婷国产 | 成人免费一级 | 激情欧美xxxx | 日韩欧美在线观看一区二区三区 | 国产精品手机在线观看 | 在线av资源| 久久999久久 | 欧美激情综合五月 | 日韩视频一区二区三区 | 日韩欧美xxxx | 91亚洲网站 | 五月婷婷六月丁香激情 | 一本一道久久a久久精品蜜桃 | 嫩草91影院| 久久久亚洲精华液 | 欧美日韩免费一区 | 干干干操操操 | 国产亚洲欧洲 | 手机在线小视频 | 午夜私人影院久久久久 | 高清av免费观看 | 国产中文字幕大全 | 丁香六月天 | 久久久久久久电影 | 国产一级黄大片 | 久久视频这里有精品 | 国产国产人免费人成免费视频 | 久久手机精品视频 | 日韩免费一区二区三区 | 亚洲综合在线观看视频 | 在线国产视频 | 人人射人人澡 | 草久视频在线观看 | ,午夜性刺激免费看视频 | 亚洲视频电影在线 | 四虎国产精品免费观看视频优播 | 久久久久久久久久久久久影院 | 天天射射天天 | 青春草免费视频 | 九草视频在线 | 日韩精品一区二区三区免费视频观看 | 免费a级观看 | 国产精品99久久久久久久久久久久 | 免费看一级片 | 九九国产精品视频 | 九九热视频在线 | 日av免费 | 超碰在线成人 | 欧美另类z0zx | 亚洲一级黄色片 | 超碰人人舔 | 国产一级二级在线 | 日韩在线网 | 91九色蝌蚪在线 | 免费网站观看www在线观看 | 免费看片网址 | 美女精品国产 | 国产一二三精品 | 91麻豆福利| 久久99亚洲网美利坚合众国 | 欧美日韩精品二区第二页 | 日韩av在线资源 | 国产精品18久久久久久久网站 | 美国人与动物xxxx | 91色亚洲 | 亚洲手机天堂 | 国产亚洲一区二区三区 | 久久伊人八月婷婷综合激情 | 亚洲黄色免费网站 | 久久99久国产精品黄毛片入口 | 波多野结衣在线播放视频 | 欧美黑人xxxx猛性大交 | 97成人在线| 国产97色 | 九九免费观看全部免费视频 | 中文字幕日韩无 | 久久天天躁夜夜躁狠狠躁2022 | 狠狠狠色狠狠色综合 | 欧美一级片在线免费观看 | 天天操天天摸天天爽 | 久久久久久国产精品美女 | 久久er99热精品一区二区三区 | 国产一二区在线观看 | 日韩欧美大片免费观看 | av福利网址导航大全 | 在线免费观看黄色 | 国产日韩欧美视频 | 中文字幕日韩有码 | 最新av观看 | 人人插人人爱 | 欧洲精品码一区二区三区免费看 | 日韩一区精品 | 天天操天天艹 | 国产婷婷精品av在线 | 日韩精品视频免费专区在线播放 | 国产小视频在线免费观看 | 久久午夜剧场 | 在线观看免费中文字幕 | 欧美va在线观看 | 天天干,天天草 | 亚洲免费激情 | www.色就是色 | 国产精品自在欧美一区 | 久久久九色精品国产一区二区三区 | 伊人永久 | 日韩电影在线看 | 这里只有精品视频在线观看 | 又黄又刺激视频 | 欧美日本日韩aⅴ在线视频 插插插色综合 | 亚洲婷婷伊人 | 久久综合九色综合97_ 久久久 | aaa毛片视频| 久久久精品视频网站 | 99久久精品视频免费 | 国产成年免费视频 | 欧美色图视频一区 | 成人免费一区二区三区在线观看 | 98超碰在线 | 久久这里只有精品久久 | 99综合久久 | 91伊人久久大香线蕉蜜芽人口 | 欧美日韩国语 | 一区二区三区免费在线观看视频 | 四虎影视成人精品国库在线观看 | 狠狠色丁香久久婷婷综合_中 | 国产精品高潮在线观看 | 黄色在线成人 | 正在播放国产91 | 有没有在线观看av | 国产第一页在线观看 | 国产精品久久久久久久久久东京 | 99热国产在线中文 | 91精品久久久久久综合五月天 | 99r国产精品 | 中文字幕资源网在线观看 | 亚洲五月六月 | 中文字幕免费久久 | 亚洲精品国产成人 | 亚洲三区在线 | 日韩网站在线免费观看 | 中文字幕日韩在线播放 | 亚洲热久久| 欧美色精品天天在线观看视频 | 久久精品久久久精品美女 | 久久精品久久精品久久 | 999精品| 亚洲精品视频在线看 | 超碰资源在线 | 久久精品国产精品亚洲 | 婷婷综合成人 | 日韩 在线| 一区二区中文字幕在线播放 | 亚洲精品xxx| 九九九九九精品 | 丁香狠狠 | 久久国产露脸精品国产 | 中文久久精品 | 综合久久久 | 五月天网站在线 | 国产粉嫩在线观看 | 日韩欧美久久 | 色国产精品一区在线观看 | 免费成人在线网站 | 夜夜夜夜爽 | www五月天com| 亚洲精品在线免费看 | 日韩三级视频在线观看 | 99热超碰在线 | 国产青草视频在线观看 | 天天干天天拍天天操 | 国产日韩欧美中文 | 国产精品精 | 最新色站 | 久久精品9 | 国偷自产中文字幕亚洲手机在线 | 91视频在线观看免费 | 久久精品a | 81国产精品久久久久久久久久 | 亚洲乱码国产乱码精品天美传媒 | 人人澡人人干 | 亚洲午夜精品一区二区三区电影院 | 国产免费成人av | 最近高清中文在线字幕在线观看 | 亚洲成人频道 | 麻豆av一区二区三区在线观看 | 国产高清福利在线 | 久久精品二区 | 欧洲精品视频一区二区 | 欧美日韩不卡一区二区 | 黄色www | 国产v亚洲v | 成人av在线观 | 久久午夜电影网 | 九色精品免费永久在线 | av在线最新 | 日本高清免费中文字幕 | 五月婷婷中文网 | 二区三区在线 | 日韩在线视 | 欧美一区二区精品在线 | 精品女同一区二区三区在线观看 | 日韩动漫免费观看高清完整版在线观看 | 日韩草比 | 亚洲精品小区久久久久久 | 91免费版在线 | 在线国产激情视频 | 亚洲毛片久久 | 麻豆精品传媒视频 | 国产91电影在线观看 | 黄色av电影在线 | 久久成人人人人精品欧 | 久久久久亚洲精品男人的天堂 | 国产精品日韩在线播放 | 麻豆视频www | 手机av在线网站 | 69国产精品视频免费观看 | 伊人狠狠操 | avhd高清在线谜片 | 久久免费在线 | 亚洲aⅴ久久精品 | 日韩欧美高清视频在线观看 | 欧美有色| 亚洲 中文 欧美 日韩vr 在线 | 欧美天天综合网 | 97超碰免费在线 | 99精品热视频只有精品10 | 一区二区男女 | 日韩特级毛片 | 成人小视频在线观看免费 | 黄色的网站在线 | 国产日韩欧美在线免费观看 | 91视频亚洲 | 国产中文字幕在线观看 | 91传媒激情理伦片 | 国产精品美女久久久久久久网站 | 国产精品福利在线观看 | 国产高清视频在线免费观看 | 美女免费电影 | 婷婷色av| 黄色日视频 | 亚洲视频1 | 国产一区二三区好的 | 免费观看性生活大片 | 久久99亚洲热视 | 中文字幕一二 | www操操 | 国产精品18p | 日韩视频区 | av电影免费在线看 | 国产网站色 | 精品9999| 国产精品99久久久久久久久久久久 | 精品久久久久久亚洲综合网站 | 国产精品福利无圣光在线一区 | 亚洲人成免费网站 | 欧美精品久久久久久久久久 | 精品久久在线 | 欧美一区免费在线观看 | 免费观看av | 免费日韩一区二区三区 | 国产精品美乳一区二区免费 | 高清一区二区 | 中文字幕av免费在线观看 | 久久成人高清视频 | 在线观看免费视频 | 中文字幕乱视频 | 亚洲伊人色 | av爱干| 国产精品男女啪啪 | 韩国av一区二区 | 91午夜精品 | 精品999久久久 | 97电影在线| 久久综合久久久 | 丁香 久久 综合 | 中文字幕有码在线 | 久久久蜜桃 | 娇妻呻吟一区二区三区 | 国产极品尤物在线 | 国产精品va在线观看入 | 日韩网站在线免费观看 | 久久久精品午夜 | 国产精品一区二区在线观看 | 中文字幕色在线视频 | 在线观看视频福利 | 欧美激情精品久久久久 | 在线免费视频a | 手机av资源 | 97在线视频免费观看 | 国产第一页在线观看 | 亚洲成aⅴ人在线观看 | 男女靠逼app| 国产精品久久麻豆 | 九九热精品视频在线观看 | 国产高清免费 | 久久久久影视 | 欧美成年人在线观看 | 国产日本在线观看 | 成人av电影免费在线观看 | 五月天激情视频 | 久草综合在线观看 | 久久精品99北条麻妃 | 中文资源在线观看 | 亚洲黄网站 | 中文字幕在线播放视频 | 成人v| 国产精品短视频 | 国产精品成人一区 | 在线观看日本高清mv视频 | 91精品伦理 | 久久免费视频3 | 亚洲最新合集 | 日韩成人在线免费观看 | av综合网址 | 欧美日韩有码 | 五月婷婷视频在线观看 | 成人黄色电影在线观看 | 国产91免费在线 | 激情综合网婷婷 | 免费一级特黄录像 | 精品国产黄色片 | 国产一区在线视频 | 亚洲影视九九影院在线观看 | 国产麻豆剧传媒免费观看 | 免费的国产精品 | 亚洲高清av在线 | 欧美亚洲国产一卡 | 久久永久免费视频 | 在线观看亚洲国产 | 国产精品久久电影观看 | av在线一| 国产美腿白丝袜足在线av | av看片在线观看 | 中文字幕亚洲欧美日韩 | 高清不卡一区二区在线 | 黄色av电影在线 | 免费高清看电视网站 | 国产精美视频 | 国产999精品视频 |