| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 142 struct AbstractAttribute; 279 const AbstractAttribute &QueryingAA, 285 const AbstractAttribute &QueryingAA, 362 static AbstractAttribute *DepGetValAA(DepTy &DT) { 366 operator AbstractAttribute *() { return cast<AbstractAttribute>(this); } 1507 void registerForUpdate(AbstractAttribute &AA); 1983 const AbstractAttribute &QueryingAA); 2120 ChangeStatus updateAA(AbstractAttribute &AA); 2167 const AbstractAttribute *FromAA; 2168 const AbstractAttribute *ToAA; [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | AttributeSupport.h | 32 class AbstractAttribute { 38 static const AbstractAttribute &lookup(TypeID typeID, MLIRContext *context); 43 static AbstractAttribute get(Dialect &dialect) { in get() 44 return AbstractAttribute(dialect, T::getInterfaceMap(), T::getHasTraitFn(), in get() 52 static AbstractAttribute get(Dialect &dialect, in get() 55 return AbstractAttribute(dialect, std::move(interfaceMap), in get() 89 AbstractAttribute(Dialect &dialect, detail::InterfaceMap &&interfaceMap, in AbstractAttribute() function 102 static AbstractAttribute *lookupMutable(TypeID typeID, MLIRContext *context); 136 const AbstractAttribute &getAbstractAttribute() const { in getAbstractAttribute() 153 void initializeAbstractAttribute(const AbstractAttribute &abstractAttr) { in initializeAbstractAttribute() [all …]
|
| H A D | Dialect.h | 231 void addAttribute(TypeID typeID, AbstractAttribute &&attrInfo); 247 addAttribute(T::getTypeID(), AbstractAttribute::get<T>(*this)); in addAttribute()
|
| H A D | Attributes.h | 34 using AbstractTy = AbstractAttribute;
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 645 const AbstractAttribute &QueryingAA, in isPotentiallyReachable() 656 const AbstractAttribute &QueryingAA, in isPotentiallyReachable() 1161 AbstractAttribute *AA = cast<AbstractAttribute>(DepAA.getPointer()); in ~Attributor() 1162 AA->~AbstractAttribute(); in ~Attributor() 1561 const AbstractAttribute &QueryingAA) { in checkForAllReturnedValuesAndReturnInsts() 1737 AbstractAttribute *DepAA = cast<AbstractAttribute>(Dep.getPointer()); in runTillFixpoint() 1772 for (AbstractAttribute *AA : Worklist) { in runTillFixpoint() 1818 SmallPtrSet<AbstractAttribute *, 32> Visited; in runTillFixpoint() 1820 AbstractAttribute *ChangedAA = ChangedAAs[u]; in runTillFixpoint() 1866 AbstractAttribute *AA = cast<AbstractAttribute>(DepAA.getPointer()); in manifestAttributes() [all …]
|
| H A D | OpenMPOpt.cpp | 2323 using Base = StateWrapper<BooleanState, AbstractAttribute>; 2365 static bool classof(const AbstractAttribute *AA) { in classof() 2897 using Base = StateWrapper<BooleanState, AbstractAttribute>; 2919 static bool classof(const AbstractAttribute *AA) { in classof() 2972 [](const IRPosition &, const AbstractAttribute *, in initialize() 3143 static bool classof(const AbstractAttribute *AA) { in classof() 3216 [&](const IRPosition &IRP, const AbstractAttribute *AA, in initialize() 3237 [&](const IRPosition &IRP, const AbstractAttribute *AA, in initialize() 4393 : public StateWrapper<BooleanState, AbstractAttribute> { 4394 using Base = StateWrapper<BooleanState, AbstractAttribute>; [all …]
|
| H A D | AttributorAttributes.cpp | 311 const AbstractAttribute &QueryingAA, in getAssumedUnderlyingObjects() 3905 AbstractAttribute &AA, in identifyAliveSuccessors() 3922 AbstractAttribute &AA, in identifyAliveSuccessors() 3947 AbstractAttribute &AA, in identifyAliveSuccessors() 3972 AbstractAttribute &AA, in identifyAliveSuccessors() 5374 const AbstractAttribute &QueryingAA, in reproduceInst() 5881 [](const IRPosition &, const AbstractAttribute *, in initialize() 6039 Optional<APInt> getAPInt(Attributor &A, const AbstractAttribute &AA, in getAPInt() 6051 Optional<APInt> getSize(Attributor &A, const AbstractAttribute &AA, in getSize() 9791 Attributor &A, const AbstractAttribute &AA, const IRPosition &IRP, in getSingleValue() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAttributor.cpp | 222 BitIntegerState<uint16_t, ALL_ARGUMENT_MASK, 0>, AbstractAttribute> { 224 AbstractAttribute>; 240 static bool classof(const AbstractAttribute *AA) { in classof() 250 : public StateWrapper<BooleanState, AbstractAttribute> { 251 using Base = StateWrapper<BooleanState, AbstractAttribute>; 268 static bool classof(const AbstractAttribute *AA) { in classof() 621 : public StateWrapper<IntegerRangeState, AbstractAttribute, uint32_t> { 622 using Base = StateWrapper<IntegerRangeState, AbstractAttribute, uint32_t>; 715 static bool classof(const AbstractAttribute *AA) { in classof()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | MLIRContext.cpp | 223 DenseMap<TypeID, AbstractAttribute *> registeredAttributes; 251 attrMapping.second->~AbstractAttribute(); in ~MLIRContextImpl() 614 void Dialect::addAttribute(TypeID typeID, AbstractAttribute &&attrInfo) { in addAttribute() 620 new (impl.abstractDialectSymbolAllocator.Allocate<AbstractAttribute>()) in addAttribute() 621 AbstractAttribute(std::move(attrInfo)); in addAttribute() 631 const AbstractAttribute &AbstractAttribute::lookup(TypeID typeID, in lookup() 633 const AbstractAttribute *abstract = lookupMutable(typeID, context); in lookup() 640 AbstractAttribute *AbstractAttribute::lookupMutable(TypeID typeID, in lookupMutable() 898 storage->initializeAbstractAttribute(AbstractAttribute::lookup(attrID, ctx)); in initializeAttributeStorage()
|
| H A D | ExtensibleDialect.cpp | 439 AbstractAttribute::get(*dialect, DynamicAttr::getInterfaceMap(), in registerDynamicAttr()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/IPO/ |
| H A D | AttributorTest.cpp | 65 const AbstractAttribute *AA = in TEST_F()
|