Home
last modified time | relevance | path

Searched refs:ImplType (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DAffineExpr.h70 using ImplType = detail::AffineExprStorage;
73 /* implicit */ AffineExpr(const ImplType *expr) in AffineExpr()
74 : expr(const_cast<ImplType *>(expr)) {} in AffineExpr()
198 ImplType *expr{nullptr};
209 using ImplType = detail::AffineBinaryOpExprStorage;
210 /* implicit */ AffineBinaryOpExpr(AffineExpr::ImplType *ptr);
218 using ImplType = detail::AffineDimExprStorage;
219 /* implicit */ AffineDimExpr(AffineExpr::ImplType *ptr);
226 using ImplType = detail::AffineDimExprStorage;
227 /* implicit */ AffineSymbolExpr(AffineExpr::ImplType *ptr);
[all …]
H A DAttributeSupport.h201 !std::is_same<typename T::ImplType, AttributeStorage>::value, T>
211 return ctx->getAttributeUniquer().get<typename T::ImplType>( in getWithTypeID()
217 static_cast<typename T::ImplType *>(storage)->initialize(ctx); in getWithTypeID()
226 std::is_same<typename T::ImplType, AttributeStorage>::value, T>
236 return ctx->getAttributeUniquer().get<typename T::ImplType>(typeID); in getWithTypeID()
240 static LogicalResult mutate(MLIRContext *ctx, typename T::ImplType *impl, in mutate()
258 !std::is_same<typename T::ImplType, AttributeStorage>::value>
261 .registerParametricStorageType<typename T::ImplType>(typeID); in registerAttribute()
268 std::is_same<typename T::ImplType, AttributeStorage>::value>
271 .registerSingletonStorageType<typename T::ImplType>( in registerAttribute()
H A DIntegerSet.h46 using ImplType = detail::IntegerSetStorage;
49 explicit IntegerSet(ImplType *set) : set(set) {} in IntegerSet()
116 reinterpret_cast<ImplType *>(const_cast<void *>(pointer))); in getFromOpaquePointer()
120 ImplType *set{nullptr};
136 return mlir::IntegerSet(static_cast<mlir::IntegerSet::ImplType *>(pointer));
140 return mlir::IntegerSet(static_cast<mlir::IntegerSet::ImplType *>(pointer));
H A DTypeSupport.h179 !std::is_same<typename T::ImplType, TypeStorage>::value, T>
189 return ctx->getTypeUniquer().get<typename T::ImplType>( in getWithTypeID()
200 std::is_same<typename T::ImplType, TypeStorage>::value, T>
210 return ctx->getTypeUniquer().get<typename T::ImplType>(typeID); in getWithTypeID()
216 static LogicalResult mutate(MLIRContext *ctx, typename T::ImplType *impl, in mutate()
234 !std::is_same<typename T::ImplType, TypeStorage>::value>
236 ctx->getTypeUniquer().registerParametricStorageType<typename T::ImplType>( in registerType()
244 std::is_same<typename T::ImplType, TypeStorage>::value>
H A DTypes.h80 using ImplType = TypeStorage; variable
85 /* implicit */ Type(const ImplType *impl) in Type()
86 : impl(const_cast<ImplType *>(impl)) {} in Type()
174 return Type(reinterpret_cast<ImplType *>(const_cast<void *>(pointer))); in getFromOpaquePointer()
187 ImplType *impl{nullptr};
248 return DenseMapInfo<const Type::ImplType *>::getHashValue(arg.impl); in hash_value()
285 return mlir::Type(static_cast<mlir::Type::ImplType *>(pointer));
289 return mlir::Type(static_cast<mlir::Type::ImplType *>(pointer));
H A DAttributes.h32 using ImplType = AttributeStorage; variable
37 /* implicit */ Attribute(const ImplType *impl) in Attribute()
38 : impl(const_cast<ImplType *>(impl)) {} in Attribute()
88 return Attribute(reinterpret_cast<const ImplType *>(ptr)); in getFromOpaquePointer()
105 ImplType *impl{nullptr};
144 return DenseMapInfo<const Attribute::ImplType *>::getHashValue(arg.impl); in hash_value()
263 return mlir::Attribute(static_cast<mlir::Attribute::ImplType *>(pointer));
267 return mlir::Attribute(static_cast<mlir::Attribute::ImplType *>(pointer));
H A DStorageUniquerSupport.h100 using ImplType = StorageT; variable
180 return ConcreteT((const typename BaseT::ImplType *)ptr); in getFromOpaquePointer()
203 ImplType *getImpl() const { return static_cast<ImplType *>(this->impl); } in getImpl()
H A DAffineMap.h44 using ImplType = detail::AffineMapStorage;
47 explicit AffineMap(ImplType *map) : map(map) {} in AffineMap()
328 return AffineMap(reinterpret_cast<ImplType *>(const_cast<void *>(pointer))); in getFromOpaquePointer()
332 ImplType *map{nullptr};
602 return mlir::AffineMap(static_cast<mlir::AffineMap::ImplType *>(pointer));
606 return mlir::AffineMap(static_cast<mlir::AffineMap::ImplType *>(pointer));
H A DLocation.h53 Location(const LocationAttr::ImplType *impl) : impl(impl) { in Location()
/llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/
H A DQuantTypes.cpp24 return static_cast<ImplType *>(impl)->flags; in getFlags()
64 return static_cast<ImplType *>(impl)->storageType; in getStorageType()
68 return static_cast<ImplType *>(impl)->storageTypeMin; in getStorageTypeMin()
72 return static_cast<ImplType *>(impl)->storageTypeMax; in getStorageTypeMax()
78 return static_cast<ImplType *>(impl)->storageType.getIntOrFloatBitWidth(); in getStorageTypeIntegralWidth()
82 return static_cast<ImplType *>(impl)->expressedType; in getExpressedType()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineBlockFrequencyInfo.h34 using ImplType = BlockFrequencyInfoImpl<MachineBasicBlock>; variable
35 std::unique_ptr<ImplType> MBFI;
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfo.h38 using ImplType = BlockFrequencyInfoImpl<BasicBlock>; variable
40 std::unique_ptr<ImplType> BFI;
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DRangedConstraintManager.h95 using ImplType = llvm::SmallVector<Range, 4>;
97 struct ContainerType : public ImplType, public llvm::FoldingSetNode {
113 using const_iterator = ImplType::const_iterator;
/llvm-project-15.0.7/mlir/lib/IR/
H A DAffineExpr.cpp302 AffineBinaryOpExpr::AffineBinaryOpExpr(AffineExpr::ImplType *ptr) in AffineBinaryOpExpr()
305 return static_cast<ImplType *>(expr)->lhs; in getLHS()
308 return static_cast<ImplType *>(expr)->rhs; in getRHS()
311 AffineDimExpr::AffineDimExpr(AffineExpr::ImplType *ptr) : AffineExpr(ptr) {} in AffineDimExpr()
313 return static_cast<ImplType *>(expr)->position; in getPosition()
493 AffineSymbolExpr::AffineSymbolExpr(AffineExpr::ImplType *ptr) in AffineSymbolExpr()
496 return static_cast<ImplType *>(expr)->position; in getPosition()
504 AffineConstantExpr::AffineConstantExpr(AffineExpr::ImplType *ptr) in AffineConstantExpr()
507 return static_cast<ImplType *>(expr)->constant; in getValue()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DQuantTypes.h54 using ImplType = detail::QuantizedTypeStorage;
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineBlockFrequencyInfo.cpp198 MBFI.reset(new ImplType); in calculate()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBlockFrequencyInfo.cpp189 BFI.reset(new ImplType); in calculate()
/llvm-project-15.0.7/lldb/source/API/
H A DSBTypeCategory.cpp27 typedef std::pair<lldb::TypeCategoryImplSP, user_id_t> ImplType; typedef