Searched refs:ValueAndContext (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 186 struct ValueAndContext : public std::pair<Value *, const Instruction *> { struct 188 ValueAndContext(const Base &B) : Base(B) {} in ValueAndContext() argument 189 ValueAndContext(Value &V, const Instruction *CtxI) : Base(&V, CtxI) {} in ValueAndContext() argument 190 ValueAndContext(Value &V, const Instruction &CtxI) : Base(&V, &CtxI) {} in ValueAndContext() argument 216 bool isValidAtPosition(const ValueAndContext &VAC, InformationCache &InfoCache); argument 407 struct DenseMapInfo<AA::ValueAndContext> 408 : public DenseMapInfo<AA::ValueAndContext::Base> { 409 using Base = DenseMapInfo<AA::ValueAndContext::Base>; 410 static inline AA::ValueAndContext getEmptyKey() { 413 static inline AA::ValueAndContext getTombstoneKey() { [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | AttributorAttributes.cpp | 2441 SmallVector<AA::ValueAndContext> Worklist; in isImpliedByIR() 2456 if (llvm::any_of(Worklist, [&](AA::ValueAndContext VAC) { in isImpliedByIR() 2599 SmallVector<AA::ValueAndContext> Values; in updateImpl() 4706 SmallVector<AA::ValueAndContext> Values; in identifyAliveSuccessors() 4733 if (!all_of(Values, [&](AA::ValueAndContext &VAC) { in identifyAliveSuccessors() 5022 SmallVector<AA::ValueAndContext> Values; in updateImpl() 5317 SmallVector<AA::ValueAndContext> Values; in updateImpl() 5928 SmallVector<AA::ValueAndContext> Values; in updateImpl() 5934 for (const AA::ValueAndContext &VAC : Values) { in updateImpl() 6205 if (CtxI && AA::isValidAtPosition(AA::ValueAndContext(*EffectiveV, *CtxI), in reproduceValue() [all …]
|
H A D | Attributor.cpp | 291 bool AA::isValidAtPosition(const AA::ValueAndContext &VAC, in isValidAtPosition() 1413 SmallVector<AA::ValueAndContext> Values; in getAssumedConstant() 1435 SmallVector<AA::ValueAndContext> Values; in getAssumedSimplified() 1451 SmallVectorImpl<AA::ValueAndContext> &Values, AA::ValueScope S, in getAssumedSimplifiedValues() 1473 Values.push_back(AA::ValueAndContext{*V, nullptr}); in getAssumedSimplifiedValues() 2015 SmallVector<AA::ValueAndContext> Values; in checkForAllReturnedValues() 2021 return llvm::all_of(Values, [&](const AA::ValueAndContext &VAC) { in checkForAllReturnedValues()
|
H A D | OpenMPOpt.cpp | 2399 if (!URV || (*URV && AA::isValidAtPosition(AA::ValueAndContext(**URV, I), in getValueForCall()
|