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 | 188 struct ValueAndContext : public std::pair<Value *, const Instruction *> { struct 190 ValueAndContext(const Base &B) : Base(B) {} in ValueAndContext() argument 191 ValueAndContext(Value &V, const Instruction *CtxI) : Base(&V, CtxI) {} in ValueAndContext() argument 192 ValueAndContext(Value &V, const Instruction &CtxI) : Base(&V, &CtxI) {} in ValueAndContext() argument 219 LLVM_ABI bool isValidAtPosition(const ValueAndContext &VAC, 419 struct DenseMapInfo<AA::ValueAndContext> 420 : public DenseMapInfo<AA::ValueAndContext::Base> { 421 using Base = DenseMapInfo<AA::ValueAndContext::Base>; 422 static inline AA::ValueAndContext getEmptyKey() { 425 static inline AA::ValueAndContext getTombstoneKey() { [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 2483 SmallVector<AA::ValueAndContext> Worklist; in isImpliedByIR() 2498 if (llvm::any_of(Worklist, [&](AA::ValueAndContext VAC) { in isImpliedByIR() 2641 SmallVector<AA::ValueAndContext> Values; in updateImpl() 4740 SmallVector<AA::ValueAndContext> Values; in identifyAliveSuccessors() 4767 if (!all_of(Values, [&](AA::ValueAndContext &VAC) { in identifyAliveSuccessors() 5056 SmallVector<AA::ValueAndContext> Values; in updateImpl() 5373 SmallVector<AA::ValueAndContext> Values; in updateImpl() 5994 SmallVector<AA::ValueAndContext> Values; in updateImpl() 6000 for (const AA::ValueAndContext &VAC : Values) { in updateImpl() 6266 if (CtxI && AA::isValidAtPosition(AA::ValueAndContext(*EffectiveV, *CtxI), in reproduceValue() [all …]
|
| H A D | Attributor.cpp | 292 bool AA::isValidAtPosition(const AA::ValueAndContext &VAC, in isValidAtPosition() 1421 SmallVector<AA::ValueAndContext> Values; in getAssumedConstant() 1443 SmallVector<AA::ValueAndContext> Values; in getAssumedSimplified() 1459 SmallVectorImpl<AA::ValueAndContext> &Values, AA::ValueScope S, in getAssumedSimplifiedValues() 1481 Values.push_back(AA::ValueAndContext{*V, nullptr}); in getAssumedSimplifiedValues() 2008 SmallVector<AA::ValueAndContext> Values; in checkForAllReturnedValues() 2014 return llvm::all_of(Values, [&](const AA::ValueAndContext &VAC) { in checkForAllReturnedValues()
|
| H A D | OpenMPOpt.cpp | 2402 if (!URV || (*URV && AA::isValidAtPosition(AA::ValueAndContext(**URV, I), in getValueForCall()
|