Skip to content

Instantly share code, notes, and snippets.

@silvasean
Created August 24, 2020 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silvasean/f92f40a9ca89af44f9770ffa8827033f to your computer and use it in GitHub Desktop.
Save silvasean/f92f40a9ca89af44f9770ffa8827033f to your computer and use it in GitHub Desktop.
grep 'using KeyTy = ' in mlir/
docs/Tutorials/DefiningAttributesAndTypes.md: using KeyTy = std::pair<unsigned, Type>;
docs/Tutorials/DefiningAttributesAndTypes.md: using KeyTy = StringRef;
docs/Tutorials/Toy/Ch-7.md: using KeyTy = llvm::ArrayRef<mlir::Type>;
examples/toy/Ch7/mlir/Dialect.cpp: using KeyTy = llvm::ArrayRef<mlir::Type>;
lib/Dialect/LLVMIR/IR/LLVMDialect.cpp: using KeyTy = llvm::Type *;
lib/Dialect/SDBM/SDBMExprDetail.h: using KeyTy = std::pair<SDBMDirectExpr, SDBMConstantExpr>;
lib/Dialect/SDBM/SDBMExprDetail.h: using KeyTy = std::pair<SDBMDirectExpr, SDBMTermExpr>;
lib/Dialect/SDBM/SDBMExprDetail.h: using KeyTy = int64_t;
lib/Dialect/SDBM/SDBMExprDetail.h: using KeyTy = unsigned;
lib/Dialect/SDBM/SDBMExprDetail.h: using KeyTy = SDBMDirectExpr;
lib/Dialect/SPIRV/SPIRVAttributes.cpp: using KeyTy = std::tuple<Attribute, Attribute, Attribute>;
lib/Dialect/SPIRV/SPIRVAttributes.cpp: using KeyTy = std::tuple<Attribute, Attribute, Attribute>;
lib/Dialect/SPIRV/SPIRVAttributes.cpp: using KeyTy = std::pair<Attribute, Attribute>;
lib/Dialect/SPIRV/SPIRVTypes.cpp: using KeyTy = std::tuple<Type, unsigned, unsigned>;
lib/Dialect/SPIRV/SPIRVTypes.cpp: using KeyTy = std::tuple<Type, Scope, unsigned, unsigned>;
lib/Dialect/SPIRV/SPIRVTypes.cpp: using KeyTy = std::tuple<Type, Dim, ImageDepthInfo, ImageArrayedInfo,
lib/Dialect/SPIRV/SPIRVTypes.cpp: using KeyTy = std::pair<Type, StorageClass>;
lib/Dialect/SPIRV/SPIRVTypes.cpp: using KeyTy = std::pair<Type, unsigned>;
lib/Dialect/SPIRV/SPIRVTypes.cpp: using KeyTy = std::tuple<ArrayRef<Type>, ArrayRef<StructType::OffsetInfo>,
lib/Dialect/SPIRV/SPIRVTypes.cpp: using KeyTy = std::tuple<Type, uint32_t>;
lib/IR/AffineExprDetail.h: using KeyTy = std::pair<AffineExpr, AffineExpr>;
lib/IR/AffineExprDetail.h: using KeyTy = unsigned;
lib/IR/AffineExprDetail.h: using KeyTy = int64_t;
lib/IR/AttributeDetail.h: using KeyTy = AffineMap;
lib/IR/AttributeDetail.h: using KeyTy = ArrayRef<Attribute>;
lib/IR/AttributeDetail.h: using KeyTy = ArrayRef<NamedAttribute>;
lib/IR/AttributeDetail.h: using KeyTy = std::pair<Type, APFloat>;
lib/IR/AttributeDetail.h: using KeyTy = std::pair<Type, APInt>;
lib/IR/AttributeDetail.h: using KeyTy = IntegerSet;
lib/IR/AttributeDetail.h: using KeyTy = std::tuple<Identifier, StringRef, Type>;
lib/IR/AttributeDetail.h: using KeyTy = std::pair<StringRef, Type>;
lib/IR/AttributeDetail.h: using KeyTy = std::pair<StringRef, ArrayRef<FlatSymbolRefAttr>>;
lib/IR/AttributeDetail.h: using KeyTy = Type;
lib/IR/AttributeDetail.h: using KeyTy = std::tuple<Type, Dialect *, StringRef>;
lib/IR/AttributeDetail.h: using KeyTy = std::tuple<Type, DenseIntElementsAttr, DenseElementsAttr>;
lib/IR/LocationDetail.h: using KeyTy = std::pair<Location, Location>;
lib/IR/LocationDetail.h: using KeyTy = std::tuple<Identifier, unsigned, unsigned>;
lib/IR/LocationDetail.h: using KeyTy = std::pair<ArrayRef<Location>, Attribute>;
lib/IR/LocationDetail.h: using KeyTy = std::pair<Identifier, Location>;
lib/IR/LocationDetail.h: using KeyTy = std::tuple<uintptr_t, TypeID, Location>;
lib/IR/MLIRContext.cpp: using KeyTy = std::tuple<unsigned, unsigned, ArrayRef<AffineExpr>>;
lib/IR/TypeDetail.h: using KeyTy = std::pair<Identifier, StringRef>;
lib/IR/TypeDetail.h: using KeyTy = std::pair<unsigned, IntegerType::SignednessSemantics>;
lib/IR/TypeDetail.h: using KeyTy = std::pair<ArrayRef<Type>, ArrayRef<Type>>;
lib/IR/TypeDetail.h: using KeyTy = Type;
lib/IR/TypeDetail.h: using KeyTy = std::pair<ArrayRef<int64_t>, Type>;
lib/IR/TypeDetail.h: using KeyTy = std::pair<ArrayRef<int64_t>, Type>;
lib/IR/TypeDetail.h: using KeyTy = std::tuple<Type, unsigned>;
lib/IR/TypeDetail.h: using KeyTy = Type;
lib/IR/TypeDetail.h: using KeyTy = ArrayRef<Type>;
test/lib/Dialect/Test/TestTypes.h: using KeyTy = StringRef;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment