18 #ifndef CIRCT_SUPPORT_LLVM_H
19 #define CIRCT_SUPPORT_LLVM_H
22 #include "mlir/Support/LLVM.h"
26 #include "mlir/Support/LogicalResult.h"
42 using mlir::BitVector;
44 using mlir::cast_or_null;
46 using mlir::DenseMapInfo;
49 using mlir::dyn_cast_or_null;
50 using mlir::function_ref;
52 using mlir::isa_and_nonnull;
53 using mlir::iterator_range;
54 using mlir::MutableArrayRef;
55 using mlir::PointerUnion;
56 using mlir::raw_ostream;
57 using mlir::SetVector;
58 using mlir::SmallPtrSet;
59 using mlir::SmallPtrSetImpl;
60 using mlir::SmallString;
61 using mlir::SmallVector;
62 using mlir::SmallVectorImpl;
63 using mlir::StringLiteral;
64 using mlir::StringRef;
65 using mlir::StringSet;
66 using mlir::TinyPtrVector;
68 using mlir::TypeSwitch;
74 template <
typename KeyT,
typename ValueT,
unsigned InlineBuckets,
75 typename KeyInfoT,
typename BucketT>
77 template <
typename T,
unsigned N,
typename C>
100 class ConversionPattern;
101 class ConversionPatternRewriter;
102 class ConversionTarget;
103 class DenseElementsAttr;
106 class DialectAsmParser;
107 class DialectAsmPrinter;
108 class DictionaryAttr;
111 class FileLineColLoc;
112 class FlatSymbolRefAttr;
116 class ImplicitLocOpBuilder;
118 class InFlightDiagnostic;
126 class MutableOperandRange;
127 class NamedAttribute;
130 class OpAsmDialectInterface;
133 class OpaqueProperties;
140 template <
typename OpTy>
143 class PatternRewriter;
145 class RewritePatternSet;
147 class SplatElementsAttr;
151 class SymbolTableCollection;
165 enum class RegionKind;
166 struct CallInterfaceCallable;
167 struct OperationState;
174 template <
typename SourceOp>
176 template <
typename T>
178 template <
typename SourceOp>
195 using mlir::ArrayAttr;
196 using mlir::AsmParser;
197 using mlir::AsmPrinter;
198 using mlir::Attribute;
200 using mlir::BlockArgument;
201 using mlir::BoolAttr;
203 using mlir::CallInterfaceCallable;
204 using mlir::ConversionPattern;
205 using mlir::ConversionPatternRewriter;
206 using mlir::ConversionTarget;
208 using mlir::DenseElementsAttr;
209 using mlir::Diagnostic;
211 using mlir::DialectAsmParser;
212 using mlir::DialectAsmPrinter;
213 using mlir::DictionaryAttr;
214 using mlir::DistinctAttr;
215 using mlir::ElementsAttr;
218 using mlir::FailureOr;
219 using mlir::FileLineColLoc;
220 using mlir::FlatSymbolRefAttr;
221 using mlir::FloatAttr;
222 using mlir::FunctionType;
223 using mlir::FusedLoc;
224 using mlir::ImplicitLocOpBuilder;
225 using mlir::IndexType;
226 using mlir::InFlightDiagnostic;
227 using mlir::IntegerAttr;
228 using mlir::IntegerType;
229 using mlir::IRMapping;
230 using mlir::Location;
231 using mlir::LocationAttr;
232 using mlir::LogicalResult;
233 using mlir::MemRefType;
234 using mlir::MLIRContext;
235 using mlir::ModuleOp;
236 using mlir::MutableOperandRange;
237 using mlir::NamedAttribute;
238 using mlir::NamedAttrList;
239 using mlir::NoneType;
240 using mlir::OpaqueProperties;
241 using mlir::OpAsmDialectInterface;
242 using mlir::OpAsmParser;
243 using mlir::OpAsmPrinter;
245 using mlir::OpBuilder;
247 using mlir::OperandRange;
248 using mlir::Operation;
249 using mlir::OperationName;
251 using mlir::OperationState;
252 using mlir::OpFoldResult;
253 using mlir::OpOperand;
254 using mlir::OpResult;
257 using mlir::ParseResult;
259 using mlir::PatternRewriter;
261 using mlir::RegionKind;
262 using mlir::RewritePatternSet;
263 using mlir::ShapedType;
264 using mlir::SplatElementsAttr;
265 using mlir::StringAttr;
266 using mlir::succeeded;
268 using mlir::SymbolRefAttr;
269 using mlir::SymbolTable;
270 using mlir::SymbolTableCollection;
271 using mlir::TupleType;
273 using mlir::TypeAttr;
274 using mlir::TypeConverter;
275 using mlir::TypedAttr;
277 using mlir::TypeRange;
278 using mlir::TypeStorage;
279 using mlir::UnitAttr;
280 using mlir::UnknownLoc;
282 using mlir::ValueRange;
283 using mlir::VectorType;
284 using mlir::WalkResult;
285 using mlir::affine::MemRefAccess;
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
TypeStorage DefaultTypeStorage
function_ref< void(Value, StringRef)> OpAsmSetValueNameFn