Home
last modified time | relevance | path

Searched refs:AbstractAttribute (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DAttributor.h126 struct AbstractAttribute;
165 static AbstractAttribute *DepGetValAA(DepTy &DT) { in DepGetValAA()
166 return cast<AbstractAttribute>(DT.getPointer()); in DepGetValAA()
169 operator AbstractAttribute *() { return cast<AbstractAttribute>(this); }
1055 const AAType &getAAFor(const AbstractAttribute &QueryingAA,
1068 const AAType &getAndUpdateAAFor(const AbstractAttribute &QueryingAA,
1083 const AbstractAttribute *QueryingAA = nullptr,
1158 recordDependence(AA, const_cast<AbstractAttribute &>(*QueryingAA),
1167 const AbstractAttribute *QueryingAA = nullptr,
1170 static_assert(std::is_base_of<AbstractAttribute, AAType>::value,
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DAttributeSupport.h31 class AbstractAttribute {
35 static const AbstractAttribute &lookup(TypeID typeID, MLIRContext *context);
39 template <typename T> static AbstractAttribute get(Dialect &dialect) { in get()
40 return AbstractAttribute(dialect, T::getInterfaceMap(), T::getTypeID()); in get()
57 AbstractAttribute(Dialect &dialect, detail::InterfaceMap &&interfaceMap, in AbstractAttribute() function
91 const AbstractAttribute &getAbstractAttribute() const { in getAbstractAttribute()
109 void initialize(const AbstractAttribute &abstractAttr) { in initialize()
115 const AbstractAttribute *abstractAttribute;
DDialect.h189 addAttribute(T::getTypeID(), AbstractAttribute::get<T>(*this)); in addAttribute()
192 void addAttribute(TypeID typeID, AbstractAttribute &&attrInfo);
DAttributes.h85 const AbstractAttribute &getAbstractAttribute() const { in getAbstractAttribute()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DAttributor.h113 struct AbstractAttribute;
733 const AAType &getAAFor(const AbstractAttribute &QueryingAA,
751 void recordDependence(const AbstractAttribute &FromAA,
752 const AbstractAttribute &ToAA, DepClassTy DepClass);
762 static_assert(std::is_base_of<AbstractAttribute, AAType>::value,
890 bool isAssumedDead(const AbstractAttribute &AA, const AAIsDead *LivenessAA);
897 const AbstractAttribute &QueryingAA, const Value &V);
996 const AbstractAttribute &QueryingAA,
1008 const AbstractAttribute &QueryingAA);
1015 const AbstractAttribute &QueryingAA);
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributor.cpp252 ChangeStatus AbstractAttribute::update(Attributor &A) { in update()
535 Attributor::getAssumedConstant(const Value &V, const AbstractAttribute &AA, in getAssumedConstant()
565 AbstractAttribute *AA = cast<AbstractAttribute>(DepAA.getPointer()); in ~Attributor()
566 AA->~AbstractAttribute(); in ~Attributor()
570 bool Attributor::isAssumedDead(const AbstractAttribute &AA, in isAssumedDead()
580 const AbstractAttribute *QueryingAA, in isAssumedDead()
612 const AbstractAttribute *QueryingAA, in isAssumedDead()
648 const AbstractAttribute *QueryingAA, in isAssumedDead()
684 const AbstractAttribute &QueryingAA, in checkForAllUses()
749 const AbstractAttribute &QueryingAA, in checkForAllCallSites()
[all …]
DOpenMPOpt.cpp1648 struct AAICVTracker : public StateWrapper<BooleanState, AbstractAttribute> {
1649 using Base = StateWrapper<BooleanState, AbstractAttribute>;
1691 static bool classof(const AbstractAttribute *AA) { in classof()
DAttributorAttributes.cpp111 return OS << static_cast<const AbstractAttribute &>(AA); \
145 const AbstractAttribute &AA, in getAssumedConstantInt()
371 Attributor &A, const AbstractAttribute &QueryingAA, const Value *Val, in stripAndAccumulateMinimalOffsets()
394 Attributor &A, const AbstractAttribute &QueryingAA, const Instruction *I, in getMinimalBaseOfAccsesPointerOperand()
1595 Attributor &A, const AbstractAttribute &QueryingAA, Value &AssociatedValue, in getKnownNonNullAndDerefBytesForUse()
3220 AbstractAttribute &AA, in identifyAliveSuccessors()
3237 AbstractAttribute &AA, in identifyAliveSuccessors()
3262 AbstractAttribute &AA, in identifyAliveSuccessors()
3287 AbstractAttribute &AA, in identifyAliveSuccessors()
3684 AbstractAttribute &QueryingAA, in getKnownAlignForUse()
[all …]
/external/llvm-project/mlir/lib/IR/
DMLIRContext.cpp314 DenseMap<TypeID, const AbstractAttribute *> registeredAttributes;
329 attrMapping.second->~AbstractAttribute(); in ~MLIRContextImpl()
588 void Dialect::addAttribute(TypeID typeID, AbstractAttribute &&attrInfo) { in addAttribute()
594 new (impl.abstractDialectSymbolAllocator.Allocate<AbstractAttribute>()) in addAttribute()
595 AbstractAttribute(std::move(attrInfo)); in addAttribute()
605 const AbstractAttribute &AbstractAttribute::lookup(TypeID typeID, in lookup()
823 storage->initialize(AbstractAttribute::lookup(attrID, ctx)); in initializeAttributeStorage()
/external/llvm-project/llvm/unittests/Transforms/IPO/
DAttributorTest.cpp47 const AbstractAttribute *AA = in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DAttributor.cpp112 return OS << static_cast<const AbstractAttribute &>(AA); \
407 ChangeStatus AbstractAttribute::update(Attributor &A) { in update()
1731 Attributor &A, AbstractAttribute &QueryingAA, Value &AssociatedValue, in getKnownNonNullAndDerefBytesForUse()
2935 AbstractAttribute &AA, in identifyAliveSuccessors()
2951 AbstractAttribute &AA, in identifyAliveSuccessors()
2974 getAssumedConstant(Attributor &A, const Value &V, AbstractAttribute &AA, in getAssumedConstant()
2989 AbstractAttribute &AA, in identifyAliveSuccessors()
3014 AbstractAttribute &AA, in identifyAliveSuccessors()
3391 AbstractAttribute &QueryingAA, in getKnownAlignForUse()
4132 static bool checkAndUpdate(Attributor &A, const AbstractAttribute &QueryingAA, in checkAndUpdate()
[all …]