|
|
|||
File indexing completed on 2026-05-10 08:43:28
0001 //===-- ExpandVectorPredication.h - Expand vector predication ---*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 0009 #ifndef LLVM_CODEGEN_EXPANDVECTORPREDICATION_H 0010 #define LLVM_CODEGEN_EXPANDVECTORPREDICATION_H 0011 0012 #include "llvm/IR/PassManager.h" 0013 0014 namespace llvm { 0015 0016 class TargetTransformInfo; 0017 class VPIntrinsic; 0018 0019 /// Represents the details the expansion of a VP intrinsic. 0020 enum class VPExpansionDetails { 0021 /// No change happened during expansion. 0022 IntrinsicUnchanged, 0023 /// At least one operand was updated. 0024 IntrinsicUpdated, 0025 /// The whole intrinsic was replaced. 0026 IntrinsicReplaced, 0027 }; 0028 0029 /// Expand a vector predication intrinsic. Returns the kind of expansion 0030 /// that was applied to the intrinsic. 0031 VPExpansionDetails 0032 expandVectorPredicationIntrinsic(VPIntrinsic &VPI, 0033 const TargetTransformInfo &TTI); 0034 0035 } // end namespace llvm 0036 0037 #endif // LLVM_CODEGEN_EXPANDVECTORPREDICATION_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|