Searched refs:ValueAndContext (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 163 struct ValueAndContext : public std::pair<Value *, const Instruction *> { struct 165 ValueAndContext(const Base &B) : Base(B) {} in ValueAndContext() function 166 ValueAndContext(Value &V, const Instruction *CtxI) : Base(&V, CtxI) {} in ValueAndContext() argument 291 struct DenseMapInfo<AA::ValueAndContext> 292 : public DenseMapInfo<AA::ValueAndContext::Base> { 293 using Base = DenseMapInfo<AA::ValueAndContext::Base>; 294 static inline AA::ValueAndContext getEmptyKey() { 297 static inline AA::ValueAndContext getTombstoneKey() { 300 static unsigned getHashValue(const AA::ValueAndContext &VAC) { 304 static bool isEqual(const AA::ValueAndContext &LHS, [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 320 SmallVector<AA::ValueAndContext> Values; in getAssumedUnderlyingObjects() 1817 SmallVector<AA::ValueAndContext> Values; in updateImpl() 2337 SmallVector<AA::ValueAndContext> Values; in updateImpl() 4243 SmallVector<AA::ValueAndContext> Values; in updateImpl() 4539 SmallVector<AA::ValueAndContext> Values; in updateImpl() 8686 SmallVector<AA::ValueAndContext> Values; in fillSetWithConstantValues() 9263 SmallVector<AA::ValueAndContext> Values; in updateImpl() 9398 SmallVector<AA::ValueAndContext> Values; in updateImpl() 9900 AA::ValueAndContext I; 9964 SmallVector<AA::ValueAndContext> Values; in manifest() [all …]
|
| H A D | Attributor.cpp | 247 bool AA::isValidAtPosition(const AA::ValueAndContext &VAC, in isValidAtPosition() 1071 SmallVector<AA::ValueAndContext> Values; in getAssumedConstant() 1094 SmallVector<AA::ValueAndContext> Values; in getAssumedSimplified() 1110 SmallVectorImpl<AA::ValueAndContext> &Values, AA::ValueScope S, in getAssumedSimplifiedValues() 1125 Values.push_back(AA::ValueAndContext{*V, nullptr}); in getAssumedSimplifiedValues()
|
| H A D | OpenMPOpt.cpp | 2478 if (!URV || (*URV && AA::isValidAtPosition(AA::ValueAndContext(**URV, I), in getValueForCall()
|